am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / libtool8.sh
old mode 100755 (executable)
new mode 100644 (file)
index 9182c27..a44b67b
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 # Make sure Automake diagnoses conflicting installations.
 
 required='libtoolize'
-. ./defs || Exit 1
+. test-init.sh
 
 cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND1], [true])
@@ -46,7 +46,7 @@ END
 libtoolize
 $ACLOCAL
 AUTOMAKE_fails --add-missing
-grep libb stderr && Exit 1
+grep libb stderr && exit 1
 grep 'Makefile.am:3:.*libc.la.*multiply defined' stderr
 grep "Makefile.am:9:.*'pkglib" stderr
 grep "Makefile.am:2:.*'lib" stderr