mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com> * libc.map: Add more symbols. * Mwkerules (load-map-file): Currectly handle missing map file. 1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com> * configure.in: Correct detection of generic uname implementation. 1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com> * math/libm-test.c: Fix typos. Patch by Andreas Jaeger. * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk.
This commit is contained in:
24
sysdeps/unix/sysv/linux/configure
vendored
24
sysdeps/unix/sysv/linux/configure
vendored
@ -98,3 +98,27 @@ fi
|
||||
if test -f $srcdir/elf/ldconfig.c; then
|
||||
has_ldconfig=yes
|
||||
fi
|
||||
|
||||
# Generate stdio_lim.h
|
||||
default_fopen_max="`${CC-gcc} -E $srcdir/sysdeps/unix/sysv/linux/mk-stdiolim.c | grep DEFAULT_FOPEN_MAX | cut -f2 -d':'`"
|
||||
default_filename_max="`${CC-gcc} -E $srcdir/sysdeps/unix/sysv/linux/mk-stdiolim.c | grep DEFAULT_FILENAME_MAX | cut -f2 -d':'`"
|
||||
# We double check if "default_fopen_max" and "default_filename_max" are
|
||||
# ok or not.
|
||||
if test "x$default_fopen_max" != "xOPEN_MAX" \
|
||||
-a "x$default_filename_max" != "xPATH_MAX"
|
||||
then
|
||||
sed -e "s/DEFAULT_FOPEN_MAX/$default_fopen_max/" \
|
||||
-e "s/DEFAULT_FILENAME_MAX/$default_filename_max/" \
|
||||
$srcdir/sysdeps/unix/sysv/linux/stdio_lim.h.in > stdio_lim.h.new
|
||||
if test -r stdio_lim.h.new && cmp -s stdio_lim.h.new stdio_lim.h
|
||||
then
|
||||
echo stdio_lim.h unchanged
|
||||
rm -f stdio_lim.h.new
|
||||
else
|
||||
mv -f stdio_lim.h.new stdio_lim.h
|
||||
fi
|
||||
else
|
||||
# We remove the old one if we cannot generate the new one during
|
||||
# configure.
|
||||
rm -f stdio_lim.h
|
||||
fi
|
||||
|
Reference in New Issue
Block a user