aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-04-15 22:29:37 +0000
commit6e023978cf10de75eb8cb20d79b91f721fb7662a (patch)
treeef2b00785b6ee508afb5f8e692b86a6292b08bca /configure
parentdeabd4fdde195c65362f3e3bb27a5fef38fabc26 (diff)
downloadffmpeg-6e023978cf10de75eb8cb20d79b91f721fb7662a.tar.gz
Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box. Originally committed as revision 1778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 9bacced277..3aac719b2b 100755
--- a/configure
+++ b/configure
@@ -568,8 +568,7 @@ EOF
freetype2=no
if test "x$targetos" != "xBeOS" && test "$os2" != "yes"; then
- which freetype-config > /dev/null
- if test $? -eq 0; then
+ if test "`which freetype-config`" != ""; then
if $cc -o $TMPE $TMPC `freetype-config --cflags` `freetype-config --libs` 2> /dev/null ; then
freetype2=yes
fi
@@ -864,6 +863,10 @@ if test "$os2" = "yes" ; then
echo "CONFIG_OS2=yes" >> config.mak
fi
+if test "$TARGET_OS" = "SunOS" ; then
+ echo "#define CONFIG_SUNOS 1" >> $TMPH
+fi
+
if test "$darwin" = "yes"; then
echo "#define CONFIG_DARWIN 1" >> $TMPH
echo "CONFIG_DARWIN=yes" >> config.mak