daily update
[binutils-gdb.git] / bfd / configure.host
index 024ed625420119cf37e054733c4c8067765e2c32..eb7bfe9e3dd25939461eb4f5a1024350a091ccad 100644 (file)
@@ -19,16 +19,20 @@ HOST_U_64BIT_TYPE=
 
 case "${host}" in
 
-hppa*-*-hpux*)         # HP/UX's ftello64 et.al. declarations are only
+hppa*64*-*-hpux*)      # HP/UX's ftello64 et.al. declarations are only
                        # visible when _LARGEFILE64_SOURCE is defined.
                        # Without those declarations, real_ftell et.al.
                        # get mis-compiled.
-                       HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
+                       HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE"
+                       host64=true;;
+hppa*-*-hpux*)         HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
 hppa*-*-hiux*)         HDEFINES=-DHOST_HPPAHPUX ;;
 hppa*-*-mpeix*)                HDEFINES=-DHOST_HPPAMPEIX ;;
 hppa*-*-bsd*)          HDEFINES=-DHOST_HPPABSD ;;
 hppa*-*-osf*)          HDEFINES=-DHOST_HPPAOSF ;;
 
+ia64-*-hpux*)          HDEFINES=-D_LARGEFILE64_SOURCE
+                       host64=true;;
 ia64-*-*)              host64=true;;
 
 # Workaround for limitations on win9x where file contents are
@@ -52,6 +56,12 @@ mips*-*-riscos*)     HDEFINES="-G 4" ;;
 
 m68*-hp-hpux*)         HDEFINES=-DHOST_HP300HPUX ;;
 
+# Some Solaris systems (osol0906 at least) have a libc that doesn't recognise
+# the "MS-ANSI" code page name, so we define an override for CP_ACP (sets the
+# default code page used by windres/windmc when not specified by a commandline
+# option) to select the "WINDOWS-1252" name instead.  See PR11280 for details.
+*-*-solaris2.11)       HDEFINES=-DCP_ACP=1 ;;
+
 *-*-windows*)
                        HOST_64BIT_TYPE=__int64
                        HOST_U_64BIT_TYPE="unsigned __int64"