Move generated includes to their own directory to avoid conflicts.

Fixes #1051, mosh fails to build on case-insensitive filesystems.

XXX This isn't perfect because autoconf/automake drop several extra
files in the directory anyway.
This commit is contained in:
John Hood
2019-07-09 00:30:16 -04:00
parent 609fb91fbc
commit 12199114fe
4 changed files with 20 additions and 12 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ AM_INIT_AUTOMAKE([foreign std-options -Wall -Werror])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([src/include/config.h])
AC_LANG([C++])
# Checks for programs.
@@ -523,6 +523,7 @@ AC_CONFIG_FILES([
src/Makefile
src/crypto/Makefile
src/frontend/Makefile
src/include/Makefile
src/network/Makefile
src/protobufs/Makefile
src/statesync/Makefile