VirtualBox

Changeset 60754 in vbox for trunk/configure


Ignore:
Timestamp:
Apr 29, 2016 9:36:45 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106947
Message:

configure: make echo -n work again on Solaris 11 without /usr/ucb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r60563 r60754  
    44
    55#
    6 # Copyright (C) 2006-2013 Oracle Corporation
     6# Copyright (C) 2006-2016 Oracle Corporation
    77#
    88# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2020# append some extra paths
    2121PATH="$PATH:/opt/gnome/bin"
    22 # Solaris (order of paths important for tr, echo, grep, sed to work)
    23 PATH="/usr/xpg4/bin:/usr/ucb:$PATH:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin"
     22# Solaris (order of paths important for tr, grep, sed to work)
     23PATH="/usr/xpg4/bin:$PATH:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin"
    2424ORGPATH=$PATH
    2525
     
    188188if [ "$OS" = "darwin" ]; then
    189189  ECHO_N="/bin/echo -n"
     190elif [ "$OS" = "solaris" ]; then
     191  # Solaris 11 /bin/sh has a builtin echo that could grok -n if there is
     192  # /usr/ucb/echo the first echo executable in the path, but the /usr/ucb
     193  # tools are no longer installed by default.
     194  ECHO_N="/usr/gnu/bin/echo -n"
    190195else
    191196  ECHO_N="echo -n"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette