comparison configure.ac @ 10003:2ea3110e15ed

Use M4 quoting for arguments to autoconf macros containing variables
author Rik <rdrider0-list@yahoo.com>
date Sat, 19 Dec 2009 14:24:02 -0800
parents d36f8c473dff
children e517da95bf98
comparison
equal deleted inserted replaced
10002:e93c9bfff8b8 10003:2ea3110e15ed
170 elif test $ac_cv_sizeof_long -eq 8; then 170 elif test $ac_cv_sizeof_long -eq 8; then
171 OCTAVE_IDX_TYPE=long 171 OCTAVE_IDX_TYPE=long
172 AC_DEFINE(IDX_TYPE_LONG, 1, [Define to 1 if octave index type is long]) 172 AC_DEFINE(IDX_TYPE_LONG, 1, [Define to 1 if octave index type is long])
173 else 173 else
174 warn_64_bit="no suitable type found for octave_idx_type so disabling 64-bit features" 174 warn_64_bit="no suitable type found for octave_idx_type so disabling 64-bit features"
175 AC_MSG_WARN($warn_64_bit) 175 AC_MSG_WARN([$warn_64_bit])
176 USE_64_BIT_IDX_T=false 176 USE_64_BIT_IDX_T=false
177 fi 177 fi
178 else 178 else
179 warn_64_bit="pointers are not 64-bits wide so disabling 64-bit features" 179 warn_64_bit="pointers are not 64-bits wide so disabling 64-bit features"
180 AC_MSG_WARN($warn_64_bit) 180 AC_MSG_WARN([$warn_64_bit])
181 USE_64_BIT_IDX_T=false 181 USE_64_BIT_IDX_T=false
182 fi 182 fi
183 fi 183 fi
184 AC_SUBST(OCTAVE_IDX_TYPE) 184 AC_SUBST(OCTAVE_IDX_TYPE)
185 AC_DEFINE_UNQUOTED(OCTAVE_IDX_TYPE, $OCTAVE_IDX_TYPE, 185 AC_DEFINE_UNQUOTED(OCTAVE_IDX_TYPE, $OCTAVE_IDX_TYPE,
239 gcc_version=`$CC -v 2>&1 | grep "^.*gcc version" | \ 239 gcc_version=`$CC -v 2>&1 | grep "^.*gcc version" | \
240 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//'` 240 sed -e 's/^.*g.. version *//' -e 's/cygnus-//' -e 's/egcs-//'`
241 case "$gcc_version" in 241 case "$gcc_version" in
242 [12].*) 242 [12].*)
243 warn_gcc_version="gcc version $gcc_version is likely to cause problems" 243 warn_gcc_version="gcc version $gcc_version is likely to cause problems"
244 AC_MSG_WARN($warn_gcc_version) 244 AC_MSG_WARN([$warn_gcc_version])
245 ;; 245 ;;
246 esac 246 esac
247 247
248 CC_VERSION= 248 CC_VERSION=
249 if test -n "$gcc_version"; then 249 if test -n "$gcc_version"; then
607 LIBS="$REGEX_LIBS $LIBS" 607 LIBS="$REGEX_LIBS $LIBS"
608 AC_CHECK_FUNCS(pcre_compile, [using_pcre=yes 608 AC_CHECK_FUNCS(pcre_compile, [using_pcre=yes
609 AC_DEFINE(HAVE_PCRE, 1, [Define if PCRE library is available.])], [ 609 AC_DEFINE(HAVE_PCRE, 1, [Define if PCRE library is available.])], [
610 REGEX_LIBS= 610 REGEX_LIBS=
611 warn_pcre="PCRE library not found. This will result in some loss of functionality for the regular expression matching functions." 611 warn_pcre="PCRE library not found. This will result in some loss of functionality for the regular expression matching functions."
612 AC_MSG_WARN($warn_pcre)]) 612 AC_MSG_WARN([$warn_pcre])])
613 LIBS="$save_LIBS" 613 LIBS="$save_LIBS"
614 else 614 else
615 warn_pcre="PCRE library not found. This will result in some loss of functionality for the regular expression matching functions." 615 warn_pcre="PCRE library not found. This will result in some loss of functionality for the regular expression matching functions."
616 AC_MSG_WARN($warn_pcre) 616 AC_MSG_WARN([$warn_pcre])
617 fi 617 fi
618 618
619 AC_CHECK_FUNCS(regexec, [using_regex=yes], [ 619 AC_CHECK_FUNCS(regexec, [using_regex=yes], [
620 AC_CHECK_LIB(regex, regexec, [using_regex=yes 620 AC_CHECK_LIB(regex, regexec, [using_regex=yes
621 REGEX_LIBS="-lregex $REGEX_LIBS"], [ 621 REGEX_LIBS="-lregex $REGEX_LIBS"], [
622 warn_regex="regular expression functions not found. The regular expression matching functions will be disabled." 622 warn_regex="regular expression functions not found. The regular expression matching functions will be disabled."
623 AC_MSG_WARN($warn_regex)])]) 623 AC_MSG_WARN([$warn_regex])])])
624 624
625 if test "$using_regex" = yes; then 625 if test "$using_regex" = yes; then
626 AC_DEFINE(HAVE_REGEX, 1, [Define if regex library is available.]) 626 AC_DEFINE(HAVE_REGEX, 1, [Define if regex library is available.])
627 fi 627 fi
628 628
819 *-*-mingw*) 819 *-*-mingw*)
820 FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's/-mwindows//g'`" 820 FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's/-mwindows//g'`"
821 ;; 821 ;;
822 esac 822 esac
823 823
824 AC_MSG_CHECKING(for OpenGL support in FLTK) 824 AC_MSG_CHECKING([for OpenGL support in FLTK])
825 cat > conftest.cc <<EOF 825 cat > conftest.cc <<EOF
826 #include <FL/gl.h> 826 #include <FL/gl.h>
827 int nothing=0; 827 int nothing=0;
828 EOF 828 EOF
829 $CXX $CXXFLAGS $FLTK_CFLAGS -c conftest.cc || \ 829 $CXX $CXXFLAGS $FLTK_CFLAGS -c conftest.cc || \
902 AC_LANG_PUSH([Fortran 77]) 902 AC_LANG_PUSH([Fortran 77])
903 AC_MSG_CHECKING([for slup1up in $QRUPDATE_LIBS]) 903 AC_MSG_CHECKING([for slup1up in $QRUPDATE_LIBS])
904 octave_qrupdate_luu=no 904 octave_qrupdate_luu=no
905 AC_LINK_IFELSE([AC_LANG_CALL([], [slup1up])], 905 AC_LINK_IFELSE([AC_LANG_CALL([], [slup1up])],
906 [octave_qrupdate_luu=yes]) 906 [octave_qrupdate_luu=yes])
907 AC_MSG_RESULT($octave_qrupdate_luu) 907 AC_MSG_RESULT([$octave_qrupdate_luu])
908 if test "$octave_qrupdate_luu" = yes; then 908 if test "$octave_qrupdate_luu" = yes; then
909 AC_DEFINE(HAVE_QRUPDATE_LUU, [1], [Define if qrupdate supports LU updates]) 909 AC_DEFINE(HAVE_QRUPDATE_LUU, [1], [Define if qrupdate supports LU updates])
910 fi 910 fi
911 AC_LANG_POP([Fortran 77]) 911 AC_LANG_POP([Fortran 77])
912 fi 912 fi
916 916
917 OCTAVE_CHECK_LIBRARY(amd, AMD, 917 OCTAVE_CHECK_LIBRARY(amd, AMD,
918 [AMD library not found. This will result in some lack of functionality for sparse matrices.], 918 [AMD library not found. This will result in some lack of functionality for sparse matrices.],
919 [suitesparse/amd.h ufsparse/amd.h amd/amd.h amd.h], 919 [suitesparse/amd.h ufsparse/amd.h amd/amd.h amd.h],
920 [amd_postorder], 920 [amd_postorder],
921 [], [don't use AMD library, disable some sparse functionality]) 921 [], [don't use AMD library, disable some sparse matrix functionality])
922 922
923 # Check for CAMD library 923 # Check for CAMD library
924 924
925 OCTAVE_CHECK_LIBRARY(camd, CAMD, 925 OCTAVE_CHECK_LIBRARY(camd, CAMD,
926 [CAMD library not found. This will result in some lack of functionality for sparse matrices.], 926 [CAMD library not found. This will result in some lack of functionality for sparse matrices.],
927 [suitesparse/camd.h ufsparse/camd.h amd/camd.h camd.h], 927 [suitesparse/camd.h ufsparse/camd.h amd/camd.h camd.h],
928 [camd_postorder], 928 [camd_postorder],
929 [], [don't use CAMD library, disable some sparse functionality]) 929 [], [don't use CAMD library, disable some sparse matrix functionality])
930 930
931 # Check for COLAMD library 931 # Check for COLAMD library
932 932
933 OCTAVE_CHECK_LIBRARY(colamd, COLAMD, 933 OCTAVE_CHECK_LIBRARY(colamd, COLAMD,
934 [COLAMD library not found. This will result in some lack of functionality for sparse matrices.], 934 [COLAMD library not found. This will result in some lack of functionality for sparse matrices.],
935 [suitesparse/colamd.h ufsparse/colamd.h amd/colamd.h colamd.h], 935 [suitesparse/colamd.h ufsparse/colamd.h amd/colamd.h colamd.h],
936 [colamd], 936 [colamd],
937 [], [don't use COLAMD library, disable some sparse functionality]) 937 [], [don't use COLAMD library, disable some sparse matrix functionality])
938 938
939 # Check for CCOLAMD library 939 # Check for CCOLAMD library
940 940
941 OCTAVE_CHECK_LIBRARY(ccolamd, CCOLAMD, 941 OCTAVE_CHECK_LIBRARY(ccolamd, CCOLAMD,
942 [CCOLAMD library not found. This will result in some lack of functionality for sparse matrices.], 942 [CCOLAMD library not found. This will result in some lack of functionality for sparse matrices.],
943 [suitesparse/ccolamd.h ufsparse/ccolamd.h amd/ccolamd.h ccolamd.h], 943 [suitesparse/ccolamd.h ufsparse/ccolamd.h amd/ccolamd.h ccolamd.h],
944 [ccolamd], 944 [ccolamd],
945 [], [don't use CCOLAMD library, disable some sparse functionality]) 945 [], [don't use CCOLAMD library, disable some sparse matrix functionality])
946 946
947 # Check for CHOLMOD library. If your cholmod library requires cblas, 947 # Check for CHOLMOD library. If your cholmod library requires cblas,
948 # then you will need to configure with --with-cholmod="-lcholmod -lcblas". 948 # then you will need to configure with --with-cholmod="-lcholmod -lcblas".
949 949
950 save_LIBS="$LIBS" 950 save_LIBS="$LIBS"
951 LIBS="$LAPACK_LIBS $BLAS_LIBS $FLIBS $LIBS" 951 LIBS="$LAPACK_LIBS $BLAS_LIBS $FLIBS $LIBS"
952 OCTAVE_CHECK_LIBRARY(cholmod, CHOLMOD, 952 OCTAVE_CHECK_LIBRARY(cholmod, CHOLMOD,
953 [CHOLMOD library not found. This will result in some lack of functionality for sparse matrices.], 953 [CHOLMOD library not found. This will result in some lack of functionality for sparse matrices.],
954 [suitesparse/cholmod.h ufsparse/cholmod.h cholmod/cholmod.h cholmod.h], 954 [suitesparse/cholmod.h ufsparse/cholmod.h cholmod/cholmod.h cholmod.h],
955 [cholmod_start], 955 [cholmod_start],
956 [], [don't use CHOLMOD library, disable some sparse functionality]) 956 [], [don't use CHOLMOD library, disable some sparse matrix functionality])
957 LIBS="$save_LIBS" 957 LIBS="$save_LIBS"
958 958
959 # Check for CXSparse library 959 # Check for CXSparse library
960 960
961 OCTAVE_CHECK_LIBRARY(cxsparse, CXSparse, 961 OCTAVE_CHECK_LIBRARY(cxsparse, CXSparse,
962 [CXSparse library not found. This will result in some lack of functionality for sparse matrices.], 962 [CXSparse library not found. This will result in some lack of functionality for sparse matrices.],
963 [suitesparse/cs.h ufsparse/cs.h amd/cs.h cs.h], 963 [suitesparse/cs.h ufsparse/cs.h amd/cs.h cs.h],
964 [cs_di_sqr], 964 [cs_di_sqr],
965 [C++], [don't use CXSparse library, disable some sparse functionality]) 965 [C++], [don't use CXSparse library, disable some sparse matrix functionality])
966 966
967 # Check for UMFPACK library. 967 # Check for UMFPACK library.
968 968
969 save_LIBS="$LIBS" 969 save_LIBS="$LIBS"
970 save_CPPFLAGS="$CPPFLAGS" 970 save_CPPFLAGS="$CPPFLAGS"
972 CPPFLAGS="$AMD_CPPFLAGS $CPPFLAGS" 972 CPPFLAGS="$AMD_CPPFLAGS $CPPFLAGS"
973 OCTAVE_CHECK_LIBRARY(umfpack, UMFPACK, 973 OCTAVE_CHECK_LIBRARY(umfpack, UMFPACK,
974 [UMFPACK not found. This will result in some lack of functionality for sparse matrices.], 974 [UMFPACK not found. This will result in some lack of functionality for sparse matrices.],
975 [suitesparse/umfpack.h ufsparse/umfpack.h umfpack/umfpack.h umfpack.h], 975 [suitesparse/umfpack.h ufsparse/umfpack.h umfpack/umfpack.h umfpack.h],
976 [umfpack_zi_get_determinant], 976 [umfpack_zi_get_determinant],
977 [], [don't use UMFPACK, disable some sparse functionality]) 977 [], [don't use UMFPACK, disable some sparse matrix functionality])
978 CPPFLAGS="$save_CPPFLAGS" 978 CPPFLAGS="$save_CPPFLAGS"
979 LIBS="$save_LIBS" 979 LIBS="$save_LIBS"
980 980
981 if test -z "$UMFPACK_LIBS"; then 981 if test -z "$UMFPACK_LIBS"; then
982 ## Invalidate the cache and try again with -lcblas. 982 ## Invalidate the cache and try again with -lcblas.
985 LIBS="-lcblas $AMD_LDFLAGS $AMD_LIBS $BLAS_LIBS $FLIBS $LIBS" 985 LIBS="-lcblas $AMD_LDFLAGS $AMD_LIBS $BLAS_LIBS $FLIBS $LIBS"
986 OCTAVE_CHECK_LIBRARY(umfpack, UMFPACK, 986 OCTAVE_CHECK_LIBRARY(umfpack, UMFPACK,
987 [UMFPACK not found. This will result in some lack of functionality for sparse matrices.], 987 [UMFPACK not found. This will result in some lack of functionality for sparse matrices.],
988 [suitesparse/umfpack.h ufsparse/umfpack.h umfpack/umfpack.h umfpack.h], 988 [suitesparse/umfpack.h ufsparse/umfpack.h umfpack/umfpack.h umfpack.h],
989 [umfpack_zi_get_determinant], 989 [umfpack_zi_get_determinant],
990 [], [don't use UMFPACK, disable some sparse functionality]) 990 [], [don't use UMFPACK, disable some sparse matrix functionality])
991 if test -n "$UMFPACK_LIBS"; then 991 if test -n "$UMFPACK_LIBS"; then
992 UMFPACK_LIBS="$UMFPACK_LIBS -lcblas" 992 UMFPACK_LIBS="$UMFPACK_LIBS -lcblas"
993 fi 993 fi
994 LIBS="$save_LIBS" 994 LIBS="$save_LIBS"
995 fi 995 fi
1467 1467
1468 case "$canonical_host_type" in 1468 case "$canonical_host_type" in
1469 *-*-mingw*) 1469 *-*-mingw*)
1470 ## MinGW does not provide a mkstemp function. However, it provides 1470 ## MinGW does not provide a mkstemp function. However, it provides
1471 ## the mkstemps function in libiberty. 1471 ## the mkstemps function in libiberty.
1472 AC_MSG_CHECKING(for mkstemps in libiberty) 1472 AC_MSG_CHECKING([for mkstemps in libiberty])
1473 save_LIBS="$LIBS" 1473 save_LIBS="$LIBS"
1474 LIBS="-liberty $LIBS" 1474 LIBS="-liberty $LIBS"
1475 AC_LINK_IFELSE([ 1475 AC_LINK_IFELSE([
1476 AC_LANG_PROGRAM([[int mkstemps (char *pattern, int suffix_len);]], 1476 AC_LANG_PROGRAM([[int mkstemps (char *pattern, int suffix_len);]],
1477 [[mkstemps ("XXXXXX", 0);]] 1477 [[mkstemps ("XXXXXX", 0);]]
1638 1638
1639 ### There is more than one possible prototype for gettimeofday. See 1639 ### There is more than one possible prototype for gettimeofday. See
1640 ### which one (if any) appears in sys/time.h. These tests are from 1640 ### which one (if any) appears in sys/time.h. These tests are from
1641 ### Emacs 19. 1641 ### Emacs 19.
1642 1642
1643 AC_MSG_CHECKING(for struct timeval) 1643 AC_MSG_CHECKING([for struct timeval])
1644 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef TIME_WITH_SYS_TIME 1644 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef TIME_WITH_SYS_TIME
1645 #include <sys/time.h> 1645 #include <sys/time.h>
1646 #include <time.h> 1646 #include <time.h>
1647 #else 1647 #else
1648 #ifdef HAVE_SYS_TIME_H 1648 #ifdef HAVE_SYS_TIME_H
1656 AC_DEFINE(HAVE_TIMEVAL, 1, [Define if struct timeval is defined.])], 1656 AC_DEFINE(HAVE_TIMEVAL, 1, [Define if struct timeval is defined.])],
1657 [AC_MSG_RESULT(no) 1657 [AC_MSG_RESULT(no)
1658 HAVE_TIMEVAL=no]) 1658 HAVE_TIMEVAL=no])
1659 1659
1660 if test "x$HAVE_TIMEVAL" = xyes; then 1660 if test "x$HAVE_TIMEVAL" = xyes; then
1661 AC_MSG_CHECKING(whether gettimeofday can't accept two arguments) 1661 AC_MSG_CHECKING([whether gettimeofday can't accept two arguments])
1662 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef TIME_WITH_SYS_TIME 1662 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef TIME_WITH_SYS_TIME
1663 #include <sys/time.h> 1663 #include <sys/time.h>
1664 #include <time.h> 1664 #include <time.h>
1665 #else 1665 #else
1666 #ifdef HAVE_SYS_TIME_H 1666 #ifdef HAVE_SYS_TIME_H
1743 done 1743 done
1744 1744
1745 if test "$octave_found_termlib" = no; then 1745 if test "$octave_found_termlib" = no; then
1746 warn_termlibs="I couldn't find -ltermcap, -lterminfo, -lncurses, -lcurses, o\ 1746 warn_termlibs="I couldn't find -ltermcap, -lterminfo, -lncurses, -lcurses, o\
1747 r -ltermlib!" 1747 r -ltermlib!"
1748 AC_MSG_WARN($warn_termlibs) 1748 AC_MSG_WARN([$warn_termlibs])
1749 fi 1749 fi
1750 AC_SUBST(TERM_LIBS) 1750 AC_SUBST(TERM_LIBS)
1751 1751
1752 OCTAVE_ENABLE_READLINE 1752 OCTAVE_ENABLE_READLINE
1753 1753
2234 warn_msg_printed=true 2234 warn_msg_printed=true
2235 fi 2235 fi
2236 fi 2236 fi
2237 2237
2238 if test -n "$gxx_only"; then 2238 if test -n "$gxx_only"; then
2239 AC_MSG_WARN($gxx_only) 2239 AC_MSG_WARN([$gxx_only])
2240 warn_msg_printed=true 2240 warn_msg_printed=true
2241 fi 2241 fi
2242 2242
2243 if test -n "$warn_gcc_version"; then 2243 if test -n "$warn_gcc_version"; then
2244 AC_MSG_WARN($warn_gcc_version) 2244 AC_MSG_WARN([$warn_gcc_version])
2245 warn_msg_printed=true 2245 warn_msg_printed=true
2246 fi 2246 fi
2247 2247
2248 if test -n "$warn_gcc_only"; then 2248 if test -n "$warn_gcc_only"; then
2249 AC_MSG_WARN($warn_gcc_only) 2249 AC_MSG_WARN([$warn_gcc_only])
2250 warn_msg_printed=true 2250 warn_msg_printed=true
2251 fi 2251 fi
2252 2252
2253 if test -n "$warn_readline"; then 2253 if test -n "$warn_readline"; then
2254 AC_MSG_WARN($warn_readline) 2254 AC_MSG_WARN([$warn_readline])
2255 warn_msg_printed=true 2255 warn_msg_printed=true
2256 fi 2256 fi
2257 2257
2258 if test -n "$warn_termlibs"; then 2258 if test -n "$warn_termlibs"; then
2259 AC_MSG_WARN($warn_termlibs) 2259 AC_MSG_WARN([$warn_termlibs])
2260 warn_msg_printed=true 2260 warn_msg_printed=true
2261 fi 2261 fi
2262 2262
2263 if test -n "$warn_gperf"; then 2263 if test -n "$warn_gperf"; then
2264 AC_MSG_WARN($warn_gperf) 2264 AC_MSG_WARN([$warn_gperf])
2265 warn_msg_printed=true 2265 warn_msg_printed=true
2266 fi 2266 fi
2267 2267
2268 if test -n "$warn_flex"; then 2268 if test -n "$warn_flex"; then
2269 AC_MSG_WARN($warn_flex) 2269 AC_MSG_WARN([$warn_flex])
2270 warn_msg_printed=true 2270 warn_msg_printed=true
2271 fi 2271 fi
2272 2272
2273 if test -n "$warn_bison"; then 2273 if test -n "$warn_bison"; then
2274 AC_MSG_WARN($warn_bison) 2274 AC_MSG_WARN([$warn_bison])
2275 warn_msg_printed=true 2275 warn_msg_printed=true
2276 fi 2276 fi
2277 2277
2278 if test -n "$warn_less"; then 2278 if test -n "$warn_less"; then
2279 AC_MSG_WARN($warn_less) 2279 AC_MSG_WARN([$warn_less])
2280 warn_msg_printed=true 2280 warn_msg_printed=true
2281 fi 2281 fi
2282 2282
2283 if test -n "$warn_umfpack"; then 2283 if test -n "$warn_umfpack"; then
2284 AC_MSG_WARN($warn_umfpack) 2284 AC_MSG_WARN([$warn_umfpack])
2285 warn_msg_printed=true 2285 warn_msg_printed=true
2286 fi 2286 fi
2287 2287
2288 if test -n "$warn_qrupdate"; then 2288 if test -n "$warn_qrupdate"; then
2289 AC_MSG_WARN($warn_qrupdate) 2289 AC_MSG_WARN([$warn_qrupdate])
2290 warn_msg_printed=true 2290 warn_msg_printed=true
2291 fi 2291 fi
2292 2292
2293 if test -n "$warn_amd"; then 2293 if test -n "$warn_amd"; then
2294 AC_MSG_WARN($warn_amd) 2294 AC_MSG_WARN([$warn_amd])
2295 warn_msg_printed=true 2295 warn_msg_printed=true
2296 fi 2296 fi
2297 2297
2298 if test -n "$warn_colamd"; then 2298 if test -n "$warn_colamd"; then
2299 AC_MSG_WARN($warn_colamd) 2299 AC_MSG_WARN([$warn_colamd])
2300 warn_msg_printed=true 2300 warn_msg_printed=true
2301 fi 2301 fi
2302 2302
2303 if test -n "$warn_ccolamd"; then 2303 if test -n "$warn_ccolamd"; then
2304 AC_MSG_WARN($warn_ccolamd) 2304 AC_MSG_WARN([$warn_ccolamd])
2305 warn_msg_printed=true 2305 warn_msg_printed=true
2306 fi 2306 fi
2307 2307
2308 if test -n "$warn_cholmod"; then 2308 if test -n "$warn_cholmod"; then
2309 AC_MSG_WARN($warn_cholmod) 2309 AC_MSG_WARN([$warn_cholmod])
2310 warn_msg_printed=true 2310 warn_msg_printed=true
2311 fi 2311 fi
2312 2312
2313 if test -n "$warn_cxsparse"; then 2313 if test -n "$warn_cxsparse"; then
2314 AC_MSG_WARN($warn_cxsparse) 2314 AC_MSG_WARN([$warn_cxsparse])
2315 warn_msg_printed=true 2315 warn_msg_printed=true
2316 fi 2316 fi
2317 2317
2318 if test -n "$warn_arpack"; then 2318 if test -n "$warn_arpack"; then
2319 AC_MSG_WARN($warn_arpack) 2319 AC_MSG_WARN([$warn_arpack])
2320 warn_msg_printed=true 2320 warn_msg_printed=true
2321 fi 2321 fi
2322 2322
2323 if test -n "$warn_curl"; then 2323 if test -n "$warn_curl"; then
2324 AC_MSG_WARN($warn_curl) 2324 AC_MSG_WARN([$warn_curl])
2325 warn_msg_printed=true 2325 warn_msg_printed=true
2326 fi 2326 fi
2327 2327
2328 if test -n "$warn_fftw"; then 2328 if test -n "$warn_fftw"; then
2329 AC_MSG_WARN($warn_fftw) 2329 AC_MSG_WARN([$warn_fftw])
2330 warn_msg_printed=true 2330 warn_msg_printed=true
2331 fi 2331 fi
2332 2332
2333 if test -n "$warn_glpk"; then 2333 if test -n "$warn_glpk"; then
2334 AC_MSG_WARN($warn_glpk) 2334 AC_MSG_WARN([$warn_glpk])
2335 warn_msg_printed=true 2335 warn_msg_printed=true
2336 fi 2336 fi
2337 2337
2338 if test -n "$warn_magick"; then 2338 if test -n "$warn_magick"; then
2339 AC_MSG_WARN($warn_magick) 2339 AC_MSG_WARN([$warn_magick])
2340 warn_msg_printed=true 2340 warn_msg_printed=true
2341 fi 2341 fi
2342 2342
2343 if test -n "$warn_hdf5"; then 2343 if test -n "$warn_hdf5"; then
2344 AC_MSG_WARN($warn_hdf5) 2344 AC_MSG_WARN([$warn_hdf5])
2345 warn_msg_printed=true 2345 warn_msg_printed=true
2346 fi 2346 fi
2347 2347
2348 if test -n "$warn_regex"; then 2348 if test -n "$warn_regex"; then
2349 AC_MSG_WARN($warn_regex) 2349 AC_MSG_WARN([$warn_regex])
2350 warn_msg_printed=true 2350 warn_msg_printed=true
2351 fi 2351 fi
2352 2352
2353 if test -n "$warn_pcre"; then 2353 if test -n "$warn_pcre"; then
2354 AC_MSG_WARN($warn_pcre) 2354 AC_MSG_WARN([$warn_pcre])
2355 warn_msg_printed=true 2355 warn_msg_printed=true
2356 fi 2356 fi
2357 2357
2358 if test -n "$warn_qhull"; then 2358 if test -n "$warn_qhull"; then
2359 AC_MSG_WARN($warn_qhull) 2359 AC_MSG_WARN([$warn_qhull])
2360 warn_msg_printed=true 2360 warn_msg_printed=true
2361 fi 2361 fi
2362 2362
2363 if test -n "$warn_zlib"; then 2363 if test -n "$warn_zlib"; then
2364 AC_MSG_WARN($warn_zlib) 2364 AC_MSG_WARN([$warn_zlib])
2365 warn_msg_printed=true 2365 warn_msg_printed=true
2366 fi 2366 fi
2367 2367
2368 if test -n "$warn_ghostscript"; then 2368 if test -n "$warn_ghostscript"; then
2369 AC_MSG_WARN($warn_ghostscript) 2369 AC_MSG_WARN([$warn_ghostscript])
2370 warn_msg_printed=true 2370 warn_msg_printed=true
2371 fi 2371 fi
2372 2372
2373 if test -n "$warn_makeinfo"; then 2373 if test -n "$warn_makeinfo"; then
2374 AC_MSG_WARN($warn_makeinfo) 2374 AC_MSG_WARN([$warn_makeinfo])
2375 warn_msg_printed=true 2375 warn_msg_printed=true
2376 fi 2376 fi
2377 2377
2378 if test -n "$warn_texi2dvi"; then 2378 if test -n "$warn_texi2dvi"; then
2379 AC_MSG_WARN($warn_texi2dvi) 2379 AC_MSG_WARN([$warn_texi2dvi])
2380 warn_msg_printed=true 2380 warn_msg_printed=true
2381 fi 2381 fi
2382 2382
2383 if test -n "$warn_texi2pdf"; then 2383 if test -n "$warn_texi2pdf"; then
2384 AC_MSG_WARN($warn_texi2pdf) 2384 AC_MSG_WARN([$warn_texi2pdf])
2385 warn_msg_printed=true 2385 warn_msg_printed=true
2386 fi 2386 fi
2387 2387
2388 if test -n "$warn_64_bit"; then 2388 if test -n "$warn_64_bit"; then
2389 AC_MSG_WARN($warn_64_bit) 2389 AC_MSG_WARN([$warn_64_bit])
2390 warn_msg_printed=true 2390 warn_msg_printed=true
2391 fi 2391 fi
2392 2392
2393 if test -n "$warn_gnuplot"; then 2393 if test -n "$warn_gnuplot"; then
2394 2394
2426 warn_msg_printed=true 2426 warn_msg_printed=true
2427 fi 2427 fi
2428 2428
2429 native_graphics=true 2429 native_graphics=true
2430 if test -n "$warn_freetype"; then 2430 if test -n "$warn_freetype"; then
2431 AC_MSG_WARN("$warn_freetype") 2431 AC_MSG_WARN([$warn_freetype])
2432 native_graphics=false 2432 native_graphics=false
2433 warn_msg_printed=true 2433 warn_msg_printed=true
2434 fi 2434 fi
2435 2435
2436 if test -n "$warn_fontconfig"; then 2436 if test -n "$warn_fontconfig"; then
2437 AC_MSG_WARN("$warn_fontconfig") 2437 AC_MSG_WARN([$warn_fontconfig])
2438 native_graphics=false 2438 native_graphics=false
2439 warn_msg_printed=true 2439 warn_msg_printed=true
2440 fi 2440 fi
2441 2441
2442 if test -n "$warn_fltk_config"; then 2442 if test -n "$warn_fltk_config"; then
2443 AC_MSG_WARN("$warn_fltk_config") 2443 AC_MSG_WARN([$warn_fltk_config])
2444 native_graphics=false 2444 native_graphics=false
2445 warn_msg_printed=true 2445 warn_msg_printed=true
2446 fi 2446 fi
2447 2447
2448 if test -n "$warn_fltk_opengl"; then 2448 if test -n "$warn_fltk_opengl"; then
2449 AC_MSG_WARN("$warn_fltk_opengl") 2449 AC_MSG_WARN([$warn_fltk_opengl])
2450 native_graphics=false 2450 native_graphics=false
2451 warn_msg_printed=true 2451 warn_msg_printed=true
2452 fi 2452 fi
2453 2453
2454 if $native_graphics; then 2454 if $native_graphics; then
2462 AC_MSG_WARN([]) 2462 AC_MSG_WARN([])
2463 warn_msg_printed=true 2463 warn_msg_printed=true
2464 fi 2464 fi
2465 2465
2466 if $warn_msg_printed; then 2466 if $warn_msg_printed; then
2467 AC_MSG_NOTICE([ 2467 AC_MSG_NOTICE([])
2468 2468 AC_MSG_NOTICE([NOTE: libraries may be skipped if a library is not found OR])
2469 NOTE: libraries may be skipped if a library is not found OR 2469 AC_MSG_NOTICE([NOTE: if the library on your system is missing required features.])
2470 if the library on your system is missing required features.
2471 ])
2472 fi 2470 fi
2473 2471
2474 ### End of configure. 2472 ### End of configure.