Changeset d4eb3f3 in git


Ignore:
Timestamp:
Feb 5, 2008, 6:04:13 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
55149420f95e658285054ace03683be910301aff
Parents:
05c6849451171e7d76784b365dcacb790e3c9113
Message:
*hannes: GLIBC_DYN_FIX


git-svn-id: file:///usr/local/Singular/svn/trunk@10558 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r05c6849 rd4eb3f3  
    50965096
    50975097SAVE_LIBS=$LIBS
    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_%'`
     5098echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6
     5099echo "configure:5100: checking for __stack_chk_fail_local in -lc_nonshared" >&5
     5100ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'`
    51015101if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    51025102  echo $ac_n "(cached) $ac_c" 1>&6
     
    51105110/* We use char because int might match the return type of a gcc2
    51115111    builtin and then its argument prototype would still apply.  */
    5112 char printf();
     5112char __stack_chk_fail_local();
    51135113
    51145114int main() {
    5115 printf()
     5115__stack_chk_fail_local()
    51165116; return 0; }
    51175117EOF
  • Singular/configure.in

    r05c6849 rd4eb3f3  
    772772
    773773SAVE_LIBS=$LIBS
    774 AC_CHECK_LIB(c_nonshared,printf,GLIBC_DYN_FIX="-lc_nonshared",GLIBC_DYN_FIX="")
     774AC_CHECK_LIB(c_nonshared,__stack_chk_fail_local,GLIBC_DYN_FIX="-lc_nonshared",GLIBC_DYN_FIX="")
    775775LIBS=$SAVE_LIBS
    776776AC_SUBST(GLIBC_DYN_FIX)
Note: See TracChangeset for help on using the changeset viewer.