Nathan <naro...@hotmail.com> writes:

>> checking for g++ option to enable C++11 features... -std=gnu++11
>> checking if g++ -std=gnu++11 accepts -std=c++98... yes
>> checking if g++ -std=gnu++11 accepts -w... yes
>> checking if g++ -std=gnu++11 accepts -Werror=unknown-warning-option... no
>> checking how to run the C preprocessor... gcc -std=gnu11 -E
>> checking for a sed that does not truncate output... /bin/sed
>> configure: error: cannot run /bin/sh build/config.sub
>>
>> "configure:5076: error: cannot run /bin/sh build/config.sub"
>>
>> "# Grab target_cpu, so we can use it in the Solaris pkginfo file
>> # Make sure we can run config.sub.
>> $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
>>   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5"
>>
>> $ /bin/bash ./build/config.sub sun4
>> Usage: /home/user/Desktop/subversion/build/config.sub [OPTION]...
>> [MODE-ARG]...
>> Try 'config.sub --help' for more information.
>> config.sub:   error: you must specify a MODE

On my machine

$ ../src/build/config.sub sun4
sparc-sun-sunos4.1.1

My config.sub does not contain the string "MODE" and so cannot produce
the output you show.  I'm using config.sub from Debian's autotools-dev
20120608.1

I associate MODE-ARG with libtool and that error looks like the error
libtool produces.  Have you managed to get libtool and config.sub mixed
up?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Reply via email to