Annotation of rpl/configure.in, revision 1.87

1.1       bertrand    1: dnl Process this file with autoconf to produce a configure script.
1.76      bertrand    2: AC_INIT([rpl],[4.1.3])
1.1       bertrand    3: AC_CANONICAL_TARGET
                      4: AC_CANONICAL_TARGET
                      5: AM_INIT_AUTOMAKE
                      6: AC_SUBST(target_cpu)
                      7: AC_CONFIG_HEADERS([rplconfig.h])
                      8: 
                      9: dnl Libraries
1.56      bertrand   10: NCURSES=ncurses-5.9
1.52      bertrand   11: READLINE=readline-6.2
1.31      bertrand   12: UNITS=units-1.88
1.59      bertrand   13: GSL=gsl-1.15
1.75      bertrand   14: GPP=gpp-3.0
1.54      bertrand   15: GNUPLOT=gnuplot-4.4.3
1.1       bertrand   16: FILE=file-5.03
                     17: ICONV=libiconv-1.13.1
1.72      bertrand   18: SQLITE=sqlite-3.7.7.1
1.77      bertrand   19: OPENSSL=openssl-1.0.0e
1.83      bertrand   20: OPENMOTIF=openmotif-2.3.3
1.84      bertrand   21: LIBXPM=libXpm-3.5.9
1.79      bertrand   22: SIGSEGV=libsigsegv-2.6
1.1       bertrand   23: 
1.77      bertrand   24: GMP=gmp-5.0.2
1.57      bertrand   25: MPFR=mpfr-3.0.1
1.58      bertrand   26: NTL=ntl-5.5.2
                     27: COCOA=CoCoALib-0.9943
1.79      bertrand   28: PARI=pari-2.5.0
1.70      bertrand   29: GIAC=giac-0.9.3
1.57      bertrand   30: 
1.1       bertrand   31: dnl Checks for C compiler
1.24      bertrand   32: AC_PROG_CC(gcc)
1.1       bertrand   33: 
1.31      bertrand   34: EXT_SQL=
                     35: 
1.1       bertrand   36: if test x"$CC" != x""; then
                     37:    GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                     38:            awk -F. '{ printf("%s", $1);}'`
                     39:    GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                     40:            awk -F. '{ printf("%s", $2);}'`
1.24      bertrand   41:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.1       bertrand   42:        OPTIMISATION_C=-O3
                     43:    else
1.24      bertrand   44:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
                     45:                then
1.1       bertrand   46:            OPTIMISATION_C=-O3
                     47:        else
1.24      bertrand   48:            if test $GCC_VERSION_MAJEURE -ge 2; then
                     49:                OPTIMISATION_C=-O2
                     50:            else
                     51:                AC_MSG_ERROR([Cannot find decent or recent gcc (gcc-4.2 or better)!])
                     52:            fi
1.1       bertrand   53:        fi
                     54:    fi
                     55: fi
                     56: 
                     57: AM_PROG_CC_C_O
                     58: 
                     59: if test "$GCC" != yes; then
                     60:    AC_MSG_ERROR([Cannot find gcc! You have to install it.])
                     61: fi
                     62: 
                     63: dnl Checks for C++ compiler
1.24      bertrand   64: AC_PROG_CXX(g++)
1.1       bertrand   65: 
1.72      bertrand   66: if test "$CXX" != "g++"; then
1.1       bertrand   67:    AC_MSG_ERROR([Cannot find g++! You have to install it.])
                     68: fi
                     69: 
1.72      bertrand   70: if test x"$CXX" != x""; then
                     71:    GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                     72:            awk -F. '{ printf("%s", $1);}'`
                     73:    GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                     74:            awk -F. '{ printf("%s", $2);}'`
                     75:    if test $GCC_VERSION_MAJEURE -ge 5; then
                     76:        OPTIMISATION_GXX=-O3
                     77:    else
                     78:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
                     79:            OPTIMISATION_GXX=-O3
                     80:        else
                     81:            if test $GCC_VERSION_MAJEURE -ge 3; then
                     82:                OPTIMISATION_GXX=-O2
                     83:            else
                     84:                AC_MSG_ERROR([Cannot find decent or recent g++ (g++-4.3 or better)!])
                     85:            fi
                     86:        fi
                     87:    fi
                     88: fi
                     89: 
1.1       bertrand   90: dnl Checks for Fortran 77 compiler
1.24      bertrand   91: AC_PROG_F77(gfortran)
1.1       bertrand   92: 
                     93: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
                     94:    AC_MSG_ERROR([Cannot find gfortran! You have to install it.])
                     95: fi
                     96: 
                     97: dnl Check for Fortran 9* compiler
1.24      bertrand   98: AC_PROG_FC(gfortran)
1.1       bertrand   99: 
                    100: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
                    101:    AC_MSG_ERROR([Cannot find gfortran! You have to install it.])
                    102: fi
                    103: 
                    104: if test x"$FC" != x""; then
                    105:    GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                    106:            awk -F. '{ printf("%s", $1);}'`
                    107:    GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                    108:            awk -F. '{ printf("%s", $2);}'`
1.24      bertrand  109:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.1       bertrand  110:        OPTIMISATION_F=-O3
                    111:    else
1.24      bertrand  112:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
1.1       bertrand  113:            OPTIMISATION_F=-O3
                    114:        else
1.24      bertrand  115:            if test $GCC_VERSION_MAJEURE -ge 3; then
                    116:                OPTIMISATION_F=-O2
                    117:            else
                    118:                AC_MSG_ERROR([Cannot find decent or recent gfortran (gfortran-4.3 or better)!])
                    119:            fi
1.1       bertrand  120:        fi
                    121:    fi
                    122: fi
                    123: 
                    124: dnl X paths
                    125: AC_PATH_X
                    126: AC_PATH_XTRA
                    127: 
                    128: if test "$ac_x_includes" != "no"; then
                    129:    if test x"$ac_x_includes" != x; then
                    130:        X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
                    131:        includeX="-I$ac_x_includes"
                    132:    fi
                    133: fi
                    134: if test "$ac_x_libraries" != "no"; then
                    135:    if test x"$ac_x_libraries" != x; then
                    136:        X_LIBS="$X_LIBS -L$ac_x_libraries"
                    137:    fi
                    138: fi
                    139: 
1.66      bertrand  140: dnl 32 bits ABI
1.72      bertrand  141: AC_ARG_WITH(32bits-abi,
1.66      bertrand  142: [  --with-32bits-abi       force 32bits ABI (multilib)],[
                    143: if test "$with-32bits-abi" = "no"; then
1.69      bertrand  144:    ABI=
1.66      bertrand  145: else
1.68      bertrand  146:    ABI=-m32
1.67      bertrand  147: fi],[
1.71      bertrand  148:    ABI=
1.66      bertrand  149:    ]
                    150: )
                    151: 
1.71      bertrand  152: if test x$ABI = x; then
1.72      bertrand  153: AC_ARG_WITH(64bits-abi,
1.70      bertrand  154: [  --with-64bits-abi       force 64bits ABI (multilib)],[
                    155: if test "$with-64bits-abi" = "no"; then
                    156:    ABI=
                    157: else
                    158:    ABI=-m64
                    159: fi],[
1.71      bertrand  160:    ABI=
1.70      bertrand  161:    ]
                    162: )
1.71      bertrand  163: fi
1.70      bertrand  164: 
1.72      bertrand  165: LDFLAGS="$LDFLAGS $ABI"
                    166: 
1.70      bertrand  167: dnl RPL/CAS support
                    168: AC_ARG_WITH(rplcas,
                    169: [  --with-rplcas           compile rplcas (default=no)],[
                    170: if test "$with-rplcas" = "no"; then
                    171:    RPLCAS=-URPLCAS
                    172:    LIBRPLCAS=
                    173: else
                    174:    RPLCAS=-DRPLCAS
                    175:    LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
                    176: fi],[
                    177:    RPLCAS=-URPLCAS
                    178:    LIBRPLCAS=
                    179:    ]
                    180: )
                    181: 
1.69      bertrand  182: AC_SUBST(ABI)
1.70      bertrand  183: AC_SUBST(RPLCAS)
                    184: AC_SUBST(LIBRPLCAS)
1.68      bertrand  185: 
1.1       bertrand  186: dnl Options
                    187: AC_ARG_ENABLE(optimization,
                    188: [  --enable-optimization   set compiler flags [[default=environment variables -O3]]], [
                    189: if test "$enableval" = "no"; then
1.72      bertrand  190:    CFLAGS=$ABI
                    191:    FFLAGS=$ABI
                    192:    CXXFLAGS=$ABI
                    193:    FCFLAGS=$ABI
                    194: else
                    195:    CFLAGS="$CFLAGS $ABI $enable_optimization"
                    196:    FFLAGS="$FFLAGS $ABI $enable_optimization"
                    197:    CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
                    198:    FCFLAGS="$FCFLAGS $ABI $enable_optimization"
1.1       bertrand  199: fi],[
1.72      bertrand  200:    CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
                    201:    FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
                    202:    CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
                    203:    FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
1.1       bertrand  204:    ]
                    205: )
                    206: 
1.38      bertrand  207: AC_ARG_ENABLE(sysv-semaphores,
1.85      bertrand  208: [  --enable-sysv-ipcs      use SystemV IPC functions [[default=guessed]]], [
1.38      bertrand  209: if test "$enableval" = "no"; then
                    210:    IPCS_SYSV=no
                    211: else
                    212:    IPCS_SYSV=yes
                    213: fi],
1.85      bertrand  214: [AC_MSG_CHECKING([for POSIX semaphores])
                    215: AC_COMPILE_IFELSE(
                    216: [AC_LANG_PROGRAM([#include <sys/mman.h>
                    217: #include <sys/stat.h>
1.87    ! bertrand  218: #include <fcntl.h>
        !           219:  ],
1.85      bertrand  220: [ int fd; char *sem = "/sem.test";
                    221: fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
                    222:   close(fd);
                    223:   shm_unlink(sem);
                    224:   return(0);
                    225: ])],
                    226: [IPCS_SYSV=-UIPCS_SYSV; AC_MSG_RESULT(yes)],
                    227: [IPCS_SYSV=-DIPCS_SYSV; AC_MSG_RESULT(no)]
                    228:    )]
                    229: )
                    230: 
                    231: if test "$IPCS_SYSV" = "-UIPCS_SYSV"; then
                    232: REG=$LDFLAGS
                    233: LDFLAGS=-pthread
1.87    ! bertrand  234: [AC_MSG_CHECKING([for POSIX anonymous semaphores])
1.85      bertrand  235: AC_RUN_IFELSE(
                    236: [AC_LANG_PROGRAM([#include <semaphore.h>
                    237:  ],
                    238: [ sem_t sem;
                    239:  if (sem_init(&sem, 1, 0) != 0) return(1);
                    240:  sem_destroy(&sem);
                    241:   return(0);
                    242: ])],
                    243: [SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; AC_MSG_RESULT(yes)],
                    244: [SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)],
                    245:    )]
                    246: LDFLAGS=$REG
                    247: REG=""
                    248: else
                    249:    SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
                    250: fi
1.38      bertrand  251: 
1.31      bertrand  252: AC_ARG_ENABLE(full-static,
                    253: [  --enable-full-static    build static RPL/2 engine [[default=shared]]], [
                    254: if test "$enableval" = "no"; then
                    255:    STATIC=no
                    256: else
                    257:    STATIC=yes
                    258: fi],
                    259: STATIC=no)
                    260: 
1.1       bertrand  261: AC_ARG_ENABLE(final-encoding,
                    262: [  --enable-final-encoding force final encoding [[default=guessed]]], [
                    263: if test "$enableval" = "no"; then
1.8       bertrand  264:    FINAL_ENCODING="\$(shell locale charmap | \
1.14      bertrand  265:        \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
1.37      bertrand  266:    FORCED_FINAL_ENCODING=0
1.1       bertrand  267: else
                    268:    FINAL_ENCODING="$enable_final_encoding"
1.37      bertrand  269:    FORCED_FINAL_ENCODING=1
                    270: fi], [
                    271: FORCED_FINAL_ENCODING=0
1.8       bertrand  272: FINAL_ENCODING="\$(shell locale charmap | \
1.37      bertrand  273:    \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"])
1.1       bertrand  274: 
                    275: AC_ARG_ENABLE(tex,
                    276: [  --enable-tex            provide the TeX support [[default=guessed]]], [
                    277: if test "$enableval" = "no"; then
                    278:    TEX_SUPPORT=no
                    279: else
                    280:    TEX_SUPPORT=yes
                    281: fi],
                    282: TEX_SUPPORT=guessed)
                    283: 
                    284: AC_ARG_ENABLE(vim,
                    285: [  --enable-vim            provide the vim support [[default=guessed]]], [
                    286: if test "$enableval" = "no"; then
                    287:    VIM_SUPPORT=no
                    288: else
                    289:    VIM_SUPPORT=yes
                    290: fi],
                    291: VIM_SUPPORT=guessed)
                    292: 
                    293: AC_ARG_ENABLE(embedded-gnuplot,
                    294: [  --enable-embedded-gnuplot build gnuplot provided by this package [[default=yes]]], [
                    295: if test "$enableval" = "no"; then
                    296:    MYGNUPLOT=no
                    297: else
                    298:    MYGNUPLOT=yes
                    299: fi], [
                    300: MYGNUPLOT=yes])
                    301: 
                    302: AC_ARG_ENABLE(gnuplot,
                    303: [  --enable-gnuplot        provide the GnuPlot support [[default=guessed]]],
                    304: [
                    305: if test "$enableval" = "no"; then
                    306:    GNUPLOT_SUPPORT=no
                    307:    MYGNUPLOT=no
                    308:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                    309: else
                    310:    GNUPLOT_SUPPORT=yes
                    311:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                    312: fi], [
                    313: if test "$MYGNUPLOT" = "yes"; then
                    314:    GNUPLOT_SUPPORT=yes
                    315:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                    316: else
                    317:    GNUPLOT_SUPPORT=guessed
                    318:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                    319: fi])
                    320: 
1.84      bertrand  321: libX=""
                    322: LIBMOTIF=""
                    323: INCMOTIF=""
                    324: BUILD_OPENMOTIF=""
                    325: 
1.1       bertrand  326: AC_ARG_ENABLE(motif,
                    327: [  --enable-motif          provide the Motif support [[default=guessed]]], [
                    328: if test "$enableval" = "no"; then
                    329:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
                    330: else
1.84      bertrand  331:    MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.1       bertrand  332: fi],
1.84      bertrand  333: if test "$have_x" == "yes"; then
                    334:    MOTIF_SUPPORT="-DMOTIF_SUPPORT"
                    335: else
                    336:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
                    337: fi)
                    338: 
                    339: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
                    340:    libX="$X_LIBS -lXt -lX11"
                    341:    LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
                    342:            \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
                    343:    INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
                    344:            -I\$(top_builddir)/tools/$OPENMOTIF/lib \
                    345:            -I\$(top_builddir)/tools/$LIBXPM/include"
                    346:    BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
                    347:    AC_CONFIG_SUBDIRS(tools/$LIBXPM)
                    348:    AC_CONFIG_SUBDIRS(tools/$OPENMOTIF)
                    349: fi
1.1       bertrand  350: 
                    351: AC_ARG_ENABLE(experimental,
                    352: [  --enable-experimental   enable experimental code [[default=no]]], [
                    353: if test "$enableval" = "no"; then
                    354:    EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
                    355: else
                    356:    EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
                    357: fi],
                    358: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE")
                    359: 
                    360: AC_ARG_ENABLE(debug,
                    361: [  --enable-debug          enable debug code [[default=no]]], [
                    362: if test "$enableval" = "no"; then
1.25      bertrand  363:    DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.1       bertrand  364: else
1.25      bertrand  365:    DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.45      bertrand  366: fi], [DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"])
1.1       bertrand  367: 
                    368: AC_ARG_ENABLE(profile,
                    369: [  --enable-profile        enable profile code [[default=no]]], [
                    370: if test "$enableval" = "no"; then
                    371:    PROFILAGE=""
                    372: else
                    373:    PROFILAGE="-pg"
                    374: fi], [PROFILAGE=""])
                    375: 
                    376: AC_SUBST(PROFILAGE)
                    377: 
                    378: if test ! -d tools; then
                    379:    mkdir tools
                    380: fi
                    381: if test ! -d "$srcdir"/tools/$NCURSES; then
                    382:    gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
                    383:            (cd "$srcdir/tools" && tar -xf -)
1.53      bertrand  384:    (cd "$srcdir/tools/"$NCURSES && \
                    385:            for i in ../$NCURSES*.patch.gz;
                    386:            do gunzip -c $i | patch -p1;
                    387:            done);
1.1       bertrand  388: fi
                    389: if test ! -d "$srcdir"/tools/$READLINE; then
                    390:    gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
                    391:            (cd "$srcdir/tools" && tar -xf -)
                    392: fi
                    393: if test ! -d "$srcdir"/tools/$UNITS; then
                    394:    gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
                    395:            (cd "$srcdir/tools" && tar -xf -)
                    396: fi
                    397: if test ! -d "$srcdir"/tools/$GSL; then
                    398:    gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
                    399:            (cd "$srcdir/tools" && tar -xf -)
1.34      bertrand  400:    if test $(uname) = "OS/2"; then
                    401:        (cd "$srcdir"/tools/$GSL; \
                    402:                TMP=$(mktemp tmp.XXXXXXXXXX); \
                    403:                sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
                    404:                \mv -f $TMP ltmain.sh)
                    405:    fi
1.1       bertrand  406: fi
                    407: if test ! -d "$srcdir"/tools/$GPP; then
                    408:    gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
                    409:            (cd "$srcdir/tools" && tar -xf -)
                    410: fi
                    411: if test ! -d "$srcdir"/tools/$FILE; then
                    412:    gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
1.3       bertrand  413:            (cd "$srcdir/tools" && tar -xf - )
1.4       bertrand  414:    (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
1.1       bertrand  415: fi
                    416: if test ! -d "$srcdir"/tools/$ICONV; then
                    417:    gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
                    418:            (cd "$srcdir/tools" && tar -xf -)
                    419: fi
1.10      bertrand  420: if test ! -d "$srcdir"/tools/$SQLITE; then
                    421:    gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
                    422:            (cd "$srcdir/tools" && tar -xf -)
                    423: fi
1.79      bertrand  424: if test ! -d "$srcdir"/tools/$SIGSEGV; then
                    425:    gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
                    426:            (cd "$srcdir/tools" && tar -xf -)
                    427: fi
1.84      bertrand  428: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
                    429:    gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
                    430:            (cd "$srcdir/tools" && tar -xf -)
                    431: fi
                    432: if test ! -d "$srcdir"/tools/$LIBXPM; then
                    433:    gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
                    434:            (cd "$srcdir/tools" && tar -xf -)
                    435: fi
1.10      bertrand  436: if test ! -d tools/$OPENSSL; then
                    437:    gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
1.15      bertrand  438:            (cd tools && tar -xf -)
1.10      bertrand  439: fi
1.57      bertrand  440: if test ! -d rplcas; then
                    441:    mkdir rplcas
                    442: fi
                    443: if test ! -d "$srcdir"/rplcas/$GMP; then
                    444:    gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
                    445:            (cd "$srcdir/rplcas" && tar -xf -)
                    446: fi
                    447: if test ! -d "$srcdir"/rplcas/$MPFR; then
                    448:    gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
                    449:            (cd "$srcdir/rplcas" && tar -xf -)
                    450: fi
1.58      bertrand  451: if test ! -d rplcas/$NTL; then
                    452:    gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
                    453:            (cd rplcas && tar -xf -)
                    454: fi
                    455: if test ! -d rplcas/$COCOA; then
                    456:    gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
                    457:            (cd rplcas && tar -xf -)
                    458: fi
                    459: if test ! -d rplcas/$PARI; then
                    460:    gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
                    461:            (cd rplcas && tar -xf -)
                    462: fi
                    463: if test ! -d "$srcdir"/rplcas/$GIAC; then
                    464:    gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
                    465:            (cd "$srcdir/rplcas" && tar -xf -)
                    466: fi
1.1       bertrand  467: 
                    468: dnl Default installation directory
                    469: AC_PREFIX_DEFAULT(/usr/local)
                    470: 
                    471: dnl Set final install path
                    472: AC_ARG_ENABLE(final-run-path,
                    473:              [  --enable-final-run-path=PATH enable another final run path than PREFIX], [
                    474:    if test "x$enable_final_run_path" = "x"; then
                    475:        AC_MSG_NOTICE("No path with --enable-final-run-path.")
                    476:        AC_MSG_ERROR("You should specify final path !")
                    477:    else
                    478:        RUNPATH="$enable_final_run_path"
                    479:    fi
                    480: ],
                    481: RUNPATH="\${prefix}"
                    482: )
                    483: AC_SUBST(RUNPATH)
                    484: 
                    485: dnl Checks for programs
                    486: AC_PROG_INSTALL
                    487: AC_PROG_LN_S
                    488: AC_PROG_MAKE_SET
                    489: AC_PROG_RANLIB
                    490: 
1.13      bertrand  491: dnl Checks for nawk
                    492: AC_CHECK_PROG(AWK, nawk, yes, no)
1.1       bertrand  493: if test "$AWK" = no; then
1.41      bertrand  494:    AC_CHECK_PROG(AWK, gawk, yes, no)
                    495:    if test "$AWK" = no; then
                    496:        AC_MSG_ERROR([Can not find nawk !])
                    497:    fi
1.1       bertrand  498: fi
                    499: 
                    500: dnl Checks for sed
                    501: AC_CHECK_PROG(SED, sed, yes, no)
                    502: if test "$SED" = no; then
                    503:    AC_MSG_ERROR([Can not find sed !])
                    504: fi
                    505: 
                    506: dnl Checks for TeX, LaTeX, dvips, gs, gv, vim and gnuplot
                    507: if test "$TEX_SUPPORT" = guessed; then
                    508:    POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
                    509: 
                    510:    AC_CHECK_PROG(TEX, tex, yes, no)
                    511:    if test "$TEX" = no; then
                    512:        AC_MSG_WARN([Cannot find TeX! You may install it.
                    513: Download at http://tex.loria.fr/
                    514: ])
                    515:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    516:    fi
                    517: 
                    518:    AC_CHECK_PROG(LATEX, latex, yes, no)
                    519:    if test "$LATEX" = no; then
                    520:        AC_MSG_WARN([Cannot find LaTeX! You may install it.
                    521: Download at http://tex.loria.fr/
                    522: ])
                    523:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    524:    fi
                    525: 
                    526:    AC_CHECK_PROG(DVIPS, dvips, yes, no)
                    527:    if test "$DVIPS" = no; then
                    528:        AC_MSG_WARN([Cannot find dvips! You may install it.
                    529: Download at http://tex.loria.fr/
                    530: ])
                    531:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    532:    fi
                    533: 
                    534:    AC_CHECK_PROG(GS, gs, yes, no)
                    535:    if test "$GS" = no; then
                    536:        AC_MSG_WARN([Cannot find gs! You may install it.
                    537: Download at http://ftp.lip6.fr/
                    538: ])
                    539:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    540:    fi
                    541: 
                    542:    AC_CHECK_PROG(GV, gv, yes, no)
                    543:    if test "$GV" = no; then
                    544:        AC_MSG_WARN([Cannot find gv! You may install it.
                    545: Download at http://ftp.lip6.fr/
                    546: ])
                    547:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    548:    fi
                    549: else
                    550:    if test "$TEX_SUPPORT" = no; then
                    551:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                    552:    else
                    553:        POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
                    554:    fi
                    555: fi
                    556: 
                    557: if test "$GNUPLOT_SUPPORT" = guessed; then
                    558:    AC_CHECK_PROG(GNUPLOT_P, gnuplot, yes, no)
                    559:    if test "$GNUPLOT_P" = no; then
                    560:        AC_MSG_WARN([Cannot find gnuplot! You may install it.
                    561: Download at http://www.gnuplot.vt.edu/
                    562: ])
                    563:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                    564:    else
                    565:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                    566:    fi
                    567: else
                    568:    if test "$GNUPLOT_SUPPORT" = no; then
                    569:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                    570:    else
                    571:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                    572:    fi
                    573: fi
                    574: 
                    575: if test "$VIM_SUPPORT" = guessed; then
                    576:    AC_CHECK_PROG(VIM, vim, yes, no)
                    577:    if test "$VIM" = no; then
                    578:        AC_MSG_WARN([Cannot find vim! You may install it.
                    579: Download at http://www.vim.org/
                    580: ])
                    581:        VIM_SUPPORT="-UVIM_SUPPORT"
                    582:    else
                    583:        VIM_SUPPORT="-DVIM_SUPPORT"
                    584:    fi
                    585: else
                    586:    if test "$VIM_SUPPORT" = no; then
                    587:        VIM_SUPPORT="-UVIM_SUPPORT"
                    588:    else
                    589:        VIM_SUPPORT="-DVIM_SUPPORT"
                    590:    fi
                    591: fi
                    592: 
                    593: dnl Substitutions
                    594: AC_SUBST(GNUPLOT_SUPPORT)
                    595: AC_SUBST(FORCE_GNUPLOT_PATH)
                    596: AC_SUBST(POSTSCRIPT_SUPPORT)
                    597: AC_SUBST(VIM_SUPPORT)
                    598: AC_SUBST(EXPERIMENTAL_CODE)
                    599: AC_SUBST(DEBUG)
                    600: AC_SUBST(MOTIF_SUPPORT)
                    601: AC_SUBST(libX)
                    602: AC_SUBST(includeX)
                    603: 
                    604: dnl Date
                    605: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
                    606: AC_SUBST(DATE)
                    607: 
                    608: dnl Checks for libraries
                    609: AC_CHECK_LIB(m, main,, AC_MSG_ERROR([Can not find libm !]))
                    610: AC_CHECK_LIB(pthread, main,, AC_MSG_ERROR([Can not find libpthread !]))
                    611: 
1.34      bertrand  612: dnl Check for union semun
                    613: AC_CHECK_TYPE([union semun], SEMUN=-DUNION_SEMUN, SEMUN=-UUNION_SEMUN, [[
                    614: #include <sys/sem.h>
                    615: ]])
                    616: 
1.35      bertrand  617: dnl Check for IPv6 support
                    618: AC_CHECK_TYPE([struct sockaddr_in6], IPV6=-DIPV6, IPV6=-UIPV6, [[
1.37      bertrand  619: #include <sys/types.h>
1.35      bertrand  620: #include <netinet/in.h>
                    621: ]])
                    622: 
1.1       bertrand  623: dnl Do we need to use -ldl?
                    624: if test "$CYGWIN" != yes; then
                    625:    AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl",
                    626:            AC_MSG_WARN([libdl doesn't seem to be needed on this system.]))
                    627: fi
                    628: 
                    629: dnl Do we need to use -lrt?
                    630: AC_CHECK_LIB(rt, nanosleep, LIBS="$LIBS -lrt",
                    631:        AC_MSG_WARN([librt doesn't seem to be needed on this system.]))
                    632: 
                    633: dnl Do we need to use -lsocket?
                    634: AC_CHECK_LIB(socket, bind, LIBS="$LIBS -lsocket",
                    635:        AC_MSG_WARN([libsocket doesn't seem to be needed on this system.]))
                    636: 
                    637: dnl Check for SQL libraries
                    638: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                    639: AC_ARG_WITH(mysql,
                    640: [  --with-mysql=PATH         specify directory for installed mysql],
                    641: [], [with_mysql=check])
                    642: 
                    643: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
                    644:    libMySQLinc="-I/usr/include"
1.31      bertrand  645:    libMySQLlib="/usr/lib"
1.1       bertrand  646: 
                    647:    AC_MSG_CHECKING(for libmysql includes in /usr/include)
                    648:    saved_CFLAGS="$CFLAGS"
1.31      bertrand  649:    CFLAGS="$CFLAGS -L/$libMySQLinc"
1.1       bertrand  650:    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    651:                    libMySQLinc=$libMySQLinc/mysql],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    652:    CFLAGS=$saved_CFLAGS
                    653: 
                    654:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                    655:        AC_MSG_CHECKING(for libmysql includes in /usr/include/mysql)
                    656:        saved_CFLAGS="$CFLAGS"
                    657:        CFLAGS="$CFLAGS $libMySQLinc/mysql"
                    658:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    659:                        libMySQLinc=$libMySQLinc],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    660:        CFLAGS=$saved_CFLAGS
                    661:        libMySQLinc=$libMySQLinc/mysql
                    662:    fi
                    663: 
                    664:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                    665:        AC_MSG_CHECKING(for libmysql includes in /usr/local/include)
                    666:        saved_CFLAGS="$CFLAGS"
                    667:        CFLAGS="$CFLAGS $libMySQLinc/../local/include"
                    668:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    669:                        libMySQLinc=$libMySQLinc/mysql],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    670:        CFLAGS=$saved_CFLAGS
                    671:        libMySQLinc=$libMySQLinc/../local/include
                    672:        libMySQLlib=$libMySQLlib/../local/lib
                    673:    fi
                    674: 
                    675:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                    676:        AC_MSG_CHECKING(for libmysql includes in /usr/local/include/mysql)
                    677:        saved_CFLAGS="$CFLAGS"
                    678:        CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
                    679:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    680:                        libMySQLinc=$libMySQLinc/mysql],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    681:        CFLAGS=$saved_CFLAGS
                    682:        libMySQLinc=$libMySQLinc/../local/include/mysql
                    683:        libMySQLlib=$libMySQLlib/../local/lib
                    684:    fi
                    685: else
                    686:    if test "x$with_mysql" != xno; then
                    687:        libMySQLinc="-I$with_mysql/include"
1.31      bertrand  688:        libMySQLlib="$with_mysql/lib"
1.1       bertrand  689: 
                    690:        AC_MSG_CHECKING(for libmysql includes in $with_mysql)
                    691:        saved_CFLAGS="$CFLAGS"
                    692:        CFLAGS="$CFLAGS $libMySQLinc"
                    693:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    694:                        libMySQLinc=$libMySQLinc/mysql],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    695:        CFLAGS=$saved_CFLAGS
                    696: 
                    697:        if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                    698:            AC_MSG_CHECKING(for libmysql includes in $with_mysql/mysql)
                    699:            saved_CFLAGS="$CFLAGS"
                    700:            CFLAGS="$CFLAGS $libMySQLinc/mysql"
                    701:            AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[]])],[AC_MSG_RESULT([yes]); MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                    702:                            libMySQLinc=$libMySQLinc],[AC_MSG_RESULT([no]); MYSQL_SUPPORT="-UMYSQL_SUPPORT"])
                    703:            CFLAGS=$saved_CFLAGS
                    704:            libMySQLinc=$libMySQLinc/mysql
                    705:        fi
                    706:    else
                    707:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                    708:    fi
                    709: fi
                    710: 
                    711: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
                    712:    MYSQL_LIB=no
                    713: 
                    714:    if test $MYSQL_LIB = no; then
                    715:        AC_MSG_CHECKING(for libmysql libraries in $libMySQLlib)
                    716:        saved_LIBS="$LIBS"
1.31      bertrand  717:        if test $STATIC = no; then
                    718:            LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
                    719:        else
                    720:            LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
                    721:        fi
1.1       bertrand  722:        AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "mysql.h"]], [[MYSQL mysql; mysql_init(&mysql);]])],[AC_MSG_RESULT([yes]); MYSQL_LIB="yes"],[AC_MSG_RESULT([no]); MYSQL_LIB="no"])
                    723:        LIBS=$saved_LIBS;
1.31      bertrand  724:        if test $STATIC = no; then
                    725:            libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
                    726:        else
                    727:            libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
                    728:            EXT_SQL="$EXT_SQL $libMySQLlib"
                    729:        fi
1.1       bertrand  730:    fi
                    731: 
                    732:    if test $MYSQL_LIB = no; then
                    733:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                    734:    fi
                    735: fi
                    736: 
                    737: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
                    738:    libMySQLinc=
                    739:    libMySQLlib=
                    740: fi
                    741: 
                    742: AC_SUBST(MYSQL_SUPPORT)
                    743: AC_SUBST(libMySQLinc)
                    744: AC_SUBST(libMySQLlib)
                    745: 
                    746: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
                    747: AC_ARG_WITH(postgresql,
                    748: [  --with-postgresql=PATH    specify directory for installed postgresql],
                    749: [], [with_postgresql=check])
                    750: 
                    751: # with_postgresql : check [pas défini], yes [uniquement --with],
                    752: # no [--without], valeur [--with=valeur].
                    753: 
                    754: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
                    755:    libPgSQLinc="-I/usr/include"
1.31      bertrand  756:    libPgSQLlib="/usr/lib"
1.1       bertrand  757: 
                    758:    AC_MSG_CHECKING(for libpq includes in /usr/include)
                    759:    saved_CFLAGS="$CFLAGS"
                    760:    CFLAGS="$CFLAGS $libPgSQLinc"
                    761:    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]); POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]); POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    762:    CFLAGS=$saved_CFLAGS
                    763: 
                    764:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    765:        AC_MSG_CHECKING(for libpq includes in /usr/include/postgresql)
                    766:        saved_CFLAGS="$CFLAGS"
                    767:        CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                    768:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    769:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    770:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    771:        CFLAGS=$saved_CFLAGS
                    772:        libPgSQLinc=$libPgSQLinc/postgresql
                    773:    fi
                    774: 
                    775:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    776:        AC_MSG_CHECKING(for libpq includes in /usr/include/pgsql)
                    777:        saved_CFLAGS="$CFLAGS"
                    778:        CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                    779:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    780:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    781:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    782:        CFLAGS=$saved_CFLAGS
                    783:        libPgSQLinc=$libPgSQLinc/pgsql
                    784:    fi
                    785: 
                    786:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    787:        AC_MSG_CHECKING(for libpq includes in /usr/local/include)
                    788:        saved_CFLAGS="$CFLAGS"
                    789:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
                    790:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    791:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    792:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    793:        CFLAGS=$saved_CFLAGS
                    794:        libPgSQLinc=$libPgSQLinc/../local/include
                    795:        libPgSQLlib=$libPgSQLlib/../local/lib
                    796:    fi
                    797: 
                    798:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    799:        AC_MSG_CHECKING(for libpq includes in /usr/local/include/postgresql)
                    800:        saved_CFLAGS="$CFLAGS"
                    801:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
                    802:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    803:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    804:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    805:        CFLAGS=$saved_CFLAGS
                    806:        libPgSQLinc=$libPgSQLinc/../local/include/postgresql
                    807:        libPgSQLlib=$libPgSQLlib/../local/lib
                    808:    fi
                    809: 
                    810:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    811:        AC_MSG_CHECKING(for libpq includes in /usr/local/include/pgsql)
                    812:        saved_CFLAGS="$CFLAGS"
                    813:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
                    814:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    815:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    816:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    817:        CFLAGS=$saved_CFLAGS
                    818:        libPgSQLinc=$libPgSQLinc/local/include/pgsql
                    819:        libPgSQLlib=$libPgSQLlib/../local/lib
                    820:    fi
                    821: else
                    822:    if test "x$with_postgresql" != xno; then
                    823:        libPgSQLinc="-I$with_postgresql/include"
1.31      bertrand  824:        libPgSQLlib="$with_postgresql/lib"
1.1       bertrand  825: 
                    826:        AC_MSG_CHECKING(for libpq includes in $libPgSQLinc)
                    827:        saved_CFLAGS="$CFLAGS"
                    828:        CFLAGS="$CFLAGS $libPgSQLinc"
                    829:        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    830:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    831:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    832:        CFLAGS=$saved_CFLAGS
                    833: 
                    834:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    835:            AC_MSG_CHECKING(for libpq includes in $libPgSQLinc/postgresql)
                    836:            saved_CFLAGS="$CFLAGS"
                    837:            CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                    838:            AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    839:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    840:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    841:            CFLAGS=$saved_CFLAGS
                    842:            libPgSQLinc=$libPgSQLinc/postgresql
                    843:        fi
                    844: 
                    845:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                    846:            AC_MSG_CHECKING(for libpq includes in $libPgSQLinc/pgsql)
                    847:            saved_CFLAGS="$CFLAGS"
                    848:            CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                    849:            AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[]])],[AC_MSG_RESULT([yes]);
                    850:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"],[AC_MSG_RESULT([no]);
                    851:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"])
                    852:            CFLAGS=$saved_CFLAGS
                    853:            libPgSQLinc=$libPgSQLinc/pgsql
                    854:        fi
                    855:    else
                    856:        POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                    857:    fi
                    858: fi
                    859: 
                    860: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
                    861:    POSTGRESQL_LIB=no
                    862: 
                    863:    if test $POSTGRESQL_LIB = no; then
                    864:        AC_MSG_CHECKING(for libpq libraries in $libPgSQLlib)
                    865:        saved_LIBS="$LIBS"
1.31      bertrand  866:        if test $STATIC = no; then
                    867:            LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
                    868:        else
                    869:            LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
                    870:        fi
1.1       bertrand  871:        AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "libpq-fe.h"]], [[PGconn *conn; const char *conninfo="dbname=postgres"; conn =
                    872:             PQconnectdb(conninfo);]])],[AC_MSG_RESULT([yes]); POSTGRESQL_LIB="yes"],[AC_MSG_RESULT([no]); POSTGRESQL_LIB="no"])
                    873:        LIBS=$saved_LIBS;
1.31      bertrand  874:        if test $STATIC = no; then
                    875:            libPgSQLlib="-L/$libPgSQLlib -lpq"
                    876:        else
                    877:            libPgSQLlib="$libPgSQLlib/libpq.a"
                    878:            EXT_SQL="$EXT_SQL $libPgSQLlib"
                    879:        fi
1.1       bertrand  880:    fi
                    881: fi
                    882: 
                    883: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
                    884:    libPgSQLinc=
                    885:    libPgSQLlib=
                    886: fi
                    887: 
                    888: AC_SUBST(POSTGRESQL_SUPPORT)
                    889: AC_SUBST(libPgSQLinc)
                    890: AC_SUBST(libPgSQLlib)
                    891: 
1.42      bertrand  892: # with_postgresql : check [pas défini], yes [uniquement --with],
                    893: # no [--without], valeur [--with=valeur].
                    894: AC_ARG_WITH(bourne_shell,
                    895: [  --with-bourne-shell=PATH  specify path for OS/2 bourne shell],
                    896: [], [with_bourne_shell=no])
                    897: 
                    898: if test "x$with_bourne_shell" = xyes; then
                    899:    AC_MSG_ERROR([You have to specify a valide shell path !])
                    900: fi
                    901: 
                    902: if test "x$with_bourne_shell" = xno; then
                    903:    if test $(uname) = "OS/2"; then
                    904:        AC_MSG_ERROR([With OS/2 or eComstation, you have to specify a valide shell path !])
                    905:    fi
                    906: 
                    907:    BSH_PATH=
                    908: else
                    909:    if test ! -x $with_bourne_shell; then
                    910:        AC_MSG_ERROR([$with_bourne_shell is not executable !])
                    911:    fi
                    912: 
                    913:    if test $(uname) = "OS/2"; then
1.43      bertrand  914:        with_os2_bourne_shell=$(echo $with_bourne_shell | \
                    915:                sed -e '1,$s/\//\\\\\\\\/g')
                    916:        BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
1.42      bertrand  917:    else
                    918:        AC_MSG_WARN([--with-bourne-shell ignored])
                    919:        BSH_PATH=
                    920:    fi
                    921: fi
                    922: 
1.1       bertrand  923: dnl Checks for sizes
                    924: AC_CHECK_SIZEOF(void *, 4)
                    925: AC_CHECK_SIZEOF(char, 1)
                    926: AC_CHECK_SIZEOF(short int, 2)
                    927: AC_CHECK_SIZEOF(int, 4)
                    928: AC_CHECK_SIZEOF(long int, 4)
                    929: AC_CHECK_SIZEOF(long long int, 8)
                    930: AC_CHECK_SIZEOF(float, 4)
                    931: AC_CHECK_SIZEOF(double, 8)
                    932: AC_CHECK_SIZEOF(long double, 12)
                    933: 
                    934: dnl Checks for header files.
                    935: AC_HEADER_DIRENT
                    936: AC_HEADER_STDC
                    937: AC_HEADER_SYS_WAIT
                    938: AC_CHECK_HEADERS(dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
                    939:        time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
                    940:        sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h)
                    941: 
                    942: dnl Checks for typedefs, structures, and compiler characteristics.
                    943: AC_C_CONST
                    944: AC_TYPE_UID_T
                    945: AC_TYPE_PID_T
                    946: AC_TYPE_SIZE_T
                    947: AC_HEADER_TIME
                    948: AC_STRUCT_TM
                    949: 
                    950: dnl Checks for library functions.
                    951: AC_DIAGNOSE([obsolete],[your code may safely assume C89 semantics that RETSIGTYPE is void.
                    952: Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.])dnl
                    953: AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE(
                    954: [AC_LANG_PROGRAM([#include <sys/types.h>
                    955: #include <signal.h>
                    956: ],
                    957:         [return *(signal (0, 0)) (0) == 1;])],
                    958:           [ac_cv_type_signal=int],
                    959:           [ac_cv_type_signal=void])])
                    960: AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
                    961:            (`int' or `void').])
                    962: 
                    963: AC_FUNC_STRCOLL
                    964: AC_FUNC_STRFTIME
                    965: AC_FUNC_VPRINTF
                    966: AC_CHECK_FUNCS(ftime getcwd putenv select strcspn strdup \
                    967:        strerror strspn strstr strtod)
                    968: 
1.16      bertrand  969: dnl Check for OpenSSL os/comp
                    970: AC_ARG_WITH(openssl_arch,
                    971: [  --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)],
                    972: [], [with_openssl_arch=none])
                    973: 
1.32      bertrand  974: if test $(uname) = "OS/2"; then
1.36      bertrand  975:    bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
1.16      bertrand  976: else
1.32      bertrand  977:    if test "x$with_openssl_arch" = xnone; then
1.70      bertrand  978:        (cd tools/$OPENSSL && ./config no-asm)
1.32      bertrand  979:    elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
                    980:        (cd tools/$OPENSSL && ./Configure)
                    981:        AC_MSG_ERROR([OS/COMP informations are required!])
                    982:    elif test "x$with_openssl_arch" = xlist; then
                    983:        (cd tools/$OPENSSL && ./Configure)
                    984:        AC_MSG_ERROR([Please specify OS and Architecture])
                    985:    else
1.70      bertrand  986:        (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
1.32      bertrand  987:    fi
1.16      bertrand  988: fi
1.1       bertrand  989: 
                    990: if test "$MYGNUPLOT" = "yes"; then
                    991:    if test ! -d "$srcdir"/tools/$GNUPLOT; then
                    992:        gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
                    993:                (cd "$srcdir/tools" && tar -xf -)
                    994:    fi
                    995:    AC_CONFIG_SUBDIRS(tools/$GNUPLOT)
                    996:    GNUPLOT_COMPILATION=$GNUPLOT
                    997: else
                    998:    GNUPLOT_COMPILATION=
                    999: fi
                   1000: 
                   1001: AC_SUBST(GNUPLOT_COMPILATION)
                   1002: 
1.72      bertrand 1003: HOST=$host
                   1004: AC_SUBST(HOST)
                   1005: 
1.1       bertrand 1006: case $host_cpu in
                   1007: 
                   1008:     i?86)
                   1009:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   1010:            -Wno-pointer-sign"
                   1011:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   1012:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   1013:    break ;;
                   1014: 
                   1015:    x86_64*)
                   1016:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   1017:            -Wno-pointer-sign"
                   1018:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   1019:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   1020:    break ;;
                   1021: 
                   1022:     alpha*)
                   1023:    CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
                   1024:            -Wno-pointer-sign"
                   1025:    FFLAGS="$FFLAGS -mieee -Wall"
                   1026:    FCFLAGS="$FCFLAGS -mieee -Wall"
                   1027:    break ;;
                   1028: 
                   1029:     sparc*)
                   1030:    CFLAGS="$CFLAGS -Wall -funsigned-char \
                   1031:            -Wno-pointer-sign"
                   1032:    FFLAGS="$FFLAGS -Wall"
                   1033:    FCFLAGS="$FCFLAGS -Wall"
                   1034:    break ;;
                   1035: 
                   1036: esac
                   1037: 
1.9       bertrand 1038: case $host_os in
                   1039: 
                   1040:    cygwin*)
                   1041:        OS=Cygwin
                   1042:    break ;;
                   1043: 
                   1044:    interix*)
                   1045:        OS=Interix
                   1046:    break ;;
                   1047: 
                   1048:    *)
                   1049:        OS=$(uname)
                   1050:    break ;;
                   1051: 
                   1052: esac
                   1053: 
                   1054: AC_SUBST(OS)
                   1055: 
1.1       bertrand 1056: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
                   1057: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
1.51      bertrand 1058: MALLOC=
1.1       bertrand 1059: 
1.23      bertrand 1060: case $OS in
1.18      bertrand 1061: 
                   1062:     Darwin)
1.32      bertrand 1063:        EXPORT_DYNAMIC=-Wl,-flat_namespace
1.18      bertrand 1064:        NESTED_FUNCTIONS=-fnested-functions
1.24      bertrand 1065:        CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
1.32      bertrand 1066:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1067:                --disable-shared --enable-static --enable-threads \
                   1068:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1069:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1070:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 1071:        C_STANDARD=-std=gnu99
1.78      bertrand 1072:        ELF=
1.18      bertrand 1073:    break ;;
                   1074: 
1.32      bertrand 1075:     Cygwin)
                   1076:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
1.18      bertrand 1077:        NESTED_FUNCTIONS=
1.32      bertrand 1078:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1079:                --disable-shared --enable-static --enable-threads \
                   1080:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1081:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1082:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 1083:        C_STANDARD=-std=gnu99
1.78      bertrand 1084:        ELF=
1.18      bertrand 1085:    break ;;
                   1086: 
1.35      bertrand 1087:    Interix)
                   1088:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
                   1089:        NESTED_FUNCTIONS=
                   1090:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1091:                --disable-shared --enable-static --enable-threads \
                   1092:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1093:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1094:                LDFLAGS=\"$LDFLAGS\""
1.35      bertrand 1095:        C_STANDARD=-std=gnu99
1.78      bertrand 1096:        ELF=
1.35      bertrand 1097:    break;;
                   1098: 
1.32      bertrand 1099:     AIX)
                   1100:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.19      bertrand 1101:        NESTED_FUNCTIONS=
1.32      bertrand 1102:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1103:                --disable-shared --enable-static --enable-threads \
                   1104:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1105:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1106:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 1107:        C_STANDARD=-std=gnu99
1.78      bertrand 1108:        ELF=
1.19      bertrand 1109:    break ;;
                   1110: 
1.32      bertrand 1111:     OS/2)
1.39      bertrand 1112:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.37      bertrand 1113:            FINAL_ENCODING=CP850; \
                   1114:        fi;
1.32      bertrand 1115:        OS=OS2
                   1116:        NESTED_FUNCTIONS=
                   1117:        EXPORT_DYNAMIC=-Zmap
                   1118:        ac_configure_args="$ac_configure_args --without-readline \
1.51      bertrand 1119:                --without-cairo --disable-shared --enable-static \
1.72      bertrand 1120:                --enable-threads \
                   1121:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1122:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1123:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 1124:        C_STANDARD=
1.78      bertrand 1125:        ELF=
1.32      bertrand 1126:    break;;
                   1127: 
1.37      bertrand 1128:    OpenBSD)
1.39      bertrand 1129:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.37      bertrand 1130:            FINAL_ENCODING=UTF-8; \
                   1131:        fi;
                   1132:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   1133:        NESTED_FUNCTIONS=
                   1134:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1135:                --disable-shared --enable-static --enable-threads \
                   1136:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1137:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1138:                LDFLAGS=\"$LDFLAGS\""
1.37      bertrand 1139:        C_STANDARD=-std=gnu99
1.78      bertrand 1140:        ELF=
1.37      bertrand 1141:    break;;
                   1142: 
1.51      bertrand 1143:     SunOS)
                   1144:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   1145:        NESTED_FUNCTIONS=
                   1146: 
                   1147:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1148:                --disable-shared --enable-static --enable-threads \
                   1149:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1150:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1151:                LDFLAGS=\"$LDFLAGS\""
1.51      bertrand 1152:        C_STANDARD=-std=gnu99
                   1153:        MALLOC=-lumem
1.78      bertrand 1154:        ELF=
                   1155:    break ;;
                   1156: 
                   1157:     NetBSD)
                   1158:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   1159:        NESTED_FUNCTIONS=
                   1160: 
                   1161:        ac_configure_args="$ac_configure_args --with-readline=builtin \
                   1162:                --disable-shared --enable-static --enable-threads \
                   1163:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1164:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1165:                LDFLAGS=\"$LDFLAGS\""
                   1166:        C_STANDARD=-std=gnu99
                   1167:        GCCBIN=`which gcc`
                   1168:        GCCLIB=`dirname $GCCBIN`/../lib
                   1169:        ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
1.51      bertrand 1170:    break ;;
                   1171: 
1.18      bertrand 1172:     *)
1.32      bertrand 1173:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.18      bertrand 1174:        NESTED_FUNCTIONS=
1.38      bertrand 1175: 
1.32      bertrand 1176:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.72      bertrand 1177:                --disable-shared --enable-static --enable-threads \
                   1178:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   1179:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   1180:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 1181:        C_STANDARD=-std=gnu99
1.78      bertrand 1182:        ELF=
1.18      bertrand 1183:    break ;;
                   1184: 
                   1185: esac
                   1186: 
1.34      bertrand 1187: AC_SUBST(C_STANDARD)
1.18      bertrand 1188: AC_SUBST(EXPORT_DYNAMIC)
                   1189: AC_SUBST(NESTED_FUNCTIONS)
                   1190: AC_SUBST(SEMAPHORES_NOMMES)
1.38      bertrand 1191: AC_SUBST(IPCS_SYSV)
1.34      bertrand 1192: AC_SUBST(SEMUN)
1.35      bertrand 1193: AC_SUBST(IPV6)
1.42      bertrand 1194: AC_SUBST(BSH_PATH)
1.78      bertrand 1195: AC_SUBST(ELF)
1.1       bertrand 1196: 
                   1197: AC_SUBST(NCURSES)
                   1198: AC_SUBST(READLINE)
                   1199: AC_SUBST(UNITS)
                   1200: AC_SUBST(GSL)
                   1201: AC_SUBST(GPP)
                   1202: AC_SUBST(GNUPLOT)
                   1203: AC_SUBST(FILE)
                   1204: AC_SUBST(ICONV)
1.10      bertrand 1205: AC_SUBST(SQLITE)
                   1206: AC_SUBST(OPENSSL)
1.86      bertrand 1207: AC_SUBST(LIBXPM)
1.82      bertrand 1208: AC_SUBST(OPENMOTIF)
1.84      bertrand 1209: AC_SUBST(BUILD_OPENMOTIF)
1.79      bertrand 1210: AC_SUBST(SIGSEGV)
1.1       bertrand 1211: AC_SUBST(FINAL_ENCODING)
                   1212: AC_SUBST(DATE)
                   1213: AC_SUBST(DATE_FR)
1.31      bertrand 1214: AC_SUBST(EXT_SQL)
1.51      bertrand 1215: AC_SUBST(MALLOC)
1.57      bertrand 1216: AC_SUBST(GMP)
                   1217: AC_SUBST(MPFR)
1.58      bertrand 1218: AC_SUBST(NTL)
                   1219: AC_SUBST(COCOA)
                   1220: AC_SUBST(PARI)
                   1221: AC_SUBST(GIAC)
1.84      bertrand 1222: AC_SUBST(INCMOTIF)
                   1223: AC_SUBST(LIBMOTIF)
1.1       bertrand 1224: 
                   1225: AC_SUBST(CFLAGS)
                   1226: AC_SUBST(CXXFLAGS)
                   1227: AC_SUBST(FFLAGS)
                   1228: AC_SUBST(FCFLAGS)
1.72      bertrand 1229: AC_SUBST(LDFLAGS)
                   1230: 
                   1231: AC_CONFIG_SUBDIRS(tools/$NCURSES)
                   1232: AC_CONFIG_SUBDIRS(tools/$READLINE)
                   1233: AC_CONFIG_SUBDIRS(tools/$GSL)
                   1234: AC_CONFIG_SUBDIRS(tools/$GPP)
                   1235: AC_CONFIG_SUBDIRS(tools/$FILE)
                   1236: AC_CONFIG_SUBDIRS(tools/$ICONV)
                   1237: AC_CONFIG_SUBDIRS(tools/$SQLITE)
                   1238: AC_CONFIG_SUBDIRS(tools/$UNITS)
1.79      bertrand 1239: AC_CONFIG_SUBDIRS(tools/$SIGSEGV)
1.1       bertrand 1240: 
                   1241: AC_CONFIG_FILES(Makefile)
                   1242: AC_CONFIG_FILES(COPYING)
                   1243: AC_CONFIG_FILES(tools/Makefile)
                   1244: AC_CONFIG_FILES(src/Makefile)
                   1245: AC_CONFIG_FILES(man/Makefile)
                   1246: AC_CONFIG_FILES(man/fr_FR/Makefile)
                   1247: AC_CONFIG_FILES(doc/Makefile)
                   1248: AC_CONFIG_FILES(scripts/Makefile)
                   1249: AC_CONFIG_FILES(scripts/mkrplso)
                   1250: AC_CONFIG_FILES(scripts/rplcc)
                   1251: AC_CONFIG_FILES(scripts/rpllink)
                   1252: AC_CONFIG_FILES(rpltags/Makefile)
                   1253: AC_CONFIG_FILES(rpliconv/Makefile)
1.10      bertrand 1254: AC_CONFIG_FILES(rplsums/Makefile)
1.57      bertrand 1255: AC_CONFIG_FILES(rplcas/Makefile)
1.41      bertrand 1256: AC_CONFIG_FILES(rplawk/Makefile)
1.1       bertrand 1257: AC_CONFIG_FILES(lapack/lapack/Makefile)
                   1258: AC_CONFIG_FILES(lapack/blas/Makefile)
                   1259: 
                   1260: AC_CONFIG_FILES(man/rpl.1)
                   1261: AC_CONFIG_FILES(man/rplcc.1)
                   1262: AC_CONFIG_FILES(man/rpllink.1)
                   1263: AC_CONFIG_FILES(man/rpltags.1)
                   1264: AC_CONFIG_FILES(man/mkrplso.1)
                   1265: AC_CONFIG_FILES(man/fr_FR/rpl.1)
                   1266: AC_CONFIG_FILES(man/fr_FR/rplcc.1)
                   1267: AC_CONFIG_FILES(man/fr_FR/rpllink.1)
                   1268: AC_CONFIG_FILES(man/fr_FR/rpltags.1)
                   1269: AC_CONFIG_FILES(man/fr_FR/mkrplso.1)
                   1270: 
                   1271: AC_OUTPUT

CVSweb interface <joel.bertrand@systella.fr>