mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2025-04-04 08:22:47 +00:00
- Really fixed the PKGLIBDIR bug this time (by making
exec_prefix default to $prefix)
This commit is contained in:
parent
4a3753eaf5
commit
ac7df517ed
1 changed files with 2 additions and 2 deletions
|
@ -354,8 +354,8 @@ dnl $libdir usually gets set to ${exec_prefix}/lib,
|
|||
dnl $prefix and $exec_prefix is likely to be "NONE"
|
||||
dnl Autoconf usually sets pkglibdir correctly in the Makefile, but not in
|
||||
dnl the configure script :(
|
||||
test "$prefix" = NONE && prefix=/usr/local
|
||||
test "$exec_prefix" = NONE && exec_prefix=/usr/local
|
||||
test "$prefix" = "NONE" && prefix=/usr/local
|
||||
test "$exec_prefix" = "NONE" && exec_prefix=$prefix
|
||||
|
||||
eval PKGLIBDIR="$libdir/$PACKAGE"
|
||||
AC_DEFINE_UNQUOTED(PKGLIBDIR, "$PKGLIBDIR", [Define this to the path containing the dynamic modules (\${exec-prefix}/lib/quake2/)])
|
||||
|
|
Loading…
Reference in a new issue