From d97c87e5c8d747ad25992846ad0c3056f1029a44 Mon Sep 17 00:00:00 2001 From: Nuno Ferreira Date: Sat, 20 Mar 1999 22:30:36 +0000 Subject: [PATCH] 1999-03-20 Nuno Ferreira * configure.in: Create slang directory, it is needed when builddir != srcdir. Use -f when calling rm, the file does not exist on first compile. No need to copy VERSION from $srcdir, it's already generated in $buildir. --- ChangeLog | 9 +++++++++ configure.in | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dfd7ac204..9c03ea41d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1999-03-20 Nuno Ferreira + + * configure.in: Create slang directory, it is needed when + builddir != srcdir. + Use -f when calling rm, the file does not exist on + first compile. + No need to copy VERSION from $srcdir, it's already generated in + $buildir. + Fri Mar 19 06:32:36 1999 David Martin * edit/edit_key_translator.c: Added missing translation tags. diff --git a/configure.in b/configure.in index d9012d10c..6ef1944cd 100644 --- a/configure.in +++ b/configure.in @@ -820,7 +820,7 @@ AC_DEFUN(AC_WITH_SLANG, LSLANG="-lslang" screen_manager="SLang (system-installed library)" AC_MSG_RESULT(Using system installed SLang library) - rm slang/slang.h + rm -f slang/slang.h ac_save_LIBS="$LIBS" LIBS="$LIBS $LSLANG" AC_TRY_RUN( @@ -844,7 +844,8 @@ AC_DEFUN(AC_WITH_SLANG, LSLANG="-lmcslang" CPPFLAGS="$CPPFLAGS -I../slang" fastdepslang=fastdepslang - rm slang/slang.h + mkdir -p slang + rm -f slang/slang.h ln -s ../$srcdir/slang/slang-mc.h slang/slang.h fi if $slang_check_lib @@ -1262,7 +1263,6 @@ intl/Makefile po/Makefile.in if test x$srcdir != x; then if test $srcdir != .; then - cp $srcdir/VERSION VERSION mkdir nt mkdir os2 cp $srcdir/pc/Makefile nt/Makefile