/[autoconf]/autoconf/tests/atspecific.m4
ViewVC logotype

Diff of /autoconf/tests/atspecific.m4

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

revision 1.74 by akim, Mon Oct 28 07:15:06 2002 UTC revision 1.75 by akim, Thu Oct 31 13:57:37 2002 UTC
# Line 187  m4_defun([AC_STATE_SAVE], Line 187  m4_defun([AC_STATE_SAVE],
187        [^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |        [^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
188    # There maybe variables spread on several lines, eg IFS, remove the dead    # There maybe variables spread on several lines, eg IFS, remove the dead
189    # lines.    # lines.
190    grep '^m4_defn([m4_re_word])=' >state-env.$[@]&t@1    grep '^m4_defn([m4_re_word])=' >state-env.$][1
191  test $? = 0 || rm -f state-env.$[@]&t@1  test $? = 0 || rm -f state-env.$][1
192    ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
 ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$[@]&t@1  
193  ])# AC_STATE_SAVE  ])# AC_STATE_SAVE
194  ]])  ]])
195    
# Line 237  m4_define([AT_CHECK_CONFIGURE], Line 236  m4_define([AT_CHECK_CONFIGURE],
236  # ------------  # ------------
237  # Check that the full configure run remained in its variable name space,  # Check that the full configure run remained in its variable name space,
238  # and cleaned up tmp files.  # and cleaned up tmp files.
239  # me tests might exit prematurely when they find a problem, in  # Some tests might exit prematurely when they find a problem, in
240  # which case `env-after' is probably missing.  Don't check it then.  # which case `env-after' is probably missing.  Don't check it then.
241  m4_define([AT_CHECK_ENV],  m4_define([AT_CHECK_ENV],
242  [if test -f state-env.before && test -f state-env.after; then  [test -f state-ls.before ||
243      AS_ERROR([state-ls.before not present])
244    if test -f state-env.before && test -f state-env.after; then
245    mv -f state-env.before expout    mv -f state-env.before expout
246    AT_CHECK([cat state-env.after], 0, expout)    AT_CHECK([cat state-env.after], 0, expout)
247  fi  fi
248  if test -f state-ls.before && test -f state-ls.after; then  if test -f state-ls.after; then
249    mv -f state-ls.before expout    mv -f state-ls.before expout
250    AT_CHECK([cat state-ls.after], 0, expout)    AT_CHECK([cat state-ls.after], 0, expout)
251  fi  fi

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

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