Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
d474299a
Commit
d474299a
authored
Feb 06, 2007
by
Måns Rullgård
Browse files
indent
Originally committed as revision 7862 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8a608357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
171 additions
and
171 deletions
+171
-171
configure
configure
+171
-171
No files found.
configure
View file @
d474299a
...
...
@@ -774,177 +774,177 @@ LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(libdir)/$(LIB)"'
# OS specific
targetos
=
`
uname
-s
`
case
$targetos
in
BeOS
)
PREFIX
=
"/boot/home/config"
# helps building libavcodec
add_cflags
"-DPIC -fomit-frame-pointer"
# 3 gcc releases known for BeOS, each with ugly bugs
gcc_version
=
"
`
$cc
-v
2>&1 |
grep
version |
cut
-d
' '
-f3-
`
"
case
"
$gcc_version
"
in
2.9-beos-991026
*
|
2.9-beos-000224
*
)
echo
"R5/GG gcc"
mmx
=
"no"
;;
*
20010315
*
)
echo
"BeBits gcc"
add_cflags
"-fno-expensive-optimizations"
;;
esac
SHFLAGS
=
-nostart
# disable Linux things
audio_oss
=
"no"
video4linux
=
"no"
video4linux2
=
"no"
dv1394
=
"no"
# enable BeOS things
audio_beos
=
"yes"
# no need for libm, but the inet stuff
# Check for BONE
if
(
echo
$BEINCLUDES
|grep
'headers/be/bone'
>
/dev/null
)
;
then
extralibs
=
"-lbind -lsocket"
else
beos_netserver
=
"yes"
extralibs
=
"-lnet"
fi
;;
SunOS
)
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
make
=
"gmake"
FFLDFLAGS
=
""
FFSERVERLDFLAGS
=
""
SHFLAGS
=
"-shared -Wl,-h,
\$
@"
add_extralibs
"-lsocket -lnsl"
;;
NetBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
make
=
"gmake"
add_extralibs
"-lossaudio"
;;
OpenBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
need_memalign
=
"no"
make
=
"gmake"
LIBOBJFLAGS
=
"
\$
(PIC)"
LDCONFIG
=
"ldconfig -m
\$
(shlibdir)"
SHFLAGS
=
'-shared'
SLIBNAME
=
'$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)'
SLIBNAME_WITH_VERSION
=
'$(SLIBNAME)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBNAME)'
add_extralibs
"-lossaudio"
;;
FreeBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
make
=
"gmake"
need_memalign
=
"no"
add_cflags
"-pthread"
;;
GNU/kFreeBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
add_cflags
"-pthread"
;;
BSD/OS
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
extralibs
=
"-lpoll -lgnugetopt -lm"
make
=
"gmake"
strip
=
"strip -d"
;;
Darwin
)
cc
=
"cc"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
need_memalign
=
"no"
SHFLAGS
=
"-dynamiclib -Wl,-single_module -Wl,-install_name,
\$
(shlibdir)/
\$
(SLIBNAME),-current_version,
\$
(SPPVERSION),-compatibility_version,
\$
(SPPVERSION) -Wl,-read_only_relocs,suppress"
VHOOKSHFLAGS
=
'-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(shlibdir)/vhook/$@'
extralibs
=
""
strip
=
"strip -x"
FFLDFLAGS
=
"-Wl,-dynamic,-search_paths_first"
SLIBSUF
=
".dylib"
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
FFSERVERLDFLAGS
=
-Wl
,-bind_at_load
;;
MINGW32
*
)
# Note: the rest of the mingw32 config is done afterwards as mingw32
# can be forced on the command line for Linux cross compilation.
mingw32
=
"yes"
;;
CYGWIN
*
)
targetos
=
CYGWIN
shlibdir
=
"
$bindir
"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"yes"
dv1394
=
"no"
VHOOKSHFLAGS
=
'-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
VHOOKLIBS
=
'-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
extralibs
=
""
EXESUF
=
".exe"
SLIBPREF
=
"cyg"
SLIBSUF
=
".dll"
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
SHFLAGS
=
'-shared -Wl,--out-implib=lib$(NAME).dll.a'
;;
Linux
)
LDLATEFLAGS
=
"-Wl,--as-needed
$LDLATEFLAGS
"
;;
IRIX
*
)
targetos
=
IRIX
ranlib
=
"echo ignoring ranlib"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
make
=
"gmake"
;;
OS/2
)
TMPE
=
$TMPE
".exe"
ar
=
"emxomfar -p128"
ranlib
=
"echo ignoring ranlib"
strip
=
"echo ignoring strip"
add_cflags
"-Zomf"
FFLDFLAGS
=
"-Zomf -Zstack 16384 -s"
SHFLAGS
=
"-Zdll -Zomf"
FFSERVERLDFLAGS
=
""
LIBPREF
=
""
LIBSUF
=
".lib"
SLIBPREF
=
""
SLIBSUF
=
".dll"
EXESUF
=
".exe"
extralibs
=
""
pkg_requires
=
""
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
ffserver
=
"no"
vhook
=
"no"
os2
=
"yes"
;;
*
)
targetos
=
"
${
targetos
}
-UNKNOWN"
;;
BeOS
)
PREFIX
=
"/boot/home/config"
# helps building libavcodec
add_cflags
"-DPIC -fomit-frame-pointer"
# 3 gcc releases known for BeOS, each with ugly bugs
gcc_version
=
"
`
$cc
-v
2>&1 |
grep
version |
cut
-d
' '
-f3-
`
"
case
"
$gcc_version
"
in
2.9-beos-991026
*
|
2.9-beos-000224
*
)
echo
"R5/GG gcc"
mmx
=
"no"
;;
*
20010315
*
)
echo
"BeBits gcc"
add_cflags
"-fno-expensive-optimizations"
;;
esac
SHFLAGS
=
-nostart
# disable Linux things
audio_oss
=
"no"
video4linux
=
"no"
video4linux2
=
"no"
dv1394
=
"no"
# enable BeOS things
audio_beos
=
"yes"
# no need for libm, but the inet stuff
# Check for BONE
if
(
echo
$BEINCLUDES
|grep
'headers/be/bone'
>
/dev/null
)
;
then
extralibs
=
"-lbind -lsocket"
else
beos_netserver
=
"yes"
extralibs
=
"-lnet"
fi
;;
SunOS
)
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
make
=
"gmake"
FFLDFLAGS
=
""
FFSERVERLDFLAGS
=
""
SHFLAGS
=
"-shared -Wl,-h,
\$
@"
add_extralibs
"-lsocket -lnsl"
;;
NetBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
make
=
"gmake"
add_extralibs
"-lossaudio"
;;
OpenBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
need_memalign
=
"no"
make
=
"gmake"
LIBOBJFLAGS
=
"
\$
(PIC)"
LDCONFIG
=
"ldconfig -m
\$
(shlibdir)"
SHFLAGS
=
'-shared'
SLIBNAME
=
'$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)'
SLIBNAME_WITH_VERSION
=
'$(SLIBNAME)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBNAME)'
add_extralibs
"-lossaudio"
;;
FreeBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
make
=
"gmake"
need_memalign
=
"no"
add_cflags
"-pthread"
;;
GNU/kFreeBSD
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
add_cflags
"-pthread"
;;
BSD/OS
)
video4linux
=
"no"
video4linux2
=
"no"
bktr
=
"yes"
audio_oss
=
"yes"
dv1394
=
"no"
extralibs
=
"-lpoll -lgnugetopt -lm"
make
=
"gmake"
strip
=
"strip -d"
;;
Darwin
)
cc
=
"cc"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
need_memalign
=
"no"
SHFLAGS
=
"-dynamiclib -Wl,-single_module -Wl,-install_name,
\$
(shlibdir)/
\$
(SLIBNAME),-current_version,
\$
(SPPVERSION),-compatibility_version,
\$
(SPPVERSION) -Wl,-read_only_relocs,suppress"
VHOOKSHFLAGS
=
'-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(shlibdir)/vhook/$@'
extralibs
=
""
strip
=
"strip -x"
FFLDFLAGS
=
"-Wl,-dynamic,-search_paths_first"
SLIBSUF
=
".dylib"
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
FFSERVERLDFLAGS
=
-Wl
,-bind_at_load
;;
MINGW32
*
)
# Note: the rest of the mingw32 config is done afterwards as mingw32
# can be forced on the command line for Linux cross compilation.
mingw32
=
"yes"
;;
CYGWIN
*
)
targetos
=
CYGWIN
shlibdir
=
"
$bindir
"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"yes"
dv1394
=
"no"
VHOOKSHFLAGS
=
'-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
VHOOKLIBS
=
'-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
extralibs
=
""
EXESUF
=
".exe"
SLIBPREF
=
"cyg"
SLIBSUF
=
".dll"
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR
=
'$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
SHFLAGS
=
'-shared -Wl,--out-implib=lib$(NAME).dll.a'
;;
Linux
)
LDLATEFLAGS
=
"-Wl,--as-needed
$LDLATEFLAGS
"
;;
IRIX
*
)
targetos
=
IRIX
ranlib
=
"echo ignoring ranlib"
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
make
=
"gmake"
;;
OS/2
)
TMPE
=
$TMPE
".exe"
ar
=
"emxomfar -p128"
ranlib
=
"echo ignoring ranlib"
strip
=
"echo ignoring strip"
add_cflags
"-Zomf"
FFLDFLAGS
=
"-Zomf -Zstack 16384 -s"
SHFLAGS
=
"-Zdll -Zomf"
FFSERVERLDFLAGS
=
""
LIBPREF
=
""
LIBSUF
=
".lib"
SLIBPREF
=
""
SLIBSUF
=
".dll"
EXESUF
=
".exe"
extralibs
=
""
pkg_requires
=
""
video4linux
=
"no"
video4linux2
=
"no"
audio_oss
=
"no"
dv1394
=
"no"
ffserver
=
"no"
vhook
=
"no"
os2
=
"yes"
;;
*
)
targetos
=
"
${
targetos
}
-UNKNOWN"
;;
esac
# find source path
...
...
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