Changeset 78
- Timestamp:
- 04/24/07 12:47:20 (1 year ago)
- Files:
-
- trunk/aclocal.m4 (modified) (2 diffs)
- trunk/configure.ac (modified) (6 diffs)
- trunk/m4/sdl.m4 (added)
- trunk/m4/stdint_h.m4 (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/aclocal.m4
r74 r78 1 # generated automatically by aclocal 1. 9.6-*- Autoconf -*-1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005 Free Software Foundation, Inc.4 # 2005, 2006 Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 15 15 m4_include([m4/pkg.m4]) 16 16 m4_include([m4/sdl.m4]) 17 m4_include([m4/stdint_h.m4]) trunk/configure.ac
r77 r78 102 102 AC_DEFINE(USE_CURSES, 1, [Define to 1 if Curses or PDCurses is found, but NCurses is not.]) 103 103 AC_DEFINE(USE_GCU, 1, [Define to 1 if using the Curses frontend.]) 104 CFFLAGS+=" -I/usr/include/curses" 105 LDFLAGS+=" -lcurses" 104 LDFLAGS="${LDFLAGS} -lcurses" 106 105 with_curses=yes 107 106 fi … … 110 109 AC_DEFINE(USE_CURSES, 1, [Define to 1 if Curses or PDCurses is found, but NCurses is not.]) 111 110 AC_DEFINE(USE_GCU, 1, [Define to 1 if using the Curses frontend.]) 112 LDFLAGS +="-lpdcurses"111 LDFLAGS="${LDFLAGS} -lpdcurses" 113 112 with_curses=yes 114 113 fi … … 117 116 AC_DEFINE(USE_NCURSES, 1, [Define to 1 if NCurses is found.]) 118 117 AC_DEFINE(USE_GCU, 1, [Define to 1 if using the Curses frontend.]) 119 LDFLAGS +="-lncurses"118 LDFLAGS="${LDFLAGS} -lncurses" 120 119 with_curses=yes 121 120 fi … … 144 143 else 145 144 AC_DEFINE(USE_SDL, 1, [Define to 1 if using the SDL interface and SDL & SDL_ttf are found.]) 146 CFLAGS +="$SDL_CFLAGS"147 LDFLAGS +="$SDL_LIBS"145 CFLAGS="${CFLAGS} $SDL_CFLAGS" 146 LDFLAGS="${LDFLAGS} $SDL_LIBS" 148 147 with_sdl=yes 149 148 fi … … 162 161 if test "$with_gtk" = "yes"; then 163 162 AC_DEFINE(USE_GTK, 1, [Define to 1 if using the GTK+ 2.x interface and GTK+ 2.x is found.]) 164 CFLAGS +="$GTK_CFLAGS"165 LDFLAGS +="$GTK_LIBS"163 CFLAGS="${CFLAGS} $GTK_CFLAGS" 164 LDFLAGS="${LDFLAGS} $GTK_LIBS" 166 165 else 167 166 AC_DEFINE(USE_GTK, 0, [Define to 1 if using the GTK+ 2.x interface and GTK+ 2.x is found.]) … … 191 190 dnl XXX: Work around some autoconf bugs. 192 191 if test "$prefix" = "NONE"; then 193 prefix="${ac_default_prefix}"192 prefix="${ac_default_prefix}" 194 193 fi 195 194 if test -z "$datadir"; then
