source:
npl/system/netkit-ftp/patches/05-netkit-ftp-0.17-volatile.patch
@
ca72aba
Last change on this file since ca72aba was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.2 KB |
-
netkit-ftp-0.17/configure
old new 193 193 cat <<EOF >__conftest.c 194 194 #include <unistd.h> 195 195 #include <signal.h> 196 int count=0;197 void handle(int foo) { count++; }196 volatile int count=0; 197 void handle(int foo) { count++; write(1,"X",1);} 198 198 int main() { 199 199 int pid=getpid(); 200 200 signal(SIGINT, handle); … … 209 209 if ( 210 210 $CC $CFLAGS __conftest.c -o __conftest || exit 1 211 211 ./__conftest || exit 1 212 ) >/dev/null 2>&1; then212 ); then 213 213 echo 'yes' 214 214 else 215 215 if ( 216 216 $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1 217 217 ./__conftest || exit 1 218 ) >/dev/null 2>&1; then218 ); then 219 219 echo '-D__USE_BSD_SIGNAL' 220 220 CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" 221 221 else 222 222 echo 'no' 223 echo ' This package needs BSD signal semantics to run.'224 rm -f __conftest* 225 exit223 echo '***WARNING***: This package needs BSD signal semantics to run.' 224 echo '***WARNING***: Assuming its just ia64 buildroot breakage.' 225 CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" 226 226 fi 227 227 fi 228 228 rm -f __conftest*
Note: See TracBrowser
for help on using the repository browser.