Commit 547e5acd authored by Matteo Quintiliani's avatar Matteo Quintiliani

Changed setting for BINARY_DIST_NAME_SUFFIX


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@884 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent a90f2ae3
......@@ -21,6 +21,8 @@ AC_INIT([full_package_name], [version], [bug_report_address])
AC_CONFIG_SRCDIR([src/nmxptool.c])
AC_CONFIG_HEADER([config.h])
AC_CANONICAL_SYSTEM
#mtheo
# AM_INIT_AUTOMAKE(FULL_PACKAGE_NAME,VERSION)
AM_INIT_AUTOMAKE([full_package_name], [version])
......@@ -164,30 +166,7 @@ AM_CONDITIONAL(WITHEW, test x$with_ew != xno)
# Set BINARY_DIST_NAME_SUFFIX
case "$OSTYPE" in
solaris*)
RELEASE=`uname -r`
BINARY_DIST_NAME_SUFFIX=$MACHTYPE-$RELEASE-$OSTYPE
;;
darwin*)
MACHINE=`machine`
# BINARY_DIST_NAME_SUFFIX=$MACHINE-$MACHTYPE
BINARY_DIST_NAME_SUFFIX=$MACHINE-apple-$OSTYPE
;;
linux*)
BINARY_DIST_NAME_SUFFIX=$MACHTYPE
;;
win32*)
BINARY_DIST_NAME_SUFFIX=$MACHTYPE
;;
msys*)
BINARY_DIST_NAME_SUFFIX=$MACHTYPE
;;
*)
BINARY_DIST_NAME_SUFFIX=$MACHTYPE
AC_MSG_WARN(Unrecognised OS $OSTYPE)
;;
esac
BINARY_DIST_NAME_SUFFIX=$host
AC_MSG_NOTICE(BINARY_DIST_NAME_SUFFIX set to $BINARY_DIST_NAME_SUFFIX)
AC_SUBST(BINARY_DIST_NAME_SUFFIX)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment