diff -u argp-standalone-1.3/configure.ac argp-standalone-1.3.new/configure.ac --- argp-standalone-1.3/configure.ac 2004-03-19 16:39:08.000000000 -0500 +++ argp-standalone-1.3.new/configure.ac 2011-01-13 14:27:10.000000000 -0500 @@ -21,6 +21,7 @@ AC_PROG_MAKE_SET AC_PROG_RANLIB AM_PROG_CC_STDC +AC_PROG_LIBTOOL if test "x$am_cv_prog_cc_stdc" = xno ; then AC_ERROR([the C compiler doesn't handle ANSI-C]) diff -u argp-standalone-1.3/Makefile.am argp-standalone-1.3.new/Makefile.am --- argp-standalone-1.3/Makefile.am 2005-05-10 08:07:49.000000000 -0400 +++ argp-standalone-1.3.new/Makefile.am 2011-01-13 14:28:00.000000000 -0500 @@ -21,9 +21,9 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = . testsuite -LIBOBJS = @LIBOBJS@ +LTLIBOBJS = @LTLIBOBJS@ -lib_LIBRARIES = libargp.a +lib_LTLIBRARIES = libargp.la # argp-test needs random(), which is not available on windows. EXTRA_PROGRAMS = argp-test @@ -33,11 +33,11 @@ EXTRA_DIST = mempcpy.c strchrnul.c strndup.c strcasecmp.c vsnprintf.c Versions # Leaves out argp-fs-xinl.c and argp-xinl.c -libargp_a_SOURCES = argp-ba.c argp-eexst.c argp-fmtstream.c \ +libargp_la_SOURCES = argp-ba.c argp-eexst.c argp-fmtstream.c \ argp-help.c argp-parse.c argp-pv.c \ argp-pvh.c -libargp_a_LIBADD = $(LIBOBJS) +libargp_la_LIBADD = $(LIBOBJS) -argp_test_LDADD = libargp.a +argp_test_LDADD = libargp.la --- argp-standalone-1.3/testsuite/Makefile.am 2004-10-18 17:00:26.000000000 -0400 +++ argp-standalone-1.3.new/testsuite/Makefile.am 2011-01-13 14:27:59.000000000 -0500 @@ -7,7 +7,7 @@ TS_ALL = $(TS_PROGS) $(TS_SH) -LDADD = ../libargp.a +LDADD = $(top_builddir)/libargp.la EXTRA_DIST = $(TS_SH) run-tests CLEANFILES = test.out