diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-02-15 00:09:15 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-02-15 00:09:15 +0100 |
| commit | edd5818355c37d5c68b88642b68dd61d302b3d38 (patch) | |
| tree | a01ff5683917d6492bfac6a4c466b9ef32540cc4 /configure.ac | |
| parent | 5378ef1c87f5b93f87b1efad5fe270265c1adcf3 (diff) | |
fix autoconf and Makefile
do not delete config.sub and config.guess
todo: remove misc/config.{sub|guess} ?
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6fb9492c7..f98a3b683 100644 --- a/configure.ac +++ b/configure.ac @@ -1253,7 +1253,7 @@ AC_SUBST([CAT3EXT]) AC_SUBST([CAT6EXT]) dnl Fix "mandir" variable... -AS_IF([test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"]. [ +AS_IF([test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"], [ AS_CASE(["$host_os"], [*bsd* | darwin* | linux*], [ # *BSD, Darwin, and Linux mandir="\${prefix}/share/man" @@ -1507,7 +1507,8 @@ AS_CASE([$host_os], [darwin*], [ dnl Define the FLTK documentation directory... AS_CASE([$host_os], [mingw*], [ # Determine the path where MSys has /usr installed - msyspath="$(mount | grep '\/usr ' | cut -d ' ' -f -1 | sed -e 's/\\\/\// g')" + msyspath="$(mount | grep '/usr ' | cut -d ' ' -f -1 | sed -e's,\\,/, g')" + # Then substitute that in the Windows path instead of /usr AC_DEFINE_UNQUOTED([FLTK_DOCDIR], "$msyspath/local/share/doc/fltk") ], [*], [ |
