Diff of /configure.ac [4fd136] .. [d17571] Maximize Restore

  Switch to side-by-side view

--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,6 @@
     PKG_CHECK_MODULES(UCOMMON, ucommon >= $UCOMMON_REQUIRES)
     UCOMMON_CLINK=`pkg-config --variable=clink ucommon`
     UCOMMON_MODEL=`pkg-config --variable=model ucommon`
-	UCOMMON_SECURE=`pkg-config --variable=secure ucommon`
 ],[
     AC_PATH_PROG([UCOMMON],[ucommon-config],[none])
     if test $UCOMMON = "none" ; then
@@ -67,7 +66,6 @@
     UCOMMON_MODEL=`$UCOMMON --model`
     UCOMMON_CFLAGS=`$UCOMMON --cflags`
     UCOMMON_LIBS=`$UCOMMON --libs`
-	UCOMMON_SECURE=`$UCOMMON --secure`
 ])
 
 if test "$UCOMMON_MODEL" = "CC" ; then
@@ -90,27 +88,27 @@
     )
 )
 if test "$ac_cv_libc_sigwait2" = "yes" ; then
-	AC_DEFINE(HAVE_SIGWAIT2, [1], [2 argument form])
-	AC_DEFINE(HAVE_SIGWAIT, [1], [have sigwait])
+    AC_DEFINE(HAVE_SIGWAIT2, [1], [2 argument form])
+    AC_DEFINE(HAVE_SIGWAIT, [1], [have sigwait])
 else
-	AC_CACHE_CHECK(whether has any sigwait support,
-		ac_cv_libc_sigwait,
-		AC_TRY_COMPILE([
-			#define _POSIX_PTHREAD_SEMANTICS
-			#define	_GNU_SOURCE
-			#include <stdio.h>
-			#include <signal.h>],
-			[sigset_t sigs; int signo = sigwait(&sigs);],
-			ac_cv_libc_sigwait2=yes,
-			ac_cv_libc_sigwait2=no
-		)	
-	)
+    AC_CACHE_CHECK(whether has any sigwait support,
+        ac_cv_libc_sigwait,
+        AC_TRY_COMPILE([
+            #define _POSIX_PTHREAD_SEMANTICS
+            #define _GNU_SOURCE
+            #include <stdio.h>
+            #include <signal.h>],
+            [sigset_t sigs; int signo = sigwait(&sigs);],
+            ac_cv_libc_sigwait2=yes,
+            ac_cv_libc_sigwait2=no
+        )
+    )
 
-	if test "$ac_cv_libc_sigwait" = "yes" ; then
-		AC_DEFINE(HAVE_SIGWAIT, [1], [have sigwait])
-	else
-		AC_CHECK_FUNCS(sigwait)
-	fi
+    if test "$ac_cv_libc_sigwait" = "yes" ; then
+        AC_DEFINE(HAVE_SIGWAIT, [1], [have sigwait])
+    else
+        AC_CHECK_FUNCS(sigwait)
+    fi
 fi
 
 AC_LANG_CPLUSPLUS
@@ -166,7 +164,6 @@
 AC_SUBST(plugindir)
 AC_SUBST(UCOMMON_CFLAGS)
 AC_SUBST(UCOMMON_LIBS)
-AC_SUBST(UCOMMON_SECURE)
 AC_SUBST(UCOMMON_REQUIRES)
 AC_SUBST(UCOMMON_MODEL)
 AC_SUBST(CXXFLAGS)