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

Karl Heyes karl at xiph.org
Sat Mar 8 08:23:58 PST 2003



karl        03/03/08 11:23:58

  Modified:    .        configure.in
  Log:
  put all the defines into the automake header config.h, reduces the clutter
  on the compile lines

Revision  Changes    Path
1.19      +3 -1      libshout/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- configure.in	8 Mar 2003 02:45:22 -0000	1.18
+++ configure.in	8 Mar 2003 16:23:58 -0000	1.19
@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/shout.c)
+AM_CONFIG_HEADER(config.h)
 
 m4_define(libshout_major, 2)
 m4_define(libshout_minor, 0)
@@ -40,7 +41,8 @@
                 ;;
         esac
 else
-        XIPH_CFLAGS="-Wall -ffast-math -fsigned-char -D_GNU_SOURCE"
+        XIPH_CFLAGS="-Wall -ffast-math -fsigned-char"
+        AC_DEFINE(_GNU_SOURCE, ,[Define if you have POSIX and GNU specifications])
         DEBUG="-g"
         PROFILE="-pg -g"
 fi

<p><p>--- >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