This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Replace obsolete AC_LINK_FILES with AC_CONFIG_LINKS


AC_LINK_FILES is an obsolete syntax.  This is the updated autoconf
2.5x version:

2002-10-18  Jeff Bailey  <jbailey@gnu.org>

        * configure.in: Replace AC_LINK_FILES with AC_CONFIG_LINKS


Index: configure.in
===================================================================
RCS file: /cvs/glibc/libc/configure.in,v
retrieving revision 1.368
diff -u -p -r1.368 configure.in
--- configure.in	18 Oct 2002 20:27:54 -0000	1.368
+++ configure.in	18 Oct 2002 20:42:04 -0000
@@ -1724,7 +1724,14 @@ if test x$libc_cv_gcc_unwind_find_fde =
 fi
 AC_SUBST(libc_cv_gcc_unwind_find_fde)

-AC_LINK_FILES(`echo $libc_link_sources`, `echo $libc_link_dests`)
+ac_sources="`echo $libc_link_sources`"
+ac_dests="`echo $libc_link_dests`"
+while test -n "$ac_sources"; do
+  set $ac_dests; ac_dest=$1; shift; ac_dests=$*
+  set $ac_sources; ac_source=$1; shift; ac_sources=$*
+  ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
+done
+AC_CONFIG_LINKS([$ac_config_links_1])

 # If we will use the generic uname implementation, we must figure out what
 # it will say by examining the system, and write the results in config-name.h.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]