]> granicus.if.org Git - libevent/commitdiff
build: remove call to AC_PREFIX_DEFAULT
authorfanquake <fanquake@gmail.com>
Tue, 15 Jun 2021 05:35:58 +0000 (13:35 +0800)
committerfanquake <fanquake@gmail.com>
Fri, 9 Jul 2021 04:34:10 +0000 (12:34 +0800)
> By default, configure sets the prefix for files it installs to /usr/local.

A call to AC_PREFIX_DEFAULT, just to set the value the same as the
default, would seem unnecessary. Note that the "initialize prefix"
comment dates back to aa6567fe6475d3230c7c745a7ca208735af0c331, prior to
when an autoconf macro was actually being used.

See:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.67/autoconf.html#Default-Prefix.

configure.ac

index 5cb021476295c2aa1f775b22be368ce9efdf53d3..f7b5b5b5685b8eb4d6c7dfbcc4c05e50e9995466 100644 (file)
@@ -22,9 +22,6 @@ AM_SILENT_RULES([yes])
 AC_CONFIG_HEADERS(config.h  evconfig-private.h:evconfig-private.h.in)
 AC_DEFINE(NUMERIC_VERSION, 0x02020001, [Numeric representation of the version])
 
-dnl Initialize prefix.
-AC_PREFIX_DEFAULT([/usr/local])
-
 dnl Try and get a full POSIX environment on obscure systems
 AC_USE_SYSTEM_EXTENSIONS