Annotation of rpl/configure.in, revision 1.84

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

CVSweb interface <joel.bertrand@systella.fr>