projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When a window is iconified, only an UnmapNotify is sent, not a
[freeglut]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
63c2cb8
..
d652cbe
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,11
+1,14
@@
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
-AC_INIT([freeglut library], [2.2.0], [freeglut-bugs@lists.sourceforge.net], [freeglut])
+AC_INIT([freeglut library], [2.4.0], [freeglut-bugs@lists.sourceforge.net], [freeglut])
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
-AC_PREREQ([2.59])
+AC_PREREQ([2.56])
AC_CONFIG_SRCDIR([AUTHORS])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([AUTHORS])
AC_CONFIG_HEADERS([config.h])
+# Compatibility hack for older autoconf versions
+m4_ifdef([AS_HELP_STRING], [], [AC_DEFUN([AS_HELP_STRING], [AC_HELP_STRING($][@)])])
+
# Checks for programs.
AC_PROG_CC
AC_C_CONST
# Checks for programs.
AC_PROG_CC
AC_C_CONST
@@
-33,6
+36,7
@@
CFLAGS="$save_CFLAGS"
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
+AC_FUNC_VPRINTF
AC_CHECK_LIBM
AC_SUBST([LIBM])
AC_CHECK_LIBM
AC_SUBST([LIBM])
@@
-57,6
+61,14
@@
if test "x$enable_warnings" != xno -a "x$GCC" = xyes; then
CFLAGS="$CFLAGS -Wall -pedantic -Werror"
fi
CFLAGS="$CFLAGS -Wall -pedantic -Werror"
fi
+AC_ARG_ENABLE([debug],
+[AS_HELP_STRING([--enable-debug],
+ [enable debug (for developers) @<:@default=no@:>@])])
+
+if test "x$enable_debug" = xyes; then
+ AC_DEFINE([_DEBUG], [1], [Define to 1 if you want to include debugging code.])
+fi
+
# Generate output.
AC_CONFIG_FILES([Makefile
doc/Makefile
# Generate output.
AC_CONFIG_FILES([Makefile
doc/Makefile