Changeset 1786 for trunk/psModules/configure
- Timestamp:
- Sep 10, 2004, 1:42:18 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/configure (modified) (29 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/configure
r1779 r1786 464 464 #endif" 465 465 466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS' 467 467 ac_subst_files='' 468 468 … … 1037 1037 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1038 1038 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1039 --with-psLib Specify location of psLib files1040 --with-sla Specify location of SLA.1041 --with-psLib-includes Specify location of psLib header files1042 --with-psLib-lib Specify location of psLib library file1043 1039 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1044 1040 --with-pic try to use only PIC/non-PIC objects [default=use … … 1046 1042 --with-tags[=TAGS] 1047 1043 include additional configurations [automatic] 1044 --with-psLib=DIR Specify location of psLib files 1045 --with-sla=DIR Specify location of SLA. 1046 --with-cfitsio=DIR Specify location of CFITSIO. 1047 --with-fftw3=DIR Specify location of FFTW version 3. 1048 --with-gsl=DIR Specify location of GSL. 1048 1049 1049 1050 Some influential environment variables: … … 3034 3035 3035 3036 3037 3038 3036 3039 CFLAGS="${CFLAGS=} -g2 -Wall -std=c99 -D_GNU_SOURCE" 3037 3038 3039 # Check whether --with-psLib or --without-psLib was given.3040 if test "${with_psLib+set}" = set; then3041 withval="$with_psLib"3042 3043 CFLAGS="$CFLAGS -I$withval/include"3044 LDFLAGS="$LDFLAGS -L$withval/lib"3045 psLib_prefix=$withval3046 3047 fi;3048 3049 3050 # Check whether --with-sla or --without-sla was given.3051 if test "${with_sla+set}" = set; then3052 withval="$with_sla"3053 3054 CFLAGS="$CFLAGS -I$withval/include"3055 SLA_LINK = `$withval/bin/sla_link`3056 LDFLAGS="$LDFLAGS $SLA_LINK"3057 psLib_prefix=$withval3058 3059 fi;3060 3061 3062 # Check whether --with-psLib-includes or --without-psLib-includes was given.3063 if test "${with_psLib_includes+set}" = set; then3064 withval="$with_psLib_includes"3065 \3066 CFLAGS="$CFLAGS -I$withval"3067 fi;3068 3069 3070 # Check whether --with-psLib-lib or --without-psLib-lib was given.3071 if test "${with_psLib_lib+set}" = set; then3072 withval="$with_psLib_lib"3073 \3074 LDFLAGS="$LDFLAGS -L$withval"3075 fi;3076 3077 3040 3078 3041 # Find a good install program. We prefer a C program (faster), … … 3154 3117 3155 3118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3156 3157 3119 3158 3120 # Check whether --enable-shared or --disable-shared was given. … … 3764 3726 *-*-irix6*) 3765 3727 # Find out which ABI we are using. 3766 echo '#line 37 66"configure"' > conftest.$ac_ext3728 echo '#line 3728 "configure"' > conftest.$ac_ext 3767 3729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3768 3730 (eval $ac_compile) 2>&5 … … 5331 5293 5332 5294 # Provide some information about the compiler. 5333 echo "$as_me:5 333:" \5295 echo "$as_me:5295:" \ 5334 5296 "checking for Fortran 77 compiler version" >&5 5335 5297 ac_compiler=`set X $ac_compile; echo $2` … … 6365 6327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6366 6328 -e 's:$: $lt_compiler_flag:'` 6367 (eval echo "\"\$as_me:63 67: $lt_compile\"" >&5)6329 (eval echo "\"\$as_me:6329: $lt_compile\"" >&5) 6368 6330 (eval "$lt_compile" 2>conftest.err) 6369 6331 ac_status=$? 6370 6332 cat conftest.err >&5 6371 echo "$as_me:63 71: \$? = $ac_status" >&56333 echo "$as_me:6333: \$? = $ac_status" >&5 6372 6334 if (exit $ac_status) && test -s "$ac_outfile"; then 6373 6335 # The compiler can only warn and ignore the option if not recognized … … 6598 6560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6599 6561 -e 's:$: $lt_compiler_flag:'` 6600 (eval echo "\"\$as_me:6 600: $lt_compile\"" >&5)6562 (eval echo "\"\$as_me:6562: $lt_compile\"" >&5) 6601 6563 (eval "$lt_compile" 2>conftest.err) 6602 6564 ac_status=$? 6603 6565 cat conftest.err >&5 6604 echo "$as_me:6 604: \$? = $ac_status" >&56566 echo "$as_me:6566: \$? = $ac_status" >&5 6605 6567 if (exit $ac_status) && test -s "$ac_outfile"; then 6606 6568 # The compiler can only warn and ignore the option if not recognized … … 6658 6620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6659 6621 -e 's:$: $lt_compiler_flag:'` 6660 (eval echo "\"\$as_me:66 60: $lt_compile\"" >&5)6622 (eval echo "\"\$as_me:6622: $lt_compile\"" >&5) 6661 6623 (eval "$lt_compile" 2>out/conftest.err) 6662 6624 ac_status=$? 6663 6625 cat out/conftest.err >&5 6664 echo "$as_me:66 64: \$? = $ac_status" >&56626 echo "$as_me:6626: \$? = $ac_status" >&5 6665 6627 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6666 6628 then … … 7992 7954 case "$host_cpu" in 7993 7955 x86_64*|s390x*|powerpc64*) 7994 echo '#line 79 94"configure"' > conftest.$ac_ext7956 echo '#line 7956 "configure"' > conftest.$ac_ext 7995 7957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7996 7958 (eval $ac_compile) 2>&5 … … 8863 8825 lt_status=$lt_dlunknown 8864 8826 cat > conftest.$ac_ext <<EOF 8865 #line 88 65"configure"8827 #line 8827 "configure" 8866 8828 #include "confdefs.h" 8867 8829 … … 8961 8923 lt_status=$lt_dlunknown 8962 8924 cat > conftest.$ac_ext <<EOF 8963 #line 89 63"configure"8925 #line 8925 "configure" 8964 8926 #include "confdefs.h" 8965 8927 … … 11140 11102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11141 11103 -e 's:$: $lt_compiler_flag:'` 11142 (eval echo "\"\$as_me:111 42: $lt_compile\"" >&5)11104 (eval echo "\"\$as_me:11104: $lt_compile\"" >&5) 11143 11105 (eval "$lt_compile" 2>conftest.err) 11144 11106 ac_status=$? 11145 11107 cat conftest.err >&5 11146 echo "$as_me:111 46: \$? = $ac_status" >&511108 echo "$as_me:11108: \$? = $ac_status" >&5 11147 11109 if (exit $ac_status) && test -s "$ac_outfile"; then 11148 11110 # The compiler can only warn and ignore the option if not recognized … … 11200 11162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11201 11163 -e 's:$: $lt_compiler_flag:'` 11202 (eval echo "\"\$as_me:11 202: $lt_compile\"" >&5)11164 (eval echo "\"\$as_me:11164: $lt_compile\"" >&5) 11203 11165 (eval "$lt_compile" 2>out/conftest.err) 11204 11166 ac_status=$? 11205 11167 cat out/conftest.err >&5 11206 echo "$as_me:11 206: \$? = $ac_status" >&511168 echo "$as_me:11168: \$? = $ac_status" >&5 11207 11169 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11208 11170 then … … 11711 11673 case "$host_cpu" in 11712 11674 x86_64*|s390x*|powerpc64*) 11713 echo '#line 11 713"configure"' > conftest.$ac_ext11675 echo '#line 11675 "configure"' > conftest.$ac_ext 11714 11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11715 11677 (eval $ac_compile) 2>&5 … … 12582 12544 lt_status=$lt_dlunknown 12583 12545 cat > conftest.$ac_ext <<EOF 12584 #line 125 84"configure"12546 #line 12546 "configure" 12585 12547 #include "confdefs.h" 12586 12548 … … 12680 12642 lt_status=$lt_dlunknown 12681 12643 cat > conftest.$ac_ext <<EOF 12682 #line 126 82"configure"12644 #line 12644 "configure" 12683 12645 #include "confdefs.h" 12684 12646 … … 13507 13469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13508 13470 -e 's:$: $lt_compiler_flag:'` 13509 (eval echo "\"\$as_me:13 509: $lt_compile\"" >&5)13471 (eval echo "\"\$as_me:13471: $lt_compile\"" >&5) 13510 13472 (eval "$lt_compile" 2>conftest.err) 13511 13473 ac_status=$? 13512 13474 cat conftest.err >&5 13513 echo "$as_me:13 513: \$? = $ac_status" >&513475 echo "$as_me:13475: \$? = $ac_status" >&5 13514 13476 if (exit $ac_status) && test -s "$ac_outfile"; then 13515 13477 # The compiler can only warn and ignore the option if not recognized … … 13567 13529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13568 13530 -e 's:$: $lt_compiler_flag:'` 13569 (eval echo "\"\$as_me:135 69: $lt_compile\"" >&5)13531 (eval echo "\"\$as_me:13531: $lt_compile\"" >&5) 13570 13532 (eval "$lt_compile" 2>out/conftest.err) 13571 13533 ac_status=$? 13572 13534 cat out/conftest.err >&5 13573 echo "$as_me:135 73: \$? = $ac_status" >&513535 echo "$as_me:13535: \$? = $ac_status" >&5 13574 13536 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13575 13537 then … … 14881 14843 case "$host_cpu" in 14882 14844 x86_64*|s390x*|powerpc64*) 14883 echo '#line 148 83"configure"' > conftest.$ac_ext14845 echo '#line 14845 "configure"' > conftest.$ac_ext 14884 14846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14885 14847 (eval $ac_compile) 2>&5 … … 15622 15584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15623 15585 -e 's:$: $lt_compiler_flag:'` 15624 (eval echo "\"\$as_me:15 624: $lt_compile\"" >&5)15586 (eval echo "\"\$as_me:15586: $lt_compile\"" >&5) 15625 15587 (eval "$lt_compile" 2>conftest.err) 15626 15588 ac_status=$? 15627 15589 cat conftest.err >&5 15628 echo "$as_me:15 628: \$? = $ac_status" >&515590 echo "$as_me:15590: \$? = $ac_status" >&5 15629 15591 if (exit $ac_status) && test -s "$ac_outfile"; then 15630 15592 # The compiler can only warn and ignore the option if not recognized … … 15855 15817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15856 15818 -e 's:$: $lt_compiler_flag:'` 15857 (eval echo "\"\$as_me:158 57: $lt_compile\"" >&5)15819 (eval echo "\"\$as_me:15819: $lt_compile\"" >&5) 15858 15820 (eval "$lt_compile" 2>conftest.err) 15859 15821 ac_status=$? 15860 15822 cat conftest.err >&5 15861 echo "$as_me:158 61: \$? = $ac_status" >&515823 echo "$as_me:15823: \$? = $ac_status" >&5 15862 15824 if (exit $ac_status) && test -s "$ac_outfile"; then 15863 15825 # The compiler can only warn and ignore the option if not recognized … … 15915 15877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15916 15878 -e 's:$: $lt_compiler_flag:'` 15917 (eval echo "\"\$as_me:15 917: $lt_compile\"" >&5)15879 (eval echo "\"\$as_me:15879: $lt_compile\"" >&5) 15918 15880 (eval "$lt_compile" 2>out/conftest.err) 15919 15881 ac_status=$? 15920 15882 cat out/conftest.err >&5 15921 echo "$as_me:15 921: \$? = $ac_status" >&515883 echo "$as_me:15883: \$? = $ac_status" >&5 15922 15884 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15923 15885 then … … 17249 17211 case "$host_cpu" in 17250 17212 x86_64*|s390x*|powerpc64*) 17251 echo '#line 172 51"configure"' > conftest.$ac_ext17213 echo '#line 17213 "configure"' > conftest.$ac_ext 17252 17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17253 17215 (eval $ac_compile) 2>&5 … … 18120 18082 lt_status=$lt_dlunknown 18121 18083 cat > conftest.$ac_ext <<EOF 18122 #line 18 122"configure"18084 #line 18084 "configure" 18123 18085 #include "confdefs.h" 18124 18086 … … 18218 18180 lt_status=$lt_dlunknown 18219 18181 cat > conftest.$ac_ext <<EOF 18220 #line 18 220"configure"18182 #line 18182 "configure" 18221 18183 #include "confdefs.h" 18222 18184 … … 19231 19193 19232 19194 19195 19196 19197 19198 # Check whether --with-psLib or --without-psLib was given. 19199 if test "${with_psLib+set}" = set; then 19200 withval="$with_psLib" 19201 19202 CFLAGS="${CFLAGS=} -I$withval/include" 19203 LDFLAGS="${LDFLAGS=} -L$withval/lib" 19204 19205 else 19206 19207 CFLAGS="${CFLAGS=} -I$PSLIB_ROOT/include" 19208 LDFLAGS="${LDFLAGS=} -L$PSLIB_ROOT/lib" 19209 19210 fi; 19211 19212 19213 # Check whether --with-sla or --without-sla was given. 19214 if test "${with_sla+set}" = set; then 19215 withval="$with_sla" 19216 19217 CFLAGS="${CFLAGS=} -I$withval/include" 19218 LDFLAGS="${LDFLAGS=} -L$withval/lib" 19219 19220 fi; 19221 19222 19223 # Check whether --with-cfitsio or --without-cfitsio was given. 19224 if test "${with_cfitsio+set}" = set; then 19225 withval="$with_cfitsio" 19226 19227 CFLAGS="${CFLAGS=} -I$withval/include" 19228 LDFLAGS="${LDFLAGS=} -L$withval/lib" 19229 19230 fi; 19231 19232 19233 # Check whether --with-fftw3 or --without-fftw3 was given. 19234 if test "${with_fftw3+set}" = set; then 19235 withval="$with_fftw3" 19236 19237 CFLAGS="${CFLAGS=} -I$withval/include" 19238 LDFLAGS="${LDFLAGS=} -L$withval/lib" 19239 19240 fi; 19241 19242 19243 # Check whether --with-gsl or --without-gsl was given. 19244 if test "${with_gsl+set}" = set; then 19245 withval="$with_gsl" 19246 19247 # Extract the first word of "$withval/bin/gsl-config", so it can be a program name with args. 19248 set dummy $withval/bin/gsl-config; ac_word=$2 19249 echo "$as_me:$LINENO: checking for $ac_word" >&5 19250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19251 if test "${ac_cv_prog_GSL_CONFIG+set}" = set; then 19252 echo $ECHO_N "(cached) $ECHO_C" >&6 19253 else 19254 if test -n "$GSL_CONFIG"; then 19255 ac_cv_prog_GSL_CONFIG="$GSL_CONFIG" # Let the user override the test. 19256 else 19257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19258 for as_dir in $PATH 19259 do 19260 IFS=$as_save_IFS 19261 test -z "$as_dir" && as_dir=. 19262 for ac_exec_ext in '' $ac_executable_extensions; do 19263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19264 ac_cv_prog_GSL_CONFIG="$withval/bin/gsl-config" 19265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19266 break 2 19267 fi 19268 done 19269 done 19270 19271 fi 19272 fi 19273 GSL_CONFIG=$ac_cv_prog_GSL_CONFIG 19274 if test -n "$GSL_CONFIG"; then 19275 echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5 19276 echo "${ECHO_T}$GSL_CONFIG" >&6 19277 else 19278 echo "$as_me:$LINENO: result: no" >&5 19279 echo "${ECHO_T}no" >&6 19280 fi 19281 19282 19283 else 19284 19285 # Extract the first word of "gsl-config", so it can be a program name with args. 19286 set dummy gsl-config; ac_word=$2 19287 echo "$as_me:$LINENO: checking for $ac_word" >&5 19288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19289 if test "${ac_cv_prog_GSL_CONFIG+set}" = set; then 19290 echo $ECHO_N "(cached) $ECHO_C" >&6 19291 else 19292 if test -n "$GSL_CONFIG"; then 19293 ac_cv_prog_GSL_CONFIG="$GSL_CONFIG" # Let the user override the test. 19294 else 19295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19296 for as_dir in $PATH 19297 do 19298 IFS=$as_save_IFS 19299 test -z "$as_dir" && as_dir=. 19300 for ac_exec_ext in '' $ac_executable_extensions; do 19301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19302 ac_cv_prog_GSL_CONFIG="`which gsl-config`" 19303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19304 break 2 19305 fi 19306 done 19307 done 19308 19309 fi 19310 fi 19311 GSL_CONFIG=$ac_cv_prog_GSL_CONFIG 19312 if test -n "$GSL_CONFIG"; then 19313 echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5 19314 echo "${ECHO_T}$GSL_CONFIG" >&6 19315 else 19316 echo "$as_me:$LINENO: result: no" >&5 19317 echo "${ECHO_T}no" >&6 19318 fi 19319 19320 19321 fi; 19322 if test "$GSL_CONFIG" != "" 19323 then 19324 GSL_PREFIX="`${GSL_CONFIG} --prefix`" 19325 GSL_LIBS="`${GSL_CONFIG} --libs`" 19326 LDFLAGS="${LDFLAGS=} -L$GSL_PREFIX/lib$GSL_LIBS" 19327 CFLAGS="${CFLAGS=} -I$GSL_PREFIX/include" 19328 fi 19329 19330 19331 echo "$as_me:$LINENO: checking for main in -lsla" >&5 19332 echo $ECHO_N "checking for main in -lsla... $ECHO_C" >&6 19333 if test "${ac_cv_lib_sla_main+set}" = set; then 19334 echo $ECHO_N "(cached) $ECHO_C" >&6 19335 else 19336 ac_check_lib_save_LIBS=$LIBS 19337 LIBS="-lsla $LIBS" 19338 cat >conftest.$ac_ext <<_ACEOF 19339 /* confdefs.h. */ 19340 _ACEOF 19341 cat confdefs.h >>conftest.$ac_ext 19342 cat >>conftest.$ac_ext <<_ACEOF 19343 /* end confdefs.h. */ 19344 19345 19346 int 19347 main () 19348 { 19349 main (); 19350 ; 19351 return 0; 19352 } 19353 _ACEOF 19354 rm -f conftest.$ac_objext conftest$ac_exeext 19355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19356 (eval $ac_link) 2>conftest.er1 19357 ac_status=$? 19358 grep -v '^ *+' conftest.er1 >conftest.err 19359 rm -f conftest.er1 19360 cat conftest.err >&5 19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19362 (exit $ac_status); } && 19363 { ac_try='test -z "$ac_c_werror_flag" 19364 || test ! -s conftest.err' 19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19366 (eval $ac_try) 2>&5 19367 ac_status=$? 19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19369 (exit $ac_status); }; } && 19370 { ac_try='test -s conftest$ac_exeext' 19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19372 (eval $ac_try) 2>&5 19373 ac_status=$? 19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19375 (exit $ac_status); }; }; then 19376 ac_cv_lib_sla_main=yes 19377 else 19378 echo "$as_me: failed program was:" >&5 19379 sed 's/^/| /' conftest.$ac_ext >&5 19380 19381 ac_cv_lib_sla_main=no 19382 fi 19383 rm -f conftest.err conftest.$ac_objext \ 19384 conftest$ac_exeext conftest.$ac_ext 19385 LIBS=$ac_check_lib_save_LIBS 19386 fi 19387 echo "$as_me:$LINENO: result: $ac_cv_lib_sla_main" >&5 19388 echo "${ECHO_T}$ac_cv_lib_sla_main" >&6 19389 if test $ac_cv_lib_sla_main = yes; then 19390 cat >>confdefs.h <<_ACEOF 19391 #define HAVE_LIBSLA 1 19392 _ACEOF 19393 19394 LIBS="-lsla $LIBS" 19395 19396 else 19397 { { echo "$as_me:$LINENO: error: SLA library required" >&5 19398 echo "$as_me: error: SLA library required" >&2;} 19399 { (exit 1); exit 1; }; } 19400 fi 19401 19402 19403 echo "$as_me:$LINENO: checking for main in -lcfitsio" >&5 19404 echo $ECHO_N "checking for main in -lcfitsio... $ECHO_C" >&6 19405 if test "${ac_cv_lib_cfitsio_main+set}" = set; then 19406 echo $ECHO_N "(cached) $ECHO_C" >&6 19407 else 19408 ac_check_lib_save_LIBS=$LIBS 19409 LIBS="-lcfitsio $LIBS" 19410 cat >conftest.$ac_ext <<_ACEOF 19411 /* confdefs.h. */ 19412 _ACEOF 19413 cat confdefs.h >>conftest.$ac_ext 19414 cat >>conftest.$ac_ext <<_ACEOF 19415 /* end confdefs.h. */ 19416 19417 19418 int 19419 main () 19420 { 19421 main (); 19422 ; 19423 return 0; 19424 } 19425 _ACEOF 19426 rm -f conftest.$ac_objext conftest$ac_exeext 19427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19428 (eval $ac_link) 2>conftest.er1 19429 ac_status=$? 19430 grep -v '^ *+' conftest.er1 >conftest.err 19431 rm -f conftest.er1 19432 cat conftest.err >&5 19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19434 (exit $ac_status); } && 19435 { ac_try='test -z "$ac_c_werror_flag" 19436 || test ! -s conftest.err' 19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19438 (eval $ac_try) 2>&5 19439 ac_status=$? 19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19441 (exit $ac_status); }; } && 19442 { ac_try='test -s conftest$ac_exeext' 19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19444 (eval $ac_try) 2>&5 19445 ac_status=$? 19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19447 (exit $ac_status); }; }; then 19448 ac_cv_lib_cfitsio_main=yes 19449 else 19450 echo "$as_me: failed program was:" >&5 19451 sed 's/^/| /' conftest.$ac_ext >&5 19452 19453 ac_cv_lib_cfitsio_main=no 19454 fi 19455 rm -f conftest.err conftest.$ac_objext \ 19456 conftest$ac_exeext conftest.$ac_ext 19457 LIBS=$ac_check_lib_save_LIBS 19458 fi 19459 echo "$as_me:$LINENO: result: $ac_cv_lib_cfitsio_main" >&5 19460 echo "${ECHO_T}$ac_cv_lib_cfitsio_main" >&6 19461 if test $ac_cv_lib_cfitsio_main = yes; then 19462 cat >>confdefs.h <<_ACEOF 19463 #define HAVE_LIBCFITSIO 1 19464 _ACEOF 19465 19466 LIBS="-lcfitsio $LIBS" 19467 19468 else 19469 { { echo "$as_me:$LINENO: error: CFITSIO library required" >&5 19470 echo "$as_me: error: CFITSIO library required" >&2;} 19471 { (exit 1); exit 1; }; } 19472 fi 19473 19474 19475 echo "$as_me:$LINENO: checking for main in -lfftw3f" >&5 19476 echo $ECHO_N "checking for main in -lfftw3f... $ECHO_C" >&6 19477 if test "${ac_cv_lib_fftw3f_main+set}" = set; then 19478 echo $ECHO_N "(cached) $ECHO_C" >&6 19479 else 19480 ac_check_lib_save_LIBS=$LIBS 19481 LIBS="-lfftw3f $LIBS" 19482 cat >conftest.$ac_ext <<_ACEOF 19483 /* confdefs.h. */ 19484 _ACEOF 19485 cat confdefs.h >>conftest.$ac_ext 19486 cat >>conftest.$ac_ext <<_ACEOF 19487 /* end confdefs.h. */ 19488 19489 19490 int 19491 main () 19492 { 19493 main (); 19494 ; 19495 return 0; 19496 } 19497 _ACEOF 19498 rm -f conftest.$ac_objext conftest$ac_exeext 19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19500 (eval $ac_link) 2>conftest.er1 19501 ac_status=$? 19502 grep -v '^ *+' conftest.er1 >conftest.err 19503 rm -f conftest.er1 19504 cat conftest.err >&5 19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19506 (exit $ac_status); } && 19507 { ac_try='test -z "$ac_c_werror_flag" 19508 || test ! -s conftest.err' 19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19510 (eval $ac_try) 2>&5 19511 ac_status=$? 19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19513 (exit $ac_status); }; } && 19514 { ac_try='test -s conftest$ac_exeext' 19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19516 (eval $ac_try) 2>&5 19517 ac_status=$? 19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19519 (exit $ac_status); }; }; then 19520 ac_cv_lib_fftw3f_main=yes 19521 else 19522 echo "$as_me: failed program was:" >&5 19523 sed 's/^/| /' conftest.$ac_ext >&5 19524 19525 ac_cv_lib_fftw3f_main=no 19526 fi 19527 rm -f conftest.err conftest.$ac_objext \ 19528 conftest$ac_exeext conftest.$ac_ext 19529 LIBS=$ac_check_lib_save_LIBS 19530 fi 19531 echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3f_main" >&5 19532 echo "${ECHO_T}$ac_cv_lib_fftw3f_main" >&6 19533 if test $ac_cv_lib_fftw3f_main = yes; then 19534 cat >>confdefs.h <<_ACEOF 19535 #define HAVE_LIBFFTW3F 1 19536 _ACEOF 19537 19538 LIBS="-lfftw3f $LIBS" 19539 19540 else 19541 { { echo "$as_me:$LINENO: error: FFTW3 library required" >&5 19542 echo "$as_me: error: FFTW3 library required" >&2;} 19543 { (exit 1); exit 1; }; } 19544 fi 19545 19546 19547 echo "$as_me:$LINENO: checking for main in -lgsl" >&5 19548 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6 19549 if test "${ac_cv_lib_gsl_main+set}" = set; then 19550 echo $ECHO_N "(cached) $ECHO_C" >&6 19551 else 19552 ac_check_lib_save_LIBS=$LIBS 19553 LIBS="-lgsl $LIBS" 19554 cat >conftest.$ac_ext <<_ACEOF 19555 /* confdefs.h. */ 19556 _ACEOF 19557 cat confdefs.h >>conftest.$ac_ext 19558 cat >>conftest.$ac_ext <<_ACEOF 19559 /* end confdefs.h. */ 19560 19561 19562 int 19563 main () 19564 { 19565 main (); 19566 ; 19567 return 0; 19568 } 19569 _ACEOF 19570 rm -f conftest.$ac_objext conftest$ac_exeext 19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19572 (eval $ac_link) 2>conftest.er1 19573 ac_status=$? 19574 grep -v '^ *+' conftest.er1 >conftest.err 19575 rm -f conftest.er1 19576 cat conftest.err >&5 19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19578 (exit $ac_status); } && 19579 { ac_try='test -z "$ac_c_werror_flag" 19580 || test ! -s conftest.err' 19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19582 (eval $ac_try) 2>&5 19583 ac_status=$? 19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19585 (exit $ac_status); }; } && 19586 { ac_try='test -s conftest$ac_exeext' 19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19588 (eval $ac_try) 2>&5 19589 ac_status=$? 19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19591 (exit $ac_status); }; }; then 19592 ac_cv_lib_gsl_main=yes 19593 else 19594 echo "$as_me: failed program was:" >&5 19595 sed 's/^/| /' conftest.$ac_ext >&5 19596 19597 ac_cv_lib_gsl_main=no 19598 fi 19599 rm -f conftest.err conftest.$ac_objext \ 19600 conftest$ac_exeext conftest.$ac_ext 19601 LIBS=$ac_check_lib_save_LIBS 19602 fi 19603 echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5 19604 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6 19605 if test $ac_cv_lib_gsl_main = yes; then 19606 cat >>confdefs.h <<_ACEOF 19607 #define HAVE_LIBGSL 1 19608 _ACEOF 19609 19610 LIBS="-lgsl $LIBS" 19611 19612 else 19613 { { echo "$as_me:$LINENO: error: GSL library required" >&5 19614 echo "$as_me: error: GSL library required" >&2;} 19615 { (exit 1); exit 1; }; } 19616 fi 19617 19618 19619 echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5 19620 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6 19621 if test "${ac_cv_lib_gslcblas_main+set}" = set; then 19622 echo $ECHO_N "(cached) $ECHO_C" >&6 19623 else 19624 ac_check_lib_save_LIBS=$LIBS 19625 LIBS="-lgslcblas $LIBS" 19626 cat >conftest.$ac_ext <<_ACEOF 19627 /* confdefs.h. */ 19628 _ACEOF 19629 cat confdefs.h >>conftest.$ac_ext 19630 cat >>conftest.$ac_ext <<_ACEOF 19631 /* end confdefs.h. */ 19632 19633 19634 int 19635 main () 19636 { 19637 main (); 19638 ; 19639 return 0; 19640 } 19641 _ACEOF 19642 rm -f conftest.$ac_objext conftest$ac_exeext 19643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19644 (eval $ac_link) 2>conftest.er1 19645 ac_status=$? 19646 grep -v '^ *+' conftest.er1 >conftest.err 19647 rm -f conftest.er1 19648 cat conftest.err >&5 19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19650 (exit $ac_status); } && 19651 { ac_try='test -z "$ac_c_werror_flag" 19652 || test ! -s conftest.err' 19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19654 (eval $ac_try) 2>&5 19655 ac_status=$? 19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19657 (exit $ac_status); }; } && 19658 { ac_try='test -s conftest$ac_exeext' 19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19660 (eval $ac_try) 2>&5 19661 ac_status=$? 19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19663 (exit $ac_status); }; }; then 19664 ac_cv_lib_gslcblas_main=yes 19665 else 19666 echo "$as_me: failed program was:" >&5 19667 sed 's/^/| /' conftest.$ac_ext >&5 19668 19669 ac_cv_lib_gslcblas_main=no 19670 fi 19671 rm -f conftest.err conftest.$ac_objext \ 19672 conftest$ac_exeext conftest.$ac_ext 19673 LIBS=$ac_check_lib_save_LIBS 19674 fi 19675 echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5 19676 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6 19677 if test $ac_cv_lib_gslcblas_main = yes; then 19678 cat >>confdefs.h <<_ACEOF 19679 #define HAVE_LIBGSLCBLAS 1 19680 _ACEOF 19681 19682 LIBS="-lgslcblas $LIBS" 19683 19684 else 19685 { { echo "$as_me:$LINENO: error: GSL CBLAS library required" >&5 19686 echo "$as_me: error: GSL CBLAS library required" >&2;} 19687 { (exit 1); exit 1; }; } 19688 fi 19689 19690 19691 echo "$as_me:$LINENO: checking for main in -lpslib" >&5 19692 echo $ECHO_N "checking for main in -lpslib... $ECHO_C" >&6 19693 if test "${ac_cv_lib_pslib_main+set}" = set; then 19694 echo $ECHO_N "(cached) $ECHO_C" >&6 19695 else 19696 ac_check_lib_save_LIBS=$LIBS 19697 LIBS="-lpslib $LIBS" 19698 cat >conftest.$ac_ext <<_ACEOF 19699 /* confdefs.h. */ 19700 _ACEOF 19701 cat confdefs.h >>conftest.$ac_ext 19702 cat >>conftest.$ac_ext <<_ACEOF 19703 /* end confdefs.h. */ 19704 19705 19706 int 19707 main () 19708 { 19709 main (); 19710 ; 19711 return 0; 19712 } 19713 _ACEOF 19714 rm -f conftest.$ac_objext conftest$ac_exeext 19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19716 (eval $ac_link) 2>conftest.er1 19717 ac_status=$? 19718 grep -v '^ *+' conftest.er1 >conftest.err 19719 rm -f conftest.er1 19720 cat conftest.err >&5 19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19722 (exit $ac_status); } && 19723 { ac_try='test -z "$ac_c_werror_flag" 19724 || test ! -s conftest.err' 19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19726 (eval $ac_try) 2>&5 19727 ac_status=$? 19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19729 (exit $ac_status); }; } && 19730 { ac_try='test -s conftest$ac_exeext' 19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19732 (eval $ac_try) 2>&5 19733 ac_status=$? 19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19735 (exit $ac_status); }; }; then 19736 ac_cv_lib_pslib_main=yes 19737 else 19738 echo "$as_me: failed program was:" >&5 19739 sed 's/^/| /' conftest.$ac_ext >&5 19740 19741 ac_cv_lib_pslib_main=no 19742 fi 19743 rm -f conftest.err conftest.$ac_objext \ 19744 conftest$ac_exeext conftest.$ac_ext 19745 LIBS=$ac_check_lib_save_LIBS 19746 fi 19747 echo "$as_me:$LINENO: result: $ac_cv_lib_pslib_main" >&5 19748 echo "${ECHO_T}$ac_cv_lib_pslib_main" >&6 19749 if test $ac_cv_lib_pslib_main = yes; then 19750 cat >>confdefs.h <<_ACEOF 19751 #define HAVE_LIBPSLIB 1 19752 _ACEOF 19753 19754 LIBS="-lpslib $LIBS" 19755 19756 else 19757 { { echo "$as_me:$LINENO: error: psLib library required" >&5 19758 echo "$as_me: error: psLib library required" >&2;} 19759 { (exit 1); exit 1; }; } 19760 fi 19233 19761 19234 19762 … … 19942 20470 s,@ac_ct_F77@,$ac_ct_F77,;t t 19943 20471 s,@LIBTOOL@,$LIBTOOL,;t t 20472 s,@GSL_CONFIG@,$GSL_CONFIG,;t t 19944 20473 s,@LIBOBJS@,$LIBOBJS,;t t 19945 20474 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note:
See TracChangeset
for help on using the changeset viewer.
