Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a useless check for sig_atomic_t that never worked because configure.ac calls AC_CHECK_SIZEOF without telling it to include signal.h Submitted upstream as cherokee/webserver#1100 - Use the new LIB_DEPENDS syntax. PR: ports/180647 PR: ports/179726
- Loading branch information
Showing
2 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- configure.orig 2014-01-09 21:48:12.000000000 +0200 | ||
+++ configure 2014-01-09 21:48:32.000000000 +0200 | ||
@@ -15471,39 +15471,6 @@ | ||
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
# This bug is HP SR number 8606223364. | ||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of sig_atomic_t" >&5 | ||
-$as_echo_n "checking size of sig_atomic_t... " >&6; } | ||
-if ${ac_cv_sizeof_sig_atomic_t+:} false; then : | ||
- $as_echo_n "(cached) " >&6 | ||
-else | ||
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (sig_atomic_t))" "ac_cv_sizeof_sig_atomic_t" "$ac_includes_default"; then : | ||
- | ||
-else | ||
- if test "$ac_cv_type_sig_atomic_t" = yes; then | ||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
-as_fn_error 77 "cannot compute sizeof (sig_atomic_t) | ||
-See \`config.log' for more details" "$LINENO" 5; } | ||
- else | ||
- ac_cv_sizeof_sig_atomic_t=0 | ||
- fi | ||
-fi | ||
- | ||
-fi | ||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_sig_atomic_t" >&5 | ||
-$as_echo "$ac_cv_sizeof_sig_atomic_t" >&6; } | ||
- | ||
- | ||
- | ||
-cat >>confdefs.h <<_ACEOF | ||
-#define SIZEOF_SIG_ATOMIC_T $ac_cv_sizeof_sig_atomic_t | ||
-_ACEOF | ||
- | ||
- | ||
-# The cast to long int works around a bug in the HP C Compiler | ||
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
-# This bug is HP SR number 8606223364. | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5 | ||
$as_echo_n "checking size of time_t... " >&6; } | ||
if ${ac_cv_sizeof_time_t+:} false; then : |