Changeset 1786
- Timestamp:
- Sep 10, 2004, 1:42:18 PM (22 years ago)
- Location:
- trunk/psModules
- Files:
-
- 9 edited
-
Makefile.in (modified) (1 diff)
-
configure (modified) (29 diffs)
-
configure.in (modified) (1 diff)
-
psmodule.kdevelop (modified) (5 diffs)
-
src/Makefile.am (modified) (1 diff)
-
src/Makefile.in (modified) (14 diffs)
-
src/config.h.in (modified) (1 diff)
-
src/pmFlatField.c (modified) (3 diffs)
-
src/pmFlatField.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/Makefile.in
r1779 r1786 100 100 F77 = @F77@ 101 101 FFLAGS = @FFLAGS@ 102 GSL_CONFIG = @GSL_CONFIG@ 102 103 INSTALL_DATA = @INSTALL_DATA@ 103 104 INSTALL_PROGRAM = @INSTALL_PROGRAM@ -
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 -
trunk/psModules/configure.in
r1777 r1786 4 4 AM_INIT_AUTOMAKE(psModule, 0.1) 5 5 6 AC_LANG _C6 AC_LANG(C) 7 7 AC_PROG_CC 8 9 dnl AC_SUBST(LDFLAGS) 10 AC_SUBST(CFLAGS) 8 11 9 12 CFLAGS="${CFLAGS=} -g2 -Wall -std=c99 -D_GNU_SOURCE" 10 13 14 AC_PROG_INSTALL 15 AM_PROG_LIBTOOL 16 11 17 AC_ARG_WITH(psLib, 12 [ --with-psLib Specify location of psLib files],[ 13 CFLAGS="$CFLAGS -I$withval/include" 14 LDFLAGS="$LDFLAGS -L$withval/lib" 15 psLib_prefix=$withval 18 [ --with-psLib=DIR Specify location of psLib files],[ 19 CFLAGS="${CFLAGS=} -I$withval/include" 20 LDFLAGS="${LDFLAGS=} -L$withval/lib" 21 ],[ 22 CFLAGS="${CFLAGS=} -I$PSLIB_ROOT/include" 23 LDFLAGS="${LDFLAGS=} -L$PSLIB_ROOT/lib" 16 24 ]) 17 25 18 26 AC_ARG_WITH(sla, 19 [ --with-sla Specify location of SLA.],[ 20 CFLAGS="$CFLAGS -I$withval/include" 21 SLA_LINK = `$withval/bin/sla_link` 22 LDFLAGS="$LDFLAGS $SLA_LINK" 23 psLib_prefix=$withval 27 [ --with-sla=DIR Specify location of SLA.],[ 28 CFLAGS="${CFLAGS=} -I$withval/include" 29 LDFLAGS="${LDFLAGS=} -L$withval/lib" 24 30 ]) 25 31 26 AC_ARG_WITH(psLib-includes, [ --with-psLib-includes Specify location of psLib header files], \ 27 CFLAGS="$CFLAGS -I$withval") 32 AC_ARG_WITH(cfitsio, 33 [ --with-cfitsio=DIR Specify location of CFITSIO.],[ 34 CFLAGS="${CFLAGS=} -I$withval/include" 35 LDFLAGS="${LDFLAGS=} -L$withval/lib" 36 ]) 28 37 29 AC_ARG_WITH(psLib-lib, [ --with-psLib-lib Specify location of psLib library file], \ 30 LDFLAGS="$LDFLAGS -L$withval") 38 AC_ARG_WITH(fftw3, 39 [ --with-fftw3=DIR Specify location of FFTW version 3.],[ 40 CFLAGS="${CFLAGS=} -I$withval/include" 41 LDFLAGS="${LDFLAGS=} -L$withval/lib" 42 ]) 31 43 44 AC_ARG_WITH(gsl, 45 [ --with-gsl=DIR Specify location of GSL.],[ 46 AC_CHECK_PROG(GSL_CONFIG, $withval/bin/gsl-config, $withval/bin/gsl-config) 47 ],[ 48 AC_CHECK_PROG(GSL_CONFIG, gsl-config, `which gsl-config`) 49 ]) 50 if test "$GSL_CONFIG" != "" 51 then 52 GSL_PREFIX="`${GSL_CONFIG} --prefix`" 53 GSL_LIBS="`${GSL_CONFIG} --libs`" 54 LDFLAGS="${LDFLAGS=} -L$GSL_PREFIX/lib$GSL_LIBS" 55 CFLAGS="${CFLAGS=} -I$GSL_PREFIX/include" 56 fi 32 57 33 AC_PROG_INSTALL 34 35 AM_PROG_LIBTOOL 58 dnl Check the libraries to see if they exist, etc. 59 AC_CHECK_LIB(sla,main,,AC_MSG_ERROR(SLA library required)) 60 AC_CHECK_LIB(cfitsio,main,,AC_MSG_ERROR(CFITSIO library required)) 61 AC_CHECK_LIB(fftw3f,main,,AC_MSG_ERROR(FFTW3 library required)) 62 AC_CHECK_LIB(gsl,main,,AC_MSG_ERROR(GSL library required)) 63 AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR(GSL CBLAS library required)) 64 AC_CHECK_LIB(pslib,main,,AC_MSG_ERROR(psLib library required)) 36 65 37 66 AC_OUTPUT(Makefile src/Makefile) -
trunk/psModules/psmodule.kdevelop
r1777 r1786 11 11 <keyword>Code</keyword> 12 12 </keywords> 13 <projectdirectory>.</projectdirectory> 14 <absoluteprojectpath>false</absoluteprojectpath> 15 <description></description> 16 <ignoreparts/> 17 <secondaryLanguages/> 13 18 </general> 14 19 <kdevautoproject> … … 18 23 </general> 19 24 <run> 20 <mainprogram>src/ psmodule</mainprogram>25 <mainprogram>src/tst_pmFlatField</mainprogram> 21 26 <terminal>true</terminal> 22 27 <directoryradio>executable</directoryradio> 28 <customdirectory>/</customdirectory> 29 <programargs></programargs> 30 <autocompile>true</autocompile> 31 <envvars/> 23 32 </run> 24 33 <configurations> … … 44 53 <envvar value="1" name="WANT_AUTOMAKE_1_6" /> 45 54 </envvars> 55 <abortonerror>false</abortonerror> 56 <numberofjobs>1</numberofjobs> 57 <dontact>false</dontact> 58 <makebin></makebin> 46 59 </make> 47 60 </kdevautoproject> … … 93 106 <toc>KDE Libraries (Doxygen)</toc> 94 107 </ignoredoxygen> 108 <projectdoc> 109 <userdocDir>html/</userdocDir> 110 <apidocDir>html/</apidocDir> 111 </projectdoc> 112 <ignorekdocs/> 113 <ignoredevhelp/> 95 114 </kdevdoctreeview> 96 115 <kdevfilecreate> 116 <filetypes/> 97 117 <useglobaltypes> 98 118 <type ext="c" /> … … 127 147 </codecompletion> 128 148 </kdevcppsupport> 149 <cppsupportpart> 150 <filetemplates> 151 <interfacesuffix>.h</interfacesuffix> 152 <implementationsuffix>.cpp</implementationsuffix> 153 </filetemplates> 154 </cppsupportpart> 155 <kdevdebugger> 156 <general> 157 <programargs></programargs> 158 <gdbpath></gdbpath> 159 <dbgshell></dbgshell> 160 <configGdbScript></configGdbScript> 161 <runShellScript></runShellScript> 162 <runGdbScript></runGdbScript> 163 <breakonloadinglibs>true</breakonloadinglibs> 164 <separatetty>false</separatetty> 165 <floatingtoolbar>false</floatingtoolbar> 166 </general> 167 <display> 168 <staticmembers>false</staticmembers> 169 <demanglenames>true</demanglenames> 170 </display> 171 </kdevdebugger> 129 172 </kdevelop> -
trunk/psModules/src/Makefile.am
r1777 r1786 1 lib_L TLIBRARIES = libpsmodule.la1 lib_LIBRARIES = libpsmodule.a 2 2 bin_PROGRAMS = tst_pmFlatField 3 3 4 libpsmodule_ la_SOURCES = pmFlatField.c5 libpsmodule_ la_HEADERS = pmFlatField.h6 libpsmodule_ ladir = .4 libpsmodule_a_SOURCES = pmFlatField.c 5 libpsmodule_a_HEADERS = pmFlatField.h 6 libpsmodule_adir = . 7 7 8 8 9 9 tst_pmFlatField_SOURCES = tst_pmFlatField.c 10 tst_pmFlatField_LDFLAGS = -lpsmodule -lpslib -lcfitsio -lgsl -lgslcblas -lfftw3f -lsla10 tst_pmFlatField_LDFLAGS = libpsmodule.a -
trunk/psModules/src/Makefile.in
r1779 r1786 17 17 18 18 19 SOURCES = $(libpsmodule_ la_SOURCES) $(tst_pmFlatField_SOURCES)19 SOURCES = $(libpsmodule_a_SOURCES) $(tst_pmFlatField_SOURCES) 20 20 21 21 srcdir = @srcdir@ … … 42 42 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) 43 43 subdir = src 44 DIST_COMMON = $(libpsmodule_ la_HEADERS) $(srcdir)/Makefile.am \44 DIST_COMMON = $(libpsmodule_a_HEADERS) $(srcdir)/Makefile.am \ 45 45 $(srcdir)/Makefile.in $(srcdir)/config.h.in 46 46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 51 51 CONFIG_HEADER = config.h 52 52 CONFIG_CLEAN_FILES = 53 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libpsmodule_ladir)" 54 libLTLIBRARIES_INSTALL = $(INSTALL) 55 LTLIBRARIES = $(lib_LTLIBRARIES) 56 libpsmodule_la_LIBADD = 57 am_libpsmodule_la_OBJECTS = pmFlatField.lo 58 libpsmodule_la_OBJECTS = $(am_libpsmodule_la_OBJECTS) 53 ARFLAGS = cru 54 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libpsmodule_adir)" 55 libLIBRARIES_INSTALL = $(INSTALL_DATA) 56 LIBRARIES = $(lib_LIBRARIES) 57 libpsmodule_a_AR = $(AR) $(ARFLAGS) 58 libpsmodule_a_LIBADD = 59 am_libpsmodule_a_OBJECTS = pmFlatField.$(OBJEXT) 60 libpsmodule_a_OBJECTS = $(am_libpsmodule_a_OBJECTS) 59 61 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 60 62 PROGRAMS = $(bin_PROGRAMS) … … 65 67 depcomp = $(SHELL) $(top_srcdir)/depcomp 66 68 am__depfiles_maybe = depfiles 67 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/pmFlatField.P lo \69 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/pmFlatField.Po \ 68 70 @AMDEP_TRUE@ ./$(DEPDIR)/tst_pmFlatField.Po 69 71 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ … … 75 77 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 76 78 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 77 SOURCES = $(libpsmodule_ la_SOURCES) $(tst_pmFlatField_SOURCES)78 DIST_SOURCES = $(libpsmodule_ la_SOURCES) $(tst_pmFlatField_SOURCES)79 libpsmodule_ laHEADERS_INSTALL = $(INSTALL_HEADER)80 HEADERS = $(libpsmodule_ la_HEADERS)79 SOURCES = $(libpsmodule_a_SOURCES) $(tst_pmFlatField_SOURCES) 80 DIST_SOURCES = $(libpsmodule_a_SOURCES) $(tst_pmFlatField_SOURCES) 81 libpsmodule_aHEADERS_INSTALL = $(INSTALL_HEADER) 82 HEADERS = $(libpsmodule_a_HEADERS) 81 83 ETAGS = etags 82 84 CTAGS = ctags … … 111 113 F77 = @F77@ 112 114 FFLAGS = @FFLAGS@ 115 GSL_CONFIG = @GSL_CONFIG@ 113 116 INSTALL_DATA = @INSTALL_DATA@ 114 117 INSTALL_PROGRAM = @INSTALL_PROGRAM@ … … 176 179 sysconfdir = @sysconfdir@ 177 180 target_alias = @target_alias@ 178 lib_L TLIBRARIES = libpsmodule.la179 libpsmodule_ la_SOURCES = pmFlatField.c180 libpsmodule_ la_HEADERS = pmFlatField.h181 libpsmodule_ ladir = .181 lib_LIBRARIES = libpsmodule.a 182 libpsmodule_a_SOURCES = pmFlatField.c 183 libpsmodule_a_HEADERS = pmFlatField.h 184 libpsmodule_adir = . 182 185 tst_pmFlatField_SOURCES = tst_pmFlatField.c 183 tst_pmFlatField_LDFLAGS = -lpsmodule -lpslib -lcfitsio -lgsl -lgslcblas -lfftw3f -lsla186 tst_pmFlatField_LDFLAGS = libpsmodule.a 184 187 all: config.h 185 188 $(MAKE) $(AM_MAKEFLAGS) all-am … … 233 236 distclean-hdr: 234 237 -rm -f config.h stamp-h1 235 install-libL TLIBRARIES: $(lib_LTLIBRARIES)238 install-libLIBRARIES: $(lib_LIBRARIES) 236 239 @$(NORMAL_INSTALL) 237 240 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 238 @list='$(lib_L TLIBRARIES)'; for p in $$list; do \241 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 239 242 if test -f $$p; then \ 240 243 f="`echo $$p | sed -e 's|^.*/||'`"; \ 241 echo " $( LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \242 $( LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \244 echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ 245 $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ 243 246 else :; fi; \ 244 247 done 245 246 uninstall-libLTLIBRARIES: 248 @$(POST_INSTALL) 249 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 250 if test -f $$p; then \ 251 p="`echo $$p | sed -e 's|^.*/||'`"; \ 252 echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \ 253 $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \ 254 else :; fi; \ 255 done 256 257 uninstall-libLIBRARIES: 247 258 @$(NORMAL_UNINSTALL) 248 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 249 p="`echo $$p | sed -e 's|^.*/||'`"; \ 250 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ 251 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ 252 done 253 254 clean-libLTLIBRARIES: 255 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 256 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 257 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 258 test "$$dir" = "$$p" && dir=.; \ 259 echo "rm -f \"$${dir}/so_locations\""; \ 260 rm -f "$${dir}/so_locations"; \ 261 done 262 libpsmodule.la: $(libpsmodule_la_OBJECTS) $(libpsmodule_la_DEPENDENCIES) 263 $(LINK) -rpath $(libdir) $(libpsmodule_la_LDFLAGS) $(libpsmodule_la_OBJECTS) $(libpsmodule_la_LIBADD) $(LIBS) 259 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 260 p="`echo $$p | sed -e 's|^.*/||'`"; \ 261 echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \ 262 rm -f "$(DESTDIR)$(libdir)/$$p"; \ 263 done 264 265 clean-libLIBRARIES: 266 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) 267 libpsmodule.a: $(libpsmodule_a_OBJECTS) $(libpsmodule_a_DEPENDENCIES) 268 -rm -f libpsmodule.a 269 $(libpsmodule_a_AR) libpsmodule.a $(libpsmodule_a_OBJECTS) $(libpsmodule_a_LIBADD) 270 $(RANLIB) libpsmodule.a 264 271 install-binPROGRAMS: $(bin_PROGRAMS) 265 272 @$(NORMAL_INSTALL) … … 300 307 -rm -f *.tab.c 301 308 302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pmFlatField.P lo@am__quote@309 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pmFlatField.Po@am__quote@ 303 310 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tst_pmFlatField.Po@am__quote@ 304 311 … … 336 343 -rm -f libtool 337 344 uninstall-info-am: 338 install-libpsmodule_ laHEADERS: $(libpsmodule_la_HEADERS)345 install-libpsmodule_aHEADERS: $(libpsmodule_a_HEADERS) 339 346 @$(NORMAL_INSTALL) 340 test -z "$(libpsmodule_ ladir)" || $(mkdir_p) "$(DESTDIR)$(libpsmodule_ladir)"341 @list='$(libpsmodule_ la_HEADERS)'; for p in $$list; do \347 test -z "$(libpsmodule_adir)" || $(mkdir_p) "$(DESTDIR)$(libpsmodule_adir)" 348 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 342 349 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 343 350 f="`echo $$p | sed -e 's|^.*/||'`"; \ 344 echo " $(libpsmodule_ laHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libpsmodule_ladir)/$$f'"; \345 $(libpsmodule_ laHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libpsmodule_ladir)/$$f"; \346 done 347 348 uninstall-libpsmodule_ laHEADERS:351 echo " $(libpsmodule_aHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \ 352 $(libpsmodule_aHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libpsmodule_adir)/$$f"; \ 353 done 354 355 uninstall-libpsmodule_aHEADERS: 349 356 @$(NORMAL_UNINSTALL) 350 @list='$(libpsmodule_ la_HEADERS)'; for p in $$list; do \357 @list='$(libpsmodule_a_HEADERS)'; for p in $$list; do \ 351 358 f="`echo $$p | sed -e 's|^.*/||'`"; \ 352 echo " rm -f '$(DESTDIR)$(libpsmodule_ ladir)/$$f'"; \353 rm -f "$(DESTDIR)$(libpsmodule_ ladir)/$$f"; \359 echo " rm -f '$(DESTDIR)$(libpsmodule_adir)/$$f'"; \ 360 rm -f "$(DESTDIR)$(libpsmodule_adir)/$$f"; \ 354 361 done 355 362 … … 429 436 check-am: all-am 430 437 check: check-am 431 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) config.h 432 install-binPROGRAMS: install-libLTLIBRARIES 433 438 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h 434 439 installdirs: 435 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libpsmodule_ ladir)"; do \440 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libpsmodule_adir)"; do \ 436 441 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 437 442 done … … 462 467 clean: clean-am 463 468 464 clean-am: clean-binPROGRAMS clean-generic clean-libL TLIBRARIES \469 clean-am: clean-binPROGRAMS clean-generic clean-libLIBRARIES \ 465 470 clean-libtool mostlyclean-am 466 471 … … 481 486 info-am: 482 487 483 install-data-am: install-libpsmodule_ laHEADERS484 485 install-exec-am: install-binPROGRAMS install-libL TLIBRARIES488 install-data-am: install-libpsmodule_aHEADERS 489 490 install-exec-am: install-binPROGRAMS install-libLIBRARIES 486 491 487 492 install-info: install-info-am … … 510 515 511 516 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \ 512 uninstall-libL TLIBRARIES uninstall-libpsmodule_laHEADERS517 uninstall-libLIBRARIES uninstall-libpsmodule_aHEADERS 513 518 514 519 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 515 clean-generic clean-libL TLIBRARIES clean-libtool ctags\516 distclean distclean-compile distclean-generic distclean-hdr \520 clean-generic clean-libLIBRARIES clean-libtool ctags distclean \ 521 distclean-compile distclean-generic distclean-hdr \ 517 522 distclean-libtool distclean-tags distdir dvi dvi-am html \ 518 523 html-am info info-am install install-am install-binPROGRAMS \ 519 524 install-data install-data-am install-exec install-exec-am \ 520 install-info install-info-am install-libL TLIBRARIES \521 install-libpsmodule_ laHEADERS install-man install-strip \525 install-info install-info-am install-libLIBRARIES \ 526 install-libpsmodule_aHEADERS install-man install-strip \ 522 527 installcheck installcheck-am installdirs maintainer-clean \ 523 528 maintainer-clean-generic mostlyclean mostlyclean-compile \ 524 529 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 525 530 tags uninstall uninstall-am uninstall-binPROGRAMS \ 526 uninstall-info-am uninstall-libL TLIBRARIES \527 uninstall-libpsmodule_ laHEADERS531 uninstall-info-am uninstall-libLIBRARIES \ 532 uninstall-libpsmodule_aHEADERS 528 533 529 534 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
trunk/psModules/src/config.h.in
r1779 r1786 6 6 /* Define to 1 if you have the <inttypes.h> header file. */ 7 7 #undef HAVE_INTTYPES_H 8 9 /* Define to 1 if you have the `cfitsio' library (-lcfitsio). */ 10 #undef HAVE_LIBCFITSIO 11 12 /* Define to 1 if you have the `fftw3f' library (-lfftw3f). */ 13 #undef HAVE_LIBFFTW3F 14 15 /* Define to 1 if you have the `gsl' library (-lgsl). */ 16 #undef HAVE_LIBGSL 17 18 /* Define to 1 if you have the `gslcblas' library (-lgslcblas). */ 19 #undef HAVE_LIBGSLCBLAS 20 21 /* Define to 1 if you have the `pslib' library (-lpslib). */ 22 #undef HAVE_LIBPSLIB 23 24 /* Define to 1 if you have the `sla' library (-lsla). */ 25 #undef HAVE_LIBSLA 8 26 9 27 /* Define to 1 if you have the <memory.h> header file. */ -
trunk/psModules/src/pmFlatField.c
r1777 r1786 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 1.1.1$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-09-10 19:01:33$7 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-09-10 23:42:18 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 #include "pmFlatField.h" 20 20 21 void pmFlatField(psVector* vector) 21 void pmFlatField(psVector* vector) 22 22 { 23 23 if (vector == NULL) { … … 25 25 return; 26 26 } 27 27 28 28 for (int lcv=0;lcv<vector->n;lcv++) { 29 29 printf("%f\n",vector->data.F32[lcv]); 30 30 } 31 31 32 32 return; 33 33 34 34 } -
trunk/psModules/src/pmFlatField.h
r1777 r1786 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 1.1.1$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-09-10 19:01:33$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-09-10 23:42:18 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 17 17 void pmFlatField(psVector* test); 18
Note:
See TracChangeset
for help on using the changeset viewer.
