]> git.pld-linux.org Git - packages/vlc.git/blob - vlc-wxgtk2.patch
- BR cleaning, STBR?
[packages/vlc.git] / vlc-wxgtk2.patch
1 diff -ur o-vlc-0.8.1/configure.ac vlc-0.8.1/configure.ac
2 --- o-vlc-0.8.1/configure.ac    2004-11-14 09:10:56.000000000 -0700
3 +++ vlc-0.8.1/configure.ac      2005-02-06 08:13:36.434615764 -0700
4 @@ -3468,18 +3468,15 @@
5    WXWINDOWS_PATH="${PATH}"
6    AC_ARG_WITH(wx-config-path,
7      [    --with-wx-config-path=PATH wx-config path (default search in \$PATH)],
8 +  # look for wx-config
9      [ if test "${with_wx_config_path}" != "no"
10        then
11 -        WXWINDOWS_PATH="${with_wx_config_path}:${PATH}"
12 -      fi ])
13 -  # look for wx-config
14 +  AC_PATH_PROG(WX_CONFIG, ${with_wx_config_path}, no)
15 +               else
16    AC_PATH_PROG(WX_CONFIG, wx-config, no, ${WXWINDOWS_PATH})
17 +      fi ])
18    if test "${WX_CONFIG}" != "no"
19    then
20 -    if expr 2.3.0 \> `${WX_CONFIG} --version` >/dev/null
21 -    then
22 -      AC_MSG_ERROR([Your development package for wxWindows is too old, you need at least version 2.3.0. Please upgrade and try again. Alternatively you can also configure with --disable-wxwindows.])
23 -    fi
24      AC_LANG_PUSH(C++)
25      VLC_ADD_CXXFLAGS([wxwindows],[`${WX_CONFIG} --cxxflags`])
26      VLC_ADD_LDFLAGS([wxwindows],[`${WX_CONFIG} --libs`])
This page took 0.023448 seconds and 3 git commands to generate.