Changeset cee403 in git for m4


Ignore:
Timestamp:
Dec 19, 2019, 3:19:28 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4bd32dfef92ec9f5ed8dceee82d14318ae147107')
Children:
8d9a6f7651e690ce452368c54cccba5d52d19f8baf5f1da9d058ba2d379f14d428c2ed690892ebdbb20fdc2aa7c8dbd219aa354f991190bb56f4b0a8e1d4fd42c3490bd994c38446c3b1757fe5b6961b
Parents:
852a8fc5de101dc335fa5c203013dd7056aba538
Message:
flint check
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/flint-check.m4

    r852a8f rcee403  
    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])
Note: See TracChangeset for help on using the changeset viewer.