Changeset 05c6849 in git
- Timestamp:
- Feb 5, 2008, 5:53:35 PM (15 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- d4eb3f399315195558f76dcdfc526c8c3dd47917
- Parents:
- 8373a71d6a2983af32cc5cf5277712fe65db7b37
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r8373a7 r05c6849 5096 5096 5097 5097 SAVE_LIBS=$LIBS 5098 echo $ac_n "checking for in -lc_nonshared""... $ac_c" 1>&65099 echo "configure:5100: checking for in -lc_nonshared" >&55100 ac_lib_var=`echo c_nonshared'_' | sed 'y%./+-%__p_%'`5098 echo $ac_n "checking for printf in -lc_nonshared""... $ac_c" 1>&6 5099 echo "configure:5100: checking for printf in -lc_nonshared" >&5 5100 ac_lib_var=`echo c_nonshared'_'printf | sed 'y%./+-%__p_%'` 5101 5101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5102 5102 echo $ac_n "(cached) $ac_c" 1>&6 … … 5110 5110 /* We use char because int might match the return type of a gcc2 5111 5111 builtin and then its argument prototype would still apply. */ 5112 char ();5112 char printf(); 5113 5113 5114 5114 int main() { 5115 ()5115 printf() 5116 5116 ; return 0; } 5117 5117 EOF … … 5131 5131 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 5132 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 5133 GLIBC_DYN_FIX="-lc_nonshared" 5134 else 5135 echo "$ac_t""no" 1>&6 5136 GLIBC_DYN_FIX="" 5143 5137 fi 5144 5138 5145 5139 LIBS=$SAVE_LIBS 5146 if test "$ac_cv_lib_c_nonshared" = yes; then5147 GLIBC_DYN_FIX="-lc_nonshared"5148 else5149 GLIBC_DYN_FIX=""5150 fi5151 5140 5152 5141 … … 5157 5146 5158 5147 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 5159 echo "configure:51 60: checking which apint package to use" >&55148 echo "configure:5149: checking which apint package to use" >&5 5160 5149 if test "${with_apint}" != gmp; then 5161 5150 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 5180 5169 # 5181 5170 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 5182 echo "configure:51 83: checking whether to have MP" >&55171 echo "configure:5172: checking whether to have MP" >&5 5183 5172 if test "${with_MP}" != yes && test "${with_MP}" != no; then 5184 5173 if (test "${will_have_gmp}" = yes) && \ … … 5215 5204 5216 5205 echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6 5217 echo "configure:52 18: checking whether to have NTL" >&55206 echo "configure:5207: checking whether to have NTL" >&5 5218 5207 if test "${with_NTL}" = yes ; then 5219 5208 echo "$ac_t""yes" 1>&6 … … 5224 5213 5225 5214 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 5226 echo "configure:52 27: checking whether to have factory" >&55215 echo "configure:5216: checking whether to have factory" >&5 5227 5216 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5228 5217 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5255 5244 5256 5245 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5257 echo "configure:52 58: checking whether to have libfac" >&55246 echo "configure:5247: checking whether to have libfac" >&5 5258 5247 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5259 5248 if (test "${will_have_factory}" = yes) && \ … … 5297 5286 5298 5287 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5299 echo "configure:5 300: checking whether to have dbm links" >&55288 echo "configure:5289: checking whether to have dbm links" >&5 5300 5289 if test "$with_dbm" != no; then 5301 5290 cat >> confdefs.h <<\EOF … … 5309 5298 5310 5299 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5311 echo "configure:53 12: checking whether to have namespaces" >&55300 echo "configure:5301: checking whether to have namespaces" >&5 5312 5301 if test "$with_namespaces" != no; then 5313 5302 echo "$ac_t""yes" 1>&6 … … 5321 5310 5322 5311 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 5323 echo "configure:53 24: checking whether to have dynamic modules" >&55312 echo "configure:5313: checking whether to have dynamic modules" >&5 5324 5313 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 5325 5314 echo "$ac_t""no" 1>&6 … … 5333 5322 5334 5323 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 5335 echo "configure:53 36: checking whether to have dynamic kernel" >&55324 echo "configure:5325: checking whether to have dynamic kernel" >&5 5336 5325 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 5337 5326 DL_KERNEL=1 … … 5343 5332 5344 5333 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 5345 echo "configure:53 46: checking whether to have Plural" >&55334 echo "configure:5335: checking whether to have Plural" >&5 5346 5335 if test "$with_Plural" != no && test "$enable_Plural" != no; then 5347 5336 cat >> confdefs.h <<\EOF -
Singular/configure.in
r8373a7 r05c6849 772 772 773 773 SAVE_LIBS=$LIBS 774 AC_CHECK_LIB(c_nonshared )774 AC_CHECK_LIB(c_nonshared,printf,GLIBC_DYN_FIX="-lc_nonshared",GLIBC_DYN_FIX="") 775 775 LIBS=$SAVE_LIBS 776 if test "$ac_cv_lib_c_nonshared" = yes; then777 GLIBC_DYN_FIX="-lc_nonshared"778 else779 GLIBC_DYN_FIX=""780 fi781 776 AC_SUBST(GLIBC_DYN_FIX) 782 777
Note: See TracChangeset
for help on using the changeset viewer.