Changeset f30df9 in git
- Timestamp:
- Aug 22, 2013, 7:15:54 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 0635d513a4904575a4a7bacb750e17cd54a02089fa601bae3b282a1d9ecb0b4cd31ebb37b467e9a4
- Parents:
- 1dbfb4a46972767ca8f476540e393e0f2f779abb
- Location:
- m4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/flags.m4
r1dbfb4 rf30df9 104 104 105 105 if test "x${ENABLE_OPTIMIZATION}" != xno; then 106 OPTFLAGS="-DOM_NDEBUG -DNDEBUG -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space "106 OPTFLAGS="-DOM_NDEBUG -DNDEBUG -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops" 107 107 # -O3 - crashes gcc???!!! 108 108 # -fpermissive -
m4/flint-check.m4
r1dbfb4 rf30df9 40 40 BACKUP_LIBS=${LIBS} 41 41 42 AC_LANG_PUSH(C)43 44 42 if test -n "$FLINT_HOME_PATH"; then 45 43 AC_MSG_CHECKING(for FLINT >= $min_flint_version) 46 44 fi 47 45 46 AC_LANG_PUSH([C]) 47 48 48 for FLINT_HOME in ${FLINT_HOME_PATH} 49 49 do 50 if test -r "$FLINT_HOME/include/flint/fmpz.h"; then50 ## if test -r "$FLINT_HOME/include/flint/fmpz.h"; then 51 51 52 if test "x$FLINT_HOME" != "x/usr"; then52 # if test "x$FLINT_HOME" != "x/usr"; then 53 53 FLINT_CFLAGS="-I${FLINT_HOME}/include/flint" 54 54 FLINT_LIBS="-L${FLINT_HOME}/lib -lflint -lmpfr -lmpir" 55 else56 FLINT_CFLAGS= 57 FLINT_LIBS="-lflint"58 fi55 # else 56 # FLINT_CFLAGS="" 57 # FLINT_LIBS="-lflint" 58 # fi 59 59 CFLAGS="${BACKUP_CFLAGS} ${FLINT_CFLAGS}" 60 60 LIBS="${BACKUP_LIBS} ${FLINT_LIBS}" … … 86 86 unset FLINT_LIBS 87 87 ]) 88 else89 flint_found="no"90 fi88 #else 89 # flint_found="no" 90 #fi 91 91 done 92 AC_LANG_POP([C]) 93 94 CFLAGS=${BACKUP_CFLAGS} 95 LIBS=${BACKUP_LIBS} 96 #unset LD_LIBRARY_PATH 97 92 98 93 99 if test "x$flint_found" = "xyes" ; then … … 114 120 fi 115 121 116 AC_LANG_POP117 118 122 AM_CONDITIONAL(SING_HAVE_FLINT, test "x$HAVE_FLINT" = "xyes") 119 120 CFLAGS=${BACKUP_CFLAGS}121 LIBS=${BACKUP_LIBS}122 #unset LD_LIBRARY_PATH123 124 123 ]) 125 124 -
m4/gmp-check.m4
r1dbfb4 rf30df9 96 96 AC_SUBST(GMP_CFLAGS) 97 97 AC_SUBST(GMP_LIBS) 98 AC_SUBST(GMP_HOME) 99 HAVE_GMP=yes 98 100 AC_DEFINE(HAVE_GMP,1,[Define if GMP is installed]) 99 101 ifelse([$2], , :, [$2]) … … 112 114 AC_LANG_POP([C]) 113 115 116 CFLAGS=${BACKUP_CFLAGS} 117 LIBS=${BACKUP_LIBS} 118 #unset LD_LIBRARY_PATH 119 120 114 121 if test "x$gmp_found" != "xyes"; then 115 122 if test -n "$gmp_problem"; then … … 122 129 fi 123 130 124 125 CFLAGS=${BACKUP_CFLAGS} 126 LIBS=${BACKUP_LIBS} 127 #unset LD_LIBRARY_PATH 128 131 AM_CONDITIONAL(SING_HAVE_GMP, test "x$HAVE_GMP" = "xyes") 129 132 ]) -
m4/mathic-check.m4
r1dbfb4 rf30df9 26 26 [AC_MSG_ERROR([Cannot find the MathicGB library.])], [-lstdc++]) 27 27 AC_CHECK_HEADER([mathicgb.h]) 28 AH_TEMPLATE([HAVE_MATHICGB], [have mathicgb]) 29 AC_DEFINE(HAVE_MATHICGB) 28 AC_DEFINE(HAVE_MATHICGB,1,[Define if mathicgb is to be used]) 30 29 ]) 31 30 #
Note: See TracChangeset
for help on using the changeset viewer.