ostree/gnomeos/3.4/libatasmart-autogen.patch

27 lines
814 B
Diff

From d3a0d8cbbe8f2375f34ee4c28e4279a8130455e3 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Sat, 14 Jan 2012 15:48:55 -0500
Subject: [PATCH] autogen.sh: Honor NOCONFIGURE=1 environment variable
See http://people.gnome.org/~walters/docs/build-api.txt
---
autogen.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index d9bef57..ff38f5c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -70,7 +70,7 @@ else
run_versioned autoheader "$AC_VERSION"
run_versioned automake "$AM_VERSION" --copy --foreign --add-missing
- if [ "x$1" != "xac" ]; then
+ if [ "x$1" != "xac" ] && test -z "$NOCONFIGURE"; then
CFLAGS="$CFLAGS -g -O0" ./configure \
--sysconfdir=/etc \
--localstatedir=/var \
--
1.7.6.4