aboutsummaryrefslogtreecommitdiffstats
path: root/src/libassuan-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/libassuan-config.in')
-rw-r--r--src/libassuan-config.in27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/libassuan-config.in b/src/libassuan-config.in
index 50c9805..561ff96 100644
--- a/src/libassuan-config.in
+++ b/src/libassuan-config.in
@@ -18,8 +18,6 @@ lib="@LIBASSUAN_CONFIG_LIB@"
extralibs="@LIBASSUAN_CONFIG_EXTRA_LIBS@ $gpg_error_libs"
cflags="@LIBASSUAN_CONFIG_CFLAGS@ $gpg_error_cflags"
api_version="@LIBASSUAN_CONFIG_API_VERSION@"
-all_thread_modules="@LIBASSUAN_CONFIG_THREAD_MODULES@"
-thread_module=
prefix=@prefix@
exec_prefix=@exec_prefix@
includes=""
@@ -31,18 +29,11 @@ echo_prefix=no
echo_exec_prefix=no
-if test x"$all_thread_modules" = x; then
- all_thread_modules="none pthread"
-else
- all_thread_modules="none pthread $all_thread_modules"
-fi
-
usage()
{
cat <<EOF
Usage: $PGM [OPTIONS]
Options:
- [--thread={`echo "${all_thread_modules}" | sed 's/ /|/g'`}]
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
@@ -82,22 +73,6 @@ while test $# -gt 0; do
--api-version)
echo_api_version=yes
;;
- --thread=*)
- for mod in $all_thread_modules; do
- if test "$mod" = "$optarg"; then
- thread_module="-$mod"
- fi
- done
- if test "x$thread_module" = "x"; then
- usage 1 1>&2
- fi
- if test "$thread_module" = "-none"; then
- thread_module=""
- fi
- if test "$thread_module" = "-pthread"; then
- thread_module=""
- fi
- ;;
--cflags)
echo_cflags=yes
;;
@@ -145,5 +120,5 @@ if test "$echo_libs" = "yes"; then
fi
done
fi
- echo $libdirs $lib${thread_module} $extralibs
+ echo $libdirs $lib $extralibs
fi