Changeset 1fe227 in git


Ignore:
Timestamp:
May 25, 2011, 1:30:03 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
f7d7455516e751906e8f7bb3d265fb06b8b3711e
Parents:
d19fa29f38b52d293cf6fcbe33a75284288cb5d3
Message:
fix readline on MacOsX

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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    rd19fa2 r1fe227  
    48354835cross_compiling=$ac_cv_prog_cxx_cross
    48364836
    4837    echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4838 echo "configure:4831: checking for rl_abort in -lreadline" >&5
    4839 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
     4837   echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
     4838echo "configure:4831: checking for readline in -lreadline" >&5
     4839ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
    48404840if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    48414841  echo $ac_n "(cached) $ac_c" 1>&6
     
    48524852/* We use char because int might match the return type of a gcc2
    48534853    builtin and then its argument prototype would still apply.  */
    4854 char rl_abort();
     4854char readline();
    48554855
    48564856int main() {
    4857 rl_abort()
     4857readline()
    48584858; return 0; }
    48594859EOF
     
    49684968done
    49694969
    4970    if test "$ac_cv_lib_readline_rl_abort" = yes && \
     4970   if test "$ac_cv_lib_readline_readline" = yes && \
    49714971      test "$ac_cv_header_readline_readline_h" = yes; then
    49724972     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
  • Singular/configure.in

    rd19fa2 r1fe227  
    10171017AC_LANG_SAVE
    10181018AC_LANG_CPLUSPLUS
    1019    AC_CHECK_LIB(readline, rl_abort)
     1019   AC_CHECK_LIB(readline, readline)
    10201020   AC_CHECK_HEADERS(readline/readline.h readline/history.h)
    1021    if test "$ac_cv_lib_readline_rl_abort" = yes && \
     1021   if test "$ac_cv_lib_readline_readline" = yes && \
    10221022      test "$ac_cv_header_readline_readline_h" = yes; then
    10231023     AC_MSG_CHECKING(whether readline.h is ok)
Note: See TracChangeset for help on using the changeset viewer.