Commit fd4b42ec authored by albert-github's avatar albert-github
Browse files

Bug 728654 - configuration stops with settings.h missing

This bug fix fixes, in a general way, a number of issues encountered on Solaris
- configure
  - ! (exclamation mark) not recognized properly, but with mkdir -p no test is necessary
  - sed problem regarding removing last , (comma) in language list. Is automatically replaced in with a space when translating language names to upper case.
- lang_cfg.py
  - corrected check on number of arguments
parent 0d50c30b
Loading
Loading
Loading
Loading
+3 −7
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ f_libclangstatic=NO
# first setup the list with availabe languages, so we cannot forget any
# first setup the list with availabe languages, so we cannot forget any
# list will be in case as specified (f_langs) and in uppercase (f_ulangs) as used in the internal perl script
# list will be in case as specified (f_langs) and in uppercase (f_ulangs) as used in the internal perl script
#
#
f_langs=`ls -1 src/translator_??.h | sed -e 's%src/translator_%%g' | sed -e 's/\.h//' | tr '\012' ',' | sed -e 's/,$//'`
f_langs=`ls -1 src/translator_??.h | sed -e 's%src/translator_%%g' | sed -e 's/\.h//' | tr '\012' ','`


while test -n "$1";  do
while test -n "$1";  do
  case $1 in
  case $1 in
@@ -708,14 +708,10 @@ fi


# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------


if ! test -d "generated_src/doxygen"; then
mkdir -p generated_src/doxygen
mkdir -p generated_src/doxygen
fi
if test "$f_wizard" = YES; then
if test "$f_wizard" = YES; then
  if ! test -d "generated_src/doxywizard"; then
  mkdir -p generated_src/doxywizard
  mkdir -p generated_src/doxywizard
fi
fi
fi


#
#
# Make VERSION file
# Make VERSION file
+1 −1
Original line number Original line Diff line number Diff line
import sys
import sys


if (len(sys.argv) > 0):
if (len(sys.argv) > 1):
    if (sys.argv[1] == "ENONLY"):
    if (sys.argv[1] == "ENONLY"):
        print "#define ENGLISH_ONLY"
        print "#define ENGLISH_ONLY"
    else:
    else: