Changeset 1732 in Sophya
- Timestamp:
- Nov 5, 2001, 2:30:33 PM (24 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/Makefile.in
r1731 r1732 18 18 19 19 ifeq ($(USE_SOPHYA),1) 20 include $(DPCBASEREP)/Include/MakefileUser.h 21 22 ifdef NOSHLIB 23 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a 24 LIBS = -L$(LIB) -lSysTools -lNTools -lBlitz -lm 25 ifeq ($(CXX),cxx) 26 # librairie des instances de templates cxx 27 LIBS := $(LIBS) -lrt 28 endif 29 else 30 LIBF = $(SLB)libsophya.so 31 LIBS = -L$(SLB) -lextsophya -lsophya -lm 32 ifeq ($(MACHEROS),OSF1) 33 LIBS := $(LIBS) -lfor 34 endif 35 ifeq ($(MACHEROS),Linux) 36 # LIBS := $(LIBS) -ldl -lf2c 37 endif 38 endif 39 20 include $(DPCBASEREP)/Include/MakefileUser.h 40 21 CPPFLAGS := -DWITH_SOPHYA $(CPPFLAGS) 41 ifeq ($(CXX), cxx)42 LIBS := $(LIBS) -pthread43 endif44 ifeq ($(MACHEROS),Linux)45 LIBS := $(LIBS) -lpthread46 endif47 22 else 48 23 ifeq ($(CXX), cxx) 49 24 CXXFLAGS := -O -g -D__USE_STD_IOSTREAM 50 LIBS := $(LIBS) -pthread51 endif52 ifeq ($(MACHEROS),Linux)53 LIBS := $(LIBS) -lpthread54 25 endif 55 26 endif -
trunk/ArchTOIPipe/Makefile.in
r1730 r1732 7 7 CXX=@CXX@ 8 8 AR=@AR@ 9 LIBS=@LIBS@ 9 10 CXXFLAGS=-O -g 10 11 CFLAGS=-O -g … … 21 22 ifdef NOSHLIB 22 23 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a 23 LIBS := -L$(LIB) -lSysTools -lNTools -lBlitz -lm24 LIBS := -L$(LIB) -lSysTools -lNTools -lBlitz $(LIBS) 24 25 ifeq ($(CXX),cxx) 25 26 # librairie des instances de templates cxx … … 28 29 else 29 30 LIBF = $(SLB)libsophya.so 30 LIBS := -L$(SLB) -lextsophya -lsophya -lm31 LIBS := -L$(SLB) -lextsophya -lsophya $(LIBS) 31 32 ifeq ($(MACHEROS),OSF1) 32 33 LIBS := $(LIBS) -lfor 33 endif34 ifeq ($(MACHEROS),Linux)35 # LIBS := $(LIBS) -ldl -lf2c36 34 endif 37 35 endif -
trunk/ArchTOIPipe/ProcWSophya/Makefile.in
r1731 r1732 19 19 ifeq ($(USE_SOPHYA),1) 20 20 include $(DPCBASEREP)/Include/MakefileUser.h 21 22 ifdef NOSHLIB23 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a24 LIBS = -L$(LIB) -lSysTools -lNTools -lBlitz -lm25 ifeq ($(CXX),cxx)26 # librairie des instances de templates cxx27 LIBS := $(LIBS) -lrt28 endif29 else30 LIBF = $(SLB)libsophya.so31 LIBS = -L$(SLB) -lextsophya -lsophya -lm32 ifeq ($(MACHEROS),OSF1)33 LIBS := $(LIBS) -lfor34 endif35 ifeq ($(MACHEROS),Linux)36 # LIBS := $(LIBS) -ldl -lf2c37 endif38 endif39 40 21 CPPFLAGS := -DWITH_SOPHYA $(CPPFLAGS) 41 ifeq ($(CXX), cxx)42 LIBS := $(LIBS) -pthread43 endif44 ifeq ($(MACHEROS),Linux)45 LIBS := $(LIBS) -lpthread46 endif47 else48 ifeq ($(CXX), cxx)49 CXXFLAGS := -O -g -D__USE_STD_IOSTREAM50 LIBS := $(LIBS) -pthread51 endif52 ifeq ($(MACHEROS),Linux)53 LIBS := $(LIBS) -lpthread54 endif55 22 endif 56 23 … … 58 25 CPPFLAGS := $(CPPFLAGS) @cfitsincdir@ -I. -I$(srcdir)/../kernel -I$(srcdir)/.. -I.. -DANSI 59 26 60 LDLIBS=@cfitslibdir@ -lcfitsio $(LIBS)61 27 62 28 ifeq ($(MACHEROS),IRIX64) 63 ifeq ($(CXX), g++)64 LDLIBS=@cfitslibdir@ -lcfitsio -L /usr/lib32/65 endif66 29 ifeq ($(CXX), CC) 67 30 CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0 -
trunk/ArchTOIPipe/Processors/Makefile.in
r1731 r1732 18 18 19 19 ifeq ($(USE_SOPHYA),1) 20 include $(DPCBASEREP)/Include/MakefileUser.h 21 22 ifdef NOSHLIB 23 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a 24 LIBS = -L$(LIB) -lSysTools -lNTools -lBlitz -lm 25 ifeq ($(CXX),cxx) 26 # librairie des instances de templates cxx 27 LIBS := $(LIBS) -lrt 28 endif 29 else 30 LIBF = $(SLB)libsophya.so 31 LIBS = -L$(SLB) -lextsophya -lsophya -lm 32 ifeq ($(MACHEROS),OSF1) 33 LIBS := $(LIBS) -lfor 34 endif 35 ifeq ($(MACHEROS),Linux) 36 # LIBS := $(LIBS) -ldl -lf2c 37 endif 38 endif 39 20 include $(DPCBASEREP)/Include/MakefileUser.h 40 21 CPPFLAGS := -DWITH_SOPHYA $(CPPFLAGS) 41 ifeq ($(CXX), cxx)42 LIBS := $(LIBS) -pthread43 endif44 ifeq ($(MACHEROS),Linux)45 LIBS := $(LIBS) -lpthread46 endif47 22 else 48 23 ifeq ($(CXX), cxx) 49 24 CXXFLAGS := -O -g -D__USE_STD_IOSTREAM 50 LIBS := $(LIBS) -pthread51 endif52 ifeq ($(MACHEROS),Linux)53 LIBS := $(LIBS) -lpthread54 25 endif 55 26 endif … … 58 29 CPPFLAGS := $(CPPFLAGS) @cfitsincdir@ -I. -I$(srcdir)/../kernel -I$(srcdir)/.. -I.. -DANSI 59 30 60 LDLIBS=@cfitslibdir@ -lcfitsio $(LIBS)61 62 31 ifeq ($(MACHEROS),IRIX64) 63 ifeq ($(CXX), g++)64 LDLIBS=@cfitslibdir@ -lcfitsio -L /usr/lib32/65 endif66 32 ifeq ($(CXX), CC) 67 33 CXXFLAGS = -LANG:std -woff 1171,1174,1552 -O -OPT:Olimit=0 -
trunk/ArchTOIPipe/Processors/nooppr.cc
r1532 r1732 1 #include <typeinfo> 1 2 #include "toimanager.h" 2 3 #include "nooppr.h" -
trunk/ArchTOIPipe/TestPipes/Makefile.in
r1730 r1732 8 8 AR=@AR@ 9 9 RANLIB=@RANLIB@ 10 LIBS=@LIBS@ 10 11 CXXFLAGS=-O -g 11 12 CFLAGS=-O -g … … 22 23 ifdef NOSHLIB 23 24 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a 24 LIBS := -L$(LIB) -lSysTools -lNTools -lBlitz -lm25 LIBS := -L$(LIB) -lSysTools -lNTools -lBlitz $(LIBS) 25 26 ifeq ($(CXX),cxx) 26 27 # librairie des instances de templates cxx … … 29 30 else 30 31 LIBF = $(SLB)libsophya.so 31 LIBS := -L$(SLB) -lextsophya -lsophya -lm32 LIBS := -L$(SLB) -lextsophya -lsophya $(LIBS) 32 33 ifeq ($(MACHEROS),OSF1) 33 34 LIBS := $(LIBS) -lfor 34 endif35 ifeq ($(MACHEROS),Linux)36 # LIBS := $(LIBS) -ldl -lf2c37 35 endif 38 36 endif … … 42 40 LIBS := $(LIBS) -pthread 43 41 endif 44 ifeq ($(MACHEROS),Linux)45 LIBS := $(LIBS) -lpthread46 endif47 42 else 48 43 ifeq ($(CXX), cxx) 49 44 CXXFLAGS := -O -g -D__USE_STD_IOSTREAM 50 45 LIBS := $(LIBS) -pthread 51 endif52 ifeq ($(MACHEROS),Linux)53 LIBS := $(LIBS) -lpthread54 46 endif 55 47 endif -
trunk/ArchTOIPipe/configure
r1730 r1732 545 545 fi 546 546 547 if test `uname` = Linux -a -f /usr/bin/g++; then 548 CXX=/usr/bin/g++ 549 fi 550 547 551 # Extract the first word of "gcc", so it can be a program name with args. 548 552 set dummy gcc; ac_word=$2 549 553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 550 echo "configure:55 1: checking for $ac_word" >&5554 echo "configure:555: checking for $ac_word" >&5 551 555 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 552 556 echo $ac_n "(cached) $ac_c" 1>&6 … … 578 582 set dummy cc; ac_word=$2 579 583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 580 echo "configure:58 1: checking for $ac_word" >&5584 echo "configure:585: checking for $ac_word" >&5 581 585 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 582 586 echo $ac_n "(cached) $ac_c" 1>&6 … … 629 633 set dummy cl; ac_word=$2 630 634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 631 echo "configure:63 2: checking for $ac_word" >&5635 echo "configure:636: checking for $ac_word" >&5 632 636 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 633 637 echo $ac_n "(cached) $ac_c" 1>&6 … … 661 665 662 666 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 663 echo "configure:66 4: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5667 echo "configure:668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 664 668 665 669 ac_ext=c … … 672 676 cat > conftest.$ac_ext << EOF 673 677 674 #line 67 5"configure"678 #line 679 "configure" 675 679 #include "confdefs.h" 676 680 677 681 main(){return(0);} 678 682 EOF 679 if { (eval echo configure:68 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then683 if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 680 684 ac_cv_prog_cc_works=yes 681 685 # If we can't run a trivial program, we are probably using a cross compiler. … … 703 707 fi 704 708 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 705 echo "configure:7 06: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5709 echo "configure:710: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 706 710 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 707 711 cross_compiling=$ac_cv_prog_cc_cross 708 712 709 713 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 710 echo "configure:71 1: checking whether we are using GNU C" >&5714 echo "configure:715: checking whether we are using GNU C" >&5 711 715 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 712 716 echo $ac_n "(cached) $ac_c" 1>&6 … … 717 721 #endif 718 722 EOF 719 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:72 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then723 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 720 724 ac_cv_prog_gcc=yes 721 725 else … … 736 740 CFLAGS= 737 741 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 738 echo "configure:7 39: checking whether ${CC-cc} accepts -g" >&5742 echo "configure:743: checking whether ${CC-cc} accepts -g" >&5 739 743 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 740 744 echo $ac_n "(cached) $ac_c" 1>&6 … … 772 776 set dummy $ac_prog; ac_word=$2 773 777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 774 echo "configure:77 5: checking for $ac_word" >&5778 echo "configure:779: checking for $ac_word" >&5 775 779 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 776 780 echo $ac_n "(cached) $ac_c" 1>&6 … … 804 808 805 809 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 806 echo "configure:8 07: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5810 echo "configure:811: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 807 811 808 812 ac_ext=C … … 815 819 cat > conftest.$ac_ext << EOF 816 820 817 #line 8 18"configure"821 #line 822 "configure" 818 822 #include "confdefs.h" 819 823 820 824 int main(){return(0);} 821 825 EOF 822 if { (eval echo configure:82 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then826 if { (eval echo configure:827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 823 827 ac_cv_prog_cxx_works=yes 824 828 # If we can't run a trivial program, we are probably using a cross compiler. … … 846 850 fi 847 851 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 848 echo "configure:8 49: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5852 echo "configure:853: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 849 853 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 850 854 cross_compiling=$ac_cv_prog_cxx_cross 851 855 852 856 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 853 echo "configure:85 4: checking whether we are using GNU C++" >&5857 echo "configure:858: checking whether we are using GNU C++" >&5 854 858 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 855 859 echo $ac_n "(cached) $ac_c" 1>&6 … … 860 864 #endif 861 865 EOF 862 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:86 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then866 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 863 867 ac_cv_prog_gxx=yes 864 868 else … … 879 883 CXXFLAGS= 880 884 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 881 echo "configure:88 2: checking whether ${CXX-g++} accepts -g" >&5885 echo "configure:886: checking whether ${CXX-g++} accepts -g" >&5 882 886 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 883 887 echo $ac_n "(cached) $ac_c" 1>&6 … … 913 917 set dummy ar; ac_word=$2 914 918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 915 echo "configure:9 16: checking for $ac_word" >&5919 echo "configure:920: checking for $ac_word" >&5 916 920 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then 917 921 echo $ac_n "(cached) $ac_c" 1>&6 … … 949 953 set dummy ranlib; ac_word=$2 950 954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 951 echo "configure:95 2: checking for $ac_word" >&5955 echo "configure:956: checking for $ac_word" >&5 952 956 if eval "test \"`echo '$''{'ac_cv_path_RANLIB'+set}'`\" = set"; then 953 957 echo $ac_n "(cached) $ac_c" 1>&6 … … 991 995 992 996 echo $ac_n "checking size of short""... $ac_c" 1>&6 993 echo "configure:99 4: checking size of short" >&5997 echo "configure:998: checking size of short" >&5 994 998 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 995 999 echo $ac_n "(cached) $ac_c" 1>&6 … … 999 1003 else 1000 1004 cat > conftest.$ac_ext <<EOF 1001 #line 100 2"configure"1005 #line 1006 "configure" 1002 1006 #include "confdefs.h" 1003 1007 #include <stdio.h> … … 1010 1014 } 1011 1015 EOF 1012 if { (eval echo configure:101 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1016 if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1013 1017 then 1014 1018 ac_cv_sizeof_short=`cat conftestval` … … 1030 1034 1031 1035 echo $ac_n "checking size of int""... $ac_c" 1>&6 1032 echo "configure:103 3: checking size of int" >&51036 echo "configure:1037: checking size of int" >&5 1033 1037 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 1034 1038 echo $ac_n "(cached) $ac_c" 1>&6 … … 1038 1042 else 1039 1043 cat > conftest.$ac_ext <<EOF 1040 #line 104 1"configure"1044 #line 1045 "configure" 1041 1045 #include "confdefs.h" 1042 1046 #include <stdio.h> … … 1049 1053 } 1050 1054 EOF 1051 if { (eval echo configure:105 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1055 if { (eval echo configure:1056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1052 1056 then 1053 1057 ac_cv_sizeof_int=`cat conftestval` … … 1069 1073 1070 1074 echo $ac_n "checking size of long""... $ac_c" 1>&6 1071 echo "configure:107 2: checking size of long" >&51075 echo "configure:1076: checking size of long" >&5 1072 1076 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 1073 1077 echo $ac_n "(cached) $ac_c" 1>&6 … … 1077 1081 else 1078 1082 cat > conftest.$ac_ext <<EOF 1079 #line 108 0"configure"1083 #line 1084 "configure" 1080 1084 #include "confdefs.h" 1081 1085 #include <stdio.h> … … 1088 1092 } 1089 1093 EOF 1090 if { (eval echo configure:109 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1094 if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1091 1095 then 1092 1096 ac_cv_sizeof_long=`cat conftestval` … … 1108 1112 1109 1113 echo $ac_n "checking size of long long""... $ac_c" 1>&6 1110 echo "configure:111 1: checking size of long long" >&51114 echo "configure:1115: checking size of long long" >&5 1111 1115 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 1112 1116 echo $ac_n "(cached) $ac_c" 1>&6 … … 1116 1120 else 1117 1121 cat > conftest.$ac_ext <<EOF 1118 #line 11 19"configure"1122 #line 1123 "configure" 1119 1123 #include "confdefs.h" 1120 1124 #include <stdio.h> … … 1127 1131 } 1128 1132 EOF 1129 if { (eval echo configure:113 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1133 if { (eval echo configure:1134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1130 1134 then 1131 1135 ac_cv_sizeof_long_long=`cat conftestval` … … 1147 1151 1148 1152 echo $ac_n "checking size of float""... $ac_c" 1>&6 1149 echo "configure:115 0: checking size of float" >&51153 echo "configure:1154: checking size of float" >&5 1150 1154 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 1151 1155 echo $ac_n "(cached) $ac_c" 1>&6 … … 1155 1159 else 1156 1160 cat > conftest.$ac_ext <<EOF 1157 #line 11 58"configure"1161 #line 1162 "configure" 1158 1162 #include "confdefs.h" 1159 1163 #include <stdio.h> … … 1166 1170 } 1167 1171 EOF 1168 if { (eval echo configure:11 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1172 if { (eval echo configure:1173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1169 1173 then 1170 1174 ac_cv_sizeof_float=`cat conftestval` … … 1186 1190 1187 1191 echo $ac_n "checking size of double""... $ac_c" 1>&6 1188 echo "configure:11 89: checking size of double" >&51192 echo "configure:1193: checking size of double" >&5 1189 1193 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 1190 1194 echo $ac_n "(cached) $ac_c" 1>&6 … … 1194 1198 else 1195 1199 cat > conftest.$ac_ext <<EOF 1196 #line 1 197"configure"1200 #line 1201 "configure" 1197 1201 #include "confdefs.h" 1198 1202 #include <stdio.h> … … 1205 1209 } 1206 1210 EOF 1207 if { (eval echo configure:12 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1211 if { (eval echo configure:1212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1208 1212 then 1209 1213 ac_cv_sizeof_double=`cat conftestval` … … 1225 1229 1226 1230 echo $ac_n "checking size of long double""... $ac_c" 1>&6 1227 echo "configure:12 28: checking size of long double" >&51231 echo "configure:1232: checking size of long double" >&5 1228 1232 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 1229 1233 echo $ac_n "(cached) $ac_c" 1>&6 … … 1233 1237 else 1234 1238 cat > conftest.$ac_ext <<EOF 1235 #line 12 36"configure"1239 #line 1240 "configure" 1236 1240 #include "confdefs.h" 1237 1241 #include <stdio.h> … … 1244 1248 } 1245 1249 EOF 1246 if { (eval echo configure:12 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1250 if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1247 1251 then 1248 1252 ac_cv_sizeof_long_double=`cat conftestval` … … 1266 1270 1267 1271 echo $ac_n "checking "for cfitsio lib"""... $ac_c" 1>&6 1268 echo "configure:12 69: checking "for cfitsio lib"" >&51272 echo "configure:1273: checking "for cfitsio lib"" >&5 1269 1273 MACHDIR=`uname`-$CXX 1270 1274 if test -f $ARCHBASEREP/$MACHDIR/Libs/libcfitsio.a; then … … 1293 1297 1294 1298 echo $ac_n "checking "for cfitsio includes"""... $ac_c" 1>&6 1295 echo "configure:1 296: checking "for cfitsio includes"" >&51299 echo "configure:1300: checking "for cfitsio includes"" >&5 1296 1300 if test -f $CFITSIODIR/fitsio.h; then 1297 1301 cfitsincdir='-I$(CFITSIODIR)' … … 1307 1311 1308 1312 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 1309 echo "configure:131 0: checking for sin in -lm" >&51313 echo "configure:1314: checking for sin in -lm" >&5 1310 1314 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 1311 1315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1315 1319 LIBS="-lm $LIBS" 1316 1320 cat > conftest.$ac_ext <<EOF 1317 #line 13 18"configure"1321 #line 1322 "configure" 1318 1322 #include "confdefs.h" 1319 1323 /* Override any gcc2 internal prototype to avoid an error. */ … … 1326 1330 ; return 0; } 1327 1331 EOF 1328 if { (eval echo configure:13 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1332 if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1329 1333 rm -rf conftest* 1330 1334 eval "ac_cv_lib_$ac_lib_var=yes" … … 1353 1357 fi 1354 1358 1359 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 1360 echo "configure:1361: checking for pthread_create in -lpthread" >&5 1361 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` 1362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1363 echo $ac_n "(cached) $ac_c" 1>&6 1364 else 1365 ac_save_LIBS="$LIBS" 1366 LIBS="-lpthread $LIBS" 1367 cat > conftest.$ac_ext <<EOF 1368 #line 1369 "configure" 1369 #include "confdefs.h" 1370 /* Override any gcc2 internal prototype to avoid an error. */ 1371 /* We use char because int might match the return type of a gcc2 1372 builtin and then its argument prototype would still apply. */ 1373 char pthread_create(); 1374 1375 int main() { 1376 pthread_create() 1377 ; return 0; } 1378 EOF 1379 if { (eval echo configure:1380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1380 rm -rf conftest* 1381 eval "ac_cv_lib_$ac_lib_var=yes" 1382 else 1383 echo "configure: failed program was:" >&5 1384 cat conftest.$ac_ext >&5 1385 rm -rf conftest* 1386 eval "ac_cv_lib_$ac_lib_var=no" 1387 fi 1388 rm -f conftest* 1389 LIBS="$ac_save_LIBS" 1390 1391 fi 1392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1393 echo "$ac_t""yes" 1>&6 1394 ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1395 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1396 cat >> confdefs.h <<EOF 1397 #define $ac_tr_lib 1 1398 EOF 1399 1400 LIBS="-lpthread $LIBS" 1401 1402 else 1403 echo "$ac_t""no" 1>&6 1404 fi 1405 1406 echo $ac_n "checking for scopy_ in -lblas""... $ac_c" 1>&6 1407 echo "configure:1408: checking for scopy_ in -lblas" >&5 1408 ac_lib_var=`echo blas'_'scopy_ | sed 'y%./+-%__p_%'` 1409 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1410 echo $ac_n "(cached) $ac_c" 1>&6 1411 else 1412 ac_save_LIBS="$LIBS" 1413 LIBS="-lblas $LIBS" 1414 cat > conftest.$ac_ext <<EOF 1415 #line 1416 "configure" 1416 #include "confdefs.h" 1417 /* Override any gcc2 internal prototype to avoid an error. */ 1418 /* We use char because int might match the return type of a gcc2 1419 builtin and then its argument prototype would still apply. */ 1420 char scopy_(); 1421 1422 int main() { 1423 scopy_() 1424 ; return 0; } 1425 EOF 1426 if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1427 rm -rf conftest* 1428 eval "ac_cv_lib_$ac_lib_var=yes" 1429 else 1430 echo "configure: failed program was:" >&5 1431 cat conftest.$ac_ext >&5 1432 rm -rf conftest* 1433 eval "ac_cv_lib_$ac_lib_var=no" 1434 fi 1435 rm -f conftest* 1436 LIBS="$ac_save_LIBS" 1437 1438 fi 1439 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1440 echo "$ac_t""yes" 1>&6 1441 ac_tr_lib=HAVE_LIB`echo blas | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1442 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1443 cat >> confdefs.h <<EOF 1444 #define $ac_tr_lib 1 1445 EOF 1446 1447 LIBS="-lblas $LIBS" 1448 1449 else 1450 echo "$ac_t""no" 1>&6 1451 fi 1452 1453 echo $ac_n "checking for s_copy in -lg2c""... $ac_c" 1>&6 1454 echo "configure:1455: checking for s_copy in -lg2c" >&5 1455 ac_lib_var=`echo g2c'_'s_copy | sed 'y%./+-%__p_%'` 1456 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1457 echo $ac_n "(cached) $ac_c" 1>&6 1458 else 1459 ac_save_LIBS="$LIBS" 1460 LIBS="-lg2c $LIBS" 1461 cat > conftest.$ac_ext <<EOF 1462 #line 1463 "configure" 1463 #include "confdefs.h" 1464 /* Override any gcc2 internal prototype to avoid an error. */ 1465 /* We use char because int might match the return type of a gcc2 1466 builtin and then its argument prototype would still apply. */ 1467 char s_copy(); 1468 1469 int main() { 1470 s_copy() 1471 ; return 0; } 1472 EOF 1473 if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1474 rm -rf conftest* 1475 eval "ac_cv_lib_$ac_lib_var=yes" 1476 else 1477 echo "configure: failed program was:" >&5 1478 cat conftest.$ac_ext >&5 1479 rm -rf conftest* 1480 eval "ac_cv_lib_$ac_lib_var=no" 1481 fi 1482 rm -f conftest* 1483 LIBS="$ac_save_LIBS" 1484 1485 fi 1486 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1487 echo "$ac_t""yes" 1>&6 1488 ac_tr_lib=HAVE_LIB`echo g2c | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1489 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1490 cat >> confdefs.h <<EOF 1491 #define $ac_tr_lib 1 1492 EOF 1493 1494 LIBS="-lg2c $LIBS" 1495 1496 else 1497 echo "$ac_t""no" 1>&6 1498 fi 1499 1355 1500 1356 1501 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1357 echo "configure:1 358: checking how to run the C preprocessor" >&51502 echo "configure:1503: checking how to run the C preprocessor" >&5 1358 1503 # On Suns, sometimes $CPP names a directory. 1359 1504 if test -n "$CPP" && test -d "$CPP"; then … … 1370 1515 # not just through cpp. 1371 1516 cat > conftest.$ac_ext <<EOF 1372 #line 1 373"configure"1517 #line 1518 "configure" 1373 1518 #include "confdefs.h" 1374 1519 #include <assert.h> … … 1376 1521 EOF 1377 1522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1378 { (eval echo configure:1 379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1523 { (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1379 1524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1380 1525 if test -z "$ac_err"; then … … 1387 1532 CPP="${CC-cc} -E -traditional-cpp" 1388 1533 cat > conftest.$ac_ext <<EOF 1389 #line 1 390"configure"1534 #line 1535 "configure" 1390 1535 #include "confdefs.h" 1391 1536 #include <assert.h> … … 1393 1538 EOF 1394 1539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1395 { (eval echo configure:1 396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1540 { (eval echo configure:1541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1396 1541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1397 1542 if test -z "$ac_err"; then … … 1404 1549 CPP="${CC-cc} -nologo -E" 1405 1550 cat > conftest.$ac_ext <<EOF 1406 #line 1 407"configure"1551 #line 1552 "configure" 1407 1552 #include "confdefs.h" 1408 1553 #include <assert.h> … … 1410 1555 EOF 1411 1556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1412 { (eval echo configure:1 413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1557 { (eval echo configure:1558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1413 1558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1414 1559 if test -z "$ac_err"; then … … 1435 1580 1436 1581 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1437 echo "configure:1 438: checking for ANSI C header files" >&51582 echo "configure:1583: checking for ANSI C header files" >&5 1438 1583 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1439 1584 echo $ac_n "(cached) $ac_c" 1>&6 1440 1585 else 1441 1586 cat > conftest.$ac_ext <<EOF 1442 #line 1 443"configure"1587 #line 1588 "configure" 1443 1588 #include "confdefs.h" 1444 1589 #include <stdlib.h> … … 1448 1593 EOF 1449 1594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1450 { (eval echo configure:1 451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1595 { (eval echo configure:1596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1451 1596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1452 1597 if test -z "$ac_err"; then … … 1465 1610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1466 1611 cat > conftest.$ac_ext <<EOF 1467 #line 1 468"configure"1612 #line 1613 "configure" 1468 1613 #include "confdefs.h" 1469 1614 #include <string.h> … … 1483 1628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1484 1629 cat > conftest.$ac_ext <<EOF 1485 #line 1 486"configure"1630 #line 1631 "configure" 1486 1631 #include "confdefs.h" 1487 1632 #include <stdlib.h> … … 1504 1649 else 1505 1650 cat > conftest.$ac_ext <<EOF 1506 #line 1 507"configure"1651 #line 1652 "configure" 1507 1652 #include "confdefs.h" 1508 1653 #include <ctype.h> … … 1515 1660 1516 1661 EOF 1517 if { (eval echo configure:1 518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1662 if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1518 1663 then 1519 1664 : … … 1542 1687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1543 1688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1544 echo "configure:1 545: checking for $ac_hdr" >&51689 echo "configure:1690: checking for $ac_hdr" >&5 1545 1690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1546 1691 echo $ac_n "(cached) $ac_c" 1>&6 1547 1692 else 1548 1693 cat > conftest.$ac_ext <<EOF 1549 #line 1 550"configure"1694 #line 1695 "configure" 1550 1695 #include "confdefs.h" 1551 1696 #include <$ac_hdr> 1552 1697 EOF 1553 1698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1554 { (eval echo configure:1 555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1699 { (eval echo configure:1700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1555 1700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1556 1701 if test -z "$ac_err"; then -
trunk/ArchTOIPipe/configure.in
r1730 r1732 14 14 export CXX 15 15 fi 16 fi 17 18 dnl on donne priorite a g++ sur c++ sur Linux 19 if test `uname` = Linux -a -f /usr/bin/g++; then 20 CXX=/usr/bin/g++ 16 21 fi 17 22 … … 81 86 dnl AC_CHECK_LIB(cfitsio, ffread,,AC_MSG_ERROR("Cannot find cfitsio library")) 82 87 AC_CHECK_LIB(m, sin) 88 AC_CHECK_LIB(pthread, pthread_create) 89 AC_CHECK_LIB(blas, scopy_) 90 AC_CHECK_LIB(g2c, s_copy) 83 91 84 92 dnl Checks for header files.
Note:
See TracChangeset
for help on using the changeset viewer.