Ignore:
Timestamp:
04/10/11 10:18:00 (14 years ago)
Author:
tbretz
Message:
Upadted according to latest changes in the configuration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r10230 r10346  
    747747LTLIBOBJS
    748748LIBOBJS
     749HAS_COLORGCC_FALSE
     750HAS_COLORGCC_TRUE
     751HAS_DOT_FALSE
     752HAS_DOT_TRUE
     753HAS_DOXYGEN_FALSE
     754HAS_DOXYGEN_TRUE
     755HAS_HELP2MAN_FALSE
     756HAS_HELP2MAN_TRUE
     757HAS_PS2PDF_FALSE
     758HAS_PS2PDF_TRUE
     759HAS_GROFF_FALSE
     760HAS_GROFF_TRUE
     761HAS_COLORDIFF_FALSE
     762HAS_COLORDIFF_TRUE
     763HELP2MAN
     764PS2PDF
     765GROFF
    749766COLORDIFF
    750767BOOST_THREAD_LIB
     
    759776MYSQLPP_INC_DIR
    760777MYSQLPP_LIB_DIR
    761 MYSQL_C_LIB_NAME
    762 MYSQL_C_LIB_DIR
    763778MYSQL_C_INC_DIR
    764779MOTIF_LIBS
     
    962977enable_doxygen_pdf
    963978with_readline
     979with_cfitsio
     980with_cfitsio_include
     981with_cfitsio_libdir
     982with_ccfits
     983with_ccfits_include
     984with_ccfits_libdir
    964985with_x
    965986with_motif_includes
     
    16461667  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    16471668  --with-readline[=dir]   Compile with readline/locate base dir
     1669  --with-cfitsio=DIR    root directory of cfitsio installation
     1670  --with-cfitsio-include=DIR        specify exact include dir for cfitsio headers
     1671  --with-cfitsio-libdir=DIR        specify exact library dir for cfitsio library
     1672  --without-cfitsio        disables cfitsio usage completely
     1673  --with-ccfits=DIR     root directory of ccfits installation
     1674  --with-ccfits-include=DIR        specify exact include dir for ccfits headers
     1675  --with-ccfits-libdir=DIR        specify exact library dir for ccfits library
     1676  --without-ccfits        disables ccfits usage completely
    16481677  --with-x                use the X Window System
    16491678  --with-motif-includes=DIR    Motif include files are in DIR
     
    22612290
    22622291} # ac_fn_c_check_header_mongrel
     2292
     2293# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2294# ---------------------------------------------------------
     2295# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2296# the include files in INCLUDES and setting the cache variable VAR
     2297# accordingly.
     2298ac_fn_cxx_check_header_mongrel ()
     2299{
     2300  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2301  if eval "test \"\${$3+set}\"" = set; then :
     2302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2303$as_echo_n "checking for $2... " >&6; }
     2304if eval "test \"\${$3+set}\"" = set; then :
     2305  $as_echo_n "(cached) " >&6
     2306fi
     2307eval ac_res=\$$3
     2308               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2309$as_echo "$ac_res" >&6; }
     2310else
     2311  # Is the header compilable?
     2312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2313$as_echo_n "checking $2 usability... " >&6; }
     2314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2315/* end confdefs.h.  */
     2316$4
     2317#include <$2>
     2318_ACEOF
     2319if ac_fn_cxx_try_compile "$LINENO"; then :
     2320  ac_header_compiler=yes
     2321else
     2322  ac_header_compiler=no
     2323fi
     2324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2326$as_echo "$ac_header_compiler" >&6; }
     2327
     2328# Is the header present?
     2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2330$as_echo_n "checking $2 presence... " >&6; }
     2331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2332/* end confdefs.h.  */
     2333#include <$2>
     2334_ACEOF
     2335if ac_fn_cxx_try_cpp "$LINENO"; then :
     2336  ac_header_preproc=yes
     2337else
     2338  ac_header_preproc=no
     2339fi
     2340rm -f conftest.err conftest.i conftest.$ac_ext
     2341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2342$as_echo "$ac_header_preproc" >&6; }
     2343
     2344# So?  What about this header?
     2345case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2346  yes:no: )
     2347    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2348$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2349    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2350$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2351    ;;
     2352  no:yes:* )
     2353    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2354$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2355    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2356$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2357    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2358$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2359    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2360$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2361    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2362$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2363( $as_echo "## ----------------------------------- ##
     2364## Report this to thomas.bretz@epfl.ch ##
     2365## ----------------------------------- ##"
     2366     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2367    ;;
     2368esac
     2369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2370$as_echo_n "checking for $2... " >&6; }
     2371if eval "test \"\${$3+set}\"" = set; then :
     2372  $as_echo_n "(cached) " >&6
     2373else
     2374  eval "$3=\$ac_header_compiler"
     2375fi
     2376eval ac_res=\$$3
     2377               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2378$as_echo "$ac_res" >&6; }
     2379fi
     2380  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2381
     2382} # ac_fn_cxx_check_header_mongrel
    22632383
    22642384# ac_fn_cxx_check_func LINENO FUNC VAR
     
    42504370  lt_cv_nm_interface="BSD nm"
    42514371  echo "int some_variable = 0;" > conftest.$ac_ext
    4252   (eval echo "\"\$as_me:4252: $ac_compile\"" >&5)
     4372  (eval echo "\"\$as_me:4372: $ac_compile\"" >&5)
    42534373  (eval "$ac_compile" 2>conftest.err)
    42544374  cat conftest.err >&5
    4255   (eval echo "\"\$as_me:4255: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4375  (eval echo "\"\$as_me:4375: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    42564376  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    42574377  cat conftest.err >&5
    4258   (eval echo "\"\$as_me:4258: output\"" >&5)
     4378  (eval echo "\"\$as_me:4378: output\"" >&5)
    42594379  cat conftest.out >&5
    42604380  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     
    54625582*-*-irix6*)
    54635583  # Find out which ABI we are using.
    5464   echo '#line 5464 "configure"' > conftest.$ac_ext
     5584  echo '#line 5584 "configure"' > conftest.$ac_ext
    54655585  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    54665586  (eval $ac_compile) 2>&5
     
    73907510   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73917511   -e 's:$: $lt_compiler_flag:'`
    7392    (eval echo "\"\$as_me:7392: $lt_compile\"" >&5)
     7512   (eval echo "\"\$as_me:7512: $lt_compile\"" >&5)
    73937513   (eval "$lt_compile" 2>conftest.err)
    73947514   ac_status=$?
    73957515   cat conftest.err >&5
    7396    echo "$as_me:7396: \$? = $ac_status" >&5
     7516   echo "$as_me:7516: \$? = $ac_status" >&5
    73977517   if (exit $ac_status) && test -s "$ac_outfile"; then
    73987518     # The compiler can only warn and ignore the option if not recognized
     
    77297849   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77307850   -e 's:$: $lt_compiler_flag:'`
    7731    (eval echo "\"\$as_me:7731: $lt_compile\"" >&5)
     7851   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
    77327852   (eval "$lt_compile" 2>conftest.err)
    77337853   ac_status=$?
    77347854   cat conftest.err >&5
    7735    echo "$as_me:7735: \$? = $ac_status" >&5
     7855   echo "$as_me:7855: \$? = $ac_status" >&5
    77367856   if (exit $ac_status) && test -s "$ac_outfile"; then
    77377857     # The compiler can only warn and ignore the option if not recognized
     
    78347954   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78357955   -e 's:$: $lt_compiler_flag:'`
    7836    (eval echo "\"\$as_me:7836: $lt_compile\"" >&5)
     7956   (eval echo "\"\$as_me:7956: $lt_compile\"" >&5)
    78377957   (eval "$lt_compile" 2>out/conftest.err)
    78387958   ac_status=$?
    78397959   cat out/conftest.err >&5
    7840    echo "$as_me:7840: \$? = $ac_status" >&5
     7960   echo "$as_me:7960: \$? = $ac_status" >&5
    78417961   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    78427962   then
     
    78898009   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78908010   -e 's:$: $lt_compiler_flag:'`
    7891    (eval echo "\"\$as_me:7891: $lt_compile\"" >&5)
     8011   (eval echo "\"\$as_me:8011: $lt_compile\"" >&5)
    78928012   (eval "$lt_compile" 2>out/conftest.err)
    78938013   ac_status=$?
    78948014   cat out/conftest.err >&5
    7895    echo "$as_me:7895: \$? = $ac_status" >&5
     8015   echo "$as_me:8015: \$? = $ac_status" >&5
    78968016   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    78978017   then
     
    1027310393  lt_status=$lt_dlunknown
    1027410394  cat > conftest.$ac_ext <<_LT_EOF
    10275 #line 10275 "configure"
     10395#line 10395 "configure"
    1027610396#include "confdefs.h"
    1027710397
     
    1036910489  lt_status=$lt_dlunknown
    1037010490  cat > conftest.$ac_ext <<_LT_EOF
    10371 #line 10371 "configure"
     10491#line 10491 "configure"
    1037210492#include "confdefs.h"
    1037310493
     
    1232512445   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1232612446   -e 's:$: $lt_compiler_flag:'`
    12327    (eval echo "\"\$as_me:12327: $lt_compile\"" >&5)
     12447   (eval echo "\"\$as_me:12447: $lt_compile\"" >&5)
    1232812448   (eval "$lt_compile" 2>conftest.err)
    1232912449   ac_status=$?
    1233012450   cat conftest.err >&5
    12331    echo "$as_me:12331: \$? = $ac_status" >&5
     12451   echo "$as_me:12451: \$? = $ac_status" >&5
    1233212452   if (exit $ac_status) && test -s "$ac_outfile"; then
    1233312453     # The compiler can only warn and ignore the option if not recognized
     
    1242412544   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1242512545   -e 's:$: $lt_compiler_flag:'`
    12426    (eval echo "\"\$as_me:12426: $lt_compile\"" >&5)
     12546   (eval echo "\"\$as_me:12546: $lt_compile\"" >&5)
    1242712547   (eval "$lt_compile" 2>out/conftest.err)
    1242812548   ac_status=$?
    1242912549   cat out/conftest.err >&5
    12430    echo "$as_me:12430: \$? = $ac_status" >&5
     12550   echo "$as_me:12550: \$? = $ac_status" >&5
    1243112551   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1243212552   then
     
    1247612596   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1247712597   -e 's:$: $lt_compiler_flag:'`
    12478    (eval echo "\"\$as_me:12478: $lt_compile\"" >&5)
     12598   (eval echo "\"\$as_me:12598: $lt_compile\"" >&5)
    1247912599   (eval "$lt_compile" 2>out/conftest.err)
    1248012600   ac_status=$?
    1248112601   cat out/conftest.err >&5
    12482    echo "$as_me:12482: \$? = $ac_status" >&5
     12602   echo "$as_me:12602: \$? = $ac_status" >&5
    1248312603   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1248412604   then
     
    1345113571#AC_PATH_XTRA
    1345213572
    13453 
    13454 
     13573######################################################################
     13574# Automake initial setup
     13575######################################################################
    1345513576
    1345613577am__api_version='1.11'
     
    1440014521
    1440114522DX_ENV="$DX_ENV ALL_GRAPHS='NO'"
    14402   # change to yet to switch on call(er) graphs
     14523  # change to yes to switch on call(er) graphs
    1440314524
    1440414525#DX_DOXYGEN_FEATURE(ON)
     
    1634316464
    1634416465
    16345 
     16466# Needed to compile dim
    1634616467
    1634716468
     
    1669516816
    1669616817
     16818# Needed to compile FACT++
    1669716819
    1669816820
     
    1677816900#
    1677916901
     16902# Needed to compile FACT++
    1678016903for ac_header in panel.h
    1678116904do :
     
    1678716910
    1678816911else
    16789 
    16790       echo "Error! Ncurses panel.h not properly installed in default include paths."
    16791       exit -1
    16792 
    16793 
     16912  as_fn_error $? "ncurses header not found" "$LINENO" 5
    1679416913fi
    1679516914
    1679616915done
    1679716916
     16917
     16918# Needed to compile FACT++
    1679816919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for update_panels in -lpanel" >&5
    1679916920$as_echo_n "checking for update_panels in -lpanel... " >&6; }
     
    1684016961
    1684116962else
    16842 
    16843       echo "Error! Ncurses libpanel not properly installed in the default libarary paths."
    16844       exit -1
    16845 
    16846 
    16847 fi
    16848 
     16963  as_fn_error $? "ncurses panel library not found" "$LINENO" 5
     16964fi
     16965
     16966
     16967# Needed to compile FACT++
     16968
     16969
     16970
     16971# Check whether --with-cfitsio was given.
     16972if test "${with_cfitsio+set}" = set; then :
     16973  withval=$with_cfitsio; with_cfitsio=$withval
     16974if test "${with_cfitsio}" != yes; then
     16975        cfitsio_include="$withval/include"
     16976        cfitsio_libdir="$withval/lib"
     16977fi
     16978
     16979fi
     16980
     16981
     16982
     16983# Check whether --with-cfitsio-include was given.
     16984if test "${with_cfitsio_include+set}" = set; then :
     16985  withval=$with_cfitsio_include; cfitsio_include="$withval"
     16986fi
     16987
     16988
     16989
     16990# Check whether --with-cfitsio-libdir was given.
     16991if test "${with_cfitsio_libdir+set}" = set; then :
     16992  withval=$with_cfitsio_libdir; cfitsio_libdir="$withval"
     16993fi
     16994
     16995
     16996if test "${with_cfitsio}" != no ; then
     16997        OLD_LIBS=$LIBS
     16998        OLD_LDFLAGS=$LDFLAGS
     16999        OLD_CFLAGS=$CFLAGS
     17000        OLD_CPPFLAGS=$CPPFLAGS
     17001
     17002        if test "${cfitsio_libdir}" ; then
     17003                LDFLAGS="$LDFLAGS -L${cfitsio_libdir}"
     17004        fi
     17005        if test "${cfitsio_include}" ; then
     17006                CPPFLAGS="$CPPFLAGS -I${cfitsio_include}"
     17007                CFLAGS="$CFLAGS -I${cfitsio_include}"
     17008        fi
     17009
     17010        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffpss in -lcfitsio" >&5
     17011$as_echo_n "checking for ffpss in -lcfitsio... " >&6; }
     17012if test "${ac_cv_lib_cfitsio_ffpss+set}" = set; then :
     17013  $as_echo_n "(cached) " >&6
     17014else
     17015  ac_check_lib_save_LIBS=$LIBS
     17016LIBS="-lcfitsio  $LIBS"
     17017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17018/* end confdefs.h.  */
     17019
     17020/* Override any GCC internal prototype to avoid an error.
     17021   Use char because int might match the return type of a GCC
     17022   builtin and then its argument prototype would still apply.  */
     17023#ifdef __cplusplus
     17024extern "C"
     17025#endif
     17026char ffpss ();
     17027int
     17028main ()
     17029{
     17030return ffpss ();
     17031  ;
     17032  return 0;
     17033}
     17034_ACEOF
     17035if ac_fn_c_try_link "$LINENO"; then :
     17036  ac_cv_lib_cfitsio_ffpss=yes
     17037else
     17038  ac_cv_lib_cfitsio_ffpss=no
     17039fi
     17040rm -f core conftest.err conftest.$ac_objext \
     17041    conftest$ac_exeext conftest.$ac_ext
     17042LIBS=$ac_check_lib_save_LIBS
     17043fi
     17044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfitsio_ffpss" >&5
     17045$as_echo "$ac_cv_lib_cfitsio_ffpss" >&6; }
     17046if test "x$ac_cv_lib_cfitsio_ffpss" = x""yes; then :
     17047  cat >>confdefs.h <<_ACEOF
     17048#define HAVE_LIBCFITSIO 1
     17049_ACEOF
     17050
     17051  LIBS="-lcfitsio $LIBS"
     17052
     17053else
     17054  no_good=yes
     17055fi
     17056
     17057        ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
     17058if test "x$ac_cv_header_fitsio_h" = x""yes; then :
     17059
     17060else
     17061  no_good=yes
     17062fi
     17063
     17064
     17065        if test "$no_good" = yes; then
     17066                as_fn_error $? "cfitsio not properly installed/not found." "$LINENO" 5
     17067
     17068                LIBS=$OLD_LIBS
     17069                LDFLAGS=$OLD_LDFLAGS
     17070                CPPFLAGS=$OLD_CPPFLAGS
     17071                CFLAGS=$OLD_CFLAGS
     17072        else
     17073
     17074
     17075                $as_echo "#define HAVE_PKG_cfitsio 1" >>confdefs.h
     17076
     17077        fi
     17078
     17079fi
     17080
     17081
     17082
     17083#AC_CHECK_HEADERS([fitsio.h],,AC_MSG_ERROR([cfitsio headers not found]))
     17084#AC_CHECK_LIB([cfitsio], main,,AC_MSG_ERROR([cfitsio library not found]))
    1684917085
    1685017086ac_ext=cpp
     
    1685517091
    1685617092
     17093# Needed to compile FACT++
     17094
     17095
     17096
     17097
     17098# Check whether --with-ccfits was given.
     17099if test "${with_ccfits+set}" = set; then :
     17100  withval=$with_ccfits; with_ccfits=$withval
     17101if test "${with_ccfits}" != yes; then
     17102        ccfits_include="$withval/include"
     17103        ccfits_libdir="$withval/lib"
     17104fi
     17105
     17106fi
     17107
     17108
     17109
     17110# Check whether --with-ccfits-include was given.
     17111if test "${with_ccfits_include+set}" = set; then :
     17112  withval=$with_ccfits_include; ccfits_include="$withval"
     17113fi
     17114
     17115
     17116
     17117# Check whether --with-ccfits-libdir was given.
     17118if test "${with_ccfits_libdir+set}" = set; then :
     17119  withval=$with_ccfits_libdir; ccfits_libdir="$withval"
     17120fi
     17121
     17122
     17123if test "${with_ccfits}" != no ; then
     17124        OLD_LIBS=$LIBS
     17125        OLD_LDFLAGS=$LDFLAGS
     17126        OLD_CFLAGS=$CFLAGS
     17127        OLD_CPPFLAGS=$CPPFLAGS
     17128
     17129        if test "${ccfits_libdir}" ; then
     17130                LDFLAGS="$LDFLAGS -L${ccfits_libdir}"
     17131        fi
     17132        if test "${ccfits_include}" ; then
     17133                CPPFLAGS="$CPPFLAGS -I${ccfits_include}"
     17134                CFLAGS="$CFLAGS -I${ccfits_include}"
     17135        fi
     17136
     17137        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCCfits" >&5
     17138$as_echo_n "checking for main in -lCCfits... " >&6; }
     17139if test "${ac_cv_lib_CCfits_main+set}" = set; then :
     17140  $as_echo_n "(cached) " >&6
     17141else
     17142  ac_check_lib_save_LIBS=$LIBS
     17143LIBS="-lCCfits  $LIBS"
     17144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17145/* end confdefs.h.  */
     17146
     17147
     17148int
     17149main ()
     17150{
     17151return main ();
     17152  ;
     17153  return 0;
     17154}
     17155_ACEOF
     17156if ac_fn_cxx_try_link "$LINENO"; then :
     17157  ac_cv_lib_CCfits_main=yes
     17158else
     17159  ac_cv_lib_CCfits_main=no
     17160fi
     17161rm -f core conftest.err conftest.$ac_objext \
     17162    conftest$ac_exeext conftest.$ac_ext
     17163LIBS=$ac_check_lib_save_LIBS
     17164fi
     17165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CCfits_main" >&5
     17166$as_echo "$ac_cv_lib_CCfits_main" >&6; }
     17167if test "x$ac_cv_lib_CCfits_main" = x""yes; then :
     17168  cat >>confdefs.h <<_ACEOF
     17169#define HAVE_LIBCCFITS 1
     17170_ACEOF
     17171
     17172  LIBS="-lCCfits $LIBS"
     17173
     17174else
     17175  no_good=yes
     17176fi
     17177
     17178        ac_fn_cxx_check_header_mongrel "$LINENO" "CCfits/CCfits" "ac_cv_header_CCfits_CCfits" "$ac_includes_default"
     17179if test "x$ac_cv_header_CCfits_CCfits" = x""yes; then :
     17180
     17181else
     17182  no_good=yes
     17183fi
     17184
     17185
     17186        if test "$no_good" = yes; then
     17187                as_fn_error $? "CCfits not properly installed/not found." "$LINENO" 5
     17188
     17189                LIBS=$OLD_LIBS
     17190                LDFLAGS=$OLD_LDFLAGS
     17191                CPPFLAGS=$OLD_CPPFLAGS
     17192                CFLAGS=$OLD_CFLAGS
     17193        else
     17194
     17195
     17196                $as_echo "#define HAVE_PKG_ccfits 1" >>confdefs.h
     17197
     17198        fi
     17199
     17200fi
     17201
     17202
     17203
     17204#AC_CHECK_HEADERS([CCfits/CCfits],,
     17205#   AC_MSG_ERROR(CCfits headers not found))
     17206#AC_CHECK_LIB(CCfits, main,,
     17207#   AC_MSG_ERROR(CCfits library not found))
     17208
     17209
    1685717210######################################################################
    1685817211# Xm.h (lesstif/motif, needed by did)
    1685917212######################################################################
    1686017213
    16861 
     17214# Needed to compile dim
    1686217215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    1686317216$as_echo_n "checking for X... " >&6; }
     
    1791718270######################################################################
    1791818271
     18272# Needed to compile FACT++
    1791918273
    1792018274        MYSQL_inc_check="/usr/include/mysql /usr/local/include/mysql /usr/local/mysql/include /usr/local/mysql/include/mysql /usr/mysql/include/mysql /opt/mysql/include/mysql /sw/include/mysql"
     
    1795518309
    1795618310        CPPFLAGS="$CPPFLAGS -I${MYSQL_C_INC_DIR}"
    17957 
    17958 
    1795918311
    1796018312
     
    1808118433######################################################################
    1808218434
     18435# Needed to compile FACT++
    1808318436
    1808418437
     
    1991220265        fi
    1991320266
    19914 #ax_boost_iostreams
    19915 #ax_boost_python
    19916 #ax_boost_serialization
    19917 #ax_boost_signals
    19918 #ax_boost_test_exec_monitor
    19919 #ax_boost_unit_test_framework
    19920 #ax_boost_wave
    19921 #ax_boost_wserialization
     20267#AX_BOOST_IOSTREAMS
     20268#AX_BOOST_PYTHON
     20269#AX_BOOST_SERIALIZATION
     20270#AX_BOOST_SIGNALS
     20271#AX_BOOST_TEST_EXEC_MONITOR
     20272#AX_BOOST_UNIT_TEST_FRAMEWORK
     20273#AX_BOOST_WAVE
     20274#AX_BOOST_WSERIALIZATION
    1992220275
    1992320276LDFLAGS+=" -lboost_date_time"
     
    1997620329######################################################################
    1997720330
     20331# Nice to have to support colored diff
    1997820332# Extract the first word of "colordiff", so it can be a program name with args.
    1997920333set dummy colordiff; ac_word=$2
     
    2001420368
    2001520369
    20016 
    20017 ###########################################################################
    20018 
    20019 #AC_C_CONST
    20020 #AC_TYPE_PID_T
    20021 #AC_HEADER_STDC
     20370# Extract the first word of "groff", so it can be a program name with args.
     20371set dummy groff; ac_word=$2
     20372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     20373$as_echo_n "checking for $ac_word... " >&6; }
     20374if test "${ac_cv_prog_GROFF+set}" = set; then :
     20375  $as_echo_n "(cached) " >&6
     20376else
     20377  if test -n "$GROFF"; then
     20378  ac_cv_prog_GROFF="$GROFF" # Let the user override the test.
     20379else
     20380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20381for as_dir in $PATH
     20382do
     20383  IFS=$as_save_IFS
     20384  test -z "$as_dir" && as_dir=.
     20385    for ac_exec_ext in '' $ac_executable_extensions; do
     20386  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20387    ac_cv_prog_GROFF="yes"
     20388    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     20389    break 2
     20390  fi
     20391done
     20392  done
     20393IFS=$as_save_IFS
     20394
     20395  test -z "$ac_cv_prog_GROFF" && ac_cv_prog_GROFF="no"
     20396fi
     20397fi
     20398GROFF=$ac_cv_prog_GROFF
     20399if test -n "$GROFF"; then
     20400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5
     20401$as_echo "$GROFF" >&6; }
     20402else
     20403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20404$as_echo "no" >&6; }
     20405fi
     20406
     20407
     20408# Extract the first word of "ps2pdf", so it can be a program name with args.
     20409set dummy ps2pdf; ac_word=$2
     20410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     20411$as_echo_n "checking for $ac_word... " >&6; }
     20412if test "${ac_cv_prog_PS2PDF+set}" = set; then :
     20413  $as_echo_n "(cached) " >&6
     20414else
     20415  if test -n "$PS2PDF"; then
     20416  ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test.
     20417else
     20418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20419for as_dir in $PATH
     20420do
     20421  IFS=$as_save_IFS
     20422  test -z "$as_dir" && as_dir=.
     20423    for ac_exec_ext in '' $ac_executable_extensions; do
     20424  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20425    ac_cv_prog_PS2PDF="yes"
     20426    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     20427    break 2
     20428  fi
     20429done
     20430  done
     20431IFS=$as_save_IFS
     20432
     20433  test -z "$ac_cv_prog_PS2PDF" && ac_cv_prog_PS2PDF="no"
     20434fi
     20435fi
     20436PS2PDF=$ac_cv_prog_PS2PDF
     20437if test -n "$PS2PDF"; then
     20438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
     20439$as_echo "$PS2PDF" >&6; }
     20440else
     20441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20442$as_echo "no" >&6; }
     20443fi
     20444
     20445
     20446# Extract the first word of "help2man", so it can be a program name with args.
     20447set dummy help2man; ac_word=$2
     20448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     20449$as_echo_n "checking for $ac_word... " >&6; }
     20450if test "${ac_cv_prog_HELP2MAN+set}" = set; then :
     20451  $as_echo_n "(cached) " >&6
     20452else
     20453  if test -n "$HELP2MAN"; then
     20454  ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
     20455else
     20456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20457for as_dir in $PATH
     20458do
     20459  IFS=$as_save_IFS
     20460  test -z "$as_dir" && as_dir=.
     20461    for ac_exec_ext in '' $ac_executable_extensions; do
     20462  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20463    ac_cv_prog_HELP2MAN="yes"
     20464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     20465    break 2
     20466  fi
     20467done
     20468  done
     20469IFS=$as_save_IFS
     20470
     20471  test -z "$ac_cv_prog_HELP2MAN" && ac_cv_prog_HELP2MAN="no"
     20472fi
     20473fi
     20474HELP2MAN=$ac_cv_prog_HELP2MAN
     20475if test -n "$HELP2MAN"; then
     20476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
     20477$as_echo "$HELP2MAN" >&6; }
     20478else
     20479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20480$as_echo "no" >&6; }
     20481fi
     20482
     20483
    2002220484
    2002320485##########################################################################
     
    2004120503#fi
    2004220504#
    20043 ###########################################################################
    20044 #To get the changed compiler flags distributed among your final Makefiles you have to add the following line somewhere afterwards:
    20045 #
    20046 #AC_SUBST([AM_CXXFLAGS])
    20047 
    20048 
     20505
     20506##########################################################################
     20507# produce conditionals for Makefile.am and for summary
     20508##########################################################################
     20509
     20510 if test "$COLORDIFF" = colordiff; then
     20511  HAS_COLORDIFF_TRUE=
     20512  HAS_COLORDIFF_FALSE='#'
     20513else
     20514  HAS_COLORDIFF_TRUE='#'
     20515  HAS_COLORDIFF_FALSE=
     20516fi
     20517
     20518 if test "$GROFF" = yes; then
     20519  HAS_GROFF_TRUE=
     20520  HAS_GROFF_FALSE='#'
     20521else
     20522  HAS_GROFF_TRUE='#'
     20523  HAS_GROFF_FALSE=
     20524fi
     20525
     20526 if test "$PS2PDF" = yes; then
     20527  HAS_PS2PDF_TRUE=
     20528  HAS_PS2PDF_FALSE='#'
     20529else
     20530  HAS_PS2PDF_TRUE='#'
     20531  HAS_PS2PDF_FALSE=
     20532fi
     20533
     20534 if test "$HELP2MAN" = yes; then
     20535  HAS_HELP2MAN_TRUE=
     20536  HAS_HELP2MAN_FALSE='#'
     20537else
     20538  HAS_HELP2MAN_TRUE='#'
     20539  HAS_HELP2MAN_FALSE=
     20540fi
     20541
     20542 if test -n "$DX_DOXYGEN"; then
     20543  HAS_DOXYGEN_TRUE=
     20544  HAS_DOXYGEN_FALSE='#'
     20545else
     20546  HAS_DOXYGEN_TRUE='#'
     20547  HAS_DOXYGEN_FALSE=
     20548fi
     20549
     20550 if test -n "$DX_DOT"; then
     20551  HAS_DOT_TRUE=
     20552  HAS_DOT_FALSE='#'
     20553else
     20554  HAS_DOT_TRUE='#'
     20555  HAS_DOT_FALSE=
     20556fi
     20557
     20558 if test "$GCC" = colorgcc; then
     20559  HAS_COLORGCC_TRUE=
     20560  HAS_COLORGCC_FALSE='#'
     20561else
     20562  HAS_COLORGCC_TRUE='#'
     20563  HAS_COLORGCC_FALSE=
     20564fi
     20565
     20566
     20567##########################################################################
     20568# print summary
     20569##########################################################################
    2004920570
    2005020571cat >confcache <<\_ACEOF
     
    2029620817if test -z "${Have_Libxp_TRUE}" && test -z "${Have_Libxp_FALSE}"; then
    2029720818  as_fn_error $? "conditional \"Have_Libxp\" was never defined.
     20819Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20820fi
     20821if test -z "${HAS_COLORDIFF_TRUE}" && test -z "${HAS_COLORDIFF_FALSE}"; then
     20822  as_fn_error $? "conditional \"HAS_COLORDIFF\" was never defined.
     20823Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20824fi
     20825if test -z "${HAS_GROFF_TRUE}" && test -z "${HAS_GROFF_FALSE}"; then
     20826  as_fn_error $? "conditional \"HAS_GROFF\" was never defined.
     20827Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20828fi
     20829if test -z "${HAS_PS2PDF_TRUE}" && test -z "${HAS_PS2PDF_FALSE}"; then
     20830  as_fn_error $? "conditional \"HAS_PS2PDF\" was never defined.
     20831Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20832fi
     20833if test -z "${HAS_HELP2MAN_TRUE}" && test -z "${HAS_HELP2MAN_FALSE}"; then
     20834  as_fn_error $? "conditional \"HAS_HELP2MAN\" was never defined.
     20835Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20836fi
     20837if test -z "${HAS_DOXYGEN_TRUE}" && test -z "${HAS_DOXYGEN_FALSE}"; then
     20838  as_fn_error $? "conditional \"HAS_DOXYGEN\" was never defined.
     20839Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20840fi
     20841if test -z "${HAS_DOT_TRUE}" && test -z "${HAS_DOT_FALSE}"; then
     20842  as_fn_error $? "conditional \"HAS_DOT\" was never defined.
     20843Usually this means the macro was only invoked conditionally." "$LINENO" 5
     20844fi
     20845if test -z "${HAS_COLORGCC_TRUE}" && test -z "${HAS_COLORGCC_FALSE}"; then
     20846  as_fn_error $? "conditional \"HAS_COLORGCC\" was never defined.
    2029820847Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2029920848fi
     
    2259723146fi
    2259823147
     23148
     23149{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23150$as_echo "$as_me: " >&6;}
     23151{ $as_echo "$as_me:${as_lineno-$LINENO}: ============================== summary =============================" >&5
     23152$as_echo "$as_me: ============================== summary =============================" >&6;}
     23153{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23154$as_echo "$as_me: " >&6;}
     23155
     23156if test "$COLORDIFF" = colordiff; then
     23157  { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'      found: yes" >&5
     23158$as_echo "$as_me:  colored svn diff       / 'colordiff'      found: yes" >&6;}
     23159else
     23160  { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'      found: no" >&5
     23161$as_echo "$as_me:  colored svn diff       / 'colordiff'      found: no" >&6;}
     23162
     23163fi
     23164if test "$HELP2MAN" = yes; then
     23165
     23166   { $as_echo "$as_me:${as_lineno-$LINENO}:  man-pages enabled      / 'help2man'       found: $HELP2MAN" >&5
     23167$as_echo "$as_me:  man-pages enabled      / 'help2man'       found: $HELP2MAN" >&6;}
     23168   if test "$GROFF" = yes; then
     23169  { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html enabled  / 'groff'          found: yes" >&5
     23170$as_echo "$as_me:  build of html enabled  / 'groff'          found: yes" >&6;}
     23171      { $as_echo "$as_me:${as_lineno-$LINENO}:  build of pdf  enabled  / 'ps2pdf'         found: $PS2PDF" >&5
     23172$as_echo "$as_me:  build of pdf  enabled  / 'ps2pdf'         found: $PS2PDF" >&6;}
     23173else
     23174  { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html and pdf  / 'groff'          found: no" >&5
     23175$as_echo "$as_me:  build of html and pdf  / 'groff'          found: no" >&6;}
     23176
     23177fi
     23178
     23179else
     23180
     23181   { $as_echo "$as_me:${as_lineno-$LINENO}:  man, html, pdf enabled / 'help2man'       found: no" >&5
     23182$as_echo "$as_me:  man, html, pdf enabled / 'help2man'       found: no" >&6;}
     23183
     23184fi
     23185
     23186if test -n "$DX_DOXYGEN"; then
     23187  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'        found: $DX_DOXYGEN" >&5
     23188$as_echo "$as_me:  doxygen docu enabled   / 'doxygen'        found: $DX_DOXYGEN" >&6;}
     23189else
     23190  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'        found: no" >&5
     23191$as_echo "$as_me:  doxygen docu enabled   / 'doxygen'        found: no" >&6;}
     23192
     23193fi
     23194if test -n "$DX_DOT"; then
     23195  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz) found: $DX_DOT" >&5
     23196$as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz) found: $DX_DOT" >&6;}
     23197else
     23198  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxagen graphs enabled / 'dot' (graphviz) found: no" >&5
     23199$as_echo "$as_me:  doxagen graphs enabled / 'dot' (graphviz) found: no" >&6;}
     23200
     23201fi
     23202{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23203$as_echo "$as_me: " >&6;}
     23204{ $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------------------------" >&5
     23205$as_echo "$as_me: --------------------------------------------------------------------" >&6;}
     23206{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23207$as_echo "$as_me: " >&6;}
     23208{ $as_echo "$as_me:${as_lineno-$LINENO}: Suggestions and hits:" >&5
     23209$as_echo "$as_me: Suggestions and hits:" >&6;}
     23210{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23211$as_echo "$as_me: " >&6;}
     23212{ $as_echo "$as_me:${as_lineno-$LINENO}:   - Add 'V=1' to you make-call to switch on verbose output." >&5
     23213$as_echo "$as_me:   - Add 'V=1' to you make-call to switch on verbose output." >&6;}
     23214{ $as_echo "$as_me:${as_lineno-$LINENO}:   - Do not try to create man-pages with doxygen," >&5
     23215$as_echo "$as_me:   - Do not try to create man-pages with doxygen," >&6;}
     23216{ $as_echo "$as_me:${as_lineno-$LINENO}:     it does most probably not work." >&5
     23217$as_echo "$as_me:     it does most probably not work." >&6;}
     23218if test "$GCC" = colorgcc; then
     23219  :
     23220else
     23221  { $as_echo "$as_me:${as_lineno-$LINENO}:   - Install colorgcc to get colored compiler output." >&5
     23222$as_echo "$as_me:   - Install colorgcc to get colored compiler output." >&6;}
     23223
     23224fi
     23225{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23226$as_echo "$as_me: " >&6;}
     23227{ $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------------------------" >&5
     23228$as_echo "$as_me: --------------------------------------------------------------------" >&6;}
     23229{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23230$as_echo "$as_me: " >&6;}
     23231{ $as_echo "$as_me:${as_lineno-$LINENO}: Some interesting build targets:" >&5
     23232$as_echo "$as_me: Some interesting build targets:" >&6;}
     23233{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23234$as_echo "$as_me: " >&6;}
     23235{ $as_echo "$as_me:${as_lineno-$LINENO}:  diff:          colored 'svn diff' if colordiff is installed" >&5
     23236$as_echo "$as_me:  diff:          colored 'svn diff' if colordiff is installed" >&6;}
     23237if test "$HELP2MAN" = yes; then
     23238
     23239   { $as_echo "$as_me:${as_lineno-$LINENO}:  program.man:   build man-page from 'program --help'" >&5
     23240$as_echo "$as_me:  program.man:   build man-page from 'program --help'" >&6;}
     23241   { $as_echo "$as_me:${as_lineno-$LINENO}:                 (display with 'man ./program.man')" >&5
     23242$as_echo "$as_me:                 (display with 'man ./program.man')" >&6;}
     23243   if test "$GROFF" = yes; then
     23244
     23245      { $as_echo "$as_me:${as_lineno-$LINENO}:  program.html:  build html page from man-page" >&5
     23246$as_echo "$as_me:  program.html:  build html page from man-page" >&6;}
     23247      if test "$PS2PDF" = yes; then
     23248  { $as_echo "$as_me:${as_lineno-$LINENO}:  program.pdf:   build pdf documentation from man page" >&5
     23249$as_echo "$as_me:  program.pdf:   build pdf documentation from man page" >&6;}
     23250
     23251fi
     23252
     23253fi
     23254
     23255fi
     23256if test -n "$DX_DOXYGEN"; then
     23257  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen-run:   build html documentation with doxygen" >&5
     23258$as_echo "$as_me:  doxygen-run:   build html documentation with doxygen" >&6;}
     23259   { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen-doc:   build html and pdf documentation with doxygen" >&5
     23260$as_echo "$as_me:  doxygen-doc:   build html and pdf documentation with doxygen" >&6;}
     23261
     23262fi
     23263{ $as_echo "$as_me:${as_lineno-$LINENO}:  man:           build all buildable documentation" >&5
     23264$as_echo "$as_me:  man:           build all buildable documentation" >&6;}
     23265{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     23266$as_echo "$as_me: " >&6;}
Note: See TracChangeset for help on using the changeset viewer.