Annotation of rpl/configure.in, revision 1.90

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

CVSweb interface <joel.bertrand@systella.fr>