]> git.pld-linux.org Git - packages/lgeneral.git/commitdiff
- fix for configure.in which contains one Makefile two times
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 15 Oct 2002 14:01:45 +0000 (14:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lgeneral-configure_fix.patch -> 1.1

lgeneral-configure_fix.patch [new file with mode: 0644]

diff --git a/lgeneral-configure_fix.patch b/lgeneral-configure_fix.patch
new file mode 100644 (file)
index 0000000..ff301c7
--- /dev/null
@@ -0,0 +1,69 @@
+diff -durN lgeneral-1.1.orig/configure.in lgeneral-1.1/configure.in
+--- lgeneral-1.1.orig/configure.in     Tue Oct 15 13:55:35 2002
++++ lgeneral-1.1/configure.in  Tue Oct 15 13:56:43 2002
+@@ -53,4 +53,4 @@
+ AC_SUBST(inst_dir)
+ AC_SUBST(dis_flag)
+-AC_OUTPUT(Makefile src/Makefile src/nations/Makefile src/scenarios/Makefile src/units/Makefile src/sounds/Makefile src/music/Makefile src/maps/Makefile src/gfx/Makefile  src/gfx/flags/Makefile src/gfx/terrain/Makefile src/gfx/units/Makefile src/ai_modules/Makefile src/campaigns/Makefile src/gfx/Makefile src/themes/Makefile src/themes/default/Makefile)
++AC_OUTPUT(Makefile src/Makefile src/nations/Makefile src/scenarios/Makefile src/units/Makefile src/sounds/Makefile src/music/Makefile src/maps/Makefile src/gfx/Makefile  src/gfx/flags/Makefile src/gfx/terrain/Makefile src/gfx/units/Makefile src/ai_modules/Makefile src/campaigns/Makefile src/themes/Makefile src/themes/default/Makefile)
+diff -durN lgeneral-1.1.orig/configure.in~ lgeneral-1.1/configure.in~
+--- lgeneral-1.1.orig/configure.in~    Thu Jan  1 00:00:00 1970
++++ lgeneral-1.1/configure.in~ Tue Oct 15 13:55:35 2002
+@@ -0,0 +1,56 @@
++dnl Process this file with autoconf to produce a configure script.
++AC_INIT(Makefile.am)
++
++AM_CONFIG_HEADER(config.h)
++
++AM_INIT_AUTOMAKE(lgeneral,1.1)
++
++dnl Checks for programs.
++AC_PROG_CC
++AC_PROG_RANLIB
++
++dnl various CFLAGS
++CFLAGS="-g"
++CFLAGS="$CFLAGS -Wall"
++
++dnl Checks for libraries.
++
++dnl check SDL version
++AM_PATH_SDL(1.1.4,, AC_MSG_ERROR(lib SDL >=1.1.4 is needed))
++CFLAGS="$CFLAGS $SDL_CFLAGS"
++LIBS="$LIBS $SDL_LIBS"
++
++dnl check sound
++sound_flag="-DWITH_SOUND"
++mixer_flag="-lSDL_mixer"
++AC_ARG_ENABLE( sound,
++[  --disable-sound         Disables sound], sound_flag=""; mixer_flag="")
++
++dnl check if SDL_mixer's installed
++dnl if not: clear sound_flag and mixer_flag
++AC_CHECK_LIB(SDL_mixer, main,
++AC_MSG_RESULT("SDL_Mixer found"), 
++AC_MSG_RESULT("SDL_Mixer NOT found \(get it at http://libsdl.org\): Audio disabled"); sound_flag=""; mixer_flag="")
++
++AC_SUBST(sound_flag)
++AC_SUBST(mixer_flag)
++
++dnl check use of dynamic libraries
++dl_flag="-DUSE_DL"
++AC_ARG_ENABLE( dl,
++[  --disable-dl         Disable use of dynamic AI modules], dl_flag="")
++AC_SUBST(dl_flag)
++
++dnl installation path
++inst_dir=$datadir/lgeneral
++inst_flag="-DSRC_DIR=\\\"$inst_dir\\\""
++
++AC_ARG_ENABLE( install,
++[  --disable-install       No installation. Played from the source directory.], 
++inst_dir=. inst_flag="-DSRC_DIR=\\\".\\\"" dis_flag="-DDISABLE_INSTALL")
++
++AC_SUBST(inst_flag)
++AC_SUBST(inst_dir)
++AC_SUBST(dis_flag)
++
++AC_OUTPUT(Makefile src/Makefile src/nations/Makefile src/scenarios/Makefile src/units/Makefile src/sounds/Makefile src/music/Makefile src/maps/Makefile src/gfx/Makefile  src/gfx/flags/Makefile src/gfx/terrain/Makefile src/gfx/units/Makefile src/ai_modules/Makefile src/campaigns/Makefile src/gfx/Makefile src/themes/Makefile src/themes/default/Makefile)
This page took 0.064305 seconds and 4 git commands to generate.