projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
restore ability for Makefiles to use 'generic' platform names when needed
[asterisk/asterisk.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
f6c0668
..
71ef554
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-60,6
+60,17
@@
AC_SUBST(HOST_CPU)
AC_SUBST(HOST_VENDOR)
AC_SUBST(HOST_OS)
+case "${host_os}" in
+ freebsd*)
+ OSARCH=FreeBSD
+ ;;
+ *)
+ OSARCH=${HOST_OS}
+ ;;
+esac
+
+AC_SUBST(OSARCH)
+
# check for uname
AC_PATH_TOOL([UNAME], [uname], No)
if test ! x"${UNAME}" = xNo; then