* configure.in: Use AC_LIBOBJ rather than manually modify LIBOBJS.
authorueno <ueno>
Tue, 17 Feb 2004 01:56:36 +0000 (01:56 +0000)
committerueno <ueno>
Tue, 17 Feb 2004 01:56:36 +0000 (01:56 +0000)
ChangeLog
configure.in

index a05f1c6..886f9df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * configure.in: Use AC_LIBOBJ rather than manually modify LIBOBJS.
+
 2002-03-06  Daiki Ueno  <ueno@unixuser.org>
 
        * configure.in (VERSION): Bump up to 0.9.
index 659fa9d..f5e8bf3 100644 (file)
@@ -18,7 +18,7 @@ if test "$ac_cv_struct_addrinfo" = "no"; then
 fi
 AC_CHECK_LIB(socket, socket)
 
-AC_CHECK_FUNC(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o")
+AC_CHECK_FUNC(getopt_long,,[AC_LIBOBJ(getopt)AC_LIBOBJ(getopt1)])
 AC_REPLACE_FUNCS(basename)
 AC_CHECK_FUNC(poll)