[Kst] branches/kst/1.2/kst

George Staikos staikos at kde.org
Sat May 27 11:43:12 CEST 2006


SVN commit 545287 by staikos:

quote variables


 M  +6 -6      configure.in.in  


--- branches/kst/1.2/kst/configure.in.in #545286:545287
@@ -97,8 +97,8 @@
 KDE_CHECK_LIB(cdf, CDFlib, CDFLIBS="$ac_cdf_libraries -lcdf $CDFLIBS", , )
 LDFLAGS="$ldflags_save"
 
-if test $ac_cv_lib_cdf_CDFlib = yes; then
-  if test $have_cdf_h = yes; then
+if test "x$ac_cv_lib_cdf_CDFlib" = "xyes"; then
+  if test "x$have_cdf_h" = "xyes"; then
     AC_SUBST(CDFLIBS)
     AC_SUBST(CDFINCLUDES)
     AC_DEFINE(KST_HAVE_CDF, 1, [If we have the CDF libraries.])
@@ -130,8 +130,8 @@
   KDE_CHECK_LIB(netcdf, nc_open, NETCDFLIBS="$ac_netcdf_libraries -lnetcdf_c++ -lnetcdf $NETCDFLIBS", , )
   LDFLAGS="$ldflags_save"
 
-  if test $ac_cv_lib_netcdf_nc_open = yes; then
-    if test $have_netcdfcpp_h = yes; then
+  if test "x$ac_cv_lib_netcdf_nc_open" = "xyes"; then
+    if test "x$have_netcdfcpp_h" = "xyes"; then
       AC_SUBST(NETCDFLIBS)
       AC_SUBST(NETCDFINCLUDES)
       AC_DEFINE(KST_HAVE_NETCDF, 1, [If we have the NetCDF libraries.])
@@ -144,8 +144,8 @@
 # Readline and ncurses check
 KDE_CHECK_HEADER(readline/readline.h, AC_DEFINE(HAVE_READLINE_H, 1, [If we have libreadline headers]) have_readline_h=yes, , )
 KDE_CHECK_LIB(readline, rl_cleanup_after_signal, LIBREADLINE="-lreadline -lncurses", , -lncurses)
-if test $ac_cv_lib_readline_rl_cleanup_after_signal = yes; then
-  if test $have_readline_h = yes; then
+if test "x$ac_cv_lib_readline_rl_cleanup_after_signal" = "xyes"; then
+  if test "x$have_readline_h" = "xyes"; then
     AC_SUBST(LIBREADLINE)
     AC_DEFINE(KST_HAVE_READLINE, 1, [If we have libreadline.])
   else


More information about the Kst mailing list