"Fossies" - the Fresh Open Source Software Archive

Member "alive-2.0.5/configure.ac" (2 Jan 2022, 1718 Bytes) of package /linux/privat/alive-2.0.5.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 2.0.4_vs_2.0.5.

    1 dnl configure.ac
    2 dnl
    3 dnl Copyright (C) 2012, 2013, 2020-2022 Thien-Thi Nguyen
    4 dnl
    5 dnl This file is part of GNU Alive.
    6 dnl
    7 dnl GNU Alive is free software; you can redistribute it and/or modify
    8 dnl it under the terms of the GNU General Public License as published by
    9 dnl the Free Software Foundation; either version 3, or (at your option)
   10 dnl any later version.
   11 dnl
   12 dnl GNU Alive is distributed in the hope that it will be useful,
   13 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
   14 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15 dnl GNU General Public License for more details.
   16 dnl
   17 dnl You should have received a copy of the GNU General Public License
   18 dnl along with GNU Alive.  If not, see <https://www.gnu.org/licenses/>.
   19 
   20 AC_INIT([GNU Alive],[2.0.5],[bug-alive@gnu.org])
   21 AC_CONFIG_AUX_DIR([build-aux])
   22 AC_CONFIG_MACRO_DIR([build-aux])
   23 AM_INIT_AUTOMAKE([1.12.2 gnu no-dist-gzip dist-lzip])
   24 
   25 # Make sure configuration doesn't auto-compile anything.
   26 GUILE_AUTO_COMPILE=0
   27 export GUILE_AUTO_COMPILE
   28 
   29 SNUGGLE_PROGS
   30 
   31 AC_PATH_PROG([PING],[ping])
   32 AS_IF([test -z "$PING"],
   33 [AC_MSG_ERROR([missing required program: ping(1)])])
   34 
   35 AC_CACHE_CHECK([if the ping program accepts ‘-n -c 1’],[alive_cv_nice_ping],
   36 [AS_IF(["$PING" -n -c 1 localhost 1>/dev/null 2>&1],
   37  [alive_cv_nice_ping=yes],
   38  [alive_cv_nice_ping=no])])
   39 
   40 dnl Luckily both inetutils-ping and iputils-ping are nice.
   41 AS_IF([test xno = x$alive_cv_nice_ping],
   42 [AC_MSG_ERROR([$PING does not support ‘-n -c 1’.
   43 Please install a ping program that does, and retry.])])
   44 
   45 AC_CONFIG_FILES([
   46   Makefile
   47   src/Makefile
   48   doc/Makefile
   49 ])
   50 
   51 AC_CONFIG_FILES([src/alive:src/body.scm],[chmod +x src/alive])
   52 
   53 AC_OUTPUT
   54 
   55 dnl configure.ac ends here