Changeset 75f460 in git for m4/gmp-check.m4
- Timestamp:
- Dec 16, 2014, 3:43:21 PM (9 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- fce947c9e6c3e8c6d5a622c7f6b0d724580993cc
- Parents:
- a2e4470c6e9a666de8ab7b706370c15e13092f76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/gmp-check.m4
ra2e447 r75f460 12 12 AC_ARG_WITH(gmp, 13 13 [ --with-gmp= <path>|yes Use GMP library. This library is mandatory for Singular 14 compilation. If argument is yes or <empty> that means 14 compilation. If argument is yes or <empty> that means 15 15 the library is reachable with the standard search path 16 16 "/usr" or "/usr/local" (set as default). Otherwise you 17 give the <path> to the directory which contain the 17 give the <path> to the directory which contain the 18 18 library. 19 19 ], … … 35 35 AC_LANG_PUSH([C]) 36 36 37 for GMP_HOME in ${GMP_HOME_PATH} 38 do 37 for GMP_HOME in ${GMP_HOME_PATH} 38 do 39 39 # if test -r "$GMP_HOME/include/gmp.h"; then 40 40 … … 46 46 GMP_LIBS="-lgmp" 47 47 fi 48 48 49 49 CFLAGS="${BACKUP_CFLAGS} ${GMP_CFLAGS}" 50 50 LIBS="${BACKUP_LIBS} ${GMP_LIBS}" … … 86 86 ifelse([$2], , :, [$2]) 87 87 break 88 ],[ 88 ],[ 89 89 gmp_problem="$gmp_problem $GMP_HOME" 90 90 unset GMP_CFLAGS 91 unset GMP_LIBS 91 unset GMP_LIBS 92 92 ],[ 93 93 AC_MSG_RESULT(unknown) … … 98 98 AC_SUBST(GMP_HOME) 99 99 HAVE_GMP=yes 100 AC_DEFINE(HAVE_GMP,1,[Define if GMP is installed]) 100 AC_DEFINE(HAVE_GMP,1,[Define if GMP is installed]) 101 101 ifelse([$2], , :, [$2]) 102 102 break 103 ]) 103 ]) 104 104 ],[ 105 gmp_found="no" 105 gmp_found="no" 106 106 unset GMP_CFLAGS 107 unset GMP_LIBS 107 unset GMP_LIBS 108 108 ]) 109 109 110 110 # else 111 # gmp_found="no" 111 # gmp_found="no" 112 112 # fi 113 113 done
Note: See TracChangeset
for help on using the changeset viewer.