Changeset f30df9 in git


Ignore:
Timestamp:
Aug 22, 2013, 7:15:54 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
0635d513a4904575a4a7bacb750e17cd54a02089fa601bae3b282a1d9ecb0b4cd31ebb37b467e9a4
Parents:
1dbfb4a46972767ca8f476540e393e0f2f779abb
Message:
More fixes/improvements to BS (m4/*.m4)
Location:
m4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • m4/flags.m4

    r1dbfb4 rf30df9  
    104104 
    105105 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"
    107107  #  -O3 - crashes gcc???!!! 
    108108  # -fpermissive
  • m4/flint-check.m4

    r1dbfb4 rf30df9  
    4040BACKUP_LIBS=${LIBS}
    4141
    42 AC_LANG_PUSH(C)
    43 
    4442if test -n "$FLINT_HOME_PATH"; then
    4543AC_MSG_CHECKING(for FLINT >= $min_flint_version)
    4644fi
    4745
     46AC_LANG_PUSH([C])
     47
    4848for FLINT_HOME in ${FLINT_HOME_PATH}
    4949 do     
    50 if test -r "$FLINT_HOME/include/flint/fmpz.h"; then
     50## if test -r "$FLINT_HOME/include/flint/fmpz.h"; then
    5151
    52         if test "x$FLINT_HOME" != "x/usr"; then
     52#       if test "x$FLINT_HOME" != "x/usr"; then
    5353                FLINT_CFLAGS="-I${FLINT_HOME}/include/flint"
    5454                FLINT_LIBS="-L${FLINT_HOME}/lib -lflint -lmpfr -lmpir"
    55         else
    56                 FLINT_CFLAGS=
    57                 FLINT_LIBS="-lflint"           
    58         fi     
     55#       else
     56#               FLINT_CFLAGS=""
     57#               FLINT_LIBS="-lflint"           
     58#       fi     
    5959        CFLAGS="${BACKUP_CFLAGS} ${FLINT_CFLAGS}"
    6060        LIBS="${BACKUP_LIBS} ${FLINT_LIBS}"
     
    8686        unset FLINT_LIBS       
    8787        ])
    88 else
    89         flint_found="no"
    90 fi
     88#else
     89#       flint_found="no"
     90#fi
    9191done
     92AC_LANG_POP([C])
     93
     94CFLAGS=${BACKUP_CFLAGS}
     95LIBS=${BACKUP_LIBS}
     96#unset LD_LIBRARY_PATH
     97
    9298
    9399if test "x$flint_found" = "xyes" ; then         
     
    114120fi     
    115121
    116 AC_LANG_POP
    117 
    118122AM_CONDITIONAL(SING_HAVE_FLINT, test "x$HAVE_FLINT" = "xyes")
    119 
    120 CFLAGS=${BACKUP_CFLAGS}
    121 LIBS=${BACKUP_LIBS}
    122 #unset LD_LIBRARY_PATH
    123 
    124123])
    125124
  • m4/gmp-check.m4

    r1dbfb4 rf30df9  
    9696                                AC_SUBST(GMP_CFLAGS)
    9797                                AC_SUBST(GMP_LIBS)
     98                                AC_SUBST(GMP_HOME)
     99                                HAVE_GMP=yes
    98100                                AC_DEFINE(HAVE_GMP,1,[Define if GMP is installed])     
    99101                                ifelse([$2], , :, [$2])
     
    112114AC_LANG_POP([C])
    113115
     116CFLAGS=${BACKUP_CFLAGS}
     117LIBS=${BACKUP_LIBS}
     118#unset LD_LIBRARY_PATH
     119
     120
    114121if test "x$gmp_found" != "xyes"; then
    115122        if test -n "$gmp_problem"; then
     
    122129fi
    123130
    124 
    125 CFLAGS=${BACKUP_CFLAGS}
    126 LIBS=${BACKUP_LIBS}
    127 #unset LD_LIBRARY_PATH
    128 
     131AM_CONDITIONAL(SING_HAVE_GMP, test "x$HAVE_GMP" = "xyes")
    129132])
  • m4/mathic-check.m4

    r1dbfb4 rf30df9  
    2626    [AC_MSG_ERROR([Cannot find the MathicGB library.])], [-lstdc++])
    2727  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])
    3029 ])
    3130 #
Note: See TracChangeset for help on using the changeset viewer.