Changeset 1788 in Sophya


Ignore:
Timestamp:
Nov 26, 2001, 4:14:24 PM (24 years ago)
Author:
aubourg
Message:

darwin

Location:
trunk/ArchTOIPipe
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/Makefile.in

    r1780 r1788  
    77CXX=@CXX@
    88AR=@AR@
     9ARFLAGS=@ARFLAGS@
    910RANLIB=@RANLIB@
    1011CXXFLAGS=-O -g
     
    6162
    6263libatkern.a: $(FILES)
    63         $(AR) -cr libatkern.a $(FILES)
    64         $(RANLIB) libatkern.a
     64        $(AR) $(ARFLAGS) libatkern.a $(FILES)
    6565        ln -sf kernel/libatkern.a ../libatkern.a
    6666
  • trunk/ArchTOIPipe/Makefile.in

    r1764 r1788  
    88CXX=@CXX@
    99AR=@AR@
     10ARFLAGS=@ARFLAGS@
    1011LIBS=@LIBS@
    1112CXXFLAGS=-O -g
  • trunk/ArchTOIPipe/ProcWSophya/Makefile.in

    r1764 r1788  
    77CXX=@CXX@
    88AR=@AR@
     9ARFLAGS=@ARFLAGS@
    910RANLIB=@RANLIB@
    1011CXXFLAGS=-O -g
     
    5253
    5354libatsop.a: $(FILES)
    54         $(AR) -cr libatsop.a $(FILES)
    55         $(RANLIB) libatsop.a
     55        $(AR) $(ARFLAGS) libatsop.a $(FILES)
    5656        ln -sf sophya/libatsop.a ../libatsop.a
    5757
  • trunk/ArchTOIPipe/Processors/Makefile.in

    r1764 r1788  
    77CXX=@CXX@
    88AR=@AR@
     9ARFLAGS=@ARFLAGS@
    910RANLIB=@RANLIB@
    1011CXXFLAGS=-O -g
     
    5455
    5556libatproc.a: $(FILES)
    56         $(AR) -cr libatproc.a $(FILES) 
    57         $(RANLIB) libatproc.a
     57        $(AR) $(ARFLAGS) libatproc.a $(FILES) 
    5858        ln -sf processors/libatproc.a ../libatproc.a
    5959
  • trunk/ArchTOIPipe/TestPipes/Makefile.in

    r1764 r1788  
    77CXX=@CXX@
    88AR=@AR@
     9ARFLAGS=@ARFLAGS@
    910RANLIB=@RANLIB@
    1011LIBS=@LIBS@
  • trunk/ArchTOIPipe/configure

    r1768 r1788  
    554554
    555555if test `uname` = Linux -a -f /usr/bin/g++; then
    556   CXX=g++
     556  CXX=/usr/bin/g++
    557557fi
    558558
     
    922922fi
    923923
    924 if test -x /usr/bin/ar; then
    925 # Extract the first word of "ar", so it can be a program name with args.
     924if test `uname` = "Darwin"; then
     925  AR=libtool
     926  ARFLAGS="-static -o"
     927  RANLIB=":"
     928 
     929 
     930 
     931else
     932  ARFLAGS="-cr"
     933 
     934  if test -x /usr/bin/ar; then
     935    # Extract the first word of "ar", so it can be a program name with args.
    926936set dummy ar; ac_word=$2
    927937echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    928 echo "configure:929: checking for $ac_word" >&5
     938echo "configure:939: checking for $ac_word" >&5
    929939if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
    930940  echo $ac_n "(cached) $ac_c" 1>&6
     
    959969fi
    960970 
    961 else
    962 # Extract the first word of "ar", so it can be a program name with args.
     971  else
     972    # Extract the first word of "ar", so it can be a program name with args.
    963973set dummy ar; ac_word=$2
    964974echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    965 echo "configure:966: checking for $ac_word" >&5
     975echo "configure:976: checking for $ac_word" >&5
    966976if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    967977  echo $ac_n "(cached) $ac_c" 1>&6
     
    989999fi
    9901000
    991 fi
    992 if test -x /usr/bin/ranlib; then
    993 # Extract the first word of "ranlib", so it can be a program name with args.
     1001  fi
     1002  if test -x /usr/bin/ranlib; then
     1003    # Extract the first word of "ranlib", so it can be a program name with args.
    9941004set dummy ranlib; ac_word=$2
    9951005echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    996 echo "configure:997: checking for $ac_word" >&5
     1006echo "configure:1007: checking for $ac_word" >&5
    9971007if eval "test \"`echo '$''{'ac_cv_path_RANLIB'+set}'`\" = set"; then
    9981008  echo $ac_n "(cached) $ac_c" 1>&6
     
    10271037fi
    10281038 
    1029 else
    1030 # Extract the first word of "ranlib", so it can be a program name with args.
     1039  else
     1040    # Extract the first word of "ranlib", so it can be a program name with args.
    10311041set dummy ranlib; ac_word=$2
    10321042echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1033 echo "configure:1034: checking for $ac_word" >&5
     1043echo "configure:1044: checking for $ac_word" >&5
    10341044if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    10351045  echo $ac_n "(cached) $ac_c" 1>&6
     
    10581068fi
    10591069
    1060 fi
     1070  fi
     1071fi
     1072
    10611073ac_aux_dir=
    10621074for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    10901102# ./install, which can be erroneously created by make from ./install.sh.
    10911103echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1092 echo "configure:1093: checking for a BSD compatible install" >&5
     1104echo "configure:1105: checking for a BSD compatible install" >&5
    10931105if test -z "$INSTALL"; then
    10941106if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11511163
    11521164echo $ac_n "checking size of short""... $ac_c" 1>&6
    1153 echo "configure:1154: checking size of short" >&5
     1165echo "configure:1166: checking size of short" >&5
    11541166if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    11551167  echo $ac_n "(cached) $ac_c" 1>&6
     
    11591171else
    11601172  cat > conftest.$ac_ext <<EOF
    1161 #line 1162 "configure"
     1173#line 1174 "configure"
    11621174#include "confdefs.h"
    11631175#include <stdio.h>
     
    11701182}
    11711183EOF
    1172 if { (eval echo configure:1173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1184if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11731185then
    11741186  ac_cv_sizeof_short=`cat conftestval`
     
    11901202
    11911203echo $ac_n "checking size of int""... $ac_c" 1>&6
    1192 echo "configure:1193: checking size of int" >&5
     1204echo "configure:1205: checking size of int" >&5
    11931205if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    11941206  echo $ac_n "(cached) $ac_c" 1>&6
     
    11981210else
    11991211  cat > conftest.$ac_ext <<EOF
    1200 #line 1201 "configure"
     1212#line 1213 "configure"
    12011213#include "confdefs.h"
    12021214#include <stdio.h>
     
    12091221}
    12101222EOF
    1211 if { (eval echo configure:1212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1223if { (eval echo configure:1224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12121224then
    12131225  ac_cv_sizeof_int=`cat conftestval`
     
    12291241
    12301242echo $ac_n "checking size of long""... $ac_c" 1>&6
    1231 echo "configure:1232: checking size of long" >&5
     1243echo "configure:1244: checking size of long" >&5
    12321244if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    12331245  echo $ac_n "(cached) $ac_c" 1>&6
     
    12371249else
    12381250  cat > conftest.$ac_ext <<EOF
    1239 #line 1240 "configure"
     1251#line 1252 "configure"
    12401252#include "confdefs.h"
    12411253#include <stdio.h>
     
    12481260}
    12491261EOF
    1250 if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1262if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12511263then
    12521264  ac_cv_sizeof_long=`cat conftestval`
     
    12681280
    12691281echo $ac_n "checking size of long long""... $ac_c" 1>&6
    1270 echo "configure:1271: checking size of long long" >&5
     1282echo "configure:1283: checking size of long long" >&5
    12711283if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
    12721284  echo $ac_n "(cached) $ac_c" 1>&6
     
    12761288else
    12771289  cat > conftest.$ac_ext <<EOF
    1278 #line 1279 "configure"
     1290#line 1291 "configure"
    12791291#include "confdefs.h"
    12801292#include <stdio.h>
     
    12871299}
    12881300EOF
    1289 if { (eval echo configure:1290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1301if { (eval echo configure:1302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    12901302then
    12911303  ac_cv_sizeof_long_long=`cat conftestval`
     
    13071319
    13081320echo $ac_n "checking size of float""... $ac_c" 1>&6
    1309 echo "configure:1310: checking size of float" >&5
     1321echo "configure:1322: checking size of float" >&5
    13101322if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
    13111323  echo $ac_n "(cached) $ac_c" 1>&6
     
    13151327else
    13161328  cat > conftest.$ac_ext <<EOF
    1317 #line 1318 "configure"
     1329#line 1330 "configure"
    13181330#include "confdefs.h"
    13191331#include <stdio.h>
     
    13261338}
    13271339EOF
    1328 if { (eval echo configure:1329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1340if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    13291341then
    13301342  ac_cv_sizeof_float=`cat conftestval`
     
    13461358
    13471359echo $ac_n "checking size of double""... $ac_c" 1>&6
    1348 echo "configure:1349: checking size of double" >&5
     1360echo "configure:1361: checking size of double" >&5
    13491361if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    13501362  echo $ac_n "(cached) $ac_c" 1>&6
     
    13541366else
    13551367  cat > conftest.$ac_ext <<EOF
    1356 #line 1357 "configure"
     1368#line 1369 "configure"
    13571369#include "confdefs.h"
    13581370#include <stdio.h>
     
    13651377}
    13661378EOF
    1367 if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1379if { (eval echo configure:1380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    13681380then
    13691381  ac_cv_sizeof_double=`cat conftestval`
     
    13851397
    13861398echo $ac_n "checking size of long double""... $ac_c" 1>&6
    1387 echo "configure:1388: checking size of long double" >&5
     1399echo "configure:1400: checking size of long double" >&5
    13881400if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
    13891401  echo $ac_n "(cached) $ac_c" 1>&6
     
    13931405else
    13941406  cat > conftest.$ac_ext <<EOF
    1395 #line 1396 "configure"
     1407#line 1408 "configure"
    13961408#include "confdefs.h"
    13971409#include <stdio.h>
     
    14041416}
    14051417EOF
    1406 if { (eval echo configure:1407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1418if { (eval echo configure:1419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    14071419then
    14081420  ac_cv_sizeof_long_double=`cat conftestval`
     
    14251437
    14261438
     1439echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6
     1440echo "configure:1441: checking "for cfitsio lib"" >&5
    14271441MACHDIR=`uname`-$CXX
    1428 echo MACHDIR= $MACHDIR
    1429 echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6
    1430 echo "configure:1429: checking "for cfitsio lib"" >&5
    14311442if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then
    14321443  cfitslibdir='-L$(ARCHBASEREP)/$(MACHDIR)/Libs'
     
    14541465
    14551466echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6
    1456 echo "configure:1456: checking "for cfitsio includes"" >&5
     1467echo "configure:1468: checking "for cfitsio includes"" >&5
    14571468if test -f $CFITSIODIR/fitsio.h; then
    14581469  cfitsincdir='-I$(CFITSIODIR)'
     
    14681479
    14691480echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
    1470 echo "configure:1470: checking for sin in -lm" >&5
     1481echo "configure:1482: checking for sin in -lm" >&5
    14711482ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
    14721483if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14761487LIBS="-lm  $LIBS"
    14771488cat > conftest.$ac_ext <<EOF
    1478 #line 1478 "configure"
     1489#line 1490 "configure"
    14791490#include "confdefs.h"
    14801491/* Override any gcc2 internal prototype to avoid an error.  */
     
    14871498; return 0; }
    14881499EOF
    1489 if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1500if { (eval echo configure:1501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14901501  rm -rf conftest*
    14911502  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15151526
    15161527echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
    1517 echo "configure:1517: checking for pthread_create in -lpthread" >&5
     1528echo "configure:1529: checking for pthread_create in -lpthread" >&5
    15181529ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
    15191530if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15231534LIBS="-lpthread  $LIBS"
    15241535cat > conftest.$ac_ext <<EOF
    1525 #line 1525 "configure"
     1536#line 1537 "configure"
    15261537#include "confdefs.h"
    15271538/* Override any gcc2 internal prototype to avoid an error.  */
     
    15341545; return 0; }
    15351546EOF
    1536 if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1547if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15371548  rm -rf conftest*
    15381549  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15621573
    15631574echo $ac_n "checking for scopy_ in -lblas""... $ac_c" 1>&6
    1564 echo "configure:1564: checking for scopy_ in -lblas" >&5
     1575echo "configure:1576: checking for scopy_ in -lblas" >&5
    15651576ac_lib_var=`echo blas'_'scopy_ | sed 'y%./+-%__p_%'`
    15661577if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15701581LIBS="-lblas  $LIBS"
    15711582cat > conftest.$ac_ext <<EOF
    1572 #line 1572 "configure"
     1583#line 1584 "configure"
    15731584#include "confdefs.h"
    15741585/* Override any gcc2 internal prototype to avoid an error.  */
     
    15811592; return 0; }
    15821593EOF
    1583 if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1594if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15841595  rm -rf conftest*
    15851596  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16091620
    16101621echo $ac_n "checking for s_copy in -lg2c""... $ac_c" 1>&6
    1611 echo "configure:1611: checking for s_copy in -lg2c" >&5
     1622echo "configure:1623: checking for s_copy in -lg2c" >&5
    16121623ac_lib_var=`echo g2c'_'s_copy | sed 'y%./+-%__p_%'`
    16131624if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16171628LIBS="-lg2c  $LIBS"
    16181629cat > conftest.$ac_ext <<EOF
    1619 #line 1619 "configure"
     1630#line 1631 "configure"
    16201631#include "confdefs.h"
    16211632/* Override any gcc2 internal prototype to avoid an error.  */
     
    16281639; return 0; }
    16291640EOF
    1630 if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1641if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16311642  rm -rf conftest*
    16321643  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16571668
    16581669echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1659 echo "configure:1659: checking how to run the C preprocessor" >&5
     1670echo "configure:1671: checking how to run the C preprocessor" >&5
    16601671# On Suns, sometimes $CPP names a directory.
    16611672if test -n "$CPP" && test -d "$CPP"; then
     
    16721683  # not just through cpp.
    16731684  cat > conftest.$ac_ext <<EOF
    1674 #line 1674 "configure"
     1685#line 1686 "configure"
    16751686#include "confdefs.h"
    16761687#include <assert.h>
     
    16781689EOF
    16791690ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1680 { (eval echo configure:1680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1691{ (eval echo configure:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16811692ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16821693if test -z "$ac_err"; then
     
    16891700  CPP="${CC-cc} -E -traditional-cpp"
    16901701  cat > conftest.$ac_ext <<EOF
    1691 #line 1691 "configure"
     1702#line 1703 "configure"
    16921703#include "confdefs.h"
    16931704#include <assert.h>
     
    16951706EOF
    16961707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1697 { (eval echo configure:1697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1708{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16981709ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16991710if test -z "$ac_err"; then
     
    17061717  CPP="${CC-cc} -nologo -E"
    17071718  cat > conftest.$ac_ext <<EOF
    1708 #line 1708 "configure"
     1719#line 1720 "configure"
    17091720#include "confdefs.h"
    17101721#include <assert.h>
     
    17121723EOF
    17131724ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1714 { (eval echo configure:1714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1725{ (eval echo configure:1726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17151726ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17161727if test -z "$ac_err"; then
     
    17371748
    17381749echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1739 echo "configure:1739: checking for ANSI C header files" >&5
     1750echo "configure:1751: checking for ANSI C header files" >&5
    17401751if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17411752  echo $ac_n "(cached) $ac_c" 1>&6
    17421753else
    17431754  cat > conftest.$ac_ext <<EOF
    1744 #line 1744 "configure"
     1755#line 1756 "configure"
    17451756#include "confdefs.h"
    17461757#include <stdlib.h>
     
    17501761EOF
    17511762ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1752 { (eval echo configure:1752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1763{ (eval echo configure:1764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17531764ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17541765if test -z "$ac_err"; then
     
    17671778  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    17681779cat > conftest.$ac_ext <<EOF
    1769 #line 1769 "configure"
     1780#line 1781 "configure"
    17701781#include "confdefs.h"
    17711782#include <string.h>
     
    17851796  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    17861797cat > conftest.$ac_ext <<EOF
    1787 #line 1787 "configure"
     1798#line 1799 "configure"
    17881799#include "confdefs.h"
    17891800#include <stdlib.h>
     
    18061817else
    18071818  cat > conftest.$ac_ext <<EOF
    1808 #line 1808 "configure"
     1819#line 1820 "configure"
    18091820#include "confdefs.h"
    18101821#include <ctype.h>
     
    18171828
    18181829EOF
    1819 if { (eval echo configure:1819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1830if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    18201831then
    18211832  :
     
    18441855ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18451856echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1846 echo "configure:1846: checking for $ac_hdr" >&5
     1857echo "configure:1858: checking for $ac_hdr" >&5
    18471858if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18481859  echo $ac_n "(cached) $ac_c" 1>&6
    18491860else
    18501861  cat > conftest.$ac_ext <<EOF
    1851 #line 1851 "configure"
     1862#line 1863 "configure"
    18521863#include "confdefs.h"
    18531864#include <$ac_hdr>
    18541865EOF
    18551866ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1856 { (eval echo configure:1856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1867{ (eval echo configure:1868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18571868ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18581869if test -z "$ac_err"; then
     
    20232034s%@CXX@%$CXX%g
    20242035s%@AR@%$AR%g
     2036s%@ARFLAGS@%$ARFLAGS%g
    20252037s%@RANLIB@%$RANLIB%g
    20262038s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  • trunk/ArchTOIPipe/configure.in

    r1755 r1788  
    3131AC_PROG_CC
    3232AC_PROG_CXX
    33 if test -x /usr/bin/ar; then
    34 AC_PATH_PROG(AR, ar, /usr/bin/ar, /usr/bin:$PATH)
     33if test `uname` = "Darwin"; then
     34  AR=libtool
     35  ARFLAGS="-static -o"
     36  RANLIB=":"
     37  AC_SUBST(AR)
     38  AC_SUBST(ARFLAGS)
     39  AC_SUBST(RANLIB)
    3540else
    36 AC_CHECK_PROG(AR, ar)
     41  ARFLAGS="-cr"
     42  AC_SUBST(ARFLAGS)
     43  if test -x /usr/bin/ar; then
     44    AC_PATH_PROG(AR, ar, /usr/bin/ar, /usr/bin:$PATH)
     45  else
     46    AC_CHECK_PROG(AR, ar)
     47  fi
     48  if test -x /usr/bin/ranlib; then
     49    AC_PATH_PROG(RANLIB, ranlib, /usr/bin/ranlib, /usr/bin:$PATH)
     50  else
     51    AC_PROG_RANLIB
     52  fi
    3753fi
    38 if test -x /usr/bin/ranlib; then
    39 AC_PATH_PROG(RANLIB, ranlib, /usr/bin/ranlib, /usr/bin:$PATH)
    40 else
    41 AC_PROG_RANLIB
    42 fi
     54
    4355AC_PROG_INSTALL
    4456
Note: See TracChangeset for help on using the changeset viewer.