Command reorder to satisfy LibTool needs in configure.ac

This commit is contained in:
Gergely Polonkai 2013-07-09 01:31:39 +02:00
parent f8923c9e7a
commit e302cf6f89

View File

@ -1,6 +1,5 @@
AC_INIT([gradix], [0.1], [gergely@polonkai.eu]) AC_INIT([gradix], [0.1], [gergely@polonkai.eu])
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([-Wall -Werror foreign])
LT_INIT
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [compile with debugging support. Be warned that debugging support can eat a large amount of CPU when many clients are connected. Also, debug logs can become very large!])], , enable_debug=no) AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [compile with debugging support. Be warned that debugging support can eat a large amount of CPU when many clients are connected. Also, debug logs can become very large!])], , enable_debug=no)
if test "x$enable_debug" = "xyes" ; then if test "x$enable_debug" = "xyes" ; then
@ -8,8 +7,9 @@ if test "x$enable_debug" = "xyes" ; then
fi fi
AC_PROG_CC AC_PROG_CC
AC_PROG_LIBTOOL
AM_PROG_AR AM_PROG_AR
LT_INIT
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG PKG_PROG_PKG_CONFIG
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])