]> git.pld-linux.org Git - packages/chromium.git/blob - chromium-ac_fix.patch
- added Encoding=UTF-8 as requires by freedesktop
[packages/chromium.git] / chromium-ac_fix.patch
1 --- ./support/openal/linux/configure.in.org     Fri Sep  6 22:28:16 2002
2 +++ ./support/openal/linux/configure.in Fri Sep  6 22:28:26 2002
3 @@ -133,10 +133,15 @@
4  AC_C_BIGENDIAN
5  
6  dnl I'm afraid we need libm
7 -AC_CHECK_LIB(m, sin, LIBS="$LIBS -lm", echo "I'm afraid you'll need libm."; exit 1)
8 +AC_CHECK_LIB(m, sin, 
9 +            [LIBS="$LIBS -lm"], 
10 +            [AC_MSG_ERROR("I'm afraid you'll need libm.") ])
11  
12  dnl Should be allow dlopen of extensions?
13 -AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl", AC_DEFINE(NODLOPEN) echo "Can't dlopen extensions." )
14 +AC_CHECK_LIB(dl, dlopen, 
15 +            [LIBS="$LIBS -ldl"], 
16 +            [AC_DEFINE(NODLOPEN) 
17 +             AC_MSG_WARN("Can't dlopen extensions.") ])
18  
19  dnl Special OS objs for target systems
20  case "$target" in
21 @@ -215,28 +220,27 @@
22  fi
23  
24  dnl dmalloc stuff
25 -AC_ARG_ENABLE(dmalloc,
26 -[  --enable-dmalloc          enable DMALLOC support       [default=no]],
27 +AC_ARG_ENABLE(dmalloc,AC_HELP_STRING([--enable-dmalloc],[enable DMALLOC support ]),
28                , enable_dmalloc=no)
29  if test x$enable_dmalloc = xyes; then
30      AC_CHECK_HEADER(dmalloc.h, 
31 -       dnl header found
32 +       [dnl header found
33         AC_DEFINE(DMALLOC)
34         AC_DEFINE(DMALLOC_FUNC_CHECK)
35         INCLUDES="$INCLUDES -include \"/usr/include/dmalloc.h\""
36         LIBS="$LIBS -ldmallocth"
37         SHOULD_USE_WERROR=no
38 -       REDUNDANT_DECLS_WARN=no,
39 -       dnl header not found, check local/include
40 +       REDUNDANT_DECLS_WARN=no],
41 +       [dnl header not found, check local/include
42         dnl invalid cache
43         AC_CHECK_HEADER(/usr/local/include/dmalloc.h,
44 -               dnl header found in local/include
45 +               [dnl header found in local/include
46                 AC_DEFINE(DMALLOC)
47                 AC_DEFINE(DMALLOC_FUNC_CHECK)
48                 INCLUDES="$CFLAGS -include \"/usr/local/include/dmalloc.h\""
49                 LIBS="$LIBS -ldmallocth"
50                 SHOULD_USE_WERROR=no
51 -               REDUNDANT_DECLS_WARN=no))
52 +               REDUNDANT_DECLS_WARN=no])])
53  fi
54  
55  dnl efence stuff
This page took 0.067465 seconds and 3 git commands to generate.