Intel-GFX Archive on lore.kernel.org
 help / color / Atom feed
From: Ben Widawsky <ben@bwidawsk.net>
To: intel-gfx@lists.freedesktop.org
Cc: Ben Widawsky <ben@bwidawsk.net>,
	vincent.beng.keat.cheah@intel.com,
	alan.previn.teres.alexis@intel.com
Subject: [PATCH 01/10] configure.ac: Fix spacing
Date: Sat,  2 Feb 2013 16:07:53 -0800
Message-ID: <1359850082-14793-2-git-send-email-ben@bwidawsk.net> (raw)
In-Reply-To: <1359850082-14793-1-git-send-email-ben@bwidawsk.net>

Almost all based on vim's config file type. It got it wrong in a few
places which were fixed by hand.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
 configure.ac | 94 +++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 48 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0ba7ce7..b75a9d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,9 +22,9 @@
 
 AC_PREREQ([2.60])
 AC_INIT([intel-gpu-tools],
-        [1.3],
-        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
-        [intel-gpu-tools])
+	[1.3],
+	[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
+	[intel-gpu-tools])
 
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
@@ -41,8 +41,8 @@ AM_MAINTAINER_MODE
 # Checks for functions, headers, structures, etc.
 AC_CHECK_HEADERS([termios.h])
 AC_CHECK_MEMBERS([struct sysinfo.totalram],[],[],[AC_INCLUDES_DEFAULT
-#include <sys/sysinfo.h>
-])
+		  #include <sys/sysinfo.h>
+		  ])
 AC_CHECK_FUNCS([swapctl])
 AC_CHECK_FUNCS([asprintf])
 
@@ -60,17 +60,15 @@ PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.38 libdrm])
 PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
 
 # for dma-buf tests
-AC_ARG_ENABLE(nouveau,
-              AS_HELP_STRING([--disable-nouveau],
-              [Enable use of nouveau API for prime tests (default: enabled)]),
-              [NOUVEAU=$enableval], [NOUVEAU=yes])
+AC_ARG_ENABLE(nouveau, AS_HELP_STRING([--disable-nouveau],
+	      [Enable use of nouveau API for prime tests (default: enabled)]),
+	      [NOUVEAU=$enableval], [NOUVEAU=yes])
 if test "x$NOUVEAU" = xyes; then
-   PKG_CHECK_MODULES(DRM_NOUVEAU, [libdrm_nouveau >= 2.4.33])
-   AC_DEFINE(HAVE_NOUVEAU, 1, [Have nouveau support])
+	PKG_CHECK_MODULES(DRM_NOUVEAU, [libdrm_nouveau >= 2.4.33])
+	AC_DEFINE(HAVE_NOUVEAU, 1, [Have nouveau support])
 fi
 AM_CONDITIONAL(HAVE_NOUVEAU, [test "x$NOUVEAU" = xyes])
 
-
 # for testdisplay
 PKG_CHECK_MODULES(CAIRO, cairo)
 PKG_CHECK_MODULES(LIBUDEV, [libudev], [udev=yes], [udev=no])
@@ -84,37 +82,37 @@ PKG_CHECK_MODULES(GLIB, glib-2.0)
 # -----------------------------------------------------------------------------
 # Define a configure option for the shadder debugger
 AC_ARG_ENABLE(shader-debugger, AS_HELP_STRING([--enable-shader-debugger],
-    [Enable shader debugging support [autodetected]]),
-    [BUILD_SHADER_DEBUGGER="$enableval"], [BUILD_SHADER_DEBUGGER=auto])
+	      [Enable shader debugging support [autodetected]]),
+	      [BUILD_SHADER_DEBUGGER="$enableval"], [BUILD_SHADER_DEBUGGER=auto])
 
 # Shadder debugger depends on python3, intel-genasm and objcopy
 if test "x$BUILD_SHADER_DEBUGGER" != xno; then
-    # Check Python 3 is installed
-    if test "$PYTHON" = ":" ; then
-	if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
-	    AC_MSG_ERROR([Shader debugger requested, python version 3 not found.])
-	else
-	    BUILD_SHADER_DEBUGGER=no
+	# Check Python 3 is installed
+	if test "$PYTHON" = ":" ; then
+		if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
+			AC_MSG_ERROR([Shader debugger requested, python version 3 not found.])
+		else
+			BUILD_SHADER_DEBUGGER=no
+		fi
 	fi
-    fi
-    # Check for the Intel Chipset assembler compiler
-    AC_PATH_PROGS([GEN4ASM], intel-gen4asm)
-    if test -z "$GEN4ASM" ; then
-	if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
-	    AC_MSG_ERROR([Shader debugger requested, but intel-gen4asm not found.])
-	else
-	    BUILD_SHADER_DEBUGGER=no
+	# Check for the Intel Chipset assembler compiler
+	AC_PATH_PROGS([GEN4ASM], intel-gen4asm)
+	if test -z "$GEN4ASM" ; then
+		if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
+			AC_MSG_ERROR([Shader debugger requested, but intel-gen4asm not found.])
+		else
+			BUILD_SHADER_DEBUGGER=no
+		fi
 	fi
-    fi
-    # Check for the objcopy GNU binary utiliy command
-    AC_PATH_PROGS([OBJCOPY], objcopy)
-    if test -z "$OBJCOPY" ; then
-	if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
-	    AC_MSG_ERROR([Shader debugger requested, but objcopy command not found.])
-	else
-	    BUILD_SHADER_DEBUGGER=no
+	# Check for the objcopy GNU binary utiliy command
+	AC_PATH_PROGS([OBJCOPY], objcopy)
+	if test -z "$OBJCOPY" ; then
+		if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
+			AC_MSG_ERROR([Shader debugger requested, but objcopy command not found.])
+		else
+			BUILD_SHADER_DEBUGGER=no
+		fi
 	fi
-    fi
 fi
 
 AM_CONDITIONAL(BUILD_SHADER_DEBUGGER, [test "x$BUILD_SHADER_DEBUGGER" != xno])
@@ -125,15 +123,15 @@ XORG_TESTSET_CFLAG([THREAD_CFLAGS], [-pthread], [-mt])
 AC_SUBST([THREAD_CFLAGS])
 
 AC_CONFIG_FILES([
-	Makefile
-	benchmarks/Makefile
-	demos/Makefile
-	lib/Makefile
-	man/Makefile
-	scripts/Makefile
-	tests/Makefile
-	tools/Makefile
-	debugger/Makefile
-	debugger/system_routine/Makefile
-])
+		 Makefile
+		 benchmarks/Makefile
+		 demos/Makefile
+		 lib/Makefile
+		 man/Makefile
+		 scripts/Makefile
+		 tests/Makefile
+		 tools/Makefile
+		 debugger/Makefile
+		 debugger/system_routine/Makefile
+		 ])
 AC_OUTPUT
-- 
1.8.1.2

  reply index

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-03  0:07 [PATCH 00/10] [RFC v2] quick dump Ben Widawsky
2013-02-03  0:07 ` Ben Widawsky [this message]
2013-02-03  0:07 ` [PATCH 02/10] configure.ac: Add vim magic modeline Ben Widawsky
2013-02-03  0:07 ` [PATCH 03/10] quick_dump: A dump utility different than reg_dumper Ben Widawsky
2013-02-03  0:07 ` [PATCH 04/10] quick_dump: gen6 support Ben Widawsky
2013-02-03  0:07 ` [PATCH 05/10] quick_dump: gen7 support Ben Widawsky
2013-02-03  0:07 ` [PATCH 06/10] quick_dump: vlv support Ben Widawsky
2013-02-03  0:07 ` [PATCH 07/10] configure.ac: Add swig dependency Ben Widawsky
2013-02-03  0:08 ` [PATCH 08/10] quick_dump: SWIG chipset interface Ben Widawsky
2013-02-04 18:21   ` Matt Turner
2013-02-03  0:08 ` [PATCH 09/10] quick_dump: Connect libpciaccess and other utils Ben Widawsky
2013-02-03 18:15   ` Ben Widawsky
2013-02-03  0:08 ` [PATCH 10/10] quick_dump: Use the register access library Ben Widawsky
2013-02-03  9:29 ` [PATCH 00/10] [RFC v2] quick dump Jesse Barnes
2013-02-03 12:22   ` Chris Wilson
2013-02-03 18:13     ` Ben Widawsky
2013-02-04 15:10       ` Daniel Vetter
2013-02-04 18:19         ` Ben Widawsky
2013-02-05 11:59       ` Damien Lespiau
2013-02-05 16:48         ` Ben Widawsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359850082-14793-2-git-send-email-ben@bwidawsk.net \
    --to=ben@bwidawsk.net \
    --cc=alan.previn.teres.alexis@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=vincent.beng.keat.cheah@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Intel-GFX Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/intel-gfx/0 intel-gfx/git/0.git
	git clone --mirror https://lore.kernel.org/intel-gfx/1 intel-gfx/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 intel-gfx intel-gfx/ https://lore.kernel.org/intel-gfx \
		intel-gfx@lists.freedesktop.org
	public-inbox-index intel-gfx

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.freedesktop.lists.intel-gfx


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git