dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(qglviewer, 1.4) AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CXX AC_PROG_INSTALL AC_PROG_RANLIB AM_PROG_LIBTOOL dnl Checks for libraries. AC_PATH_X if test x$no_x = xyes; then AC_MSG_ERROR([No X found.]) fi if test ! -z "$x_includes"; then QT_CFLAGS="-I$x_includes" fi QT_CFLAGS="$QT_CFLAGS -Wno-deprecated" ACQGL_PATH_QT(3.0, [ QT_CFLAGS="$QT_CFLAGS $acqgl_qt_cflags" if test ! -z "$x_libraries"; then QT_LIBS="-L$x_libraries" fi QT_LIBS="$QT_LIBS $acqgl_qt_libs -lGLU -lGL -lX11 -lXmu -lm" QT_MOC="$acqgl_qt_moc" QT_UIC="$acqgl_qt_uic" AC_SUBST(QT_CFLAGS) AC_SUBST(QT_LIBS) AC_SUBST(QT_MOC) AC_SUBST(QT_UIC) ],[ AC_MSG_ERROR([No Qt found.]) ]) dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(sys/time.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_HEADER_TIME dnl Check for doxygen program. AC_CHECK_PROG(have_doxygen, doxygen, yes, no) AM_CONDITIONAL(HAVE_DOXYGEN, test x$have_doxygen = xyes) dnl Checks for library functions. AC_OUTPUT(src/Makefile src/pictures/Makefile include/Makefile examples/Makefile examples/Simple/Makefile examples/SceneTree/Makefile examples/CameraKeyPathEditor/Makefile examples/CameraPathInterpolation/Makefile examples/CameraPathPlayer/Makefile examples/LightSourceEditor/Makefile doc/Makefile doc/html/Makefile Makefile)