diff options
author | Jakub Narebski <jnareb@gmail.com> | 2010-04-15 05:27:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-15 12:15:17 -0700 |
commit | bb15e38281aab342a0e3ca7d5663b0c3f9d5e72e (patch) | |
tree | 82281663a23050102798e6d2cc12fca8cf7f8bd7 /configure.ac | |
parent | cb6a22c0760f30ff8050b508b9fabbe13ffba1ae (diff) | |
download | git-bb15e38281aab342a0e3ca7d5663b0c3f9d5e72e.tar.gz |
autoconf: Check if <paths.h> exists and set HAVE_PATHS_H
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 914ae5759f..3590532219 100644 --- a/configure.ac +++ b/configure.ac @@ -704,6 +704,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=], |