summaryrefslogtreecommitdiff
path: root/net-libs/gsoap/files/gsoap-2.8.70-xlocale_h.patch
blob: fd550dd2670d84d440fc3c1dd269339d9d25b1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gsoap-2.8/configure.ac
+++ gsoap-2.8/configure.ac
@@ -196,15 +196,15 @@
 AC_ARG_ENABLE(xlocale,
               [AC_HELP_STRING([--enable-xlocale],
                               [compile library with forced inclusion of xlocale.h])],
-              [with_xlocale="$enable_xl"],
+              [with_xlocale="$enableval"],
               [with_xlocale="no"])
 
 AC_MSG_CHECKING(for enable xlocale usage in library)
 if test "x$with_xlocale" = "xyes"; then
   AC_MSG_RESULT(yes)
+  SOAPCPP2_INCLUDE_XLOCALE="-DWITH_INCLUDE_XLOCALE_H"
 else
   AC_MSG_RESULT(no)
-  SOAPCPP2_INCLUDE_XLOCALE="-DWITH_INCLUDE_XLOCALE_H"
 fi
 AC_SUBST(SOAPCPP2_INCLUDE_XLOCALE)