Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
00977bfd
Commit
00977bfd
authored
Nov 30, 2002
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup of headerfile detection for qte video output plugin.
parent
70b5e04e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
27 deletions
+23
-27
configure
configure
+13
-22
configure.in
configure.in
+10
-5
No files found.
configure
View file @
00977bfd
...
...
@@ -12462,10 +12462,11 @@ fi;
test_LDFLAGS
=
"-L
${
with_qte
}
/lib
`
echo
-L
${
with_qte
}
/lib |
sed
's,opt/QtPalmtop,usr,'
`
"
test_CFLAGS
=
"-I
${
with_qte
}
/include
`
echo
-I
${
with_qte
}
/include |
sed
's,opt/QtPalmtop,usr,'
`
"
else
test_LDFLAGS
=
"-L
${
QTDIR
}
/lib
`
echo
-L
${
QTDIR
}
/lib |
sed
's,opt/QtPalmtop,usr,'
`
`
"
test_CFLAGS="
-I
${
QTDIR
}
/include
`
echo -I
${
QTDIR
}
/include | sed 's,opt/QtPalmtop,usr,'
`
`
"
test_LDFLAGS
=
"-L
${
QTDIR
}
/lib
`
echo
-L
${
QTDIR
}
/lib |
sed
's,opt/QtPalmtop,usr,'
`
"
test_CFLAGS
=
"-I
${
QTDIR
}
/include
`
echo
-I
${
QTDIR
}
/include |
sed
's,opt/QtPalmtop,usr,'
`
"
fi
CPPFLAGS
=
"
${
save_CPPFLAGS
}
${
test_CFLAGS
}
"
ac_cv_qte_headers
=
yes
for
ac_header
in
qt.h jpeglib.h
...
...
@@ -12577,33 +12578,23 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
#define `echo "HAVE_
$ac_header
" |
$as_tr_cpp
` 1
_ACEOF
qte_CFLAGS
=
"
${
qte_CFLAGS
}
${
test_CFLAGS
}
-DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
qte_LDFLAGS
=
"
${
qte_LDFLAGS
}
${
test_LDFLAGS
}
-ljpeg -lqte"
PLUGINS
=
"
${
PLUGINS
}
qte"
else
{
{
echo
"
$as_me
:
$LINENO
: error: echo
\"
Cannot find QT Embedded development headers.
\"
"
>
&5
ac_cv_qte_headers
=
no
{
{
echo
"
$as_me
:
$LINENO
: error: echo
\"
Cannot find QT Embedded development headers.
\"
"
>
&5
echo
"
$as_me
: error: echo
\"
Cannot find QT Embedded development headers.
\"
"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
done
CPPFLAGS
=
"
${
save_CPPFLAGS
}
"
# AC_ARG_WITH(qte_system,
# [ --with-qte-system=PATH Additional headers and libraries for Qt Embedded.
# (The usr/lib, usr/include directories)])
# if test "x${with_qte_system}" != "xno" -a "x${with_qte_system}" != "x"
# then
# test_CFLAGS="-I${with_qte_system}/include"
# test_LDFLAGS="-L${with_qte_system}/lib"
# fi
# CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
# AC_CHECK_HEADERS(jpeglib.h, [
# qte_LDFLAGS="${test_LDFLAGS} -ljpeg ${qte_LDFLAGS}"
# ],
# [ AC_MSG_ERROR([echo "Cannot find additional QT Embedded system development headers."]) ] )
if
test
"x
${
ac_cv_qte_headers
}
"
=
"xyes"
then
qte_CFLAGS
=
"
${
qte_CFLAGS
}
${
test_CFLAGS
}
-DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
qte_LDFLAGS
=
"
${
qte_LDFLAGS
}
${
test_LDFLAGS
}
-ljpeg -lqte"
PLUGINS
=
"
${
PLUGINS
}
qte"
fi
CPPFLAGS
=
"
${
save_CPPFLAGS
}
"
fi
...
...
configure.in
View file @
00977bfd
...
...
@@ -1235,16 +1235,21 @@ then
test_LDFLAGS="-L${with_qte}/lib `echo -L${with_qte}/lib | sed 's,opt/QtPalmtop,usr,'`"
test_CFLAGS="-I${with_qte}/include `echo -I${with_qte}/include | sed 's,opt/QtPalmtop,usr,'`"
else
test_LDFLAGS="-L${QTDIR}/lib `echo -L${QTDIR}/lib | sed 's,opt/QtPalmtop,usr,'`
`
"
test_CFLAGS="-I${QTDIR}/include `echo -I${QTDIR}/include | sed 's,opt/QtPalmtop,usr,'`
`
"
test_LDFLAGS="-L${QTDIR}/lib `echo -L${QTDIR}/lib | sed 's,opt/QtPalmtop,usr,'`"
test_CFLAGS="-I${QTDIR}/include `echo -I${QTDIR}/include | sed 's,opt/QtPalmtop,usr,'`"
fi
CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
AC_CHECK_HEADERS(qt.h jpeglib.h, [
ac_cv_qte_headers=yes
AC_CHECK_HEADERS(qt.h jpeglib.h, ,[
ac_cv_qte_headers=no
AC_MSG_ERROR([echo "Cannot find QT Embedded development headers."])
] )
if test "x${ac_cv_qte_headers}" = "xyes"
then
qte_CFLAGS="${qte_CFLAGS} ${test_CFLAGS} -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
qte_LDFLAGS="${qte_LDFLAGS} ${test_LDFLAGS} -ljpeg -lqte"
PLUGINS="${PLUGINS} qte"
],
[ AC_MSG_ERROR([echo "Cannot find QT Embedded development headers."]) ] )
fi
CPPFLAGS="${save_CPPFLAGS}"
fi
...
...
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