+2002-01-14 Ossama Othman <ossama@uci.edu>
+
+ From Roger Leigh <rl117@york.ac.uk>:
+ * libtoolize.in (auxdirline): Fixed hardcoded value of
+ "configure.in." Instead use "$configure_ac" variable. Corrects
+ AC_CONFIG_AUX_DIR support when using new style `configure.ac.'
+
+ * doc/libtool.texi: Corrected typo. "Safety" not "Saftey".
+
2002-01-14 Robert Boehne <rboehne@ricardo-us.com>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Add mips/mipsel to list of
* Libltdl interface:: How to use libltdl in your programs.
* Modules for libltdl:: Creating modules that can be @code{dlopen}ed.
-* Thread Saftey in libltdl:: Registering callbacks for multi-thread safety.
+* Thread Safety in libltdl:: Registering callbacks for multi-thread safety.
* User defined module data:: Associating data with loaded modules.
* Module loaders for libltdl:: Creating user defined module loaders.
* Distributing libltdl:: How to distribute libltdl with your package.
@menu
* Libltdl interface:: How to use libltdl in your programs.
* Modules for libltdl:: Creating modules that can be @code{dlopen}ed.
-* Thread Saftey in libltdl:: Registering callbacks for multi-thread safety.
+* Thread Safety in libltdl:: Registering callbacks for multi-thread safety.
* User defined module data:: Associating data with loaded modules.
* Module loaders for libltdl:: Creating user defined module loaders.
* Distributing libltdl:: How to distribute libltdl with your package.
@end example
-@node Thread Saftey in libltdl
+@node Thread Safety in libltdl
@section Using libtldl in a multi threaded environment
Using the @code{lt_dlmutex_register()} function, and by providing some
files='config.guess config.sub ltmain.sh'
auxdir=.
-auxdirline=`egrep '^AC_CONFIG_AUX_DIR' configure.in 2>/dev/null`
+auxdirline=`egrep '^AC_CONFIG_AUX_DIR' $configure_ac 2>/dev/null`
if test -n "$auxdirline"; then
# Handle explicit AC_CONFIG_AUX_DIR settings.
auxdir=`echo "$auxdirline" | sed 's/^AC_CONFIG_AUX_DIR(\([^)]*\)).*$/\1/'`