Commit Graph
6 Commits
Author SHA1 Message Date
Mike Frysinger ecb8f6ed3c clean up io-failure-emulation logic a bit
Use standard autoconf macros rather than open coding the logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:51:38 -04:00
Mike Frysinger 942e488bcd clean up compiler flag handling
ENABLE_DEBUG isn't used anywhere, so punt it.

--enable-debug is only used to control whether to enable -W flags by
default.  But there's no harm just always doing that, so drop the
configure flag and enable the -W flags when they're available.

AC_CACHE_CHECK requires cache vars have "_cv_" in their name, so tweak
all the cache var names to include that.

That leaves us with the PRESET_CFLAGS logic which is pointless nowadays
as autoconf largely does the same thing for us.  It'll default to using
'-O2 -g -Wall' if the compiler supports it, so no need to do it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:51:35 -04:00
Mike Frysinger 2537d91514 drop -fPIC usage
We don't create any libraries so there's no need to build with -fPIC.
Drop it all.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:51:21 -04:00
Mike Frysinger 0964757ec7 configure: update automake invocation
This converts away from the old/deprecated AM_INIT_AUTOMAKE method.

Also enable the nice silent build by default.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:50:55 -04:00
Mike Frysinger d0cf6adf13 fix version number
We're at 3.6.22 now, not 3.6.21.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:48:00 -04:00
Mike Frysinger da62161095 rename configure.in -> configure.ac
Newer autotools complains if you use the old style name.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
2012-10-30 17:47:07 -04:00