Lines 53-82
AC_MSG_RESULT([$with_crt])
Link Here
|
53 |
AC_MSG_CHECKING([whether to build the optional libraries]) |
53 |
AC_MSG_CHECKING([whether to build the optional libraries]) |
54 |
AC_ARG_WITH([libraries], |
54 |
AC_ARG_WITH([libraries], |
55 |
[AS_HELP_STRING([--with-libraries=ARG], |
55 |
[AS_HELP_STRING([--with-libraries=ARG], |
56 |
[Build the extra mingw-w64 libs, where ARG is one of libmangle, pseh, or all])], |
56 |
[Build the extra mingw-w64 libs, where ARG is one of libmangle, pseh, winpthreads, or all])], |
57 |
[], |
57 |
[], |
58 |
[with_libraries=no]) |
58 |
[with_libraries=no]) |
59 |
AS_CASE([$with_libraries], |
59 |
AS_CASE([$with_libraries], |
60 |
[yes|all],[ |
60 |
[yes|all],[ |
61 |
with_libraries="libmangle,pseh" |
61 |
with_libraries="libmangle,pseh,winpthreads" |
|
|
62 |
with_libraries_pthreads=yes |
62 |
with_libraries_mangle=yes |
63 |
with_libraries_mangle=yes |
63 |
with_libraries_pseh=yes], |
64 |
with_libraries_pseh=yes], |
64 |
[libmangle],[ |
65 |
[libmangle],[ |
65 |
with_libraries="libmangle" |
66 |
with_libraries="libmangle" |
|
|
67 |
with_libraries_pthreads=no |
66 |
with_libraries_mangle=yes |
68 |
with_libraries_mangle=yes |
67 |
with_libraries_pseh=no], |
69 |
with_libraries_pseh=no], |
68 |
[pseh],[ |
70 |
[pseh],[ |
69 |
with_libraries="pseh" |
71 |
with_libraries="pseh" |
|
|
72 |
with_libraries_pthreads=no |
70 |
with_libraries_mangle=no |
73 |
with_libraries_mangle=no |
71 |
with_libraries_pseh=yes], |
74 |
with_libraries_pseh=yes], |
|
|
75 |
[winpthreads],[ |
76 |
with_libraries="winpthreads" |
77 |
with_libraries_winpthreads=yes |
78 |
with_libraries_mangle=no |
79 |
with_libraries_pseh=no], |
72 |
[no],[ |
80 |
[no],[ |
|
|
81 |
with_libraries_pthreads=no |
73 |
with_libraries_mangle=no |
82 |
with_libraries_mangle=no |
74 |
with_libraries_pseh=no], |
83 |
with_libraries_pseh=no], |
75 |
[MW64_OPTION_ERROR([with-libraries])]) |
84 |
[MW64_OPTION_ERROR([with-libraries])]) |
76 |
AM_CONDITIONAL([LIBRARIES_MANGLE],[test "x$with_libraries_mangle" = xyes]) |
85 |
AM_CONDITIONAL([LIBRARIES_MANGLE],[test "x$with_libraries_mangle" = xyes]) |
77 |
AM_CONDITIONAL([LIBRARIES_PSEH],[test "x$with_libraries_pseh" = xyes]) |
86 |
AM_CONDITIONAL([LIBRARIES_PSEH],[test "x$with_libraries_pseh" = xyes]) |
|
|
87 |
AM_CONDITIONAL([LIBRARIES_WINPTHREADS],[test "x$with_libraries_winpthreads" = xyes]) |
78 |
AM_COND_IF([LIBRARIES_MANGLE],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/libmangle])]) |
88 |
AM_COND_IF([LIBRARIES_MANGLE],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/libmangle])]) |
79 |
AM_COND_IF([LIBRARIES_PSEH],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/pseh])]) |
89 |
AM_COND_IF([LIBRARIES_PSEH],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/pseh])]) |
|
|
90 |
AM_COND_IF([LIBRARIES_WINPTHREADS],[AC_CONFIG_SUBDIRS([mingw-w64-libraries/winpthreads])]) |
80 |
AC_MSG_RESULT([$with_libraries]) |
91 |
AC_MSG_RESULT([$with_libraries]) |
81 |
|
92 |
|
82 |
AC_MSG_CHECKING([whether to build the optional tools]) |
93 |
AC_MSG_CHECKING([whether to build the optional tools]) |
83 |
- |
|
|