/[autoconf]/autoconf/lib/autoconf/general.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.786 by akim, Thu Jan 31 16:54:33 2002 UTC revision 1.787 by akim, Thu Feb 7 12:07:20 2002 UTC
# Line 489  AC_DEFUN([AC_PREFIX_DEFAULT], Line 489  AC_DEFUN([AC_PREFIX_DEFAULT],
489  # and it might use a cached value for the path.  # and it might use a cached value for the path.
490  # No big loss, I think, since most configures don't use this macro anyway.  # No big loss, I think, since most configures don't use this macro anyway.
491  AC_DEFUN([AC_PREFIX_PROGRAM],  AC_DEFUN([AC_PREFIX_PROGRAM],
492  [dnl Get an upper case version of $[1].  [if test "x$prefix" = xNONE; then
 m4_pushdef([AC_Prog], m4_toupper([$1]))dnl  
 if test "x$prefix" = xNONE; then  
493  dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.  dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
494    _AS_ECHO_N([checking for prefix by])    _AS_ECHO_N([checking for prefix by ])
495    AC_PATH_PROG(AC_Prog, [$1])    AC_PATH_PROG(ac_prefix_program, [$1])
496    if test -n "$ac_cv_path_[]AC_Prog"; then    if test -n $ac_prefix_program; then
497      prefix=`AS_DIRNAME(["$ac_cv_path_[]AC_Prog"])`      prefix=`AS_DIRNAME(["$ac_prefix_program"])`
498      prefix=`AS_DIRNAME(["$prefix"])`      prefix=`AS_DIRNAME(["$prefix"])`
499    fi    fi
500  fi  fi
 m4_popdef([AC_Prog])dnl  
501  ])# AC_PREFIX_PROGRAM  ])# AC_PREFIX_PROGRAM
502    
503    

Legend:
Removed from v.1.786  
changed lines
  Added in v.1.787

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26