1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 00:23:13 +02:00

Fix configure script

This commit is contained in:
Travis McArthur
2017-02-25 10:29:05 -08:00
parent 0136ac3c83
commit fbf715af9b
2 changed files with 6 additions and 6 deletions
Vendored
+5 -5
View File
@@ -4007,14 +4007,14 @@ fi
HARDEN_CFLAGS=""
HARDEN_LDFLAGS=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -rpath=/bin/" >&5
$as_echo_n "checking whether the linker accepts -rpath=/bin/... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -rpath /bin/" >&5
$as_echo_n "checking whether the linker accepts -rpath /bin/... " >&6; }
if ${ax_cv_check_ldflags__Werror___rpath__bin_+:} false; then :
$as_echo_n "(cached) " >&6
else
ax_check_save_flags=$LDFLAGS
LDFLAGS="$LDFLAGS -Werror -rpath=/bin/"
LDFLAGS="$LDFLAGS -Werror -rpath /bin/"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -4038,9 +4038,9 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags__Werror___rpath__bin_" >&5
$as_echo "$ax_cv_check_ldflags__Werror___rpath__bin_" >&6; }
if test x"$ax_cv_check_ldflags__Werror___rpath__bin_" = xyes; then :
RPATH_FORMAT="-rpath="
else
RPATH_FORMAT="-rpath "
else
RPATH_FORMAT="-rpath="
fi
+1 -1
View File
@@ -141,7 +141,7 @@ AC_ARG_ENABLE([hardening],
HARDEN_CFLAGS=""
HARDEN_LDFLAGS=""
check_link_flag([-rpath=/bin/], [RPATH_FORMAT="-rpath="], [RPATH_FORMAT="-rpath "])
check_link_flag([-rpath /bin/], [RPATH_FORMAT="-rpath "], [RPATH_FORMAT="-rpath="])
AS_IF([test x"$hardening" != x"no"], [