jbig2dec

Ralph Giles <[email protected]> Fri, 12 Jul 2002 18:22:52 -0700
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Update of /cvsroot/jbig2dec/jbig2dec
In directory usw-pr-cvs1:/tmp/cvs-serv10567

Modified Files:
	configure.ac 
Log Message:
update configure.ac to 2.53, use AC_LIBOBJ() instead of updating LIBOBJS directly

Index: configure.ac
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/configure.ac,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- configure.ac	13 Jul 2002 01:10:00 -0000	1.7
+++ configure.ac	13 Jul 2002 01:22:50 -0000	1.8
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_INIT([jbig2dec], [0.1], [[email protected]])
-AC_PREREQ(2.52)
+AC_PREREQ(2.53)
 AC_CONFIG_SRCDIR([jbig2dec.c])
 
 AM_INIT_AUTOMAKE([AC_PACKAGE_NAME], [AC_PACKAGE_VERSION])
@@ -18,7 +18,7 @@
   AC_CHECK_LIB([z], [deflate], [
     AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)])
     LIBS="$LIBS -lpng -lz"
-    LIBOBJS="$LIBOBJS jbig2_image_png.o"
+    AC_LIBOBJ([jbig2_image_png])
   ])
 ])
 
@@ -99,7 +99,8 @@
 dnl use our included getopt if the system doesn't have getopt_long()
 AC_CHECK_FUNC(getopt_long, 
 	[AC_DEFINE(HAVE_GETOPT_LONG,,[Define if the local libc includes getopt_long()])],
-	[LIBOBJS="$LIBOBJS getopt.o getopt1.o"]
+	AC_LIBOBJ([getopt])
+	AC_LIBOBJ([getopt1])
 )
 
 # generate output