From feba7d37a82594082ff49db5a87ff973bcd8a552 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Wed, 9 Dec 2009 13:35:05 +0000 Subject: [PATCH] Ported r140 from branches/v2_2_6_1 (create paths during install) --- Makefile.in | 4 ++-- configure | 3 --- configure.in | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index 04ae2d0..b549f3d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,7 +59,7 @@ sarg: $(OBJS) install: all -@if test ! -d $(BINDIR); then \ echo "creating $(BINDIR)"; \ - mkdir $(BINDIR); \ + mkdir -p $(BINDIR); \ fi -@if test ! -d $(MANDIR); then \ echo "creating $(MANDIR)"; \ @@ -67,7 +67,7 @@ install: all fi -@if test ! -d $(SYSCONFDIR); then \ echo "creating $(SYSCONFDIR)"; \ - mkdir $(SYSCONFDIR); \ + mkdir -p $(SYSCONFDIR); \ fi -@if test ! -d $(LANGDIR); then \ echo "Creating $(LANGDIR)"; \ diff --git a/configure b/configure index d6cc6f6..a24ce98 100755 --- a/configure +++ b/configure @@ -6129,12 +6129,9 @@ if test "${enable_extraprotection+set}" = set; then CFLAGS="${CFLAGS} -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter" fi -else - CFLAGS="${CFLAGS}" fi - ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF diff --git a/configure.in b/configure.in index 5f452ab..c779b31 100644 --- a/configure.in +++ b/configure.in @@ -165,8 +165,7 @@ AC_ARG_ENABLE(extraprotection, if test "$enableval"; then CFLAGS="${CFLAGS} -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter" fi -],[CFLAGS="${CFLAGS}"]) -AC_SUBST(CFLAGS) +]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- 2.47.2