Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
a0c74ab4
Commit
a0c74ab4
authored
Sep 06, 2001
by
Henri Fallon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added gnome.h check and cleaned the error messages in the configure
script
parent
479c96ee
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
317 additions
and
209 deletions
+317
-209
ChangeLog
ChangeLog
+1
-0
configure
configure
+283
-194
configure.in
configure.in
+33
-15
No files found.
ChangeLog
View file @
a0c74ab4
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
HEAD
HEAD
*
Added
gnome
.
h
check
and
cleaned
the
error
messages
in
the
configure
script
*
Tiny
small
optim
in
LPCM
decoder
.
*
Tiny
small
optim
in
LPCM
decoder
.
0.2.83
0.2.83
...
...
configure
View file @
a0c74ab4
This diff is collapsed.
Click to expand it.
configure.in
View file @
a0c74ab4
...
@@ -691,22 +691,22 @@ then
...
@@ -691,22 +691,22 @@ then
CPPFLAGS="$CPPFLAGS $CFLAGS_SDL"
CPPFLAGS="$CPPFLAGS $CFLAGS_SDL"
AC_CHECK_HEADERS(${SDL_HEADER}, AC_DEFINE_UNQUOTED(SDL_INCLUDE_FILE,
AC_CHECK_HEADERS(${SDL_HEADER}, AC_DEFINE_UNQUOTED(SDL_INCLUDE_FILE,
<${SDL_HEADER}>, Indicate whether we should use SDL/SDL.h or SDL11/SDL.h),
<${SDL_HEADER}>, Indicate whether we should use SDL/SDL.h or SDL11/SDL.h),
[ echo "The development package for SDL is not installed. Please install it"
[ AC_MSG_ERROR([The development package for SDL is not installed.
echo "and try again. Alternatively you can also configure with --disable-sdl."
Please install it and try again. Alternatively you can also configure with
exit 1 ])
--disable-sdl.])
])
CPPFLAGS=$save_CPPFLAGS
CPPFLAGS=$save_CPPFLAGS
if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
then
then
echo "You need SDL version 1.1.5 or later. Install it and try again."
AC_MSG_ERROR([The development package for SDL is not installed.
echo "Alternatively, you can also configure with --disable-sdl."
Please install it and try again. Alternatively you can also configure with
exit 1
--disable-sdl.])
fi
fi
elif test "x$enable_sdl" = "xyes"
elif test "x$enable_sdl" = "xyes"
then
then
echo "I couldn't find the SDL package. You can download libSDL from"
AC_MSG_ERROR([I couldn't find the SDL package. You can download libSDL
echo "http://www.libsdl.org/, or configure with --disable-sdl. Have a"
from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
echo "nice day."
])
exit 1
fi
fi
fi
fi
...
@@ -723,7 +723,9 @@ AC_ARG_WITH(directx,
...
@@ -723,7 +723,9 @@ AC_ARG_WITH(directx,
LIB_DIRECTX="${LIB_DIRECTX} -L"$withval"/lib -lgdi32 -ldxguid"
LIB_DIRECTX="${LIB_DIRECTX} -L"$withval"/lib -lgdi32 -ldxguid"
INCLUDE="${INCLUDE} -I"$withval"/include"
INCLUDE="${INCLUDE} -I"$withval"/include"
else
else
AC_CHECK_HEADERS(directx.h, , [echo "Cannot find DirectX headers !"; exit])
AC_CHECK_HEADERS(directx.h, ,
AC_MSG_ERROR([Cannot find DirectX headers !])
)
LIB_DIRECTX="${LIB_DIRECTX} -L/usr/lib -lgdi32 -ldxguid"
LIB_DIRECTX="${LIB_DIRECTX} -L/usr/lib -lgdi32 -ldxguid"
fi
fi
fi ])
fi ])
...
@@ -800,9 +802,25 @@ dnl
...
@@ -800,9 +802,25 @@ dnl
AC_ARG_ENABLE(gnome,
AC_ARG_ENABLE(gnome,
[ --enable-gnome Gnome interface support (default disabled)],
[ --enable-gnome Gnome interface support (default disabled)],
[if test x$enable_gnome = xyes; then
[if test x$enable_gnome = xyes; then
# look for gnome-config
AC_PATH_PROG(GNOME_CONFIG, gnome-config, no)
if test -x ${GNOME_CONFIG}
then
CFLAGS_GNOME="`${GNOME_CONFIG} --cflags gnomeui`"
LIB_GNOME="`${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
fi
# now look for the gnome.h header
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CFLAGS_GNOME"
AC_CHECK_HEADERS(gnome.h, [
PLUGINS="${PLUGINS} gnome"
PLUGINS="${PLUGINS} gnome"
ALIASES="${ALIASES} gnome-vlc"
ALIASES="${ALIASES} gnome-vlc"
LIB_GNOME="`gnome-config --libs gnomeui | sed 's,-rdynamic,,'`"
],[
AC_MSG_ERROR([Can't find gnome headers. Please install the gnome
developement librairie or remove the --enable-gnome option])
])
CPPFLAGS=$saved_CPPFLAGS
fi])
fi])
dnl
dnl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment