thttpd/thttpd-2.25b-static.patch

38 lines
1.0 KiB
Diff

--- configure.in
+++ configure.in
@@ -24,34 +24,6 @@
V_CCOPT="-g $V_CCOPT -Wall -Wmissing-prototypes -Wstrict-prototypes"
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,