diff options
-rwxr-xr-x | autogen.sh | 11 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 2 insertions, 16 deletions
@@ -8,24 +8,15 @@ CFLAGS="-g -Wall \ -Wpointer-arith -Wsign-compare -Wchar-subscripts \ -Wstrict-prototypes -Wshadow \ -Wformat=2 -Wtype-limits" -args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux" -libdir=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd)) +args="--prefix=/usr --exec-prefix=" case "$1" in *install|"") - args="$args --with-libdir-name=$libdir" export CFLAGS="$CFLAGS -O2" echo " configure: $args" echo ./configure $args ;; - *devel) - args="$args --enable-debug --with-libdir-name=$libdir" - export CFLAGS="$CFLAGS -O0" - echo " configure: $args" - echo - ./configure $args - ;; *clean) ./configure make maintainer-clean diff --git a/configure.ac b/configure.ac index bd09005..79a231f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,14 +3,8 @@ AC_INIT([udev-extras], [linux-hotplug@vger.kernel.org]) AC_PREREQ(2.60) AM_INIT_AUTOMAKE([check-news foreign 1.9 subdir-objects dist-bzip2]) -AC_DISABLE_STATIC AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE -AC_CONFIG_HEADERS(config.h) -AC_PROG_CC -AM_PROG_CC_C_O -AC_PROG_INSTALL -AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) dnl prefix is /usr, exec_prefix in /, if overridden exec_prefix follows prefix @@ -61,6 +55,7 @@ AC_ARG_WITH(pci-ids-path, fi]) AC_SUBST(PCI_DATABASE) +AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES([ Makefile rules.d/Makefile |