]> git.pld-linux.org Git - packages/bbkeys.git/blob - bbkeys-ac_fixes.patch
- massive attack s/pld.org.pl/pld-linux.org/
[packages/bbkeys.git] / bbkeys-ac_fixes.patch
1 --- bbkeys-0.8.6/configure.in~  Sun Feb  2 00:20:45 2003
2 +++ bbkeys-0.8.6/configure.in   Sun Feb  2 00:20:45 2003
3 @@ -1,7 +1,6 @@
4  dnl Process this file with autoconf to produce a configure script.
5  AC_INIT(src/bbkeys.cc)
6  AM_INIT_AUTOMAKE(bbkeys, 0.8.6)
7 -AC_REQUIRE([AC_CANONICAL_HOST])
8  AM_MAINTAINER_MODE
9  AC_PREFIX_DEFAULT(/usr/local)
10  
11 @@ -10,56 +10,6 @@
12   AC_MSG_ERROR([error. sed is required to build the default bbtoolsrc file.])
13  fi
14  
15 -dnl get the debug values right
16 -AC_DEFUN(AC_SET_DEBUG,
17 -[
18 -  _CFLAGS="-g -Wall -DDEBUG"
19 -  _CXXFLAGS="-g -Wall -DDEBUG"
20 -  _LDFLAGS=""
21 -  case $host_os in
22 -  [*solaris*)]
23 -    dnl On solaris, we get a ton of multiply-defined errors if we don't include
24 -    dnl this parameter
25 -    _LDFLAGS="$_LDFLAGS -z muldefs"
26 -    ;;
27 -  esac
28 -  test "$CFLAGS" = "" && CFLAGS=$_CFLAGS
29 -  test "$CXXFLAGS" = "" && CXXFLAGS=$_CXXFLAGS
30 -  test "$LDFLAGS" = "" && LDFLAGS=$_LDFLAGS
31 -])
32 -
33 -AC_DEFUN(AC_SET_NODEBUG,
34 -[
35 -  _CFLAGS="-DNDEBUG"
36 -  _CXXFLAGS="-DNDEBUG"
37 -  _LDFLAGS=""
38 -  case $host_os in
39 -  [*solaris*)]
40 -     _CFLAGS="$_CFLAGS -O"
41 -     _CXXFLAGS="$_CXXFLAGS -O"
42 -     dnl On solaris, we get a ton of multiply-defined errors if we don't include
43 -     dnl this parameter
44 -     _LDFLAGS="$_LDFLAGS -z muldefs"
45 -     ;;
46 -  [*)]
47 -     _CFLAGS="$_CFLAGS -O2"
48 -     _CXXFLAGS="$_CXXFLAGS -O2"
49 -     ;;
50 -  esac
51 -  test "$CFLAGS" = "" && CFLAGS=$_CFLAGS
52 -  test "$CXXFLAGS" = "" && CXXFLAGS=$_CXXFLAGS
53 -  test "$LDFLAGS" = "" && LDFLAGS=$_LDFLAGS
54 -])
55 -
56 -AC_ARG_ENABLE(debug,[  --enable-debug  create debugging code [default=no]],
57 -[
58 -if test $enableval = "no";
59 - then AC_SET_NODEBUG
60 - else AC_SET_DEBUG
61 -fi
62 -],
63 -AC_SET_NODEBUG)
64 -
65  dnl Check for Interlacing
66  INTERLACE=""
67  AC_MSG_CHECKING([whether to include interlacing image code])
This page took 0.070526 seconds and 3 git commands to generate.