doc: clean up "exponential substitution" section
[barvinok/uuh.git] / configure.in
blobd772c0b6d5a97cbca92dc4532a02a0bb76df9216
1 AC_INIT
2 AM_INIT_AUTOMAKE(barvinok, 0.26)
3 AC_PROG_CC
4 gl_EARLY
6 AC_PROG_CXX
7 AM_PROG_LEX
8 AC_PROG_YACC
9 AC_SUBST(versioninfo)
10 versioninfo=16:0:3
12 AC_CANONICAL_HOST
13 AC_LIBTOOL_WIN32_DLL
14 AC_SUBST(BV_LDFLAGS)
15 case $host in
16         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
17         if test "$enable_shared" = yes; then
18                 BV_LDFLAGS="-no-undefined" 
19         fi
20         ;;
21 esac
23 AC_PROG_LIBTOOL
25 gl_MODULES(argp progname)
26 gl_INIT
28 PKG_PROG_PKG_CONFIG
30 AC_CHECK_HEADERS(getopt.h)
31 AC_CHECK_HEADERS(sys/times.h)
33 AC_MSG_CHECKING(whether to build shared libbarvinok)
34 AC_ARG_ENABLE(shared_barvinok,
35         AS_HELP_STRING([--enable-shared-barvinok],
36                        [build shared barvinok library]),
37         [bv_cv_shared_barvinok=$enableval], [bv_cv_shared_barvinok="no"])
38 AC_MSG_RESULT($bv_cv_shared_barvinok)
39 if test "x$bv_cv_shared_barvinok" != "xyes" ; then
40         BV_LDFLAGS="$BV_LDFLAGS -static"
43 AC_ARG_WITH(default-prefix,
44         AS_HELP_STRING([--with-default-prefix=DIR],
45             [Default installation prefix of optional packages]))
46 if test "${with_default_prefix+set}" = set; then
47         if test "${with_ginac_prefix+set}" != set -a \
48            -f "$with_default_prefix/lib/pkgconfig/ginac.pc"; then
49                 with_ginac_prefix=$with_default_prefix
50         fi
51         if test "${with_libgmp+set}" != set -a \
52            -f "$with_default_prefix/include/gmp.h"; then
53                 with_libgmp=$with_default_prefix
54         fi
55         if test "${with_ntl+set}" != set -a \
56            -f "$with_default_prefix/include/NTL/ZZ.h"; then
57                 with_ntl=$with_default_prefix
58         fi
59         if test "${with_omega+set}" != set -a \
60            -f "$with_default_prefix/include/omega/omega.h"; then
61                 with_omega=$with_default_prefix
62         fi
63         if test "${with_cddlib+set}" != set -a \
64            -f "$with_default_prefix/include/cddmp.h"; then
65                 with_cddlib=$with_default_prefix
66         fi
67         if test "${with_glpk+set}" != set -a \
68            -f "$with_default_prefix/include/glpk.h"; then
69                 with_glpk=$with_default_prefix
70         fi
71         if test "${with_topcom+set}" != set -a \
72            -f "$with_default_prefix/bin/points2triangs"; then
73                 with_topcom=$with_default_prefix
74         fi
77 dnl Check for GMP library
78 AC_MSG_CHECKING(whether to use GMP)
79 AC_ARG_WITH(libgmp, 
80         [  --with-libgmp           DIR Location of the GMP Distribution], 
81         gmp_package=$withval, gmp_package=yes)
82 if test "x$gmp_package" = "xno"; then
83         AC_MSG_RESULT(no)
84         AC_MSG_ERROR(Need gmp)
85 else
86         AC_MSG_RESULT(yes)
87         if test "x$gmp_package" = "xyes"; then
88                 bv_configure_args="$bv_configure_args --with-libgmp --with-gmp"
89         else
90             bv_configure_args="$bv_configure_args --with-libgmp=$gmp_package"
91             bv_configure_args="$bv_configure_args --with-gmp=$gmp_package"
92             GMP_DIR=$gmp_package
93             if test ! -d "$GMP_DIR"; then
94                 AC_ERROR(Directory given for GMP Distribution is not a directory)
95             fi
96             CPPFLAGS="-I$GMP_DIR/include $CPPFLAGS"
97             LDFLAGS="-L$GMP_DIR/lib $LDFLAGS"
98         fi
99         poly_cv_gmpfatal="no"
100         AC_CHECK_HEADER(gmp.h,
101                 [AC_CHECK_LIB(gmp,main,
102                     [],
103                     [poly_cv_gmpfatal="yes"])],
104                 [poly_cv_gmpfatal="yes"])
105         if test "$poly_cv_gmpfatal" = "yes"; then
106                 AC_MSG_ERROR([GMP not found])
107         fi
109 AC_CHECK_DECL(mpz_divisible_p,[],[AC_LIBOBJ(mpz_divisible_p)],[#include <gmp.h>])
111 # BV_SUBMODULE(SUBMODULE)
112 AC_DEFUN([BV_SUBMODULE],[
113         case "$with_$1" in
114         no)
115                 AC_MSG_ERROR(Need $1)
116                 ;;
117         bundled|system)
118                 ;;
119         *)
120                 if test -d $srcdir/.git -a \
121                         ! -d $srcdir/$1/.git; then
122                         AC_MSG_WARN(
123 [git repo detected, but submodule $1 not initialized])
124                         AC_MSG_WARN([You may want to run])
125                         AC_MSG_WARN([   git submodule init])
126                         AC_MSG_WARN([   git submodule update])
127                         AC_MSG_WARN([   sh autogen.sh])
128                 fi
129                 if test -f $srcdir/$1/configure; then
130                         with_$1="bundled"
131                 else
132                         with_$1="system"
133                 fi
134                 ;;
135         esac
138 AC_ARG_WITH(polylib,
139         [AS_HELP_STRING([--with-polylib=bundled|system],[Which PolyLib to use])])
140 AC_ARG_WITH(polylib_prefix,
141         [AS_HELP_STRING([--with-polylib-prefix=DIR],[Location of system PolyLib])])
143 if test "x$with_polylib_prefix" != "x"; then
144         with_polylib="system"
146 BV_SUBMODULE(polylib)
147 AC_MSG_CHECKING([which PolyLib to use])
148 AC_MSG_RESULT($with_polylib)
150 AC_SUBST(POLYLIB_CPPFLAGS)
151 AC_SUBST(POLYLIB_LDFLAGS)
152 AC_SUBST(POLYLIB_LIBS)
153 if test "$with_polylib" = "bundled"; then
154         bv_configure_args="$bv_configure_args --with-polylib-builddir=../polylib"
155         POLYLIB_CPPFLAGS="-Ipolylib/include -I$srcdir/polylib/include"
156 else
157         POLYLIB_LIBS="-lpolylibgmp"
158         if test "x$with_polylib_prefix" != "x"; then
159                 POLYLIB_CPPFLAGS="-I$with_polylib_prefix/include"
160                 POLYLIB_LDFLAGS="-L$with_polylib_prefix/lib"
161         fi
162         SAVE_CPPFLAGS="$CPPFLAGS"
163         CPPFLAGS="$POLYLIB_CPPFLAGS $CPPFLAGS"
164         AC_CHECK_HEADERS([polylib/polylibgmp.h], [], [
165                 AC_MSG_ERROR(Need PolyLib)
166         ])
167         CPPFLAGS="$SAVE_CPPFLAGS"
170 AM_CONDITIONAL(BUNDLED_POLYLIB, test $with_polylib = bundled)
172 AC_ARG_WITH(piplib,
173         [AS_HELP_STRING([--with-piplib=bundled|system],[Which piplib to use])])
174 AC_ARG_WITH(piplib_prefix,
175         [AS_HELP_STRING([--with-piplib-prefix=DIR],[Location of system piplib])])
177 if test "x$with_piplib_prefix" != "x"; then
178         with_piplib="system"
180 BV_SUBMODULE(piplib)
181 AC_MSG_CHECKING([which piplib to use])
182 AC_MSG_RESULT($with_piplib)
184 AC_SUBST(PIPLIB_CPPFLAGS)
185 AC_SUBST(PIPLIB_LDFLAGS)
186 AC_SUBST(PIPLIB_LIBS)
187 if test "$with_piplib" = "bundled"; then
188         bv_configure_args="$bv_configure_args --with-piplib-builddir=../piplib"
189         bv_configure_args="$bv_configure_args --enable-mp-version"
190         PIPLIB_CPPFLAGS="-I$srcdir/piplib/include"
191 else
192         PIPLIB_LIBS="-lpiplibMP"
193         if test "x$with_piplib_prefix" != "x"; then
194                 PIPLIB_CPPFLAGS="-I$with_piplib_prefix/include"
195                 PIPLIB_LDFLAGS="-L$with_piplib_prefix/lib"
196         fi
197         SAVE_CPPFLAGS="$CPPFLAGS"
198         SAVE_LDFLAGS="$LDFLAGS"
199         CPPFLAGS="$PIPLIB_CPPFLAGS $CPPFLAGS"
200         LDFLAGS="$PIPLIB_LDFLAGS $LDFLAGS"
201         AC_CHECK_LIB(piplibMP, pip_solve,[
202             AC_CHECK_MEMBER(PipOptions.Urs_parms, [], [
203                 AC_MSG_ERROR([Piplib too old; please install version 1.3.6 or newer])
204             ],[#include <stdio.h>
205                #include <piplib/piplibMP.h>])
206         ],[
207             AC_MSG_ERROR([Piplib not found])
208         ])
209         CPPFLAGS="$SAVE_CPPFLAGS"
210         LDFLAGS="$SAVE_LDFLAGS"
212 AM_CONDITIONAL(BUNDLED_PIPLIB, test $with_piplib = bundled)
214 AC_MSG_CHECKING(if the fractional representation should be used)
215 AC_ARG_ENABLE(fractional, [AS_HELP_STRING([--disable-fractional],
216                                           [Don't use fractional representation])],
217             [bv_cv_fractional=$enableval], [bv_cv_fractional="yes"])
218 AC_ARG_ENABLE(modulo, [AS_HELP_STRING([--disable-modulo],
219                                       [Don't use fractional representation])],
220             [bv_cv_modulo=$enableval], [bv_cv_modulo="$bv_cv_fractional"])
221 AC_MSG_RESULT($bv_cv_modulo)
222 if test "x$bv_cv_modulo" != "xno" ; then
223         AC_DEFINE(USE_MODULO,[], [Use fractional representation])
226 AC_MSG_CHECKING(whether to use incremental algorithm)
227 AC_ARG_ENABLE(incremental,
228         [AS_HELP_STRING([--enable-incremental@<:@=bf|df@:>@],
229                         [Enable incremental algorithm [bf]])],
230         [bv_cv_incremental=$enableval], [bv_cv_incremental="no"])
231 AC_MSG_RESULT($bv_cv_incremental)
232 case $bv_cv_incremental in
233         yes | bf)
234                 AC_DEFINE(USE_INCREMENTAL_BF,[], 
235                           [Use breadth-first incremental algorithm])
236         ;;
237         df)
238                 AC_DEFINE(USE_INCREMENTAL_DF,[], 
239                           [Use depth-first incremental algorithm])
240         ;;
241 esac
243 AC_ARG_WITH(ntl,
244             [  --with-ntl=DIR          DIR Location of NTL],
245             [ echo "Package ntl : $withval" && ntl_package=$withval],  
246             [ ntl_package=yes ])
248 if test "$ntl_package" = "no"; then
249     AC_MSG_ERROR(Need ntl)
252 if test "$ntl_package" != "yes"; then
253     CPPFLAGS="-I$ntl_package/include $CPPFLAGS"
254     LDFLAGS="-L$ntl_package/lib $LDFLAGS"
257 AC_EGREP_CPP(yes, [
258     #include <NTL/ZZ.h>
259     #ifdef NTL_GMP_LIP
260     yes
261     #endif
262     ],:,AC_MSG_ERROR(ntl not compiled with gmp support))
264 AC_CHECK_LIB(ntl, main,[],[
265     AC_MSG_ERROR(Need ntl)
268 AC_SUBST(bv_cone_hilbert_basis)
269 AC_MSG_CHECKING(whether to compile zsolve)
270 AC_ARG_WITH(bernstein,
271             [AS_HELP_STRING([--without-zsolve],[do not compile zsolve])],
272             [ with_zsolve=$withval],  [ with_zsolve=yes ])
273 AC_MSG_RESULT($with_zsolve)
275 use_zsolve=false
276 if test "$with_zsolve" != "no"; then
277         if test "$GCC" = "yes"; then
278                 $CC --version |
279                 sed -e 's/.* \(@<:@0-9@:>@@<:@0-9@:>@*\)\.\(@<:@0-9@:>@@<:@0-9@:>@*\).*/\1 \2/' |
280                 (read major minor
281                         if test $major -gt 3; then
282                                 exit 0
283                         fi
284                         if test $major -eq 3 -a $minor -ge 4; then
285                                 exit 0
286                         fi
287                         exit 1
288                 ) && use_zsolve=true
289         fi
290         if test "$use_zsolve" = false; then
291                 AC_MSG_WARN(gcc 3.4 required to compile zsolve)
292         else
293                 AC_DEFINE(USE_ZSOLVE,[],[use zsolve])
294                 bv_cone_hilbert_basis="cone_hilbert_basis\$(EXEEXT)"
295         fi
297 AM_CONDITIONAL(USE_ZSOLVE, test x$use_zsolve = xtrue)
299 AC_MSG_CHECKING(whether to compile bernstein)
300 AC_ARG_WITH(bernstein,
301             [AS_HELP_STRING([--without-bernstein],[do not compile bernstein])],
302             [ with_bernstein=$withval],  [ with_bernstein=yes ])
303 AC_MSG_RESULT($with_bernstein)
305 AC_ARG_WITH(ginac_prefix,
306         [AS_HELP_STRING([--with-ginac-prefix=DIR],[Installation prefix of GiNaC])])
307 if test "x$with_ginac_prefix" != "x"; then
308         export PKG_CONFIG_PATH=$with_ginac_prefix/lib/pkgconfig:$PKG_CONFIG_PATH
311 AC_SUBST(bv_barvinok_bound)
312 have_ginac=false
313 if test "$with_bernstein" != "no"; then
314         PKG_CHECK_EXISTS([ginac], [
315                 PKG_CHECK_MODULES(ginac, ginac)
316                 have_ginac=true
317                 AC_DEFINE(HAVE_GINAC,[],[use GiNaC])
318                 EXTRA_PACKAGE_LIBS="-lbernstein $EXTRA_PACKAGE_LIBS"
319                 bv_barvinok_bound="barvinok_bound\$(EXEEXT) test_bound\$(EXEEXT)"
320         ])
322 AM_CONDITIONAL(HAVE_GINAC, test x$have_ginac = xtrue)
324 AC_MSG_CHECKING(whether to use Omega)
325 AC_ARG_WITH(omega, [AS_HELP_STRING([--with-omega=DIR],[DIR Location of Omega])],
326             [ omega_package=$withval],  [ omega_package=yes ])
327 AC_MSG_RESULT($omega_package)
329 AC_SUBST(OMEGA_CPPFLAGS)
330 AC_SUBST(OMEGA_LDFLAGS)
331 AC_SUBST(OMEGA_LIBS)
332 AC_SUBST(bv_omega_programs)
333 have_omega=false
334 if test "$omega_package" != "no"; then
335     if test "x$omega_package" != "xyes"; then
336         OMEGA_CPPFLAGS="-I$omega_package/include/omega"
337         OMEGA_LDFLAGS="-L$omega_package/lib"
338     else
339         for i in /usr/include /usr/local/include; do
340             if test -f $i/omega/omega.h; then
341                 OMEGA_CPPFLAGS="-I$i/omega"
342             fi
343         done
344     fi
346     AC_LANG_PUSH(C++)
347     SAVE_CPPFLAGS="$CPPFLAGS"
348     CPPFLAGS="$OMEGA_CPPFLAGS $CPPFLAGS"
349     AC_CHECK_HEADERS([omega.h],[
350         if test x$have_ginac = xtrue; then
351                 AC_CHECK_LIB(code_gen,main,[
352                         bv_omega_programs="occ $bv_omega_programs"
353                 ])
354         fi
355         AC_DEFINE(HAVE_OMEGA,[],[use omega])
356         OMEGA_LIBS="-lomega"
357         have_omega=true
358     ],[AC_MSG_WARN(Omega not found)])
359     CPPFLAGS="$SAVE_CPPFLAGS"
360     AC_LANG_POP
362 AM_CONDITIONAL(HAVE_OMEGA, test x$have_omega = xtrue)
364 use_parker=false
365 AC_MSG_CHECKING(whether to compile parker)
366 AC_ARG_WITH(parker,
367             [AS_HELP_STRING([--without-zsolve],[do not compile zsolve])],
368             [ with_parker=$withval],  [ with_parker=yes ])
369 AC_MSG_RESULT($with_parker)
371 if test "$with_parker" != "no"; then
372         AC_MSG_CHECKING(for mona)
373         AC_ARG_WITH(mona,
374                 [AS_HELP_STRING([--with-mona=DIR],[mona *source* directory])],
375                                 [], [AC_MSG_RESULT(not specified)])
377         if test "x$with_mona" != "x"; then
378                 AC_SUBST(MONAPATH)
379                 MONAPATH=$with_mona
380                 AC_MSG_RESULT($MONAPATH)
381                 use_parker=true
382                 AC_DEFINE(USE_PARKER,[],[use parker])
383         fi
385         if test "x$with_mona" = "x"; then
386                 AC_MSG_WARN(mona source directory required to compile parker)
387                 AC_MSG_WARN(http://www.brics.dk/mona/download)
388         fi
390 AM_CONDITIONAL(USE_PARKER, test x$use_parker = xtrue)
392 AC_MSG_CHECKING(whether to use cddlib)
393 AC_ARG_WITH(cddlib, [AS_HELP_STRING([--with-cddlib=DIR],[DIR Location of cddlib])],
394             [ cddlib_package=$withval],  [ cddlib_package=yes ])
395 AC_MSG_RESULT($cddlib_package)
397 have_cddlib=false
398 if test "$cddlib_package" != "no"; then
399     if test "x$cddlib_package" != "xyes"; then
400         CPPFLAGS="-I$cddlib_package/include $CPPFLAGS"
401         LDFLAGS="-L$cddlib_package/lib $LDFLAGS"
402     fi
403     AC_TRY_LINK([
404 #define GMPRATIONAL
405 #include <setoper.h>
406 #include <cddmp.h>
407 ], [
408     mytype a;
409     dd_init(a); ], [
410         have_cddlib=true
411         AC_CHECK_LIB(cddgmp, main,[
412                 SAVE_LIBS="$LIBS"
413                 LIBS="-lcddgmp $LIBS"
414                 AC_DEFINE_UNQUOTED([SRCDIR], ["$srcdir"], [srcdir])
415                 AC_LANG_PUSH(C++)
416                 AC_RUN_IFELSE(AC_LANG_PROGRAM([[#define GMPRATIONAL
417 #include <setoper.h>
418 #include <cdd.h>]],
419                 [[
420         const char *filename = SRCDIR"/cdd94e-test";
421         FILE *f;
422         dd_MatrixPtr M;
423         dd_LPType *lp;
424         dd_ErrorType err = dd_NoError;
426         dd_set_global_constants();
428         f = fopen(filename, "r");
429         M = dd_PolyFile2Matrix(f, &err);
430         lp = dd_Matrix2LP(M, &err);
431         dd_LPSolve(lp, dd_DualSimplex, &err);
432         return lp->LPS == dd_Inconsistent;
433                 ]]),[
434                         AC_DEFINE(HAVE_LIBCDDGMP, [], [Define to 1 if you have the `cddgmp' library (-lcddgmp).])
435                 ],[
436                         AC_MSG_WARN(please upgrade cddlib to 0.94e or later)
437                         LIBS="$SAVE_LIBS"
438                         have_cddlib=false
439                 ])
440                 AC_LANG_POP
441         ],[have_cddlib=false])
442     ])
444 AM_CONDITIONAL(HAVE_CDDLIB, test x$have_cddlib = xtrue)
448 AC_MSG_CHECKING(whether to use GLPK)
449 AC_ARG_WITH(glpk, [AS_HELP_STRING([--with-glpk=DIR],[DIR Location of GLPK])],
450             [ glpk_package=$withval],  [ glpk_package=yes ])
451 AC_MSG_RESULT($glpk_package)
453 have_glpk=false
454 if test "$glpk_package" != "no"; then
455     if test "x$glpk_package" != "xyes"; then
456         CPPFLAGS="-I$glpk_package/include $CPPFLAGS"
457         LDFLAGS="-L$glpk_package/lib $LDFLAGS"
458     fi
459     AC_CHECK_HEADERS([glpk.h],[
460         have_glpk=true
461         AC_CHECK_LIB(glpk, main,[],[have_glpk=false])
462     ])
464 AM_CONDITIONAL(HAVE_GLPK, test x$have_glpk = xtrue)
466 AC_MSG_CHECKING(location of TOPCOM)
467 AC_ARG_WITH(topcom, [AS_HELP_STRING([--with-topcom=DIR],[Location of TOPCOM])],
468             [topcom_package=$withval], [topcom_package=unspecified])
469 AC_MSG_RESULT($topcom_package)
470 have_topcom=false
471 if test "$topcom_package" != no; then
472         topcom_path="$PATH"
473         if test "$topcom_package" != unspecified; then
474                 topcom_path="$topcom_package/bin"
475         fi
476         AC_PATH_PROG([POINTS2TRIANGS], [points2triangs], [], [$topcom_path])
477         if test -n "$POINTS2TRIANGS"; then
478                 have_topcom=true
479                 AC_DEFINE_UNQUOTED(POINTS2TRIANGS_PATH, ["$POINTS2TRIANGS"],
480                                     [Path of points2triangs])
481         fi
483 AM_CONDITIONAL(HAVE_TOPCOM, test x$have_topcom = xtrue)
485 AC_SUBST(GIT_HEAD_ID)
486 AC_SUBST(GIT_HEAD)
487 AC_SUBST(GIT_HEAD_VERSION)
488 if test -f $srcdir/.git/HEAD; then
489     GIT_HEAD="$srcdir/.git/index"
490     GIT_REPO="$srcdir/.git"
491     GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe`
492 elif test -f $srcdir/GIT_HEAD_ID; then
493     GIT_HEAD_ID=`cat $srcdir/GIT_HEAD_ID`
494 else
495     mysrcdir=`(cd $srcdir; pwd)`
496     head=`basename $mysrcdir | sed -e 's/.*-//'`
497     head2=`echo $head | sed -e 's/[^0-9a-f]//'`
498     head3=`echo $head2 | sed -e 's/........................................//'`
499     base=`basename $mysrcdir | sed -e 's/-.*//'`
500     if test "x$head3" = "x" -a "x$head" = "x$head2"; then
501         GIT_HEAD_ID="barvinok-$VERSION-$head
502     elif test "x$base" = "xbarvinok-$VERSION" -a "x$head" != "x"; then
503         GIT_HEAD_ID="barvinok-$VERSION-$head
504     else
505         GIT_HEAD_ID="UNKNOWN"
506     fi
508 if test -z "$GIT_REPO" ; then
509     GIT_HEAD_VERSION="$GIT_HEAD_ID"
510 else
511     GIT_HEAD_VERSION="\`GIT_DIR=$GIT_REPO git describe\`"
513 echo '#define GIT_HEAD_ID "'$GIT_HEAD_ID'"' > version.h
515 AC_LANG_PUSH(C++)
516 AC_TRY_COMPILE([
517                 #include <set>
518                 void negate();
519         ], [negate()],
520         suffix="normal", suffix="broken")
521 AC_CONFIG_COMMANDS([barvinok/set.h],
522                    [cp $srcdir/barvinok/set.h.$suffix barvinok/set.h],
523                    [suffix="$suffix"])
524 AC_CONFIG_COMMANDS([barvinok/NTL.h],
525                    [cp $srcdir/barvinok/NTL.h.$suffix barvinok/NTL.h],
526                    [suffix="$suffix"])
527 use_fdstream=false
528 SAVE_CPPFLAGS="$CPPFLAGS"
529 CPPFLAGS="-I$srcdir $CPPFLAGS"
530 AC_TRY_COMPILE([#include "fdstream.h"],[],
531         [AC_DEFINE(USE_FDSTREAM,[],[use fdstream])
532         use_fdstream=true])
533 CPPFLAGS="$SAVE_CPPFLAGS"
534 AC_LANG_POP
535 AM_CONDITIONAL(USE_FDSTREAM, [test "$use_fdstream" = true])
537 PACKAGE_LIBS="-lbarvinok -lbarvinok-core $EXTRA_PACKAGE_LIBS -lpolylibgmp -lpiplibMP"
538 AX_CREATE_PKGCONFIG_INFO
540 AC_CONFIG_HEADERS(config.h)
541 AC_CONFIG_FILES(Makefile lib/Makefile zsolve/Makefile doc/Makefile omega/Makefile)
542 AC_CONFIG_FILES(parker/Makefile)
543 if test $with_polylib = bundled; then
544         AC_CONFIG_SUBDIRS(polylib)
546 if test $with_piplib = bundled; then
547         AC_CONFIG_SUBDIRS(piplib)
549 if test x$have_ginac = xtrue; then
550     AC_CONFIG_SUBDIRS(bernstein)
552 AC_CONFIG_COMMANDS_POST([
553         dnl pass on arguments to subdir configures, but don't
554         dnl add them to config.status
555         ac_configure_args="$ac_configure_args $bv_configure_args"
557 AC_OUTPUT