Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
295a0cdd
Commit
295a0cdd
authored
Jan 09, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check for HAL and GnuTLS even if pkg-config is not present.
parent
cfd1a631
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
16 deletions
+28
-16
configure
configure
+14
-8
configure.ac
configure.ac
+14
-8
No files found.
configure
View file @
295a0cdd
...
...
@@ -12783,12 +12783,15 @@ fi
HALINCL
=
""
if
test
"x
$with_hal
"
!=
"xno"
-a
"
$PKG_CONFIG
"
!=
"false"
if
test
"x
$with_hal
"
!=
"xno"
then
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
ac_hal_libs
=
"
`
$PKG_CONFIG
--libs
hal 2>/dev/null
`
"
ac_hal_cflags
=
"
`
$PKG_CONFIG
--cflags
hal 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_hal_cflags
"
if
test
"
$PKG_CONFIG
"
!=
"false"
then
ac_hal_libs
=
"
`
$PKG_CONFIG
--libs
hal 2>/dev/null
`
"
ac_hal_cflags
=
"
`
$PKG_CONFIG
--cflags
hal 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_hal_cflags
"
fi
for
ac_header
in
dbus/dbus.h hal/libhal.h
...
...
@@ -13109,12 +13112,15 @@ esac
fi
if
test
"x
$with_gnutls
"
!=
"xno"
-a
"
$PKG_CONFIG
"
!=
"false"
if
test
"x
$with_gnutls
"
!=
"xno"
then
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
ac_gnutls_libs
=
"
`
$PKG_CONFIG
--libs
gnutls 2>/dev/null
`
"
ac_gnutls_cflags
=
"
`
$PKG_CONFIG
--cflags
gnutls 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_gnutls_cflags
"
if
test
"
$PKG_CONFIG
"
!=
"false"
then
ac_gnutls_libs
=
"
`
$PKG_CONFIG
--libs
gnutls 2>/dev/null
`
"
ac_gnutls_cflags
=
"
`
$PKG_CONFIG
--cflags
gnutls 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_gnutls_cflags
"
fi
if
test
"
${
ac_cv_header_gnutls_gnutls_h
+set
}
"
=
set
;
then
{
$as_echo
"
$as_me
:
$LINENO
: checking for gnutls/gnutls.h"
>
&5
$as_echo_n
"checking for gnutls/gnutls.h... "
>
&6
;
}
...
...
configure.ac
View file @
295a0cdd
...
...
@@ -912,12 +912,15 @@ WINE_WARNING_WITH(xslt,[test "x$ac_cv_lib_soname_xslt" = "x"],
dnl **** Check for libhal ****
AC_SUBST(HALINCL,"")
if test "x$with_hal" != "xno"
-a "$PKG_CONFIG" != "false"
if test "x$with_hal" != "xno"
then
ac_save_CPPFLAGS="$CPPFLAGS"
ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
if test "$PKG_CONFIG" != "false"
then
ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
fi
AC_CHECK_HEADERS([dbus/dbus.h hal/libhal.h])
if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
then
...
...
@@ -931,12 +934,15 @@ WINE_NOTICE_WITH(hal,[test "x$ac_cv_lib_soname_hal" = "x"],
[libhal ${notice_platform}development files not found, no dynamic device support.])
dnl **** Check for libgnutls ****
if test "x$with_gnutls" != "xno"
-a "$PKG_CONFIG" != "false"
if test "x$with_gnutls" != "xno"
then
ac_save_CPPFLAGS="$CPPFLAGS"
ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
if test "$PKG_CONFIG" != "false"
then
ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
fi
AC_CHECK_HEADER(gnutls/gnutls.h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], [[typeof(gnutls_mac_get_key_size) *pfunc;]])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,
...
...
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