autoconf: Use autoconf to write installation directories to config.mak.autogen

This is beginning of patch series introducing installation configuration
using autoconf (and no other autotools) to git. The idea is to generate
config.mak.autogen using ./configure (generated from configure.ac by running
autoconf) from config.mak.in, so one can use autoconf as an _alternative_ to
ordinary Makefile, and creating one's own config.mak. Local settings in
config.mak override generated settings in config.mak.autogen

This patch includes minimal configure.ac and config.mak.in, so one can set
installation directories using autoconf generated ./configure script
e.g. ./configure --prefix=/usr

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
5 files changed
tree: d778102f4c02b0ecd9a7d84a17e292582391fff2
  1. arm/
  2. compat/
  3. contrib/
  4. Documentation/
  5. gitweb/
  6. mozilla-sha1/
  7. ppc/
  8. t/
  9. templates/
  10. xdiff/
  11. .gitignore
  12. alloc.c
  13. base85.c
  14. blame.c
  15. blob.c
  16. blob.h
  17. builtin-add.c
  18. builtin-apply.c
  19. builtin-cat-file.c
  20. builtin-check-ref-format.c
  21. builtin-commit-tree.c
  22. builtin-count.c
  23. builtin-diff-files.c
  24. builtin-diff-index.c
  25. builtin-diff-stages.c
  26. builtin-diff-tree.c
  27. builtin-diff.c
  28. builtin-grep.c
  29. builtin-help.c
  30. builtin-init-db.c
  31. builtin-log.c
  32. builtin-ls-files.c
  33. builtin-ls-tree.c
  34. builtin-mailinfo.c
  35. builtin-mailsplit.c
  36. builtin-push.c
  37. builtin-read-tree.c
  38. builtin-rev-list.c
  39. builtin-rev-parse.c
  40. builtin-rm.c
  41. builtin-show-branch.c
  42. builtin-stripspace.c
  43. builtin-tar-tree.c
  44. builtin-update-index.c
  45. builtin-update-ref.c
  46. builtin-upload-tar.c
  47. builtin-write-tree.c
  48. builtin.h
  49. cache-tree.c
  50. cache-tree.h
  51. cache.h
  52. checkout-index.c
  53. combine-diff.c
  54. commit.c
  55. commit.h
  56. config.c
  57. config.mak.in
  58. configure.ac
  59. connect.c
  60. convert-objects.c
  61. copy.c
  62. COPYING
  63. csum-file.c
  64. csum-file.h
  65. ctype.c
  66. daemon.c
  67. date.c
  68. delta.h
  69. describe.c
  70. diff-delta.c
  71. diff-lib.c
  72. diff.c
  73. diff.h
  74. diffcore-break.c
  75. diffcore-delta.c
  76. diffcore-order.c
  77. diffcore-pickaxe.c
  78. diffcore-rename.c
  79. diffcore.h
  80. dir.c
  81. dir.h
  82. dump-cache-tree.c
  83. entry.c
  84. environment.c
  85. exec_cmd.c
  86. exec_cmd.h
  87. fetch-clone.c
  88. fetch-pack.c
  89. fetch.c
  90. fetch.h
  91. fsck-objects.c
  92. generate-cmdlist.sh
  93. git-am.sh
  94. git-annotate.perl
  95. git-applymbox.sh
  96. git-applypatch.sh
  97. git-archimport.perl
  98. git-bisect.sh
  99. git-branch.sh
  100. git-checkout.sh
  101. git-cherry.sh
  102. git-clean.sh
  103. git-clone.sh
  104. git-commit.sh
  105. git-compat-util.h
  106. git-cvsexportcommit.perl
  107. git-cvsimport.perl
  108. git-cvsserver.perl
  109. git-fetch.sh
  110. git-fmt-merge-msg.perl
  111. git-lost-found.sh
  112. git-ls-remote.sh
  113. git-merge-octopus.sh
  114. git-merge-one-file.sh
  115. git-merge-ours.sh
  116. git-merge-recursive.py
  117. git-merge-resolve.sh
  118. git-merge-stupid.sh
  119. git-merge.sh
  120. git-mv.perl
  121. git-p4import.py
  122. git-parse-remote.sh
  123. git-prune.sh
  124. git-pull.sh
  125. git-push.sh
  126. git-quiltimport.sh
  127. git-rebase.sh
  128. git-relink.perl
  129. git-repack.sh
  130. git-request-pull.sh
  131. git-rerere.perl
  132. git-reset.sh
  133. git-resolve.sh
  134. git-revert.sh
  135. git-send-email.perl
  136. git-sh-setup.sh
  137. git-shortlog.perl
  138. git-svnimport.perl
  139. git-tag.sh
  140. git-verify-tag.sh
  141. GIT-VERSION-GEN
  142. git.c
  143. git.spec.in
  144. gitk
  145. gitMergeCommon.py
  146. hash-object.c
  147. http-fetch.c
  148. http-push.c
  149. http.c
  150. http.h
  151. ident.c
  152. imap-send.c
  153. index-pack.c
  154. INSTALL
  155. local-fetch.c
  156. lockfile.c
  157. log-tree.c
  158. log-tree.h
  159. Makefile
  160. merge-base.c
  161. merge-index.c
  162. merge-tree.c
  163. mktag.c
  164. mktree.c
  165. name-rev.c
  166. object-refs.c
  167. object.c
  168. object.h
  169. pack-check.c
  170. pack-objects.c
  171. pack-redundant.c
  172. pack.h
  173. pager.c
  174. patch-delta.c
  175. patch-id.c
  176. path.c
  177. peek-remote.c
  178. pkt-line.c
  179. pkt-line.h
  180. prune-packed.c
  181. quote.c
  182. quote.h
  183. read-cache.c
  184. README
  185. receive-pack.c
  186. refs.c
  187. refs.h
  188. repo-config.c
  189. revision.c
  190. revision.h
  191. rsh.c
  192. rsh.h
  193. run-command.c
  194. run-command.h
  195. send-pack.c
  196. server-info.c
  197. setup.c
  198. sha1_file.c
  199. sha1_name.c
  200. shell.c
  201. show-index.c
  202. ssh-fetch.c
  203. ssh-pull.c
  204. ssh-push.c
  205. ssh-upload.c
  206. strbuf.c
  207. strbuf.h
  208. symbolic-ref.c
  209. tag.c
  210. tag.h
  211. tar.h
  212. test-date.c
  213. test-delta.c
  214. tree-diff.c
  215. tree-walk.c
  216. tree-walk.h
  217. tree.c
  218. tree.h
  219. unpack-file.c
  220. unpack-objects.c
  221. update-server-info.c
  222. upload-pack.c
  223. usage.c
  224. var.c
  225. verify-pack.c
  226. xdiff-interface.c
  227. xdiff-interface.h