replace if with AS_IF (#5709, wip)
This commit is contained in:
parent
5740f5b639
commit
bc29ca4080
@ -323,9 +323,8 @@ AS_IF([test $jansson = 0],
|
|||||||
|
|
||||||
# test for postgres
|
# test for postgres
|
||||||
AX_LIB_POSTGRESQL([9.3])
|
AX_LIB_POSTGRESQL([9.3])
|
||||||
if test "$found_postgresql" = "yes"; then
|
AS_IF([test "x$found_postgresql" = "xyes"],[postgres=true])
|
||||||
postgres=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
@ -444,9 +443,7 @@ fi])
|
|||||||
# Currently these options are ELF specific - you can't use this with MacOSX
|
# Currently these options are ELF specific - you can't use this with MacOSX
|
||||||
AC_ARG_ENABLE(linker-hardening,
|
AC_ARG_ENABLE(linker-hardening,
|
||||||
AS_HELP_STRING(--enable-linker-hardening, enable linker security fixups),
|
AS_HELP_STRING(--enable-linker-hardening, enable linker security fixups),
|
||||||
[if test x$enableval = xyes; then
|
[AS_IF([test x$enableval = xyes],[LDFLAGS="$LDFLAGS -z relro -z now"])])
|
||||||
LDFLAGS="$LDFLAGS -z relro -z now"
|
|
||||||
fi])
|
|
||||||
|
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
|
Loading…
Reference in New Issue
Block a user