Changeset 15160


Ignore:
Timestamp:
03/26/13 17:27:22 (12 years ago)
Author:
tbretz
Message:
Check for 'mailx'
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/Makefile.in

    r15089 r15160  
    660660LTLIBOBJS = @LTLIBOBJS@
    661661LT_HAVE_XP = @LT_HAVE_XP@
     662MAILX = @MAILX@
    662663MAKEINFO = @MAKEINFO@
    663664MANIFEST_TOOL = @MANIFEST_TOOL@
  • trunk/FACT++/configure

    r14652 r15160  
    662662HAS_DOXYGEN_FALSE
    663663HAS_DOXYGEN_TRUE
     664HAS_MAILX_FALSE
     665HAS_MAILX_TRUE
    664666HAS_JSDOC_FALSE
    665667HAS_JSDOC_TRUE
     
    672674HAS_COLORDIFF_FALSE
    673675HAS_COLORDIFF_TRUE
     676MAILX
    674677JSDOC
    675678HELP2MAN
     
    2397723980
    2397823981                cat > conftest.$ac_ext <<EOF
    23979 #line 23979 "configure"
     23982#line 23982 "configure"
    2398023983#include "confdefs.h"
    2398123984#include <qglobal.h>
     
    2498624989
    2498724990
     24991# Extract the first word of "mailx", so it can be a program name with args.
     24992set dummy mailx; ac_word=$2
     24993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     24994$as_echo_n "checking for $ac_word... " >&6; }
     24995if ${ac_cv_prog_MAILX+:} false; then :
     24996  $as_echo_n "(cached) " >&6
     24997else
     24998  if test -n "$MAILX"; then
     24999  ac_cv_prog_MAILX="$MAILX" # Let the user override the test.
     25000else
     25001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     25002for as_dir in $PATH
     25003do
     25004  IFS=$as_save_IFS
     25005  test -z "$as_dir" && as_dir=.
     25006    for ac_exec_ext in '' $ac_executable_extensions; do
     25007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25008    ac_cv_prog_MAILX="yes"
     25009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     25010    break 2
     25011  fi
     25012done
     25013  done
     25014IFS=$as_save_IFS
     25015
     25016  test -z "$ac_cv_prog_MAILX" && ac_cv_prog_MAILX="no"
     25017fi
     25018fi
     25019MAILX=$ac_cv_prog_MAILX
     25020if test -n "$MAILX"; then
     25021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAILX" >&5
     25022$as_echo "$MAILX" >&6; }
     25023else
     25024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     25025$as_echo "no" >&6; }
     25026fi
     25027
     25028
    2498825029
    2498925030##########################################################################
     
    2505025091  HAS_JSDOC_TRUE='#'
    2505125092  HAS_JSDOC_FALSE=
     25093fi
     25094
     25095 if test "$MAILX" = yes; then
     25096  HAS_MAILX_TRUE=
     25097  HAS_MAILX_FALSE='#'
     25098else
     25099  HAS_MAILX_TRUE='#'
     25100  HAS_MAILX_FALSE=
    2505225101fi
    2505325102
     
    2550725556if test -z "${HAS_JSDOC_TRUE}" && test -z "${HAS_JSDOC_FALSE}"; then
    2550825557  as_fn_error $? "conditional \"HAS_JSDOC\" was never defined.
     25558Usually this means the macro was only invoked conditionally." "$LINENO" 5
     25559fi
     25560if test -z "${HAS_MAILX_TRUE}" && test -z "${HAS_MAILX_FALSE}"; then
     25561  as_fn_error $? "conditional \"HAS_MAILX\" was never defined.
    2550925562Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2551025563fi
     
    2813428187
    2813528188fi
     28189if test -z "$HAS_V8_TRUE"; then :
     28190
     28191   if test -z "$HAS_MAILX_TRUE"; then :
     28192  { $as_echo "$as_me:${as_lineno-$LINENO}:  Mail support           / 'mailx'            found: yes" >&5
     28193$as_echo "$as_me:  Mail support           / 'mailx'            found: yes" >&6;}
     28194else
     28195  { $as_echo "$as_me:${as_lineno-$LINENO}:  Mail support           / 'mailx'            found: no" >&5
     28196$as_echo "$as_me:  Mail support           / 'mailx'            found: no" >&6;}
     28197
     28198fi
     28199
     28200fi
     28201
    2813628202if test -z "$HAS_HELP2MAN_TRUE"; then :
    2813728203
Note: See TracChangeset for help on using the changeset viewer.