comparison make/autoconf/configure @ 57834:00d9f8de0e3d

Automatic merge with records-and-sealed
author mcimadamore
date Thu, 19 Sep 2019 15:47:00 +0000
parents c25f6c562bf5
children 9d9317fad3fe
comparison
equal deleted inserted replaced
8:727125e2b520 9:523cd3739daa
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. 3 # Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # 5 #
6 # This code is free software; you can redistribute it and/or modify it 6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as 7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
76 76
77 autoconf_missing_help() { 77 autoconf_missing_help() {
78 APT_GET="`which apt-get 2> /dev/null | grep -v '^no apt-get in'`" 78 APT_GET="`which apt-get 2> /dev/null | grep -v '^no apt-get in'`"
79 YUM="`which yum 2> /dev/null | grep -v '^no yum in'`" 79 YUM="`which yum 2> /dev/null | grep -v '^no yum in'`"
80 BREW="`which brew 2> /dev/null | grep -v '^no brew in'`" 80 BREW="`which brew 2> /dev/null | grep -v '^no brew in'`"
81 ZYPPER="`which zypper 2> /dev/null | grep -v '^no zypper in'`"
81 CYGWIN="`which cygpath 2> /dev/null | grep -v '^no cygpath in'`" 82 CYGWIN="`which cygpath 2> /dev/null | grep -v '^no cygpath in'`"
82 83
83 if test "x$APT_GET" != x; then 84 if test "x$ZYPPER" != x; then
85 PKGHANDLER_COMMAND="sudo zypper install autoconf"
86 elif test "x$APT_GET" != x; then
84 PKGHANDLER_COMMAND="sudo apt-get install autoconf" 87 PKGHANDLER_COMMAND="sudo apt-get install autoconf"
85 elif test "x$YUM" != x; then 88 elif test "x$YUM" != x; then
86 PKGHANDLER_COMMAND="sudo yum install autoconf" 89 PKGHANDLER_COMMAND="sudo yum install autoconf"
87 elif test "x$BREW" != x; then 90 elif test "x$BREW" != x; then
88 PKGHANDLER_COMMAND="brew install autoconf" 91 PKGHANDLER_COMMAND="brew install autoconf"