3 AC_CONFIG_HEADERS(config.h)
6 # Determine build target
9 AM_INIT_AUTOMAKE([Openbox], [2.90.0cvs])
11 test "$prefix" = "NONE" && prefix="$ac_default_prefix"
13 AC_PATH_PROG([regex_cmd], [sed])
14 test "$regex_cmd" || AC_MSG_ERROR([sed not found])
17 # Pick compiler specific/build target flags
21 LIBTOOL="$LIBTOOL --silent"
25 AM_GNU_GETTEXT_VERSION(0.11.5)
26 AM_GNU_GETTEXT([external])
30 AC_CHECK_HEADERS(ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h stdlib.h string.h time.h unistd.h sys/param.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h)
37 # Check for X11 extensions
42 AC_CONFIG_FILES([Makefile po/Makefile.in
57 AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
60 AC_MSG_RESULT([Using '$prefix' for installation.])
61 AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
62 AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
63 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
65 AC_MSG_RESULT([configure complete, now type \"make\"])