Skip to content

Commit

Permalink
cnf: check for canonical host first
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 19, 2017
1 parent af67945 commit 0130f96
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions cnf/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ dnl ##
AC_CONFIG_HEADER(config.h:config.hin)


dnl #########################################################################
dnl ##
dnl ## find a canonical name for the system
dnl ##

AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED( SYS_ARCH, "$GAPARCH", [define the name of the architucture] )
AC_SUBST(GAPARCH)

dnl This has to be left until after we know the system type
GP_C_LONG_ALIGN
GP_CFLAGS
GP_LDFLAGS
GP_PROG_CC_DYNFLAGS


dnl #########################################################################
dnl ##
dnl ## check for compiler features
Expand Down Expand Up @@ -84,21 +100,6 @@ AC_CHECK_SIZEOF([long long])
GP_C_UNDERSCORE_SYMBOLS


dnl #########################################################################
dnl ##
dnl ## find a canonical name for the system
dnl ##

AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED( SYS_ARCH, "$GAPARCH", [define the name of the architucture] )
AC_SUBST(GAPARCH)

dnl This has to be left until after we know the system type
GP_C_LONG_ALIGN
GP_CFLAGS
GP_LDFLAGS
GP_PROG_CC_DYNFLAGS


dnl #########################################################################
dnl ##
Expand Down

0 comments on commit 0130f96

Please sign in to comment.