perl-5.22
Last change
on this file since 66e7a2c was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[c5c522c] | 1 | --- netkit-ftp-0.17/configure.volatile 2004-06-14 12:08:26.000000000 -0400 |
---|
| 2 | +++ netkit-ftp-0.17/configure 2004-06-14 12:52:41.000000000 -0400 |
---|
| 3 | @@ -193,8 +193,8 @@ |
---|
| 4 | cat <<EOF >__conftest.c |
---|
| 5 | #include <unistd.h> |
---|
| 6 | #include <signal.h> |
---|
| 7 | -int count=0; |
---|
| 8 | -void handle(int foo) { count++; } |
---|
| 9 | +volatile int count=0; |
---|
| 10 | +void handle(int foo) { count++; write(1,"X",1);} |
---|
| 11 | int main() { |
---|
| 12 | int pid=getpid(); |
---|
| 13 | signal(SIGINT, handle); |
---|
| 14 | @@ -209,20 +209,20 @@ |
---|
| 15 | if ( |
---|
| 16 | $CC $CFLAGS __conftest.c -o __conftest || exit 1 |
---|
| 17 | ./__conftest || exit 1 |
---|
| 18 | - ) >/dev/null 2>&1; then |
---|
| 19 | + ); then |
---|
| 20 | echo 'yes' |
---|
| 21 | else |
---|
| 22 | if ( |
---|
| 23 | $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1 |
---|
| 24 | ./__conftest || exit 1 |
---|
| 25 | - ) >/dev/null 2>&1; then |
---|
| 26 | + ); then |
---|
| 27 | echo '-D__USE_BSD_SIGNAL' |
---|
| 28 | CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" |
---|
| 29 | else |
---|
| 30 | echo 'no' |
---|
| 31 | - echo 'This package needs BSD signal semantics to run.' |
---|
| 32 | - rm -f __conftest* |
---|
| 33 | - exit |
---|
| 34 | + echo '***WARNING***: This package needs BSD signal semantics to run.' |
---|
| 35 | + echo '***WARNING***: Assuming its just ia64 buildroot breakage.' |
---|
| 36 | + CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" |
---|
| 37 | fi |
---|
| 38 | fi |
---|
| 39 | rm -f __conftest* |
---|
Note: See
TracBrowser
for help on using the repository browser.