diff options
author | Adam Jackson <ajax@redhat.com> | 2018-02-01 14:45:56 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-02-01 14:47:38 -0500 |
commit | 05b1963945ff8a2989c97ba1bbbee507b6328b2d (patch) | |
tree | 921d187a0ee0ac1d691005935bc665922f488507 /configure.ac | |
parent | 627f4f40abb51a927ed91d9e8b45630d006886c2 (diff) |
xproto: Move NARROWPROTO logic out of configure time
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac index 4c2db89..f20c0e6 100644 --- a/configure.ac +++ b/configure.ac @@ -65,10 +65,6 @@ AC_ARG_ENABLE(nested-prototypes, AS_HELP_STRING([--enable-nested-prototypes], [nested prototypes are supported (default: auto)]), [NESTEDPROTO=$enableval], [NESTEDPROTO=auto]) -AC_ARG_ENABLE(wide-prototypes, - AS_HELP_STRING([--enable-wide-prototypes], - [widen function prototypes (default: auto)]), - [WIDEPROTO=$enableval], [WIDEPROTO=auto]) AC_CHECK_HEADERS([sys/select.h sys/param.h sys/types.h sys/time.h]) @@ -219,22 +215,6 @@ else fi fi -AC_MSG_CHECKING([whether to widen function prototypes]) -if test "x$WIDEPROTO" = xauto; then - case $host_os in - linux*) WIDEPROTO=no ;; - freebsd*) WIDEPROTO=no ;; - netbsd*) WIDEPROTO=no ;; - openbsd*) WIDEPROTO=no ;; - *) WIDEPROTO=yes ;; - esac -fi -AC_MSG_RESULT([$WIDEPROTO]) - -if test "x$WIDEPROTO" = xno; then - AC_DEFINE(NARROWPROTO, [], [Narrow prototypes]) -fi - AC_CONFIG_FILES([applewmproto.pc bigreqsproto.pc compositeproto.pc |