Changeset d4eb3f3 in git
- Timestamp:
- Feb 5, 2008, 6:04:13 PM (15 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 55149420f95e658285054ace03683be910301aff
- Parents:
- 05c6849451171e7d76784b365dcacb790e3c9113
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r05c6849 rd4eb3f3 5096 5096 5097 5097 SAVE_LIBS=$LIBS 5098 echo $ac_n "checking for printfin -lc_nonshared""... $ac_c" 1>&65099 echo "configure:5100: checking for printfin -lc_nonshared" >&55100 ac_lib_var=`echo c_nonshared'_' printf| sed 'y%./+-%__p_%'`5098 echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6 5099 echo "configure:5100: checking for __stack_chk_fail_local in -lc_nonshared" >&5 5100 ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | 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 printf();5112 char __stack_chk_fail_local(); 5113 5113 5114 5114 int main() { 5115 printf()5115 __stack_chk_fail_local() 5116 5116 ; return 0; } 5117 5117 EOF -
Singular/configure.in
r05c6849 rd4eb3f3 772 772 773 773 SAVE_LIBS=$LIBS 774 AC_CHECK_LIB(c_nonshared, printf,GLIBC_DYN_FIX="-lc_nonshared",GLIBC_DYN_FIX="")774 AC_CHECK_LIB(c_nonshared,__stack_chk_fail_local,GLIBC_DYN_FIX="-lc_nonshared",GLIBC_DYN_FIX="") 775 775 LIBS=$SAVE_LIBS 776 776 AC_SUBST(GLIBC_DYN_FIX)
Note: See TracChangeset
for help on using the changeset viewer.