OSDN Git Service

build: update AC_CONFIG_SRCDIR for non-srcdir-from-clone builds
authorKeshav P R <the.ridikulus.rat@gmail.com>
Tue, 10 Jan 2012 10:10:59 +0000 (11:10 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 10 Jan 2012 10:10:59 +0000 (11:10 +0100)
* configure.ac (AC_CONFIG_SRCDIR): List parted.h.in, rather than
the now-generated parted.h, for those who run configure not from
a distribution tarball, but from a non-srcdir build using a pristine
clone.

configure.ac

index cf559f8..5db6dbd 100644 (file)
@@ -10,7 +10,7 @@ AC_INIT([GNU parted], m4_esyscmd([build-aux/git-version-gen .version]),
 # When the most recent signed tag is v1.8.8.1,
 # the above might set e.g., PACKAGE_VERSION='1.8.8.1.1-0bfc'
 
-AC_CONFIG_SRCDIR([include/parted/parted.h])
+AC_CONFIG_SRCDIR([include/parted/parted.h.in])
 
 AC_CONFIG_HEADERS([lib/config.h:lib/config.h.in])
 AC_CONFIG_AUX_DIR([build-aux])