netgen/configure.ac

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2009-01-13 23:32:10 +05:00
AC_INIT([netgen], [4.9.2], [], [])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
2009-01-14 02:14:02 +05:00
2009-01-13 23:32:10 +05:00
AC_ARG_ENABLE([occ],
[ --enable-occ Compile with OpenCascade geometry kernel],
2009-01-14 02:14:02 +05:00
[occon=true occfl='-DOCCGEOMETRY -I/usr/local/inc'
occlfl='-lTKIGES -lTKBRep -lTKSTEP -lTKSTL' ],
2009-01-13 23:32:10 +05:00
[occon=false] )
2009-01-13 04:40:13 +05:00
2009-01-14 02:14:02 +05:00
AC_CONFIG_HEADERS(config.h)
2009-01-13 04:40:13 +05:00
AC_LANG_CPLUSPLUS
AC_PROG_CXX
AM_PROG_LIBTOOL
2009-01-14 21:29:22 +05:00
AC_SYS_POSIX_TERMIOS
2009-01-13 23:32:10 +05:00
AM_CONDITIONAL([OCC], [test x$occon = xtrue])
AC_SUBST([OCCFLAGS], [$occfl])
2009-01-14 02:14:02 +05:00
AC_SUBST([OCCLIBS], [$occlfl])
AC_CHECK_HEADER([iostream],[OCCFLAGS="$OCCFLAGS -DHAVE_IOSTREAM"])
AC_CHECK_HEADER([iostream.h],[OCC_FLAGS="$OCCFLAGS -DHAVE_IOSTREAM_H"])
AC_CHECK_HEADER([limits],[OCCFLAGS="$OCCFLAGS -DHAVE_LIMITS"])
AC_CHECK_HEADER([limits.h],[OCCFLAGS="$OCCFLAGS -DHAVE_LIMITS_H"])
2009-01-13 23:32:10 +05:00
2009-01-14 02:14:02 +05:00
AC_CONFIG_FILES(Makefile libsrc/Makefile libsrc/csg/Makefile libsrc/general/Makefile \
libsrc/geom2d/Makefile libsrc/gprim/Makefile libsrc/include/Makefile libsrc/interface/Makefile \
libsrc/linalg/Makefile libsrc/meshing/Makefile libsrc/occ/Makefile libsrc/opti/Makefile \
libsrc/parallel/Makefile libsrc/stlgeom/Makefile libsrc/visualization/Makefile ng/Makefile \
tutorials/Makefile)
2009-01-13 23:32:10 +05:00
2009-01-14 02:14:02 +05:00
AC_OUTPUT
2009-01-13 23:32:10 +05:00