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
2000c7d7
Commit
2000c7d7
authored
Feb 12, 2016
by
Charles Davis
Committed by
Alexandre Julliard
Feb 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use pkg-config to find libnetapi.
Signed-off-by:
Charles Davis
<
cdavis5x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
82a55e7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
4 deletions
+35
-4
configure
configure
+33
-3
configure.ac
configure.ac
+2
-1
No files found.
configure
View file @
2000c7d7
...
...
@@ -636,6 +636,8 @@ UNWINDFLAGS
EXCESS_PRECISION_CFLAGS
BUILTINFLAG
EXTRACFLAGS
NETAPI_LIBS
NETAPI_CFLAGS
PROCSTAT_LIBS
KSTAT_LIBS
MPG123_LIBS
...
...
@@ -1567,7 +1569,9 @@ PNG_LIBS
TIFF_CFLAGS
TIFF_LIBS
MPG123_CFLAGS
MPG123_LIBS'
MPG123_LIBS
NETAPI_CFLAGS
NETAPI_LIBS'
# Initialize some variables set by options.
...
...
@@ -2322,6 +2326,9 @@ Some influential environment variables:
MPG123_CFLAGS
C compiler flags for libmpg123, overriding pkg-config
MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
NETAPI_CFLAGS
C compiler flags for netapi, overriding pkg-config
NETAPI_LIBS Linker flags for netapi, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
...
...
@@ -13884,13 +13891,30 @@ fi
if
test
"x
$with_netapi
"
!=
"xno"
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -lnetapi"
>
&5
if
${
NETAPI_CFLAGS
:+false
}
:
;
then
:
if
${
PKG_CONFIG
+
:
}
false
;
then
:
NETAPI_CFLAGS
=
`
$PKG_CONFIG
--cflags
netapi 2>/dev/null
`
fi
fi
if
${
NETAPI_LIBS
:+false
}
:
;
then
:
if
${
PKG_CONFIG
+
:
}
false
;
then
:
NETAPI_LIBS
=
`
$PKG_CONFIG
--libs
netapi 2>/dev/null
`
fi
fi
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: netapi cflags:
$NETAPI_CFLAGS
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: netapi libs:
$NETAPI_LIBS
"
>
&5
ac_save_CPPFLAGS
=
$CPPFLAGS
CPPFLAGS
=
"
$CPPFLAGS
$NETAPI_CFLAGS
"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -lnetapi"
>
&5
$as_echo_n
"checking for -lnetapi... "
>
&6
;
}
if
${
ac_cv_lib_soname_netapi
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_soname_save_LIBS
=
$LIBS
LIBS
=
"-lnetapi
$LIBS
"
LIBS
=
"-lnetapi
$NETAPI_LIBS
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -13940,6 +13964,10 @@ _ACEOF
fi
CPPFLAGS
=
$ac_save_CPPFLAGS
test
-z
"
$NETAPI_CFLAGS
"
||
NETAPI_CFLAGS
=
`
echo
"
$NETAPI_CFLAGS
"
|
sed
's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'
`
test
-z
"
$NETAPI_LIBS
"
||
NETAPI_LIBS
=
`
echo
"
$NETAPI_LIBS
"
|
sed
's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'
`
fi
if
test
"x
$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
"
=
xnononono
-a
\
...
...
@@ -17240,6 +17268,8 @@ MPG123_CFLAGS = $MPG123_CFLAGS
MPG123_LIBS =
$MPG123_LIBS
KSTAT_LIBS =
$KSTAT_LIBS
PROCSTAT_LIBS =
$PROCSTAT_LIBS
NETAPI_CFLAGS =
$NETAPI_CFLAGS
NETAPI_LIBS =
$NETAPI_LIBS
EXCESS_PRECISION_CFLAGS =
$EXCESS_PRECISION_CFLAGS
DL_LIBS =
$DL_LIBS
POLL_LIBS =
$POLL_LIBS
...
...
configure.ac
View file @
2000c7d7
...
...
@@ -1710,7 +1710,8 @@ WINE_CHECK_SONAME(odbc,SQLConnect,,[AC_DEFINE_UNQUOTED(SONAME_LIBODBC,["libodbc.
dnl **** Check for libnetapi ****
if test "x$with_netapi" != "xno"
then
WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])])
WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,,
[WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
fi
dnl **** Check for any sound system ****
...
...
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