Changeset 1751 in Sophya for trunk/ArchTOIPipe


Ignore:
Timestamp:
Nov 12, 2001, 4:29:36 PM (24 years ago)
Author:
aubourg
Message:

IRIX : CC

Location:
trunk/ArchTOIPipe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/configure

    r1745 r1751  
    545545fi
    546546
     547if test `uname` = IRIX64 -a -z "$CXX"; then
     548  if test -x /usr/bin/CC; then
     549    echo "using CC on IRIX"
     550    CXX=CC
     551    export CXX
     552  fi
     553fi
     554
    547555if test `uname` = Linux -a -f /usr/bin/g++; then
    548556  CXX=/usr/bin/g++
     
    552560set dummy gcc; ac_word=$2
    553561echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    554 echo "configure:555: checking for $ac_word" >&5
     562echo "configure:563: checking for $ac_word" >&5
    555563if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    556564  echo $ac_n "(cached) $ac_c" 1>&6
     
    582590set dummy cc; ac_word=$2
    583591echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    584 echo "configure:585: checking for $ac_word" >&5
     592echo "configure:593: checking for $ac_word" >&5
    585593if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    586594  echo $ac_n "(cached) $ac_c" 1>&6
     
    633641set dummy cl; ac_word=$2
    634642echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    635 echo "configure:636: checking for $ac_word" >&5
     643echo "configure:644: checking for $ac_word" >&5
    636644if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    637645  echo $ac_n "(cached) $ac_c" 1>&6
     
    665673
    666674echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    667 echo "configure:668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     675echo "configure:676: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    668676
    669677ac_ext=c
     
    676684cat > conftest.$ac_ext << EOF
    677685
    678 #line 679 "configure"
     686#line 687 "configure"
    679687#include "confdefs.h"
    680688
    681689main(){return(0);}
    682690EOF
    683 if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     691if { (eval echo configure:692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    684692  ac_cv_prog_cc_works=yes
    685693  # If we can't run a trivial program, we are probably using a cross compiler.
     
    707715fi
    708716echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    709 echo "configure:710: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     717echo "configure:718: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    710718echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    711719cross_compiling=$ac_cv_prog_cc_cross
    712720
    713721echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    714 echo "configure:715: checking whether we are using GNU C" >&5
     722echo "configure:723: checking whether we are using GNU C" >&5
    715723if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    716724  echo $ac_n "(cached) $ac_c" 1>&6
     
    721729#endif
    722730EOF
    723 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     731if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    724732  ac_cv_prog_gcc=yes
    725733else
     
    740748CFLAGS=
    741749echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    742 echo "configure:743: checking whether ${CC-cc} accepts -g" >&5
     750echo "configure:751: checking whether ${CC-cc} accepts -g" >&5
    743751if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    744752  echo $ac_n "(cached) $ac_c" 1>&6
     
    776784set dummy $ac_prog; ac_word=$2
    777785echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    778 echo "configure:779: checking for $ac_word" >&5
     786echo "configure:787: checking for $ac_word" >&5
    779787if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    780788  echo $ac_n "(cached) $ac_c" 1>&6
     
    808816
    809817echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    810 echo "configure:811: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     818echo "configure:819: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    811819
    812820ac_ext=C
     
    819827cat > conftest.$ac_ext << EOF
    820828
    821 #line 822 "configure"
     829#line 830 "configure"
    822830#include "confdefs.h"
    823831
    824832int main(){return(0);}
    825833EOF
    826 if { (eval echo configure:827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     834if { (eval echo configure:835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    827835  ac_cv_prog_cxx_works=yes
    828836  # If we can't run a trivial program, we are probably using a cross compiler.
     
    850858fi
    851859echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    852 echo "configure:853: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     860echo "configure:861: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    853861echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    854862cross_compiling=$ac_cv_prog_cxx_cross
    855863
    856864echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    857 echo "configure:858: checking whether we are using GNU C++" >&5
     865echo "configure:866: checking whether we are using GNU C++" >&5
    858866if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    859867  echo $ac_n "(cached) $ac_c" 1>&6
     
    864872#endif
    865873EOF
    866 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     874if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    867875  ac_cv_prog_gxx=yes
    868876else
     
    883891CXXFLAGS=
    884892echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    885 echo "configure:886: checking whether ${CXX-g++} accepts -g" >&5
     893echo "configure:894: checking whether ${CXX-g++} accepts -g" >&5
    886894if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    887895  echo $ac_n "(cached) $ac_c" 1>&6
     
    917925set dummy ar; ac_word=$2
    918926echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    919 echo "configure:920: checking for $ac_word" >&5
     927echo "configure:928: checking for $ac_word" >&5
    920928if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
    921929  echo $ac_n "(cached) $ac_c" 1>&6
     
    953961set dummy ranlib; ac_word=$2
    954962echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    955 echo "configure:956: checking for $ac_word" >&5
     963echo "configure:964: checking for $ac_word" >&5
    956964if eval "test \"`echo '$''{'ac_cv_path_RANLIB'+set}'`\" = set"; then
    957965  echo $ac_n "(cached) $ac_c" 1>&6
     
    10171025# ./install, which can be erroneously created by make from ./install.sh.
    10181026echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1019 echo "configure:1020: checking for a BSD compatible install" >&5
     1027echo "configure:1028: checking for a BSD compatible install" >&5
    10201028if test -z "$INSTALL"; then
    10211029if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    10781086
    10791087echo $ac_n "checking size of short""... $ac_c" 1>&6
    1080 echo "configure:1081: checking size of short" >&5
     1088echo "configure:1089: checking size of short" >&5
    10811089if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    10821090  echo $ac_n "(cached) $ac_c" 1>&6
     
    10861094else
    10871095  cat > conftest.$ac_ext <<EOF
    1088 #line 1089 "configure"
     1096#line 1097 "configure"
    10891097#include "confdefs.h"
    10901098#include <stdio.h>
     
    10971105}
    10981106EOF
    1099 if { (eval echo configure:1100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1107if { (eval echo configure:1108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11001108then
    11011109  ac_cv_sizeof_short=`cat conftestval`
     
    11171125
    11181126echo $ac_n "checking size of int""... $ac_c" 1>&6
    1119 echo "configure:1120: checking size of int" >&5
     1127echo "configure:1128: checking size of int" >&5
    11201128if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    11211129  echo $ac_n "(cached) $ac_c" 1>&6
     
    11251133else
    11261134  cat > conftest.$ac_ext <<EOF
    1127 #line 1128 "configure"
     1135#line 1136 "configure"
    11281136#include "confdefs.h"
    11291137#include <stdio.h>
     
    11361144}
    11371145EOF
    1138 if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1146if { (eval echo configure:1147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11391147then
    11401148  ac_cv_sizeof_int=`cat conftestval`
     
    11561164
    11571165echo $ac_n "checking size of long""... $ac_c" 1>&6
    1158 echo "configure:1159: checking size of long" >&5
     1166echo "configure:1167: checking size of long" >&5
    11591167if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    11601168  echo $ac_n "(cached) $ac_c" 1>&6
     
    11641172else
    11651173  cat > conftest.$ac_ext <<EOF
    1166 #line 1167 "configure"
     1174#line 1175 "configure"
    11671175#include "confdefs.h"
    11681176#include <stdio.h>
     
    11751183}
    11761184EOF
    1177 if { (eval echo configure:1178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1185if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11781186then
    11791187  ac_cv_sizeof_long=`cat conftestval`
     
    11951203
    11961204echo $ac_n "checking size of long long""... $ac_c" 1>&6
    1197 echo "configure:1198: checking size of long long" >&5
     1205echo "configure:1206: checking size of long long" >&5
    11981206if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
    11991207  echo $ac_n "(cached) $ac_c" 1>&6
     
    12031211else
    12041212  cat > conftest.$ac_ext <<EOF
    1205 #line 1206 "configure"
     1213#line 1214 "configure"
    12061214#include "confdefs.h"
    12071215#include <stdio.h>
     
    12141222}
    12151223EOF
    1216 if { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1224if { (eval echo configure:1225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12171225then
    12181226  ac_cv_sizeof_long_long=`cat conftestval`
     
    12341242
    12351243echo $ac_n "checking size of float""... $ac_c" 1>&6
    1236 echo "configure:1237: checking size of float" >&5
     1244echo "configure:1245: checking size of float" >&5
    12371245if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
    12381246  echo $ac_n "(cached) $ac_c" 1>&6
     
    12421250else
    12431251  cat > conftest.$ac_ext <<EOF
    1244 #line 1245 "configure"
     1252#line 1253 "configure"
    12451253#include "confdefs.h"
    12461254#include <stdio.h>
     
    12531261}
    12541262EOF
    1255 if { (eval echo configure:1256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1263if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12561264then
    12571265  ac_cv_sizeof_float=`cat conftestval`
     
    12731281
    12741282echo $ac_n "checking size of double""... $ac_c" 1>&6
    1275 echo "configure:1276: checking size of double" >&5
     1283echo "configure:1284: checking size of double" >&5
    12761284if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    12771285  echo $ac_n "(cached) $ac_c" 1>&6
     
    12811289else
    12821290  cat > conftest.$ac_ext <<EOF
    1283 #line 1284 "configure"
     1291#line 1292 "configure"
    12841292#include "confdefs.h"
    12851293#include <stdio.h>
     
    12921300}
    12931301EOF
    1294 if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1302if { (eval echo configure:1303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12951303then
    12961304  ac_cv_sizeof_double=`cat conftestval`
     
    13121320
    13131321echo $ac_n "checking size of long double""... $ac_c" 1>&6
    1314 echo "configure:1315: checking size of long double" >&5
     1322echo "configure:1323: checking size of long double" >&5
    13151323if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
    13161324  echo $ac_n "(cached) $ac_c" 1>&6
     
    13201328else
    13211329  cat > conftest.$ac_ext <<EOF
    1322 #line 1323 "configure"
     1330#line 1331 "configure"
    13231331#include "confdefs.h"
    13241332#include <stdio.h>
     
    13311339}
    13321340EOF
    1333 if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1341if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    13341342then
    13351343  ac_cv_sizeof_long_double=`cat conftestval`
     
    13531361
    13541362echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6
    1355 echo "configure:1356: checking "for cfitsio lib"" >&5
     1363echo "configure:1364: checking "for cfitsio lib"" >&5
    13561364MACHDIR=`uname`-$CXX
    13571365if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then
     
    13801388
    13811389echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6
    1382 echo "configure:1383: checking "for cfitsio includes"" >&5
     1390echo "configure:1391: checking "for cfitsio includes"" >&5
    13831391if test -f $CFITSIODIR/fitsio.h; then
    13841392  cfitsincdir='-I$(CFITSIODIR)'
     
    13941402
    13951403echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
    1396 echo "configure:1397: checking for sin in -lm" >&5
     1404echo "configure:1405: checking for sin in -lm" >&5
    13971405ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
    13981406if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14021410LIBS="-lm  $LIBS"
    14031411cat > conftest.$ac_ext <<EOF
    1404 #line 1405 "configure"
     1412#line 1413 "configure"
    14051413#include "confdefs.h"
    14061414/* Override any gcc2 internal prototype to avoid an error.  */
     
    14131421; return 0; }
    14141422EOF
    1415 if { (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1423if { (eval echo configure:1424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14161424  rm -rf conftest*
    14171425  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14411449
    14421450echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
    1443 echo "configure:1444: checking for pthread_create in -lpthread" >&5
     1451echo "configure:1452: checking for pthread_create in -lpthread" >&5
    14441452ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
    14451453if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14491457LIBS="-lpthread  $LIBS"
    14501458cat > conftest.$ac_ext <<EOF
    1451 #line 1452 "configure"
     1459#line 1460 "configure"
    14521460#include "confdefs.h"
    14531461/* Override any gcc2 internal prototype to avoid an error.  */
     
    14601468; return 0; }
    14611469EOF
    1462 if { (eval echo configure:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1470if { (eval echo configure:1471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14631471  rm -rf conftest*
    14641472  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14881496
    14891497echo $ac_n "checking for scopy_ in -lblas""... $ac_c" 1>&6
    1490 echo "configure:1491: checking for scopy_ in -lblas" >&5
     1498echo "configure:1499: checking for scopy_ in -lblas" >&5
    14911499ac_lib_var=`echo blas'_'scopy_ | sed 'y%./+-%__p_%'`
    14921500if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14961504LIBS="-lblas  $LIBS"
    14971505cat > conftest.$ac_ext <<EOF
    1498 #line 1499 "configure"
     1506#line 1507 "configure"
    14991507#include "confdefs.h"
    15001508/* Override any gcc2 internal prototype to avoid an error.  */
     
    15071515; return 0; }
    15081516EOF
    1509 if { (eval echo configure:1510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1517if { (eval echo configure:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15101518  rm -rf conftest*
    15111519  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15351543
    15361544echo $ac_n "checking for s_copy in -lg2c""... $ac_c" 1>&6
    1537 echo "configure:1538: checking for s_copy in -lg2c" >&5
     1545echo "configure:1546: checking for s_copy in -lg2c" >&5
    15381546ac_lib_var=`echo g2c'_'s_copy | sed 'y%./+-%__p_%'`
    15391547if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15431551LIBS="-lg2c  $LIBS"
    15441552cat > conftest.$ac_ext <<EOF
    1545 #line 1546 "configure"
     1553#line 1554 "configure"
    15461554#include "confdefs.h"
    15471555/* Override any gcc2 internal prototype to avoid an error.  */
     
    15541562; return 0; }
    15551563EOF
    1556 if { (eval echo configure:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1564if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15571565  rm -rf conftest*
    15581566  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15831591
    15841592echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1585 echo "configure:1586: checking how to run the C preprocessor" >&5
     1593echo "configure:1594: checking how to run the C preprocessor" >&5
    15861594# On Suns, sometimes $CPP names a directory.
    15871595if test -n "$CPP" && test -d "$CPP"; then
     
    15981606  # not just through cpp.
    15991607  cat > conftest.$ac_ext <<EOF
    1600 #line 1601 "configure"
     1608#line 1609 "configure"
    16011609#include "confdefs.h"
    16021610#include <assert.h>
     
    16041612EOF
    16051613ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1606 { (eval echo configure:1607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1614{ (eval echo configure:1615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16071615ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16081616if test -z "$ac_err"; then
     
    16151623  CPP="${CC-cc} -E -traditional-cpp"
    16161624  cat > conftest.$ac_ext <<EOF
    1617 #line 1618 "configure"
     1625#line 1626 "configure"
    16181626#include "confdefs.h"
    16191627#include <assert.h>
     
    16211629EOF
    16221630ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1623 { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1631{ (eval echo configure:1632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16241632ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16251633if test -z "$ac_err"; then
     
    16321640  CPP="${CC-cc} -nologo -E"
    16331641  cat > conftest.$ac_ext <<EOF
    1634 #line 1635 "configure"
     1642#line 1643 "configure"
    16351643#include "confdefs.h"
    16361644#include <assert.h>
     
    16381646EOF
    16391647ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1640 { (eval echo configure:1641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1648{ (eval echo configure:1649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16411649ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16421650if test -z "$ac_err"; then
     
    16631671
    16641672echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1665 echo "configure:1666: checking for ANSI C header files" >&5
     1673echo "configure:1674: checking for ANSI C header files" >&5
    16661674if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    16671675  echo $ac_n "(cached) $ac_c" 1>&6
    16681676else
    16691677  cat > conftest.$ac_ext <<EOF
    1670 #line 1671 "configure"
     1678#line 1679 "configure"
    16711679#include "confdefs.h"
    16721680#include <stdlib.h>
     
    16761684EOF
    16771685ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1678 { (eval echo configure:1679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1686{ (eval echo configure:1687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16791687ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16801688if test -z "$ac_err"; then
     
    16931701  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    16941702cat > conftest.$ac_ext <<EOF
    1695 #line 1696 "configure"
     1703#line 1704 "configure"
    16961704#include "confdefs.h"
    16971705#include <string.h>
     
    17111719  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    17121720cat > conftest.$ac_ext <<EOF
    1713 #line 1714 "configure"
     1721#line 1722 "configure"
    17141722#include "confdefs.h"
    17151723#include <stdlib.h>
     
    17321740else
    17331741  cat > conftest.$ac_ext <<EOF
    1734 #line 1735 "configure"
     1742#line 1743 "configure"
    17351743#include "confdefs.h"
    17361744#include <ctype.h>
     
    17431751
    17441752EOF
    1745 if { (eval echo configure:1746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1753if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    17461754then
    17471755  :
     
    17701778ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17711779echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1772 echo "configure:1773: checking for $ac_hdr" >&5
     1780echo "configure:1781: checking for $ac_hdr" >&5
    17731781if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17741782  echo $ac_n "(cached) $ac_c" 1>&6
    17751783else
    17761784  cat > conftest.$ac_ext <<EOF
    1777 #line 1778 "configure"
     1785#line 1786 "configure"
    17781786#include "confdefs.h"
    17791787#include <$ac_hdr>
    17801788EOF
    17811789ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1782 { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1790{ (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17831791ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17841792if test -z "$ac_err"; then
  • trunk/ArchTOIPipe/configure.in

    r1745 r1751  
    1212    echo "using cxx on alpha"
    1313    CXX=cxx
     14    export CXX
     15  fi
     16fi
     17
     18if test `uname` = IRIX64 -a -z "$CXX"; then
     19  if test -x /usr/bin/CC; then
     20    echo "using CC on IRIX"
     21    CXX=CC
    1422    export CXX
    1523  fi
Note: See TracChangeset for help on using the changeset viewer.