X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=configure.ac;h=a18330907ad6b61609d3742d5b08655a303556b6;hp=dc5bd55269426115ca0b758a53c29c3b6dc9daf8;hb=6eb740cf119b14903afa3028e108dd98c57ff926;hpb=cc4e44e8376f5b76cb23f8cd642f32e0e41b9150 diff --git a/configure.ac b/configure.ac index dc5bd552..a1833090 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,10 @@ AC_PREREQ([2.54]) AC_INIT([openbox], [3.5.0], [http://bugzilla.icculus.org]) -AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([openbox/openbox.c]) +AM_INIT_AUTOMAKE([foreign]) +AM_SILENT_RULES([yes]) + OB_VERSION=$PACKAGE_VERSION AC_SUBST(OB_VERSION) @@ -87,11 +89,9 @@ AC_PROG_INSTALL AM_GNU_GETTEXT_VERSION(0.15) AM_GNU_GETTEXT([external]) -AC_CHECK_HEADERS(ctype.h fcntl.h grp.h locale.h pwd.h signal.h string.h) -AC_CHECK_HEADERS(stdio.h stdlib.h unistd.h sys/stat.h sys/select.h) -AC_CHECK_HEADERS(sys/socket.h sys/time.h sys/wait.h) -# AC_HEADER_TIME -# AC_TYPE_SIGNAL +AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h grp.h locale.h pwd.h) +AC_CHECK_HEADERS(signal.h string.h stdio.h stdlib.h unistd.h sys/stat.h) +AC_CHECK_HEADERS(sys/select.h sys/socket.h sys/time.h sys/types.h sys/wait.h) AC_PATH_PROG([SED], [sed], [no]) if test "$SED" = "no"; then @@ -118,7 +118,7 @@ AC_SUBST(XML_LIBS) AC_ARG_ENABLE(startup-notification, AC_HELP_STRING( [--disable-startup-notification], - [disable the startup notification library. [[default=enabled]]] + [disable the startup notification library. [default=enabled]] ), [enable_sn=$enableval], [enable_sn=yes] @@ -143,7 +143,7 @@ fi AC_ARG_ENABLE(xcursor, AC_HELP_STRING( [--disable-xcursor], - [disable use of the X Cursor library. [[default=enabled]]] + [disable use of the X Cursor library. [default=enabled]] ), [enable_xcursor=$enableval], [enable_xcursor=yes] @@ -168,9 +168,9 @@ fi AC_ARG_ENABLE(imlib2, AC_HELP_STRING( [--disable-imlib2], - [disable use of Imlib2 image library for loading icons. [[default=enabled]]] + [disable use of Imlib2 image library for loading icons. [default=enabled]] ), - [enable_imlib2=$enableeval], + [enable_imlib2=$enableval], [enable_imlib2=yes] )