File thttpd-2.25b-static.patch of Package thttpd

Index: configure.in
===================================================================
--- configure.in.orig	2014-09-03 09:46:46.273266534 +0200
+++ configure.in	2014-09-03 09:46:46.300266836 +0200
@@ -24,34 +24,6 @@ if test -f .devel ; then
 	V_CCOPT="-g $V_CCOPT -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long"
 fi
 
-dnl
-dnl maybe this should be a loop
-dnl
-AC_MSG_CHECKING(how to link static binaries)
-AC_CACHE_VAL(ac_cv_lbl_static_flag,
-    ac_cv_lbl_static_flag=unknown
-    echo 'main() {}' > conftest.c
-    if test "$GCC" != yes ; then
-	    trial_flag="-Bstatic"
-	    test=`$CC $trial_flag -o conftest conftest.c 2>&1`
-	    if test -z "$test" ; then
-		    ac_cv_lbl_static_flag="$trial_flag"
-	    fi
-	    rm -f conftest
-    fi
-    if test "$ac_cv_lbl_static_flag" = unknown ; then
-	    trial_flag="-static"
-	    test=`$CC $trial_flag -o conftest conftest.c 2>&1`
-	    if test -z "$test" ; then
-		    ac_cv_lbl_static_flag="$trial_flag"
-	    fi
-	    rm -f conftest
-    fi
-    rm conftest.c)
-AC_MSG_RESULT($ac_cv_lbl_static_flag)
-if test "$ac_cv_lbl_static_flag" != unknown ; then
-	V_STATICFLAG="$ac_cv_lbl_static_flag"
-fi
 
 AC_MSG_CHECKING(for __progname)
 AC_CACHE_VAL(ac_cv_extern__progname,
openSUSE Build Service is sponsored by