+2005-05-24 Stepan Kasal <kasal@ucw.cz>
+
+ * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
+ messages when ac_unique_file is not found.
+
2005-05-24 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Simplify the
2005-05-20 Stepan Kasal <kasal@ucw.cz>
- * ./lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
+ * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
of confdefs.h .
2005-05-17 Stepan Kasal <kasal@ucw.cz>
ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..])
- else
- AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])
- fi
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])
fi
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work])