diff -uNr gettext-0.11.5.orig/aclocal.m4 gettext-0.11.5/aclocal.m4 --- gettext-0.11.5.orig/aclocal.m4 2002-08-06 23:57:06.000000000 +1000 +++ gettext-0.11.5/aclocal.m4 2003-05-10 14:52:03.376676784 +1000 @@ -2163,7 +2163,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; @@ -4116,7 +4116,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' diff -uNr gettext-0.11.5.orig/configure gettext-0.11.5/configure --- gettext-0.11.5.orig/configure 2002-08-06 23:57:16.000000000 +1000 +++ gettext-0.11.5/configure 2003-05-10 14:52:05.711321864 +1000 @@ -3494,7 +3494,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' @@ -5347,7 +5347,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; diff -uNr gettext-0.11.5.orig/m4/libtool.m4 gettext-0.11.5/m4/libtool.m4 --- gettext-0.11.5.orig/m4/libtool.m4 2002-07-15 22:42:03.000000000 +1000 +++ gettext-0.11.5/m4/libtool.m4 2003-05-10 14:52:06.310230816 +1000 @@ -1357,7 +1357,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; @@ -3344,7 +3344,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' diff -uNr gettext-0.11.5.orig/tests/rpathx/aclocal.m4 gettext-0.11.5/tests/rpathx/aclocal.m4 --- gettext-0.11.5.orig/tests/rpathx/aclocal.m4 2002-07-17 03:49:06.000000000 +1000 +++ gettext-0.11.5/tests/rpathx/aclocal.m4 2003-05-10 14:52:06.964131408 +1000 @@ -1802,7 +1802,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; @@ -3755,7 +3755,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' diff -uNr gettext-0.11.5.orig/tests/rpathx/configure gettext-0.11.5/tests/rpathx/configure --- gettext-0.11.5.orig/tests/rpathx/configure 2002-07-17 03:49:09.000000000 +1000 +++ gettext-0.11.5/tests/rpathx/configure 2003-05-10 14:52:10.624574936 +1000 @@ -2550,7 +2550,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' @@ -4284,7 +4284,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; diff -uNr gettext-0.11.5.orig/tests/rpathy/aclocal.m4 gettext-0.11.5/tests/rpathy/aclocal.m4 --- gettext-0.11.5.orig/tests/rpathy/aclocal.m4 2002-07-17 21:52:17.000000000 +1000 +++ gettext-0.11.5/tests/rpathy/aclocal.m4 2003-05-10 14:52:11.423453488 +1000 @@ -1802,7 +1802,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; @@ -3755,7 +3755,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' diff -uNr gettext-0.11.5.orig/tests/rpathy/configure gettext-0.11.5/tests/rpathy/configure --- gettext-0.11.5.orig/tests/rpathy/configure 2002-07-17 21:52:21.000000000 +1000 +++ gettext-0.11.5/tests/rpathy/configure 2003-05-10 14:52:13.177186880 +1000 @@ -2553,7 +2553,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' @@ -4287,7 +4287,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; diff -uNr gettext-0.11.5.orig/tests/rpathz/aclocal.m4 gettext-0.11.5/tests/rpathz/aclocal.m4 --- gettext-0.11.5.orig/tests/rpathz/aclocal.m4 2002-07-17 21:52:21.000000000 +1000 +++ gettext-0.11.5/tests/rpathz/aclocal.m4 2003-05-10 14:52:14.169036096 +1000 @@ -1802,7 +1802,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; @@ -3755,7 +3755,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' diff -uNr gettext-0.11.5.orig/tests/rpathz/configure gettext-0.11.5/tests/rpathz/configure --- gettext-0.11.5.orig/tests/rpathz/configure 2002-07-17 21:52:24.000000000 +1000 +++ gettext-0.11.5/tests/rpathz/configure 2003-05-10 14:52:15.464839104 +1000 @@ -2555,7 +2555,7 @@ lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n 1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' @@ -4289,7 +4289,7 @@ # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def;