diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-02-07 14:30:30 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-02-07 14:30:30 +0000 |
| commit | 97bafa2e045966ae578ba91f84e5000825e44364 (patch) | |
| tree | dfb60394e567e2daeb8aeb8a76205cc0f1f91bb5 | |
| parent | c02c04ede4fbbddc73990668dc790a1d20a647d2 (diff) | |
More cross-compiling features in configure: using AC_PATH_TOOL instead of
AC_PATH_PROG for ar and windres to get the cross-tools' paths.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | configure.in | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/configure.in b/configure.in index 4431fa525..ea84f0cfd 100644 --- a/configure.in +++ b/configure.in @@ -406,7 +406,7 @@ AC_PATH_PROG(DOXYDOC,doxygen) dnl How do we make libraries? AC_PROG_RANLIB -AC_PATH_PROG(AR, ar) +AC_PATH_TOOL(AR, ar) if test "x$AR" = "x:"; then AC_MSG_ERROR(Configure could not find the library archiver, aborting.) @@ -420,15 +420,9 @@ fi AC_SUBST(LIBCOMMAND) -dnl try to find windres with host prefix first -dnl fix cross compiling -AC_PATH_PROG(RC,"$host_alias-windres") - dnl how to compile (Windows) resource files -dnl this will only be used to create Windows .exe files -if test "x$RC" = "x"; then - AC_PATH_PROG(RC,windres) -fi +dnl this will only be used to compile resources for Windows .exe files +AC_PATH_TOOL(RC,windres) dnl Architecture checks... AC_C_BIGENDIAN |
