aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-04-09 13:55:11 -0700
committerRoland McGrath <roland@hack.frob.com>2015-04-09 13:55:11 -0700
commit054392910be496adb8c4e611084827082135c404 (patch)
treecbfb9aeb3a3532ded50c7037e6bcc60be18270f2 /configure.ac
parentb0b88abc1c138923bd1638560c73a3ced227f1d1 (diff)
downloadglibc-054392910be496adb8c4e611084827082135c404.tar
glibc-054392910be496adb8c4e611084827082135c404.tar.gz
glibc-054392910be496adb8c4e611084827082135c404.tar.bz2
glibc-054392910be496adb8c4e611084827082135c404.zip
Let non-add-on preconfigure scripts set libc_config_ok.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 39f3e86151..def655ab8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -412,12 +412,13 @@ AC_ARG_WITH([cpu],
esac
])
+# An preconfigure script can set this when it wants to disable the sanity
+# check below.
+libc_config_ok=no
+
dnl Let sysdeps/*/preconfigure act here, like they can in add-ons.
LIBC_PRECONFIGURE([$srcdir], [for sysdeps])
-# An add-on can set this when it wants to disable the sanity check below.
-libc_config_ok=no
-
dnl Having this here, though empty, makes sure that if add-ons' fragments
dnl do AC_CONFIG_SUBDIRS([some-dir]), which just sets $subdirs, then
dnl our AC_OUTPUT will actually use it.