Changeset 2492 for neercs


Ignore:
Timestamp:
Jun 27, 2008, 7:55:01 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Prettier grab support detection in configure.ac.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/configure.ac

    r2490 r2492  
    4141AC_SUBST(UTIL_LIBS)
    4242
    43 case $target_cpu in
    44   i?86)
    45     case $target_os in
    46       linux*) grab=yes;;
    47       *) grab=no;;
    48     esac;;
    49   *)    grab=no;;
     43AC_MSG_CHECKING(for pty grab support)
     44case $target in
     45  i?86-*-linux-*)
     46    grab=yes ;;
     47  *)
     48    grab=no;;
    5049esac
    51 
     50AC_MSG_RESULT($grab)
    5251if test "$grab" = "yes"; then
    5352  AC_DEFINE(USE_GRAB, 1, [Grabbing processes is supported])
Note: See TracChangeset for help on using the changeset viewer.