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
f74c4af2
Commit
f74c4af2
authored
Jul 25, 2023
by
Gijs Vermeulen
Committed by
Alexandre Julliard
Jul 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use PCSC.framework when pcsclite is not available on macOS.
parent
37885b04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
configure
configure
+12
-0
configure.ac
configure.ac
+6
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
f74c4af2
...
...
@@ -7855,6 +7855,12 @@ then :
printf
"%s
\n
"
"#define HAVE_OPENCL_OPENCL_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"PCSC/pcsclite.h"
"ac_cv_header_PCSC_pcsclite_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_PCSC_pcsclite_h
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_PCSC_PCSCLITE_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"arpa/inet.h"
"ac_cv_header_arpa_inet_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_arpa_inet_h
"
=
xyes
then
:
...
...
@@ -15843,6 +15849,12 @@ then :
fi
if
test
"x
$ac_cv_lib_pcsclite_SCardEstablishContext
"
!=
xyes
&&
test
"
$ac_cv_header_PCSC_pcsclite_h
"
=
"yes"
then
PCSCLITE_LIBS
=
"-framework PCSC"
ac_cv_lib_pcsclite_SCardEstablishContext
=
yes
fi
fi
if
test
"x
$ac_cv_lib_pcsclite_SCardEstablishContext
"
!=
xyes
then
:
...
...
configure.ac
View file @
f74c4af2
...
...
@@ -403,6 +403,7 @@ AC_CHECK_HEADERS(\
CL/cl.h \
EGL/egl.h \
OpenCL/opencl.h \
PCSC/pcsclite.h \
arpa/inet.h \
arpa/nameser.h \
asm/types.h \
...
...
@@ -1393,6 +1394,11 @@ dnl **** Check for libpcsclite ****
if test "x$with_pcsclite" != "xno"
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
fi
fi
WINE_NOTICE_WITH(pcsclite,[test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes],
[libpcsclite not found, smart cards won't be supported.],
...
...
include/config.h.in
View file @
f74c4af2
...
...
@@ -297,6 +297,9 @@
/* Define to 1 if you have the <pcap/pcap.h> header file. */
#undef HAVE_PCAP_PCAP_H
/* Define to 1 if you have the <PCSC/pcsclite.h> header file. */
#undef HAVE_PCSC_PCSCLITE_H
/* Define to 1 if you have the `pipe2' function. */
#undef HAVE_PIPE2
...
...
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