diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 13:02:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 13:02:17 +0200 |
commit | 455bda993cceb42921c9ff173da26651f1d66602 (patch) | |
tree | 4e3fd6c8f85e1dbb70d8ea6356b569b0bb9c7e80 /configure.ac | |
parent | Merge branch 'tr/word-diff' (diff) | |
parent | autoconf: Check if <paths.h> exists and set HAVE_PATHS_H (diff) | |
download | git-455bda993cceb42921c9ff173da26651f1d66602.tar.xz git-455bda993cceb42921c9ff173da26651f1d66602.zip |
Merge branch 'cw/maint-exec-defpath'
* cw/maint-exec-defpath:
autoconf: Check if <paths.h> exists and set HAVE_PATHS_H
exec_cmd.c: replace hard-coded path list with one from <paths.h>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f4d7372ef8..71038fcf1c 100644 --- a/configure.ac +++ b/configure.ac @@ -724,6 +724,12 @@ AC_CHECK_HEADER([libgen.h], [NO_LIBGEN_H=YesPlease]) AC_SUBST(NO_LIBGEN_H) # +# Define HAVE_PATHS_H if you have paths.h. +AC_CHECK_HEADER([paths.h], +[HAVE_PATHS_H=YesPlease], +[HAVE_PATHS_H=]) +AC_SUBST(HAVE_PATHS_H) +# # Define NO_STRCASESTR if you don't have strcasestr. GIT_CHECK_FUNC(strcasestr, [NO_STRCASESTR=], |