Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e7bd23ba
Commit
e7bd23ba
authored
May 03, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use the pkg-config helper macro for hal and dbus.
parent
8dabde17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
38 deletions
+56
-38
configure
configure
+49
-21
configure.ac
configure.ac
+6
-16
Makefile.in
dlls/mountmgr.sys/Makefile.in
+1
-1
No files found.
configure
View file @
e7bd23ba
...
@@ -662,8 +662,10 @@ gphoto2_devel
...
@@ -662,8 +662,10 @@ gphoto2_devel
SANEINCL
SANEINCL
sane_devel
sane_devel
GNUTLSINCL
GNUTLSINCL
HALINCL
HAL_LIBS
DBUSINCL
HAL_CFLAGS
DBUS_LIBS
DBUS_CFLAGS
XSLT_LIBS
XSLT_LIBS
XSLT_CFLAGS
XSLT_CFLAGS
XML2_LIBS
XML2_LIBS
...
@@ -863,7 +865,11 @@ XMKMF
...
@@ -863,7 +865,11 @@ XMKMF
XML2_CFLAGS
XML2_CFLAGS
XML2_LIBS
XML2_LIBS
XSLT_CFLAGS
XSLT_CFLAGS
XSLT_LIBS'
XSLT_LIBS
DBUS_CFLAGS
DBUS_LIBS
HAL_CFLAGS
HAL_LIBS'
# Initialize some variables set by options.
# Initialize some variables set by options.
...
@@ -1555,6 +1561,10 @@ Some influential environment variables:
...
@@ -1555,6 +1561,10 @@ Some influential environment variables:
XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
XSLT_LIBS Linker flags for libxslt, overriding pkg-config
XSLT_LIBS Linker flags for libxslt, overriding pkg-config
DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
HAL_CFLAGS C compiler flags for hal, overriding pkg-config
HAL_LIBS Linker flags for hal, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
it to find libraries and programs with nonstandard names/locations.
...
@@ -10046,12 +10056,20 @@ fi
...
@@ -10046,12 +10056,20 @@ fi
if
test
"x
$with_dbus
"
!=
"xno"
if
test
"x
$with_dbus
"
!=
"xno"
then
then
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
if
test
"
$PKG_CONFIG
"
!=
"false"
if
test
-n
"
$DBUS_CFLAGS
"
;
then
:
then
ac_dbus_libs
=
"
`
$PKG_CONFIG
--libs
dbus-1 2>/dev/null
`
"
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
ac_dbus_cflags
=
"
`
$PKG_CONFIG
--cflags
dbus-1 2>/dev/null
`
"
DBUS_CFLAGS
=
`
$PKG_CONFIG
--cflags
dbus-1 2>/dev/null
`
CPPFLAGS
=
"
$CPPFLAGS
$ac_dbus_cflags
"
fi
fi
CPPFLAGS
=
"
$CPPFLAGS
$DBUS_CFLAGS
"
if
test
-n
"
$DBUS_LIBS
"
;
then
:
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
DBUS_LIBS
=
`
$PKG_CONFIG
--libs
dbus-1 2>/dev/null
`
fi
ac_fn_c_check_header_mongrel
"
$LINENO
"
"dbus/dbus.h"
"ac_cv_header_dbus_dbus_h"
"
$ac_includes_default
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"dbus/dbus.h"
"ac_cv_header_dbus_dbus_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_dbus_dbus_h
"
=
xyes
;
then
:
if
test
"x
$ac_cv_header_dbus_dbus_h
"
=
xyes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -ldbus-1"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -ldbus-1"
>
&5
...
@@ -10060,7 +10078,7 @@ if ${ac_cv_lib_soname_dbus_1+:} false; then :
...
@@ -10060,7 +10078,7 @@ if ${ac_cv_lib_soname_dbus_1+:} false; then :
$as_echo_n
"(cached) "
>
&6
$as_echo_n
"(cached) "
>
&6
else
else
ac_check_soname_save_LIBS
=
$LIBS
ac_check_soname_save_LIBS
=
$LIBS
LIBS
=
"-ldbus-1
$
ac_dbus_libs
$LIBS
"
LIBS
=
"-ldbus-1
$
DBUS_LIBS
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
...
@@ -10096,7 +10114,7 @@ fi
...
@@ -10096,7 +10114,7 @@ fi
if
test
"x
$ac_cv_lib_soname_dbus_1
"
=
"x"
;
then
:
if
test
"x
$ac_cv_lib_soname_dbus_1
"
=
"x"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: not found"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: not found"
>
&5
$as_echo
"not found"
>
&6
;
}
$as_echo
"not found"
>
&6
;
}
DBUS_CFLAGS
=
""
else
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_soname_dbus_1
"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_soname_dbus_1
"
>
&5
$as_echo
"
$ac_cv_lib_soname_dbus_1
"
>
&6
;
}
$as_echo
"
$ac_cv_lib_soname_dbus_1
"
>
&6
;
}
...
@@ -10105,9 +10123,10 @@ cat >>confdefs.h <<_ACEOF
...
@@ -10105,9 +10123,10 @@ cat >>confdefs.h <<_ACEOF
#define SONAME_LIBDBUS_1 "
$ac_cv_lib_soname_dbus_1
"
#define SONAME_LIBDBUS_1 "
$ac_cv_lib_soname_dbus_1
"
_ACEOF
_ACEOF
DBUSINCL
=
"
$ac_dbus_cflags
"
fi
fi
else
DBUS_CFLAGS
=
""
fi
fi
...
@@ -10126,12 +10145,20 @@ fi
...
@@ -10126,12 +10145,20 @@ fi
if
test
"x
$with_hal
"
!=
"xno"
-a
"x
$ac_cv_lib_soname_dbus_1
"
!=
x
if
test
"x
$with_hal
"
!=
"xno"
-a
"x
$ac_cv_lib_soname_dbus_1
"
!=
x
then
then
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
if
test
"
$PKG_CONFIG
"
!=
"false"
if
test
-n
"
$HAL_CFLAGS
"
;
then
:
then
ac_hal_libs
=
"
`
$PKG_CONFIG
--libs
hal 2>/dev/null
`
"
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
ac_hal_cflags
=
"
`
$PKG_CONFIG
--cflags
hal 2>/dev/null
`
"
HAL_CFLAGS
=
`
$PKG_CONFIG
--cflags
hal 2>/dev/null
`
CPPFLAGS
=
"
$CPPFLAGS
$ac_hal_cflags
"
fi
fi
CPPFLAGS
=
"
$CPPFLAGS
$HAL_CFLAGS
"
if
test
-n
"
$HAL_LIBS
"
;
then
:
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
HAL_LIBS
=
`
$PKG_CONFIG
--libs
hal 2>/dev/null
`
fi
HAL_LIBS
=
${
HAL_LIBS
:-
"-ldbus-1"
}
ac_fn_c_check_header_mongrel
"
$LINENO
"
"hal/libhal.h"
"ac_cv_header_hal_libhal_h"
"
$ac_includes_default
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"hal/libhal.h"
"ac_cv_header_hal_libhal_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_hal_libhal_h
"
=
xyes
;
then
:
if
test
"x
$ac_cv_header_hal_libhal_h
"
=
xyes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -lhal"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -lhal"
>
&5
...
@@ -10140,7 +10167,7 @@ if ${ac_cv_lib_soname_hal+:} false; then :
...
@@ -10140,7 +10167,7 @@ if ${ac_cv_lib_soname_hal+:} false; then :
$as_echo_n
"(cached) "
>
&6
$as_echo_n
"(cached) "
>
&6
else
else
ac_check_soname_save_LIBS
=
$LIBS
ac_check_soname_save_LIBS
=
$LIBS
LIBS
=
"-lhal
$
ac_hal_libs
$LIBS
"
LIBS
=
"-lhal
$
HAL_LIBS
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
...
@@ -10176,7 +10203,7 @@ fi
...
@@ -10176,7 +10203,7 @@ fi
if
test
"x
$ac_cv_lib_soname_hal
"
=
"x"
;
then
:
if
test
"x
$ac_cv_lib_soname_hal
"
=
"x"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: not found"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: not found"
>
&5
$as_echo
"not found"
>
&6
;
}
$as_echo
"not found"
>
&6
;
}
HAL_CFLAGS
=
""
else
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_soname_hal
"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_soname_hal
"
>
&5
$as_echo
"
$ac_cv_lib_soname_hal
"
>
&6
;
}
$as_echo
"
$ac_cv_lib_soname_hal
"
>
&6
;
}
...
@@ -10185,9 +10212,10 @@ cat >>confdefs.h <<_ACEOF
...
@@ -10185,9 +10212,10 @@ cat >>confdefs.h <<_ACEOF
#define SONAME_LIBHAL "
$ac_cv_lib_soname_hal
"
#define SONAME_LIBHAL "
$ac_cv_lib_soname_hal
"
_ACEOF
_ACEOF
HALINCL
=
"
$ac_hal_cflags
"
fi
fi
else
HAL_CFLAGS
=
""
fi
fi
...
...
configure.ac
View file @
e7bd23ba
...
@@ -1320,15 +1320,10 @@ dnl **** Check for libdbus ****
...
@@ -1320,15 +1320,10 @@ dnl **** Check for libdbus ****
if test "x$with_dbus" != "xno"
if test "x$with_dbus" != "xno"
then
then
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_CPPFLAGS="$CPPFLAGS"
if test "$PKG_CONFIG" != "false"
WINE_PACKAGE_FLAGS(DBUS,[dbus-1])
then
ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
fi
AC_CHECK_HEADER([dbus/dbus.h],
AC_CHECK_HEADER([dbus/dbus.h],
[WINE_CHECK_SONAME(dbus-1, dbus_connection_close,
[WINE_CHECK_SONAME(dbus-1, dbus_connection_close,
,[DBUS_CFLAGS=""],[$DBUS_LIBS])],
[AC_SUBST(DBUSINCL,"$ac_dbus_cflags")],,[$ac_dbus_libs])
])
[DBUS_CFLAGS=""
])
CPPFLAGS="$ac_save_CPPFLAGS"
CPPFLAGS="$ac_save_CPPFLAGS"
fi
fi
WINE_NOTICE_WITH(dbus,[test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
WINE_NOTICE_WITH(dbus,[test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
...
@@ -1339,15 +1334,10 @@ dnl **** Check for libhal ****
...
@@ -1339,15 +1334,10 @@ dnl **** Check for libhal ****
if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
then
then
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_CPPFLAGS="$CPPFLAGS"
if test "$PKG_CONFIG" != "false"
WINE_PACKAGE_FLAGS(HAL,[hal],[-ldbus-1])
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_HEADER([hal/libhal.h],
AC_CHECK_HEADER([hal/libhal.h],
[WINE_CHECK_SONAME(hal, libhal_ctx_new,
[WINE_CHECK_SONAME(hal, libhal_ctx_new,
,[HAL_CFLAGS=""],[$HAL_LIBS])],
[AC_SUBST(HALINCL,"$ac_hal_cflags")],,[$ac_hal_libs])
])
[HAL_CFLAGS=""
])
CPPFLAGS="$ac_save_CPPFLAGS"
CPPFLAGS="$ac_save_CPPFLAGS"
WINE_NOTICE_WITH(hal,[test "x$ac_cv_lib_soname_hal" = "x" -a \
WINE_NOTICE_WITH(hal,[test "x$ac_cv_lib_soname_hal" = "x" -a \
"x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"],
"x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"],
...
...
dlls/mountmgr.sys/Makefile.in
View file @
e7bd23ba
...
@@ -2,7 +2,7 @@ MODULE = mountmgr.sys
...
@@ -2,7 +2,7 @@ MODULE = mountmgr.sys
IMPORTS
=
uuid advapi32 ntoskrnl.exe
IMPORTS
=
uuid advapi32 ntoskrnl.exe
DELAYIMPORTS
=
user32
DELAYIMPORTS
=
user32
EXTRADLLFLAGS
=
-Wb
,--subsystem,native
EXTRADLLFLAGS
=
-Wb
,--subsystem,native
EXTRADEFS
=
@DBUS
INCL@ @HALINCL
@
EXTRADEFS
=
@DBUS
_CFLAGS@ @HAL_CFLAGS
@
EXTRALIBS
=
@DISKARBITRATIONLIB@
EXTRALIBS
=
@DISKARBITRATIONLIB@
C_SRCS
=
\
C_SRCS
=
\
...
...
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