Changeset b20fdc in git for m4


Ignore:
Timestamp:
Jan 7, 2020, 12:50:30 PM (4 years ago)
Author:
Murray Heymann <heymann.murray@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0d7b0d730875bbec6a77aef58999ff69444ca348
Parents:
732205bdd491ef2c8b4d3628ab66de417fee4e24cee403c5a1f8bde4382f98b1d27e086952d5f603
Message:
Merge branch 'spielwiese' into try_out
Location:
m4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • m4/flint-check.m4

    r732205 rb20fdc  
    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
    53                 FLINT_CFLAGS="-I${FLINT_HOME}/include/"
    54                 FLINT_LIBS="-L${FLINT_HOME}/lib"
    55         else
    56                 FLINT_CFLAGS=""
    57                 FLINT_LIBS=""
    58         fi
     52        FLINT_CFLAGS="-I${FLINT_HOME}/include/"
     53        FLINT_LIBS="-L${FLINT_HOME}/lib -lflint -lmpfr"
    5954
    6055        # we suppose that mpfr and mpir to be in the same place or available by default
    61         FLINT_LIBS="$FLINT_LIBS -lflint -lmpfr"
    62 
    6356        CFLAGS="${BACKUP_CFLAGS} ${FLINT_CFLAGS} ${GMP_CPPFLAGS}"
    6457        LIBS="${BACKUP_LIBS} ${FLINT_LIBS} ${GMP_LIBS}"
     
    9083        unset FLINT_LIBS
    9184        ])
    92 #else
    93 #       flint_found="no"
    94 #fi
     85else
     86        flint_found="no"
     87fi
    9588done
    9689AC_LANG_POP([C])
  • m4/options.m4

    r732205 rb20fdc  
    335335  bi_interval=false
    336336  bi_systhreads=false
     337  bi_loctriv=false
    337338
    338339
     
    373374       interval ) bi_interval=true ;;
    374375       systhreads ) bi_systhreads=true;;
     376       loctriv ) bi_loctriv=true;;
    375377      esac
    376378
     
    415417 AM_CONDITIONAL([SI_BUILTIN_INTERVAL], [test x$bi_interval = xtrue])
    416418 AM_CONDITIONAL([SI_BUILTIN_SYSTHREADS], [test x$bi_systhreads = xtrue])
     419 AM_CONDITIONAL([SI_BUILTIN_LOCTRIV], [test x$bi_loctriv = xtrue])
    417420 AM_CONDITIONAL([SI_BUILTIN_MACHINELEARNING], [test x$bi_machinelearning = xtrue])
    418421
  • m4/readline-check.m4

    r732205 rb20fdc  
    1818AC_ARG_WITH(
    1919  readline,
    20   [  --with-readline=[dynamic,static,no]
    21                         do use dynamic/static/no readline for fancy display])
     20  [  --with-readline=[dynamic,static,no,ncurses]
     21                        use dynamic/static/no readline/ncurses for fancy display])
    2222
    23 AC_CHECK_LIB(ncurses,tgetent,,\
    24  AC_CHECK_LIB(curses,tgetent,,\
    25   AC_CHECK_LIB(termcap,tgetent)))
     23if test "$with_readline" != no; then
     24 AC_CHECK_LIB(ncurses,tgetent,,\
     25  AC_CHECK_LIB(curses,tgetent,,\
     26   AC_CHECK_LIB(termcap,tgetent)))
     27fi
    2628
    2729# readline
Note: See TracChangeset for help on using the changeset viewer.