Annotation of rpl/configure.in, revision 1.82

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

CVSweb interface <joel.bertrand@systella.fr>