Re: Re: Will CVS compile (shot 2) ?

Daniel Caujolle-Bert <[email protected]> Wed, 22 Jan 2003 00:24:43 +0100
Newsgroups gmane.comp.video.sinek.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------020702090907060401090209
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi All,

	Devels, apply attached patch to current CVS, and don't forget to remove 
the acconfig.h file from CVS, new auto* tool doesn't need it anymore. 
This patch prevail of the first one i sent few minutes ago, it fix also 
the bison version checking bug.

Cheers.
-- 
73's de Daniel, F1RMB.

               -=- Daniel Caujolle-Bert -=- [email protected] -=-
                         -=- [email protected] (AMPR NET) -=-


--------------020702090907060401090209
Content-Type: text/plain;
 name="sinek-auto.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sinek-auto.diff"

Index: autogen.sh
===================================================================
RCS file: /cvsroot/sinek/sinek/autogen.sh,v
retrieving revision 1.2
diff -u -r1.2 autogen.sh
--- autogen.sh	13 Feb 2002 18:34:54 -0000	1.2
+++ autogen.sh	21 Jan 2003 23:11:12 -0000
@@ -10,17 +10,6 @@
 test -z "$srcdir" && srcdir=.
 build_dir=`pwd`
 
-m4_files="xine.m4 gettext.m4 glibc21.m4 iconv.m4 lcmessage.m4 progtest.m4 codeset.m4 isc-posix.m4 guile.m4"
-if test -d m4; then
-    rm -f acinclude.m4
-    for m4f in $m4_files; do
-	cat m4/$m4f >> acinclude.m4
-    done
-else
-    echo "Directory 'm4' is missing."
-    exit 1
-fi
-
 DIE=0
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
@@ -57,7 +46,7 @@
 
 (
 	cd $srcdir
-	aclocal
+	aclocal -I m4
 	autoheader
 	automake --add-missing $am_opt
 	autoconf
Index: configure.in
===================================================================
RCS file: /cvsroot/sinek/sinek/configure.in,v
retrieving revision 1.22
diff -u -r1.22 configure.in
--- configure.in	3 Jan 2003 05:44:23 -0000	1.22
+++ configure.in	21 Jan 2003 23:11:13 -0000
@@ -43,13 +43,13 @@
 AM_PATH_XINE(1.0.0,, AC_MSG_ERROR(*** You should install xine-lib first ***))
 XINE_LOCALEDIR="`echo $xine_locale_dir|sed -e 's/\^'$escapedprefix/'\${prefix}'/`"
 AC_SUBST(XINE_LOCALEDIR)
-AC_DEFINE_UNQUOTED(XINE_LOCALEDIR, "$XINE_LOCALEDIR")
+AC_DEFINE_UNQUOTED(XINE_LOCALEDIR, "$XINE_LOCALEDIR", [Path where catalog files will be.])
 
 AC_PATH_X
 XTEST_LIBS=""
 AC_CHECK_LIB(Xtst, XTestFakeKeyEvent,
         XTEST_LIBS="-lXtst -L$x_libraries"
-        AC_DEFINE(HAVE_XTEST),
+        AC_DEFINE(HAVE_XTEST,1,[Define this if you have XText]),
         ,
         "-L$x_libraries")
 AC_SUBST(XTEST_LIBS)
@@ -58,7 +58,8 @@
 [  --disable-guile         disable use of guile scripting],
         guile=$enableval, guile=yes)
 if test "$guile" = yes; then
-    AM_PATH_GUILE(lala, AC_DEFINE(USE_GUILE), [guile=no])
+    AM_PATH_GUILE(lala, AC_DEFINE(USE_GUILE,1,[Define this if you have GUILE installed]),
+		 [guile=no])
 fi
 AM_CONDITIONAL(DO_GUILE, test "x$guile" = "xyes")
 


--------------020702090907060401090209--



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp