Changeset 0fb3336 in git
- Timestamp:
- Jan 8, 2008, 3:11:04 PM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c18334b998a8adbf0013b8e1ce0824774019443e')
- Children:
- f8e54578322ffb83ea92786420613e64ade26d73
- Parents:
- 99019d6f6c54b6c478e47a059ccce9095a09ec86
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r99019d6 r0fb3336 5095 5095 fi 5096 5096 5097 SAVE_LIBS=$LIBS 5098 echo $ac_n "checking for in -lc_nonshared""... $ac_c" 1>&6 5099 echo "configure:5100: checking for in -lc_nonshared" >&5 5100 ac_lib_var=`echo c_nonshared'_' | sed 'y%./+-%__p_%'` 5101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5102 echo $ac_n "(cached) $ac_c" 1>&6 5103 else 5104 ac_save_LIBS="$LIBS" 5105 LIBS="-lc_nonshared $LIBS" 5106 cat > conftest.$ac_ext <<EOF 5107 #line 5108 "configure" 5108 #include "confdefs.h" 5109 /* Override any gcc2 internal prototype to avoid an error. */ 5110 /* We use char because int might match the return type of a gcc2 5111 builtin and then its argument prototype would still apply. */ 5112 char (); 5113 5114 int main() { 5115 () 5116 ; return 0; } 5117 EOF 5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5119 rm -rf conftest* 5120 eval "ac_cv_lib_$ac_lib_var=yes" 5121 else 5122 echo "configure: failed program was:" >&5 5123 cat conftest.$ac_ext >&5 5124 rm -rf conftest* 5125 eval "ac_cv_lib_$ac_lib_var=no" 5126 fi 5127 rm -f conftest* 5128 LIBS="$ac_save_LIBS" 5129 5130 fi 5131 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 5132 echo "$ac_t""yes" 1>&6 5133 ac_tr_lib=HAVE_LIB`echo c_nonshared | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 5134 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 5135 cat >> confdefs.h <<EOF 5136 #define $ac_tr_lib 1 5137 EOF 5138 5139 LIBS="-lc_nonshared $LIBS" 5140 5141 else 5142 echo "$ac_t""no" 1>&6 5143 fi 5144 5145 LIBS=$SAVE_LIBS 5146 if test "$ac_cv_lib_c_nonshared" = yes; then 5147 GLIBC_DYN_FIX="-lc_nonshared" 5148 else 5149 GLIBC_DYN_FIX="" 5150 fi 5151 5152 5097 5153 # evaluate results 5098 5154 if test "$ac_cv_omalloc_ok" != yes && test "$enable_omalloc" != yes; then … … 5101 5157 5102 5158 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 5103 echo "configure:51 04: checking which apint package to use" >&55159 echo "configure:5160: checking which apint package to use" >&5 5104 5160 if test "${with_apint}" != gmp; then 5105 5161 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 5124 5180 # 5125 5181 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 5126 echo "configure:51 27: checking whether to have MP" >&55182 echo "configure:5183: checking whether to have MP" >&5 5127 5183 if test "${with_MP}" != yes && test "${with_MP}" != no; then 5128 5184 if (test "${will_have_gmp}" = yes) && \ … … 5159 5215 5160 5216 echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6 5161 echo "configure:5 162: checking whether to have NTL" >&55217 echo "configure:5218: checking whether to have NTL" >&5 5162 5218 if test "${with_NTL}" = yes ; then 5163 5219 echo "$ac_t""yes" 1>&6 … … 5168 5224 5169 5225 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 5170 echo "configure:5 171: checking whether to have factory" >&55226 echo "configure:5227: checking whether to have factory" >&5 5171 5227 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5172 5228 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5199 5255 5200 5256 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5201 echo "configure:52 02: checking whether to have libfac" >&55257 echo "configure:5258: checking whether to have libfac" >&5 5202 5258 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5203 5259 if (test "${will_have_factory}" = yes) && \ … … 5241 5297 5242 5298 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5243 echo "configure:5 244: checking whether to have dbm links" >&55299 echo "configure:5300: checking whether to have dbm links" >&5 5244 5300 if test "$with_dbm" != no; then 5245 5301 cat >> confdefs.h <<\EOF … … 5253 5309 5254 5310 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5255 echo "configure:5 256: checking whether to have namespaces" >&55311 echo "configure:5312: checking whether to have namespaces" >&5 5256 5312 if test "$with_namespaces" != no; then 5257 5313 echo "$ac_t""yes" 1>&6 … … 5265 5321 5266 5322 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 5267 echo "configure:5 268: checking whether to have dynamic modules" >&55323 echo "configure:5324: checking whether to have dynamic modules" >&5 5268 5324 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 5269 5325 echo "$ac_t""no" 1>&6 … … 5277 5333 5278 5334 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 5279 echo "configure:5 280: checking whether to have dynamic kernel" >&55335 echo "configure:5336: checking whether to have dynamic kernel" >&5 5280 5336 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 5281 5337 DL_KERNEL=1 … … 5287 5343 5288 5344 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 5289 echo "configure:5 290: checking whether to have Plural" >&55345 echo "configure:5346: checking whether to have Plural" >&5 5290 5346 if test "$with_Plural" != no && test "$enable_Plural" != no; then 5291 5347 cat >> confdefs.h <<\EOF … … 5471 5527 s%@CXXCPP@%$CXXCPP%g 5472 5528 s%@USE_STDVECBOOL@%$USE_STDVECBOOL%g 5529 s%@GLIBC_DYN_FIX@%$GLIBC_DYN_FIX%g 5473 5530 s%@HAVE_MPSR@%$HAVE_MPSR%g 5474 5531 s%@MP_LIBS@%$MP_LIBS%g -
Singular/configure.in
r99019d6 r0fb3336 771 771 fi 772 772 773 SAVE_LIBS=$LIBS 774 AC_CHECK_LIB(c_nonshared) 775 LIBS=$SAVE_LIBS 776 if test "$ac_cv_lib_c_nonshared" = yes; then 777 GLIBC_DYN_FIX="-lc_nonshared" 778 else 779 GLIBC_DYN_FIX="" 780 fi 781 AC_SUBST(GLIBC_DYN_FIX) 782 773 783 # evaluate results 774 784 dnl llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Note: See TracChangeset
for help on using the changeset viewer.