Ignore:
Timestamp:
Jun 15, 2008, 8:01:08 PM (14 years ago)
Author:
Pascal Terjan
Message:
  • Don't break build on platforms where grab is not supported
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/configure.ac

    r2143 r2431  
    3737AC_SUBST(UTIL_LIBS)
    3838
     39case $target_cpu in
     40  i?86)
     41    case $target_os in
     42      linux*) grab=yes;;
     43      *) grab=no;;
     44    esac;;
     45  *)    grab=no;;
     46esac
     47
     48AM_CONDITIONAL(USE_GRAB, test "$grab" = "yes")
     49if test "$grab" = "yes"; then
     50  AC_DEFINE(USE_GRAB, 1, [Grabbing processes is supported])
     51fi
     52
    3953# Optimizations
    4054CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer"
Note: See TracChangeset for help on using the changeset viewer.