Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1173)

Side by Side Diff: aclocal.m4

Issue 579480047: Remove compat hack for Solaris7 and HP-UX (Closed)
Patch Set: Created 4 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Documentation/included/compile.itexi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl aclocal.m4 -*-shell-script-*- 1 dnl aclocal.m4 -*-shell-script-*-
2 dnl StepMake subroutines for configure.ac 2 dnl StepMake subroutines for configure.ac
3 3
4 4
5 ### mostly internal macros 5 ### mostly internal macros
6 6
7 # Get full path of executable ($1) 7 # Get full path of executable ($1)
8 AC_DEFUN(STEPMAKE_GET_EXECUTABLE, [ 8 AC_DEFUN(STEPMAKE_GET_EXECUTABLE, [
9 ## which doesn't work in ash, if /usr/bin/which isn't installed 9 ## which doesn't work in ash, if /usr/bin/which isn't installed
10 ## type -p doesn't work in ash 10 ## type -p doesn't work in ash
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 683
684 AUTOGENERATE="This file was automatically generated by configure" 684 AUTOGENERATE="This file was automatically generated by configure"
685 AC_SUBST(AUTOGENERATE) 685 AC_SUBST(AUTOGENERATE)
686 686
687 AC_CANONICAL_HOST 687 AC_CANONICAL_HOST
688 STEPMAKE_PROGS(MAKE, gmake make, REQUIRED) 688 STEPMAKE_PROGS(MAKE, gmake make, REQUIRED)
689 STEPMAKE_PROGS(FIND, find, REQUIRED) 689 STEPMAKE_PROGS(FIND, find, REQUIRED)
690 690
691 STEPMAKE_PROGS(TAR, tar, REQUIRED) 691 STEPMAKE_PROGS(TAR, tar, REQUIRED)
692 692
693 if test "$(echo 2)" != "2" \ 693 SHELL=/bin/sh
694 || test "x`uname`" = "xHP-UX"; then 694 AC_PATH_PROG(BASH, bash, $SHELL)
dak 2020/03/15 16:47:55 This sets BASH with a fallback to /bin/sh , meanin
695 AC_PATH_PROG(KSH, ksh, /bin/ksh)
696 AC_PATH_PROG(BASH, bash, $KSH)
697 STEPMAKE_WARN(avoiding buggy /bin/sh)
698 AC_PATH_PROG(SHELL, bash, $KSH)
699 else
700 SHELL=/bin/sh
701 AC_PATH_PROG(BASH, bash, $SHELL)
702 fi
703 AC_SUBST(SHELL)
704 695
705 STEPMAKE_PYTHON(REQUIRED, 3.5, 3.99) 696 STEPMAKE_PYTHON(REQUIRED, 3.5, 3.99)
706 697
707 if expr "$MAKE" : '.*\(echo\)' >/dev/null; then 698 if expr "$MAKE" : '.*\(echo\)' >/dev/null; then
708 $MAKE -v 2> /dev/null | grep GNU > /dev/null 699 $MAKE -v 2> /dev/null | grep GNU > /dev/null
709 if test "$?" = 1; then 700 if test "$?" = 1; then
710 warn='make (Please install *GNU* make)' 701 warn='make (Please install *GNU* make)'
711 # STEPMAKE_WARN($warn) 702 # STEPMAKE_WARN($warn)
712 STEPMAKE_ADD_ENTRY(REQUIRED, $warn) 703 STEPMAKE_ADD_ENTRY(REQUIRED, $warn)
713 fi 704 fi
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 dnl Retrieves the value of the pkg-config variable for the given module. 1303 dnl Retrieves the value of the pkg-config variable for the given module.
1313 AC_DEFUN([PKG_CHECK_VAR], 1304 AC_DEFUN([PKG_CHECK_VAR],
1314 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 1305 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1315 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl 1306 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
1316 1307
1317 _PKG_CONFIG([$1], [variable="][$3]["], [$2]) 1308 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
1318 AS_VAR_COPY([$1], [pkg_cv_][$1]) 1309 AS_VAR_COPY([$1], [pkg_cv_][$1])
1319 1310
1320 AS_VAR_IF([$1], [""], [$5], [$4])dnl 1311 AS_VAR_IF([$1], [""], [$5], [$4])dnl
1321 ])dnl PKG_CHECK_VAR 1312 ])dnl PKG_CHECK_VAR
OLDNEW
« no previous file with comments | « Documentation/included/compile.itexi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b