mirror of
https://github.com/znc/znc.git
synced 2026-07-02 16:02:02 +02:00
configure.in: Don't explicitly set default prefix
configure automatically sets the prefix to /usr/local if the user didn't set one explicitly with --prefix, but it does so later than our own code. This must have been a problem in the past, but now everything works fine without this hack. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1637 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -3165,10 +3165,6 @@ fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$prefix" || test $prefix = "NONE"; then
|
||||
prefix="/usr/local"
|
||||
fi
|
||||
|
||||
|
||||
# Check whether --with-module-prefix was given.
|
||||
if test "${with_module_prefix+set}" = set; then :
|
||||
|
||||
@@ -152,10 +152,6 @@ if test -z "$NOSSL"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$prefix" || test $prefix = "NONE"; then
|
||||
prefix="/usr/local"
|
||||
fi
|
||||
|
||||
AC_ARG_WITH( [module-prefix],
|
||||
AS_HELP_STRING([--with-module-prefix], [module object code [[LIBDIR/znc]]]),
|
||||
[MODDIR=$withval],
|
||||
|
||||
Reference in New Issue
Block a user