gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash configure.ac macros/ghelp.m4


From: Markus Gothe
Subject: [Gnash-commit] gnash configure.ac macros/ghelp.m4
Date: Sat, 25 Nov 2006 21:52:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/11/25 21:52:54

Modified files:
        .              : configure.ac 
Removed files:
        macros         : ghelp.m4 

Log message:
        Moved this code to the cobfigure.ac.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.211&r2=1.212
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ghelp.m4?cvsroot=gnash&r1=1.11&r2=0

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -b -r1.211 -r1.212
--- configure.ac        25 Nov 2006 21:25:23 -0000      1.211
+++ configure.ac        25 Nov 2006 21:52:54 -0000      1.212
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.211 2006/11/25 21:25:23 nihilus Exp $
+dnl $Id: configure.ac,v 1.212 2006/11/25 21:52:54 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -546,12 +546,29 @@
    GNASH_PATH_GTK2
    GNASH_PATH_PANGO
    GNASH_PATH_ATK
-dnl I'm kinda lazy, get rid of this later... //Markus
-AM_CONDITIONAL(HAVE_XFT, test x$fltk = xyes)
-       if test x"$fltk" = x"yes"; then
+
+if test x"$fltk" = x"yes"; then
        GNASH_PKG_FIND(Xft, [Xft.h], [xft library], XftGlyphRender)
+fi
+
+AC_ARG_ENABLE(ghelp, AC_HELP_STRING([--enable-ghelp], [Enable support for the 
GNOME help system]),
+[case "${enableval}" in
+       yes) ghelp=yes ;;
+       no)  ghelp=no ;;
+       *)   AC_MSG_ERROR([bad value ${enableval} for enable-ghelp option]) ;;
+       esac], ghelp=no)
+
+if test x"$ghelp" = x"yes" ; then
+       AC_PATH_PROG(SCROLLKEEPER, scrollkeeper-config, [], 
[$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
+       AC_PATH_PROG(SCROLLUPDATE, scrollkeeper-update, [],     
[$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
+       AC_PATH_PROG(SCROLLINSTALL, scrollkeeper-preinstall, [], 
[$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
+
+       if test x"$SCROLLKEEPER" = x -o x"$SCROLLUPDATE" = x -o 
x"$SCROLLINSTALL" = x ; then
+               ghelp=no
+               AC_MSG_WARN([You need to install scrollkeeper for gnome help])
        fi
-   GNASH_PATH_GHELP
+fi
+
 dnl Using GTK always needs Cairo, even with OpenGL
        GNASH_PKG_FIND(cairo, [cairo.h], [cairo render library], cairo_status)
 fi
@@ -602,8 +619,6 @@
        fi
 fi
 
-dnl I'm kinda lazy, get rid of this later... //Markus
-AM_CONDITIONAL(HAVE_MAD, test x$mp3_decoder = xmad)
 if test x"$mp3_decoder" = x"mad"; then
        dnl Will set MAD_LIBS and MAD_CFLAGS.
        dnl Handles --with-mad-incl and --with-mad-lib
@@ -614,6 +629,9 @@
           AC_MSG_WARN([Libmad specified as decoder, but it's not present, 
disabling sound])
        fi
 fi
+dnl I'm kinda lazy, get rid of this later... //Markus
+AM_CONDITIONAL(HAVE_MAD, test x$mp3_decoder = xmad)
+
 AM_CONDITIONAL(USE_SOUND_GST, test x$sound_handler = xgst)
 AM_CONDITIONAL(USE_SOUND_SDL, test x$sound_handler = xsdl)
 AM_CONDITIONAL(USE_FFMPEG_ENGINE, test x$mp3_decoder = xffmpeg)
@@ -631,18 +649,21 @@
        *)
 esac
 
-dnl I'm kinda lazy, get rid of this later... //Markus
-AM_CONDITIONAL(HAVE_GST, test x$sound_handler = xgst)
+
 if test "$sound_handler" = "gst"; then
        GNASH_PKG_FIND(gstreamer, [gst.h], [gstreamer library], gst_init, 
[0.10])
 fi
 
-AM_CONDITIONAL(HAS_FLTK, [ test x$has_fltk = xyes ])
-AM_CONDITIONAL(HAS_XFT, [ test x$has_xft = xyes ])
+dnl I'm kinda lazy, get rid of this later... //Markus
+AM_CONDITIONAL(HAVE_GST, test x$sound_handler = xgst)
+
 if test x$gui = xfltk; then
        GNASH_PKG_FIND(fltk, [FL_API.h], [gstreamer library], fl_xmap, [], 
[-lfltk_gl])
 fi
 
+AM_CONDITIONAL(HAS_FLTK, [ test x$has_fltk = xyes ])
+AM_CONDITIONAL(HAS_XFT, [ test x$has_xft = xyes ])
+
 
 if test x$renderer = xagg; then
 GNASH_PATH_AGG

Index: macros/ghelp.m4
===================================================================
RCS file: macros/ghelp.m4
diff -N macros/ghelp.m4
--- macros/ghelp.m4     29 Oct 2006 18:34:10 -0000      1.11
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,41 +0,0 @@
-dnl  
-dnl    Copyright (C) 2005, 2006 Free Software Foundation, Inc.
-dnl  
-dnl  This program is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
-dnl  (at your option) any later version.
-dnl  
-dnl  This program is distributed in the hope that it will be useful,
-dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-dnl  GNU General Public License for more details.
-dnl  You should have received a copy of the GNU General Public License
-dnl  along with this program; if not, write to the Free Software
-dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
-dnl  
-dnl 
-
-AC_DEFUN([GNASH_PATH_GHELP],
-[
-  AC_ARG_ENABLE(ghelp, AC_HELP_STRING([--enable-ghelp], [Enable support for 
the GNOME help system]),
-  [case "${enableval}" in
-    yes) ghelp=yes ;;
-    no)  ghelp=no ;;
-    *)   AC_MSG_ERROR([bad value ${enableval} for enable-ghelp option]) ;;
-  esac], ghelp=no)
-
-  if test x"$ghelp" = x"yes" ; then
-    AC_PATH_PROG(SCROLLKEEPER, scrollkeeper-config, [],
-       [$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
-    AC_PATH_PROG(SCROLLUPDATE, scrollkeeper-update, [],
-       [$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
-    AC_PATH_PROG(SCROLLINSTALL, scrollkeeper-preinstall, [],
-       [$PATH:/usr/bin/X11:/usr/local/bin/X11:/opt/X11])
-    if test x"$SCROLLKEEPER" = x -o x"$SCROLLUPDATE" = x -o x"$SCROLLINSTALL" 
= x ; then
-      ghelp=no
-      AC_MSG_WARN([You need to install scrollkeeper for gnome help])
-    fi
-  fi
-])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]