svn rev #25183: trunk/src/

raeburn@MIT.EDU raeburn at MIT.EDU
Sun Sep 18 05:43:33 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25183
Commit By: raeburn
Log Message:
Drop code for finding top source directory among several
possibilities, since with only one configure script now, we know
exactly where it is.


Changed Files:
U   trunk/src/aclocal.m4
Modified: trunk/src/aclocal.m4
===================================================================
--- trunk/src/aclocal.m4	2011-09-18 09:43:30 UTC (rev 25182)
+++ trunk/src/aclocal.m4	2011-09-18 09:43:33 UTC (rev 25183)
@@ -3,27 +3,8 @@
 Massachusetts Institute of Technology.
 ])
 dnl
-dnl Figure out the top of the source and build trees.  We depend on localdir
-dnl being a relative pathname; we could make it general later, but for now 
-dnl this is good enough.
+define([K5_TOPDIR],[.])dnl
 dnl
-dnl esyscmd([test -r aclocal.m4 && echo YES])
-define([fileexists],[dnl
-pushdef([x],esyscmd([if test -r $1; then echo YES;else echo NO; fi]))dnl
-dnl Strip out newline.
-ifelse(x,[YES
-],[YES],x,[NO
-],[NO],UNKNOWN)[]popdef([x])])
-define([K5_TOPDIR],dnl
-ifelse(fileexists(./aclocal.m4),YES,[.],[dnl
-ifelse(fileexists(../aclocal.m4),YES,[..],[dnl
-ifelse(fileexists(../../aclocal.m4),YES,[../..],[dnl
-ifelse(fileexists(../../../aclocal.m4),YES,[../../..],[dnl
-ifelse(fileexists(../../../../aclocal.m4),YES,[../../../..],[dnl
-errprint(__file__:__line__: Cannot find path to aclocal.m4[
-]) m4exit(1) dnl sometimes that does not work?
-builtin(m4exit,1)UNKNOWN])])])])]))
-dnl
 AC_DEFUN(V5_SET_TOPDIR,[dnl
 ac_reltopdir="K5_TOPDIR"
 if test ! -r "$srcdir/K5_TOPDIR/aclocal.m4"; then




More information about the cvs-krb5 mailing list