1 dnl glibc add-on configure.in fragment for a ports add-on.
2 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
4 # The configure fragment in this file provides infrastructure for a glibc
5 # add-on containing one or more glibc ports. Only these few script files
6 # need exist in the top-level source directory of the add-on. The ports
7 # themselves are contained entirely within their new sysdeps/ directories.
8 # This makes it easy to take these few top-level files plus a new port's
9 # additions to the sysdeps tree, and package a small add-on for that port.
10 # The same infrastructure scripts work for any number of such glibc ports
11 # collected together into a single shared add-on package.
13 cpu_frags=`(cd $srcdir/$libc_add_on; echo sysdeps/*/preconfigure)`
14 test x"$cpu_frags" = x'sysdeps/*/preconfigure' ||
15 for frag in $cpu_frags; do
16 AC_MSG_RESULT(ports add-on running preconfigure fragment $frag)
17 . $srcdir/$libc_add_on/$frag