about summary refs log tree commit diff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-03-20 22:37:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-03-20 22:37:06 +0000
commitbef0b507497a019ae2a3f56b625e106d2b433629 (patch)
tree461094d780088d3a67ccb44b2a6bc521b90dbb96 /aclocal.m4
parent912cc4b3e4f9752b76d9cd43950fb8f5fa87117d (diff)
downloadglibc-bef0b507497a019ae2a3f56b625e106d2b433629.tar.gz
glibc-bef0b507497a019ae2a3f56b625e106d2b433629.tar.xz
glibc-bef0b507497a019ae2a3f56b625e106d2b433629.zip
Move system-specific settings out of toplevel configure.in and config.make.in.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 956ea8616c..042a7e3c38 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -241,3 +241,10 @@ else
   $4
 fi
 AC_MSG_RESULT($libc_linker_feature)])
+
+dnl Add a makefile variable, with value set from a shell string
+dnl (expanded by the shell inside double quotes), to config.make.
+dnl LIBC_CONFIG_VAR(make-variable, shell-value)
+AC_DEFUN([LIBC_CONFIG_VAR],
+[config_vars="$config_vars
+$1 = $2"])