Changeset 2492


Ignore:
Timestamp:
06/27/08 19:55:01 (5 years ago)
Author:
sam
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.