# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT(orxonox, 0.1-pre-alpha, orxonox-dev@mail.datacore.ch) AC_CONFIG_SRCDIR([.]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. # FIXME: Replace `main' with a function in `-lGL': AC_CHECK_LIB([GL], [main]) # FIXME: Replace `main' with a function in `-lGLU': AC_CHECK_LIB([GLU], [main]) # FIXME: Replace `main' with a function in `-lOSMesa': AC_CHECK_LIB([OSMesa], [main]) # FIXME: Replace `main' with a function in `-lX11': AC_CHECK_LIB([X11], [main]) # FIXME: Replace `main' with a function in `-lXt': AC_CHECK_LIB([Xt], [main]) # FIXME: Replace `main' with a function in `-lglut': AC_CHECK_LIB([glut], [main]) # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [main]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h string.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([bzero sqrt]) AC_CONFIG_FILES([Makefile console/Makefile gui/Makefile src/Makefile]) AC_OUTPUT