Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN
This commit is contained in:
parent
fbb285fc91
commit
ddf7958353
@ -96,7 +96,7 @@ AS_IF([test "x$enable_pie" != "xno"], [
|
|||||||
save_LDFLAGS=$LDFLAGS
|
save_LDFLAGS=$LDFLAGS
|
||||||
CFLAGS="$CFLAGS -fPIE"
|
CFLAGS="$CFLAGS -fPIE"
|
||||||
LDFLAGS="$LDFLAGS -pie"
|
LDFLAGS="$LDFLAGS -pie"
|
||||||
AC_TRY_RUN([static int foo[30000]; int main () { return 0; }],
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[static int foo[30000]; int main () { return 0; }]])],
|
||||||
[ap_cv_cc_pie=yes],
|
[ap_cv_cc_pie=yes],
|
||||||
[ap_cv_cc_pie=no],
|
[ap_cv_cc_pie=no],
|
||||||
[ap_cv_cc_pie=yes]
|
[ap_cv_cc_pie=yes]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user