diff options
author | Peter Stuge <peter@stuge.se> | 2010-11-21 23:37:27 +0100 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-06-13 22:01:42 +0200 |
commit | 6e52ea067711e6e7e1b2882757fb61b11b6f8feb (patch) | |
tree | 7635e64a60fc24913e1ed8c9f6eee28ada2042cd /configure.ac | |
parent | 44b85dabc3f4efe0918a598f981675aa3765cc26 (diff) | |
download | libusb-6e52ea067711e6e7e1b2882757fb61b11b6f8feb.tar.gz |
configure.ac: Whitespace changes and trivial reordering
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 0842cd3..7efc65d 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,8 @@ AC_SUBST(lt_revision) AC_SUBST(lt_age) AM_INIT_AUTOMAKE +AM_MAINTAINER_MODE + AC_CONFIG_SRCDIR([libusb/core.c]) AC_CONFIG_MACRO_DIR([m4]) AM_CONFIG_HEADER([config.h]) @@ -32,10 +34,7 @@ AC_C_INLINE AM_PROG_CC_C_O AC_DEFINE([_GNU_SOURCE], 1, [Use GNU extensions]) -AM_MAINTAINER_MODE - AC_MSG_CHECKING([operating system]) -PC_LIBS_PRIVATE= case $host in *-linux*) AC_DEFINE(OS_LINUX, 1, [Linux backend]) @@ -61,7 +60,7 @@ case $host in [AC_DEFINE([POLL_NFDS_TYPE],[nfds_t],[type of second poll() argument])], [AC_DEFINE([POLL_NFDS_TYPE],[unsigned int],[type of second poll() argument])], [#include <poll.h>]) -;; + ;; *-mingw*) AC_DEFINE(OS_WINDOWS, 1, [Windows backend]) AC_SUBST(OS_WINDOWS) @@ -86,6 +85,7 @@ case $host in *) AC_MSG_ERROR([unsupported operating system]) esac +AC_SUBST(THREAD_CFLAGS) AC_SUBST(PC_LIBS_PRIVATE) LIBS="${LIBS} ${PC_LIBS_PRIVATE}" @@ -182,8 +182,6 @@ AM_CONDITIONAL([HAVE_SIGACTION], [test "x$have_sigaction" = "xyes"]) # headers not available on all platforms but required on others AC_CHECK_HEADERS([sys/time.h]) -AC_SUBST([THREAD_CFLAGS]) - AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration $nopointersign_cflags -Wshadow" AC_SUBST(VISIBILITY_CFLAGS) @@ -192,4 +190,3 @@ AC_SUBST(AM_LDFLAGS) AC_CONFIG_FILES([libusb-1.0.pc] [Makefile] [libusb/Makefile] [libusb/libusb-1.0.rc] [examples/Makefile] [doc/Makefile] [doc/doxygen.cfg]) AC_OUTPUT - |