From: Frédéric Marchal Date: Wed, 9 Dec 2009 13:35:05 +0000 (+0000) Subject: Ported r140 from branches/v2_2_6_1 (create paths during install) X-Git-Tag: v2_2_7~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feba7d37a82594082ff49db5a87ff973bcd8a552;p=thirdparty%2Fsarg.git Ported r140 from branches/v2_2_6_1 (create paths during install) --- 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