Mercurial > mplayer.hg
diff configure @ 19034:9b3a8b48e5b3
Use only one global config.mak file.
author | diego |
---|---|
date | Wed, 12 Jul 2006 17:28:14 +0000 |
parents | 55990b84e83c |
children | 6866e768aef8 |
line wrap: on
line diff
--- a/configure Wed Jul 12 17:15:58 2006 +0000 +++ b/configure Wed Jul 12 17:28:14 2006 +0000 @@ -17,8 +17,7 @@ # # configure generates a series of configuration files: # - config.h contains #defines that are used in the C code. -# - config.mak libvo/config.mak libao2/config.mak Gui/config.mak -# and libaf/config.mak are included from the Makefiles. +# - config.mak is included from the Makefiles. # # If you want to add a new check for $feature, here is a simple skeleton: # @@ -7128,17 +7127,6 @@ _ld_gui='$(GTKLIB) $(GLIBLIB)' fi - echo "Creating Gui/config.mak" - cat > Gui/config.mak << EOF -# -------- Generated by configure ----------- - -GTKINC = $_inc_gtk -GTKLIBS = $_ld_gtk -GLIBINC = $_inc_glib -GLIBLIBS = $_ld_glib - -EOF - else _def_gui='#undef HAVE_NEW_GUI' _def_gtk2_gui='#undef HAVE_GTK2_GUI' @@ -7647,11 +7635,23 @@ # --- GUI stuff --- GTKINC = $_inc_gtk GTKLIB = $_ld_static $_ld_gtk +GTKLIBS = $_ld_gtk GLIBLIB = $_ld_static $_ld_glib +GLIBLIBS = $_ld_glib +GLIBINC = $_inc_glib GTK_LIBS = $_ld_static $_ld_gui GUI = $_gui DEBUG = -DDEBUG +# --- libvo stuff --- +VO_SRCS = $_vosrc + +# --- libao2 stuff --- +AO_SRCS = $_aosrc + +# --- libaf stuff --- +AF_SRCS = $_afsrc + EOF ############################################################################# @@ -8358,36 +8358,6 @@ ############################################################################# -echo "Creating libvo/config.mak" -_voobj=`echo $_vosrc | sed -e 's/\.c/\.o/g;s/\.m/\.o/g'` -cat > libvo/config.mak << EOF -include ../config.mak -OPTIONAL_SRCS = $_vosrc -OPTIONAL_OBJS = $_voobj -EOF - -############################################################################# - -echo "Creating libao2/config.mak" -_aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` -cat > libao2/config.mak << EOF -include ../config.mak -OPTIONAL_SRCS = $_aosrc -OPTIONAL_OBJS = $_aoobj -EOF - -############################################################################# - -echo "Creating libaf/config.mak" -_afobj=`echo $_afsrc | sed -e 's/\.c/\.o/g'` -cat > libaf/config.mak << EOF -include ../config.mak -OPTIONAL_SRCS = $_afsrc -OPTIONAL_OBJS = $_afobj -EOF - -############################################################################# - cat << EOF Config files successfully generated by ./configure !