[xiph-cvs] cvs commit: vorbis configure.in

Jack Moffitt jack at xiph.org
Sun Oct 21 08:00:22 PDT 2001



jack        01/10/21 08:00:22

  Modified:    .        configure.in
  Log:
  configure.in fix
  
  Michael Pruett <michael at 68k.org> pointed out that setting the LIBS in
  various tests means they are set for all tests.  This could have adverse
  affects under weird configurations, so we set them at the end just before
  substitution.

Revision  Changes    Path
1.45      +4 -1      vorbis/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis/configure.in,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- configure.in	2001/08/13 05:57:37	1.44
+++ configure.in	2001/10/21 15:00:21	1.45
@@ -159,7 +159,7 @@
 AC_CHECK_LIB(m, cos, LIBS="-lm", LIBS="")
 AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
 
-AM_PATH_OGG(LIBS="$LIBS $OGG_LIBS", AC_MSG_ERROR(must have Ogg installed!))
+AM_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!))
 
 dnl --------------------------------------------------
 dnl Check for library functions
@@ -180,6 +180,9 @@
 dnl Do substitutions
 dnl --------------------------------------------------
 
+LIBS="$LIBS $OGG_LIBS"
+
+AC_SUBST(LIBS)
 AC_SUBST(DEBUG)
 AC_SUBST(PROFILE)
 AC_SUBST(pthread_lib)

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list