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
d405a688
Commit
d405a688
authored
Aug 13, 2023
by
David McFarland
Committed by
Alexandre Julliard
Aug 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Fix caching of PCSCLITE_LIBS on mac.
ac_cv_lib_pcsclite_SCardEstablishContext=yes would be cached, causing AC_CHECK_LIB to use -lpcsclite on the second run. Fixes:
f74c4af2
parent
91f89260
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
configure
configure
+5
-3
configure.ac
configure.ac
+5
-3
No files found.
configure
View file @
d405a688
...
...
@@ -15853,12 +15853,14 @@ fi
if
test
"x
$ac_cv_lib_pcsclite_SCardEstablishContext
"
!=
xyes
&&
test
"
$ac_cv_header_PCSC_pcsclite_h
"
=
"yes"
then
case
$host_os
in
darwin
*
|
macosx
*
)
PCSCLITE_LIBS
=
"-framework PCSC"
ac_cv_lib_pcsclite_SCardEstablishContext
=
yes
;;
esac
fi
fi
if
test
"x
$
ac_cv_lib_pcsclite_SCardEstablishContext
"
!=
xyes
if
test
"x
$
PCSCLITE_LIBS
"
=
x
||
test
"
$ac_cv_header_PCSC_pcsclite_h
"
!=
"yes"
then
:
case
"x
$with_pcsclite
"
in
x
)
as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported."
;;
...
...
configure.ac
View file @
d405a688
...
...
@@ -1396,11 +1396,13 @@ then
AC_CHECK_LIB(pcsclite,SCardEstablishContext,[AC_SUBST(PCSCLITE_LIBS,["-lpcsclite"])])
if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes && test "$ac_cv_header_PCSC_pcsclite_h" = "yes"
then
AC_SUBST(PCSCLITE_LIBS,"-framework PCSC")
ac_cv_lib_pcsclite_SCardEstablishContext=yes
case $host_os in
darwin*|macosx*)
AC_SUBST(PCSCLITE_LIBS,"-framework PCSC") ;;
esac
fi
fi
WINE_NOTICE_WITH(pcsclite,[test "x$
ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
],
WINE_NOTICE_WITH(pcsclite,[test "x$
PCSCLITE_LIBS" = x || test "$ac_cv_header_PCSC_pcsclite_h" != "yes"
],
[libpcsclite not found, smart cards won't be supported.],
[enable_winscard])
...
...
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