Changeset 169 for trunk/configure.ac
- Timestamp:
- Apr 13, 2008, 9:59:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r168 r169 13 13 dnl start 14 14 dnl 15 AM_INIT_AUTOMAKE(samhain, 2.4. 3)15 AM_INIT_AUTOMAKE(samhain, 2.4.4) 16 16 AC_CANONICAL_HOST 17 17 … … 100 100 101 101 *openbsd*) 102 AC_DEFINE([HOST_IS_OPENBSD], 1, [Define if host OS is OPENBSD]) 102 103 selectconfig=freebsd 103 104 AC_MSG_RESULT(none) … … 589 590 $PS ax >/dev/null 2>&1 590 591 if test $? -eq 0; then 592 case "$host_os" in 593 *openbsd*) 594 one=`$PS akx | wc -l` 595 ;; 596 *) 591 597 one=`$PS ax | wc -l` 598 ;; 599 esac 592 600 else 593 601 one=0 … … 601 609 if test $one -ge $two 602 610 then 603 PSARG="ax" 611 case "$host_os" in 612 *openbsd*) 613 PSARG="akx" 614 ;; 615 *) 616 PSARG="ax" 617 ;; 618 esac 604 619 else 605 620 PSARG="-e" 606 621 fi 607 622 AC_DEFINE_UNQUOTED([PSARG], _("$PSARG"), [Argument for ps]) … … 2146 2161 [ 2147 2162 if test "x${cross_compiling}" = xyes; then 2148 : 2163 my_tmp_dir="$withval" 2164 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my_tmp_dir}") ) 2149 2165 else 2150 2166 if test -d "${withval}"; then … … 2152 2168 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my_tmp_dir}") ) 2153 2169 else 2154 AC_MSG_ERROR([--with-tmp-dir: tmp directory ${withval} does not exist]) 2170 my_tmp_dir="$withval" 2171 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my_tmp_dir}") ) 2172 AC_MSG_WARN([--with-tmp-dir: tmp directory ${withval} does not exist]) 2155 2173 fi 2156 2174 fi
Note:
See TracChangeset
for help on using the changeset viewer.