Changeset 1477 in Sophya for trunk/ArchTOIPipe/configure


Ignore:
Timestamp:
Apr 25, 2001, 10:52:35 AM (24 years ago)
Author:
aubourg
Message:

multi rep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/configure

    r1407 r1477  
    454454# A filename unique to this package, relative to the directory that
    455455# configure is in, which we can look for to find out if srcdir is correct.
    456 ac_unique_file=toi.cc
     456ac_unique_file=kernel/toi.cc
    457457
    458458# Find the source files, if location was not specified.
     
    545545fi
    546546
     547# Extract the first word of "gcc", so it can be a program name with args.
     548set dummy gcc; ac_word=$2
     549echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     550echo "configure:551: checking for $ac_word" >&5
     551if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     552  echo $ac_n "(cached) $ac_c" 1>&6
     553else
     554  if test -n "$CC"; then
     555  ac_cv_prog_CC="$CC" # Let the user override the test.
     556else
     557  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     558  ac_dummy="$PATH"
     559  for ac_dir in $ac_dummy; do
     560    test -z "$ac_dir" && ac_dir=.
     561    if test -f $ac_dir/$ac_word; then
     562      ac_cv_prog_CC="gcc"
     563      break
     564    fi
     565  done
     566  IFS="$ac_save_ifs"
     567fi
     568fi
     569CC="$ac_cv_prog_CC"
     570if test -n "$CC"; then
     571  echo "$ac_t""$CC" 1>&6
     572else
     573  echo "$ac_t""no" 1>&6
     574fi
     575
     576if test -z "$CC"; then
     577  # Extract the first word of "cc", so it can be a program name with args.
     578set dummy cc; ac_word=$2
     579echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     580echo "configure:581: checking for $ac_word" >&5
     581if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     582  echo $ac_n "(cached) $ac_c" 1>&6
     583else
     584  if test -n "$CC"; then
     585  ac_cv_prog_CC="$CC" # Let the user override the test.
     586else
     587  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     588  ac_prog_rejected=no
     589  ac_dummy="$PATH"
     590  for ac_dir in $ac_dummy; do
     591    test -z "$ac_dir" && ac_dir=.
     592    if test -f $ac_dir/$ac_word; then
     593      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     594        ac_prog_rejected=yes
     595        continue
     596      fi
     597      ac_cv_prog_CC="cc"
     598      break
     599    fi
     600  done
     601  IFS="$ac_save_ifs"
     602if test $ac_prog_rejected = yes; then
     603  # We found a bogon in the path, so make sure we never use it.
     604  set dummy $ac_cv_prog_CC
     605  shift
     606  if test $# -gt 0; then
     607    # We chose a different compiler from the bogus one.
     608    # However, it has the same basename, so the bogon will be chosen
     609    # first if we set CC to just the basename; use the full file name.
     610    shift
     611    set dummy "$ac_dir/$ac_word" "$@"
     612    shift
     613    ac_cv_prog_CC="$@"
     614  fi
     615fi
     616fi
     617fi
     618CC="$ac_cv_prog_CC"
     619if test -n "$CC"; then
     620  echo "$ac_t""$CC" 1>&6
     621else
     622  echo "$ac_t""no" 1>&6
     623fi
     624
     625  if test -z "$CC"; then
     626    case "`uname -s`" in
     627    *win32* | *WIN32*)
     628      # Extract the first word of "cl", so it can be a program name with args.
     629set dummy cl; ac_word=$2
     630echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     631echo "configure:632: checking for $ac_word" >&5
     632if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     633  echo $ac_n "(cached) $ac_c" 1>&6
     634else
     635  if test -n "$CC"; then
     636  ac_cv_prog_CC="$CC" # Let the user override the test.
     637else
     638  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     639  ac_dummy="$PATH"
     640  for ac_dir in $ac_dummy; do
     641    test -z "$ac_dir" && ac_dir=.
     642    if test -f $ac_dir/$ac_word; then
     643      ac_cv_prog_CC="cl"
     644      break
     645    fi
     646  done
     647  IFS="$ac_save_ifs"
     648fi
     649fi
     650CC="$ac_cv_prog_CC"
     651if test -n "$CC"; then
     652  echo "$ac_t""$CC" 1>&6
     653else
     654  echo "$ac_t""no" 1>&6
     655fi
     656 ;;
     657    esac
     658  fi
     659  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
     660fi
     661
     662echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     663echo "configure:664: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     664
     665ac_ext=c
     666# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     667ac_cpp='$CPP $CPPFLAGS'
     668ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     669ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     670cross_compiling=$ac_cv_prog_cc_cross
     671
     672cat > conftest.$ac_ext << EOF
     673
     674#line 675 "configure"
     675#include "confdefs.h"
     676
     677main(){return(0);}
     678EOF
     679if { (eval echo configure:680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     680  ac_cv_prog_cc_works=yes
     681  # If we can't run a trivial program, we are probably using a cross compiler.
     682  if (./conftest; exit) 2>/dev/null; then
     683    ac_cv_prog_cc_cross=no
     684  else
     685    ac_cv_prog_cc_cross=yes
     686  fi
     687else
     688  echo "configure: failed program was:" >&5
     689  cat conftest.$ac_ext >&5
     690  ac_cv_prog_cc_works=no
     691fi
     692rm -fr conftest*
     693ac_ext=c
     694# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     695ac_cpp='$CPP $CPPFLAGS'
     696ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     697ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     698cross_compiling=$ac_cv_prog_cc_cross
     699
     700echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     701if test $ac_cv_prog_cc_works = no; then
     702  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     703fi
     704echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     705echo "configure:706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     706echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     707cross_compiling=$ac_cv_prog_cc_cross
     708
     709echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     710echo "configure:711: checking whether we are using GNU C" >&5
     711if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
     712  echo $ac_n "(cached) $ac_c" 1>&6
     713else
     714  cat > conftest.c <<EOF
     715#ifdef __GNUC__
     716  yes;
     717#endif
     718EOF
     719if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     720  ac_cv_prog_gcc=yes
     721else
     722  ac_cv_prog_gcc=no
     723fi
     724fi
     725
     726echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     727
     728if test $ac_cv_prog_gcc = yes; then
     729  GCC=yes
     730else
     731  GCC=
     732fi
     733
     734ac_test_CFLAGS="${CFLAGS+set}"
     735ac_save_CFLAGS="$CFLAGS"
     736CFLAGS=
     737echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     738echo "configure:739: checking whether ${CC-cc} accepts -g" >&5
     739if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
     740  echo $ac_n "(cached) $ac_c" 1>&6
     741else
     742  echo 'void f(){}' > conftest.c
     743if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
     744  ac_cv_prog_cc_g=yes
     745else
     746  ac_cv_prog_cc_g=no
     747fi
     748rm -f conftest*
     749
     750fi
     751
     752echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     753if test "$ac_test_CFLAGS" = set; then
     754  CFLAGS="$ac_save_CFLAGS"
     755elif test $ac_cv_prog_cc_g = yes; then
     756  if test "$GCC" = yes; then
     757    CFLAGS="-g -O2"
     758  else
     759    CFLAGS="-g"
     760  fi
     761else
     762  if test "$GCC" = yes; then
     763    CFLAGS="-O2"
     764  else
     765    CFLAGS=
     766  fi
     767fi
     768
    547769for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    548770do
     
    550772set dummy $ac_prog; ac_word=$2
    551773echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    552 echo "configure:553: checking for $ac_word" >&5
     774echo "configure:775: checking for $ac_word" >&5
    553775if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    554776  echo $ac_n "(cached) $ac_c" 1>&6
     
    582804
    583805echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    584 echo "configure:585: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     806echo "configure:807: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    585807
    586808ac_ext=C
     
    593815cat > conftest.$ac_ext << EOF
    594816
    595 #line 596 "configure"
     817#line 818 "configure"
    596818#include "confdefs.h"
    597819
    598820int main(){return(0);}
    599821EOF
    600 if { (eval echo configure:601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     822if { (eval echo configure:823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    601823  ac_cv_prog_cxx_works=yes
    602824  # If we can't run a trivial program, we are probably using a cross compiler.
     
    624846fi
    625847echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    626 echo "configure:627: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     848echo "configure:849: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    627849echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    628850cross_compiling=$ac_cv_prog_cxx_cross
    629851
    630852echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    631 echo "configure:632: checking whether we are using GNU C++" >&5
     853echo "configure:854: checking whether we are using GNU C++" >&5
    632854if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    633855  echo $ac_n "(cached) $ac_c" 1>&6
     
    638860#endif
    639861EOF
    640 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     862if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    641863  ac_cv_prog_gxx=yes
    642864else
     
    657879CXXFLAGS=
    658880echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    659 echo "configure:660: checking whether ${CXX-g++} accepts -g" >&5
     881echo "configure:882: checking whether ${CXX-g++} accepts -g" >&5
    660882if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    661883  echo $ac_n "(cached) $ac_c" 1>&6
     
    690912
    691913echo $ac_n "checking size of short""... $ac_c" 1>&6
    692 echo "configure:693: checking size of short" >&5
     914echo "configure:915: checking size of short" >&5
    693915if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    694916  echo $ac_n "(cached) $ac_c" 1>&6
     
    698920else
    699921  cat > conftest.$ac_ext <<EOF
    700 #line 701 "configure"
     922#line 923 "configure"
    701923#include "confdefs.h"
    702924#include <stdio.h>
     
    709931}
    710932EOF
    711 if { (eval echo configure:712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     933if { (eval echo configure:934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    712934then
    713935  ac_cv_sizeof_short=`cat conftestval`
     
    729951
    730952echo $ac_n "checking size of int""... $ac_c" 1>&6
    731 echo "configure:732: checking size of int" >&5
     953echo "configure:954: checking size of int" >&5
    732954if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    733955  echo $ac_n "(cached) $ac_c" 1>&6
     
    737959else
    738960  cat > conftest.$ac_ext <<EOF
    739 #line 740 "configure"
     961#line 962 "configure"
    740962#include "confdefs.h"
    741963#include <stdio.h>
     
    748970}
    749971EOF
    750 if { (eval echo configure:751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     972if { (eval echo configure:973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    751973then
    752974  ac_cv_sizeof_int=`cat conftestval`
     
    768990
    769991echo $ac_n "checking size of long""... $ac_c" 1>&6
    770 echo "configure:771: checking size of long" >&5
     992echo "configure:993: checking size of long" >&5
    771993if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    772994  echo $ac_n "(cached) $ac_c" 1>&6
     
    776998else
    777999  cat > conftest.$ac_ext <<EOF
    778 #line 779 "configure"
     1000#line 1001 "configure"
    7791001#include "confdefs.h"
    7801002#include <stdio.h>
     
    7871009}
    7881010EOF
    789 if { (eval echo configure:790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1011if { (eval echo configure:1012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    7901012then
    7911013  ac_cv_sizeof_long=`cat conftestval`
     
    8071029
    8081030echo $ac_n "checking size of float""... $ac_c" 1>&6
    809 echo "configure:810: checking size of float" >&5
     1031echo "configure:1032: checking size of float" >&5
    8101032if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
    8111033  echo $ac_n "(cached) $ac_c" 1>&6
     
    8151037else
    8161038  cat > conftest.$ac_ext <<EOF
    817 #line 818 "configure"
     1039#line 1040 "configure"
    8181040#include "confdefs.h"
    8191041#include <stdio.h>
     
    8261048}
    8271049EOF
    828 if { (eval echo configure:829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1050if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    8291051then
    8301052  ac_cv_sizeof_float=`cat conftestval`
     
    8461068
    8471069echo $ac_n "checking size of double""... $ac_c" 1>&6
    848 echo "configure:849: checking size of double" >&5
     1070echo "configure:1071: checking size of double" >&5
    8491071if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    8501072  echo $ac_n "(cached) $ac_c" 1>&6
     
    8541076else
    8551077  cat > conftest.$ac_ext <<EOF
    856 #line 857 "configure"
     1078#line 1079 "configure"
    8571079#include "confdefs.h"
    8581080#include <stdio.h>
     
    8651087}
    8661088EOF
    867 if { (eval echo configure:868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1089if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    8681090then
    8691091  ac_cv_sizeof_double=`cat conftestval`
     
    8851107
    8861108echo $ac_n "checking size of long double""... $ac_c" 1>&6
    887 echo "configure:888: checking size of long double" >&5
     1109echo "configure:1110: checking size of long double" >&5
    8881110if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
    8891111  echo $ac_n "(cached) $ac_c" 1>&6
     
    8931115else
    8941116  cat > conftest.$ac_ext <<EOF
    895 #line 896 "configure"
     1117#line 1118 "configure"
    8961118#include "confdefs.h"
    8971119#include <stdio.h>
     
    9041126}
    9051127EOF
    906 if { (eval echo configure:907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1128if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    9071129then
    9081130  ac_cv_sizeof_long_double=`cat conftestval`
     
    9261148
    9271149echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6
    928 echo "configure:929: checking "for cfitsio lib"" >&5
     1150echo "configure:1151: checking "for cfitsio lib"" >&5
    9291151MACHDIR=`uname`-$CXX
    9301152if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then
     
    9511173
    9521174echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6
    953 echo "configure:954: checking "for cfitsio includes"" >&5
     1175echo "configure:1176: checking "for cfitsio includes"" >&5
    9541176if test -f $CFITSIODIR/fitsio.h; then
    9551177  cfitsincdir='-I$(CFITSIODIR)'
     
    9631185
    9641186echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
    965 echo "configure:966: checking for sin in -lm" >&5
     1187echo "configure:1188: checking for sin in -lm" >&5
    9661188ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
    9671189if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    9711193LIBS="-lm  $LIBS"
    9721194cat > conftest.$ac_ext <<EOF
    973 #line 974 "configure"
     1195#line 1196 "configure"
    9741196#include "confdefs.h"
    9751197/* Override any gcc2 internal prototype to avoid an error.  */
     
    9821204; return 0; }
    9831205EOF
    984 if { (eval echo configure:985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1206if { (eval echo configure:1207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9851207  rm -rf conftest*
    9861208  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10101232
    10111233
    1012 echo $ac_n "checking "for source files in distribution"""... $ac_c" 1>&6
    1013 echo "configure:1014: checking "for source files in distribution"" >&5
    1014 srcfiles=""
    1015 curd=`pwd`
    1016 cd $srcdir
    1017 for n in *.cc; do
    1018   grep -q 'main(.*)' $n || srcfiles="$srcfiles $n"
    1019 done
    1020 cd $curd
    1021 
    1022 echo "$ac_t"""done"" 1>&6
    1023 
    10241234echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1025 echo "configure:1026: checking how to run the C preprocessor" >&5
     1235echo "configure:1236: checking how to run the C preprocessor" >&5
    10261236# On Suns, sometimes $CPP names a directory.
    10271237if test -n "$CPP" && test -d "$CPP"; then
     
    10381248  # not just through cpp.
    10391249  cat > conftest.$ac_ext <<EOF
    1040 #line 1041 "configure"
     1250#line 1251 "configure"
    10411251#include "confdefs.h"
    10421252#include <assert.h>
     
    10441254EOF
    10451255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1046 { (eval echo configure:1047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1256{ (eval echo configure:1257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10471257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10481258if test -z "$ac_err"; then
     
    10551265  CPP="${CC-cc} -E -traditional-cpp"
    10561266  cat > conftest.$ac_ext <<EOF
    1057 #line 1058 "configure"
     1267#line 1268 "configure"
    10581268#include "confdefs.h"
    10591269#include <assert.h>
     
    10611271EOF
    10621272ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1063 { (eval echo configure:1064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1273{ (eval echo configure:1274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10641274ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10651275if test -z "$ac_err"; then
     
    10721282  CPP="${CC-cc} -nologo -E"
    10731283  cat > conftest.$ac_ext <<EOF
    1074 #line 1075 "configure"
     1284#line 1285 "configure"
    10751285#include "confdefs.h"
    10761286#include <assert.h>
     
    10781288EOF
    10791289ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1080 { (eval echo configure:1081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1290{ (eval echo configure:1291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10811291ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10821292if test -z "$ac_err"; then
     
    11031313
    11041314echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1105 echo "configure:1106: checking for ANSI C header files" >&5
     1315echo "configure:1316: checking for ANSI C header files" >&5
    11061316if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    11071317  echo $ac_n "(cached) $ac_c" 1>&6
    11081318else
    11091319  cat > conftest.$ac_ext <<EOF
    1110 #line 1111 "configure"
     1320#line 1321 "configure"
    11111321#include "confdefs.h"
    11121322#include <stdlib.h>
     
    11161326EOF
    11171327ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1118 { (eval echo configure:1119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1328{ (eval echo configure:1329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11191329ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11201330if test -z "$ac_err"; then
     
    11331343  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    11341344cat > conftest.$ac_ext <<EOF
    1135 #line 1136 "configure"
     1345#line 1346 "configure"
    11361346#include "confdefs.h"
    11371347#include <string.h>
     
    11511361  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    11521362cat > conftest.$ac_ext <<EOF
    1153 #line 1154 "configure"
     1363#line 1364 "configure"
    11541364#include "confdefs.h"
    11551365#include <stdlib.h>
     
    11721382else
    11731383  cat > conftest.$ac_ext <<EOF
    1174 #line 1175 "configure"
     1384#line 1385 "configure"
    11751385#include "confdefs.h"
    11761386#include <ctype.h>
     
    11831393
    11841394EOF
    1185 if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1395if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11861396then
    11871397  :
     
    12061416fi
    12071417
     1418
     1419outfiles="Makefile kernel/Makefile processors/Makefile pipes/Makefile"
     1420if [ $use_sophya = 1 ]; then
     1421  outfiles="$outfiles sophya/Makefile"
     1422fi
    12081423
    12091424trap '' 1 2 15
     
    13071522ac_given_srcdir=$srcdir
    13081523
    1309 trap 'rm -fr `echo "Makefile conf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     1524trap 'rm -fr `echo "$outfiles conf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    13101525EOF
    13111526cat >> $CONFIG_STATUS <<EOF
     
    13401555s%@mandir@%$mandir%g
    13411556s%@use_sophya@%$use_sophya%g
     1557s%@CC@%$CC%g
    13421558s%@CXX@%$CXX%g
    13431559s%@cfitslibdir@%$cfitslibdir%g
    13441560s%@cfitsincdir@%$cfitsincdir%g
    1345 s%@srcfiles@%$srcfiles%g
    13461561s%@CPP@%$CPP%g
    13471562
     
    13861601cat >> $CONFIG_STATUS <<EOF
    13871602
    1388 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
     1603CONFIG_FILES=\${CONFIG_FILES-"$outfiles"}
    13891604EOF
    13901605cat >> $CONFIG_STATUS <<\EOF
     
    15591774test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    15601775
     1776
Note: See TracChangeset for help on using the changeset viewer.