View | Details | Raw Unified | Return to issue 12872
Collapse All | Expand All

(-)config_office/set_soenv.in (-88 / +8 lines)
Lines 44-50 Link Here
44
#
44
#
45
my ( $outfile, $outfile_sh, $outfile_bat, $bootfile, $newline, $comment, $comment4nt, $compiler, $unsetenv, $setenv, $unset, $set, $ds, $ps, $cur_dir, 
45
my ( $outfile, $outfile_sh, $outfile_bat, $bootfile, $newline, $comment, $comment4nt, $compiler, $unsetenv, $setenv, $unset, $set, $ds, $ps, $cur_dir, 
46
     $par_dir, $I, $L, $D, $buildenv, $answer, $tmp, $Solaris, $Linux, $FreeBSD, $NetBSD, $Tru64, $Irix, $Irix64, $Winnt, $Macosx, $MINGWIN32, $USE_SHELL,
46
     $par_dir, $I, $L, $D, $buildenv, $answer, $tmp, $Solaris, $Linux, $FreeBSD, $NetBSD, $Tru64, $Irix, $Irix64, $Winnt, $Macosx, $MINGWIN32, $USE_SHELL,
47
     $WScomp, $GNUcomp, $platform, $cygwinver, $machine_type, $empty, $no_jdk, $no_ant, $no_stl, $no_tcsh, $no_cl, $no_gcc, $no_gcc_home, $no_gcc_include, 
47
     $WScomp, $GNUcomp, $platform, $cygwinver, $machine_type, $empty, $no_ant, $no_stl, $no_gcc_home, $no_gcc_include, 
48
     $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $unsetvarssh, $unsetvarsbat, $exportvars, $win_format_var, $perl_os);
48
     $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $unsetvarssh, $unsetvarsbat, $exportvars, $win_format_var, $perl_os);
49
#
49
#
50
#-------------------------------------------------
50
#-------------------------------------------------
Lines 124-135 Link Here
124
$Winnt          = "WINNT";          # return of uname command on Windows NT
124
$Winnt          = "WINNT";          # return of uname command on Windows NT
125
$Macosx         = "Darwin";         # return of uname command on Mac OS X/Darwin
125
$Macosx         = "Darwin";         # return of uname command on Mac OS X/Darwin
126
$empty          = "";               # used as argument
126
$empty          = "";               # used as argument
127
$no_jdk         = "NO_JAVA_HOME";   # possible argument
128
$no_ant         = "NO_ANT_HOME";    # possible argument
127
$no_ant         = "NO_ANT_HOME";    # possible argument
129
$no_stl		= "NO_STLPORT4";    # possible argument
128
$no_stl		= "NO_STLPORT4";    # possible argument
130
$no_tcsh        = "NO_TCSH";        # possible argument
131
$no_cl          = "NO_CL";
132
$no_gcc         = "NO_GCC";
133
$no_gcc_home    = "NO_GCC_HOME";
129
$no_gcc_home    = "NO_GCC_HOME";
134
$warnfile       = "warn";           # logfile configure warnings.
130
$warnfile       = "warn";           # logfile configure warnings.
135
$Warning        = "";               # container for warning messages
131
$Warning        = "";               # container for warning messages
Lines 613-658 Link Here
613
}
609
}
614
610
615
# 2. Java home directory.
611
# 2. Java home directory.
616
# Check whether autoconf found the JAVA_HOME directory.
612
# JAVA_HOME as argument from autoconf.
617
if ( '@JAVA_HOME@' eq $no_jdk ) 
613
$JAVA_HOME = PosixFormat('@JAVA_HOME@') ;
618
{  AddWarning( "set_soenv", "Autoconf did not find correct JDK, prompted for value" );
619
   $JAVA_HOME = GetValue( "Please enter the Java home directory: " );
620
   CheckPathExist( $JAVA_HOME );
621
}
622
else 
623
{  # JAVA_HOME as argument from autoconf.
624
   $JAVA_HOME = PosixFormat('@JAVA_HOME@') ;
625
}
626
614
627
if ( $platform eq "$Winnt" ) {
615
if ( $platform eq "$Winnt" ) {
628
   $JAVA_HOME =~ s/[\s\/]+$//;	# remove trailing \n or \/ if there is any.
616
   $JAVA_HOME =~ s/[\s\/]+$//;	# remove trailing \n or \/ if there is any.
629
}
617
}
630
# 3. Tcsh path.
618
# 3. Tcsh path.
631
# Check whether autoconf found the Tcsh path.
619
# Check whether autoconf found the Tcsh path.
632
if ( '@TCSH@' eq $no_tcsh and $USE_SHELL eq "tcsh" ) 
620
if ($USE_SHELL eq "tcsh") 
633
{  AddWarning( "set_soenv", "Autoconf did not find tcsh, prompted for value" );
634
   $SHELL = GetValue( "Please enter the path where tcsh is located: " );
635
   CheckPathExist( $SHELL );
636
   $TCSH_PATH = $SHELL;
637
   $SHELL = $SHELL."\/tcsh";
638
}
639
elsif ($USE_SHELL eq "tcsh") 
640
{  # SHELL as argument from autoconf.
621
{  # SHELL as argument from autoconf.
641
   $SHELL = '@TCSH@'."\/tcsh";
622
   $SHELL = '@TCSH@'."\/tcsh";
642
   $TCSH_PATH = '@TCSH@';
623
   $TCSH_PATH = '@TCSH@';
643
}
624
}
644
# Microsoft C/C++ compiler path for Windows NT users.
625
645
if ($platform eq "$Winnt" and $MINGWIN32 ne "yes")
646
{  if ( '@COMPATH@' eq $no_cl) 
647
   {  AddWarning( "set_soenv", "Autoconf did not find Microsoft C/C++ compiler, prompted for value" );
648
      $COMPATH = GetValue( "Please enter the MS-DOS format path for the Microsoft C/C++ compiler home directory: " );
649
      until ((grep / /, $COMPATH) eq 0)
650
      {   printf "No spaces and names < 8 characters in MS-DOS format paths.\n"; 
651
          $COMPATH = GetValue( "Please enter the MS-DOS format path for the Microsoft C/C++ compiler home directory: " );
652
      }
653
      CheckPathExist( $COMPATH );
654
   }
655
}
656
if ( '@STLPORT4@' eq $no_stl )
626
if ( '@STLPORT4@' eq $no_stl )
657
{  AddWarning( "set_soenv", "No path to STLport was given with the --with-stlport4-home option. The one provided with OOo will be build." );
627
{  AddWarning( "set_soenv", "No path to STLport was given with the --with-stlport4-home option. The one provided with OOo will be build." );
658
   $STLPORT4 = "$no_stl";
628
   $STLPORT4 = "$no_stl";
Lines 660-713 Link Here
660
630
661
# ml.exe assembler path for Windows users.
631
# ml.exe assembler path for Windows users.
662
if ($platform eq "$Winnt")
632
if ($platform eq "$Winnt")
663
{  if ( '@ASM_HOME@' eq "NO_ASM_HOME" )
633
{  $ASM_PATH = PosixFormat('@ASM_HOME@');
664
   {  AddWarning( "set_soenv", "Autoconf did not find ml.exe assembler path, prompted for value" );
665
      $ASM_PATH = GetValue( "Please enter the path where the ml.exe assembler is located: " );
666
      CheckPathExist( $ASM_PATH );
667
   }
668
   else
669
   {  $ASM_PATH = PosixFormat('@ASM_HOME@');
670
   }
671
}
634
}
672
# unzip.exe path for Windows users.
635
# unzip.exe path for Windows users.
673
if ($platform eq "$Winnt")
636
if ($platform eq "$Winnt")
674
{  if ( '@UNZIP_HOME@' eq "NO_UNZIP_HOME" )
637
{  $UNZIP_PATH = PosixFormat('@UNZIP_HOME@');
675
   {  AddWarning( "set_soenv", "Autoconf did not find unzip.exe path, prompted for value" );
676
      $UNZIP_PATH = GetValue( "Please enter the path where unzip.exe is located: " );
677
      CheckPathExist( $UNZIP_PATH );
678
   }
679
   else
680
   {  $UNZIP_PATH = PosixFormat('@UNZIP_HOME@');
681
   }
682
683
}
638
}
684
# 4. Gcc path.
639
# 4. Gcc path.
685
# Check whether autoconf found the compiler path.
640
# Check whether autoconf found the compiler path.
686
if (($platform eq $Linux) or ($platform eq $NetBSD) or ($platform eq $FreeBSD) or 
641
if (($platform eq $Linux) or ($platform eq $NetBSD) or ($platform eq $FreeBSD) or 
687
    ( ($platform eq $Irix ) or ($platform eq $Irix64) and ($compiler eq "gcc")) ) 
642
    ( ($platform eq $Irix ) or ($platform eq $Irix64) and ($compiler eq "gcc")) ) 
688
{  if ( '@COMPATH@' eq $no_gcc) 
643
{    # GCC_HOME is not needed.
689
   {  AddWarning( "set_soenv", "Autoconf did not find correct gcc compiler, prompted for value" );
690
      printf "Did you build gcc 2.95.2 from source using the --prefix and --enable-shared flags (y/n)?: ";
691
      my $answer = <STDIN>; 
692
      chomp( $answer );
693
      if ( $answer eq "y" || $answer eq "Y" ) 
694
      {  $GCC_HOME = GetValue( "Please enter the gcc 2.95.2 --prefix value: " );
695
         $result = CheckPathExist( $GCC_HOME );
696
         if ($result eq "false") 
697
         {  AddWarning( "set_soenv", "The path $GCC_HOME does not exist on your system." );
698
         }
699
         else 
700
         {  $COMPATH = $GCC_HOME."/bin";
701
            }
702
      }
703
      else 
704
      {  AddWarning( "set_soenv", "gcc 2.95.2 does not exist on your system." );
705
      }
706
   }
707
   else 
708
   {  # GCC_HOME is not needed.
709
      $GCC_HOME = $no_gcc_home;
644
      $GCC_HOME = $no_gcc_home;
710
   }
711
}
645
}
712
646
713
# Ant Home directory
647
# Ant Home directory
Lines 1904-1923 Link Here
1904
# XII. Functions.
1838
# XII. Functions.
1905
#-----------------
1839
#-----------------
1906
#
1840
#
1907
#------------------------------------------------------------
1908
# Function name: GetValue 
1909
# Description:   Ask the user to enter certain information 
1910
#                and stores that information in a variable. 
1911
# Arguments:     1. Path (string)
1912
# Return value:  Path (string)
1913
#------------------------------------------------------------
1914
sub GetValue 
1915
{  my $value;
1916
   print "$_[ 0 ]"; 
1917
   $value = <STDIN>; 
1918
   chomp( $value );                  # cut off new line
1919
   return( CheckPathName( $value ) ); 
1920
}
1921
#-------------------------------------------------------------
1841
#-------------------------------------------------------------
1922
# Function name: CheckPathName 
1842
# Function name: CheckPathName 
1923
# Description:   chops off the '/' character if it's the last
1843
# Description:   chops off the '/' character if it's the last
(-)config_office/configure.in (-41 / +19 lines)
Lines 329-356 Link Here
329
      USE_GCC3="FALSE"
329
      USE_GCC3="FALSE"
330
330
331
      if test "$_gcc_major" != "2"; then
331
      if test "$_gcc_major" != "2"; then
332
         AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
332
         AC_MSG_ERROR([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
333
         AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
334
         COMPATH="NO_GCC"
335
      else
333
      else
336
         _gcc_middle=`$CC -dumpversion | $AWK -F. '{ if ($2 != 95) print "false"; else print "true" }'` 
334
         _gcc_middle=`$CC -dumpversion | $AWK -F. '{ if ($2 != 95) print "false"; else print "true" }'` 
337
         if test "$_gcc_middle" = "false"; then
335
         if test "$_gcc_middle" = "false"; then
338
            AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
336
            AC_MSG_ERROR([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
339
            AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
340
            COMPATH="NO_GCC"
341
         else
337
         else
342
            _gcc_minor=`$CC -dumpversion | $AWK -F. '{ if ($3 < 2) print "false"; else print "true" }'` 
338
            _gcc_minor=`$CC -dumpversion | $AWK -F. '{ if ($3 < 2) print "false"; else print "true" }'` 
343
            if test "$_gcc_minor" = "false"; then
339
            if test "$_gcc_minor" = "false"; then
344
               AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
340
               AC_MSG_ERROR([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler])
345
               AC_MSG_WARN([found version "$_gcc_version", use version 2.95.2+ of the gcc compiler]) >> warn
346
               COMPATH="NO_GCC"
347
            fi
341
            fi
348
         fi
342
         fi
349
      fi
343
      fi
350
   fi
344
   fi
351
   if test "$COMPATH" != "NO_GCC"; then
345
   AC_MSG_RESULT([checked (gcc $_gcc_version)])
352
      AC_MSG_RESULT([checked (gcc $_gcc_version)])
353
   fi
354
346
355
dnl Set the include paths
347
dnl Set the include paths
356
   _gcc_include_path=`$CC -print-search-dirs | grep instal |$AWK '{ print \$2 }'`/include 
348
   _gcc_include_path=`$CC -print-search-dirs | grep instal |$AWK '{ print \$2 }'`/include 
Lines 413-427 Link Here
413
      fi   
405
      fi   
414
      _workshop_major=`echo $_workshop_version | $AWK -F. '{ print $1 }'` 
406
      _workshop_major=`echo $_workshop_version | $AWK -F. '{ print $1 }'` 
415
      if test "$_workshop_major" != "5"; then
407
      if test "$_workshop_major" != "5"; then
416
         AC_MSG_WARN([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler])
408
         AC_MSG_ERROR([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler])
417
         AC_MSG_WARN([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler]) >> warn
418
         COMPATH="NO_COMPATH"
419
      else
409
      else
420
         _workshop_minor=`echo $_workshop_version | $AWK -F. '{ if ($2 == 0) print "true"; else if ($2 == 2) print "true"; else print "false" }'` 
410
         _workshop_minor=`echo $_workshop_version | $AWK -F. '{ if ($2 == 0) print "true"; else if ($2 == 2) print "true"; else print "false" }'` 
421
         if test "$_workshop_minor" = "false"; then
411
         if test "$_workshop_minor" = "false"; then
422
            AC_MSG_WARN([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler])
412
            AC_MSG_ERROR([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler])
423
            AC_MSG_WARN([found version "$_workshop_version", use version 5.0 or 5.2 of the Sun Workshop C compiler]) >> warn
424
            COMPATH="NO_COMPATH"
425
         else
413
         else
426
            dnl compiler will do
414
            dnl compiler will do
427
            AC_MSG_RESULT([checked])
415
            AC_MSG_RESULT([checked])
Lines 442-456 Link Here
442
      _mipspro_version=`$CC -version 2>&1 | $AWK '{ print $4 }'`
430
      _mipspro_version=`$CC -version 2>&1 | $AWK '{ print $4 }'`
443
      _mipspro_major=`echo $_mipspro_version | $AWK -F. '{ print $1 }'`
431
      _mipspro_major=`echo $_mipspro_version | $AWK -F. '{ print $1 }'`
444
      if test "$_mipspro_major" != "7"; then
432
      if test "$_mipspro_major" != "7"; then
445
         AC_MSG_WARN([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler])
433
         AC_MSG_ERROR([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler])
446
         AC_MSG_WARN([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler]) >> warn
447
         COMPATH="NO_COMPATH"
448
      else
434
      else
449
         _mipspro_minor=`echo $_mipspro_version | $AWK -F. '{ if ($2 <= 1) print "false"; else print "true" }'`
435
         _mipspro_minor=`echo $_mipspro_version | $AWK -F. '{ if ($2 <= 1) print "false"; else print "true" }'`
450
         if test "$_mipspro_minor" = "false"; then
436
         if test "$_mipspro_minor" = "false"; then
451
            AC_MSG_WARN([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler])
437
            AC_MSG_ERROR([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler])
452
            AC_MSG_WARN([found version "$_mipspro_version", use version 7.2+ of the SGI MIPSpro C compiler]) >> warn
453
            COMPATH="NO_COMPATH"
454
         else
438
         else
455
            dnl compiler will do
439
            dnl compiler will do
456
            AC_MSG_RESULT([checked])
440
            AC_MSG_RESULT([checked])
Lines 472-480 Link Here
472
      _compaqc_version=`$CC -V 2>&1 | $AWK '{ print $3 }'`
456
      _compaqc_version=`$CC -V 2>&1 | $AWK '{ print $3 }'`
473
      _compaqc_major=`echo $_compaqc_version | $AWK -F. '{ print $1 }'`
457
      _compaqc_major=`echo $_compaqc_version | $AWK -F. '{ print $1 }'`
474
      if test "$_compaqc_major" != "T6"; then
458
      if test "$_compaqc_major" != "T6"; then
475
         AC_MSG_WARN([found version "$_compaqc_version", use version 6 of the Compaq C compiler])
459
         AC_MSG_ERROR([found version "$_compaqc_version", use version 6 of the Compaq C compiler])
476
         AC_MSG_WARN([found version "$_compaqc_version", use version 6 of the Compaq C compiler]) >> warn
477
         COMPATH="NO_COMPATH"
478
      else
460
      else
479
         dnl compiler will do
461
         dnl compiler will do
480
         AC_MSG_RESULT([checked])
462
         AC_MSG_RESULT([checked])
Lines 508-515 Link Here
508
			fi
490
			fi
509
     		AC_MSG_RESULT([found.])
491
     		AC_MSG_RESULT([found.])
510
  		else
492
  		else
511
   		COMPATH="NO_CL"
493
        AC_MSG_ERROR([Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe.])
512
   		AC_MSG_RESULT([not found.])
513
   	fi
494
   	fi
514
   else
495
   else
515
   	AC_MSG_CHECKING([the Mingwin32 C++ Compiler])
496
   	AC_MSG_CHECKING([the Mingwin32 C++ Compiler])
Lines 865-873 Link Here
865
   _correct_jdk_exists="false"
846
   _correct_jdk_exists="false"
866
fi
847
fi
867
if test "$_correct_jdk_exists" = "false"; then
848
if test "$_correct_jdk_exists" = "false"; then
868
   JAVA_HOME="NO_JAVA_HOME"
849
   AC_MSG_ERROR([Correct jdk not found])
869
   AC_MSG_WARN([Correct jdk not found])
870
   AC_MSG_WARN([Correct jdk not found]) >> warn
871
fi
850
fi
872
dnl ===================================================================
851
dnl ===================================================================
873
dnl Checks for specific files.
852
dnl Checks for specific files.
Lines 925-937 Link Here
925
   AC_PATH_PROG(TCSH, tcsh)
904
   AC_PATH_PROG(TCSH, tcsh)
926
   if test -z "$TCSH"; then
905
   if test -z "$TCSH"; then
927
      AC_MSG_ERROR([tcsh not found in \$PATH])
906
      AC_MSG_ERROR([tcsh not found in \$PATH])
928
      TCSH="NO_TCSH";
929
   else
907
   else
930
      TCSH=`echo $TCSH | $SED -n "s/\/tcsh//p"`
908
      TCSH=`echo $TCSH | $SED -n "s/\/tcsh//p"`
931
   fi
909
   fi
932
else
910
else
933
   AC_MSG_WARN([Windows / Cygwin b2x does not have tcsh])
911
   AC_MSG_WARN([Windows / Cygwin b2x does not have tcsh])
934
   TCSH="NO_TCSH"
912
   TCSH="NO_TCSH_NEEDED"
935
fi
913
fi
936
914
937
dnl ===================================================================
915
dnl ===================================================================
Lines 1060-1072 Link Here
1060
  if test ! -x "$with_asm_home/ml.exe"; then
1038
  if test ! -x "$with_asm_home/ml.exe"; then
1061
    AC_PATH_PROG(ML_EXE, ml.exe)
1039
    AC_PATH_PROG(ML_EXE, ml.exe)
1062
    if test -z "$ML_EXE"; then
1040
    if test -z "$ML_EXE"; then
1063
       with_asm_home="NO_ASM_HOME"
1041
       AC_MSG_ERROR([Configure did not find ml.exe assembler.])
1064
    else
1042
    else
1065
       with_asm_home="ASM_IN_PATH"
1043
       with_asm_home="ASM_IN_PATH"
1066
    fi
1044
    fi
1067
  fi
1045
  fi
1068
else
1046
else
1069
	with_asm_home="NO_ASM_HOME"
1047
    AC_MSG_ERROR([Configure did not find ml.exe assembler.])
1070
fi
1048
fi
1071
dnl ***************************************
1049
dnl ***************************************
1072
dnl testing unzip.exe path
1050
dnl testing unzip.exe path
Lines 1093-1099 Link Here
1093
   fi
1071
   fi
1094
fi
1072
fi
1095
else
1073
else
1096
        with_unzip_home="NO_UNZIP_HOME"
1074
        AC_MSG_ERROR([Configure did not find zip.exe.])
1097
fi
1075
fi
1098
1076
1099
dnl ===================================================================
1077
dnl ===================================================================
Lines 1180-1186 Link Here
1180
upd=`grep RSCVERSION= ../solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'` 
1158
upd=`grep RSCVERSION= ../solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'` 
1181
1159
1182
if test -z "$COMPATH"; then
1160
if test -z "$COMPATH"; then
1183
   COMPATH="NO_COMPATH"
1161
   AC_MSG_ERROR([No compiler found.])
1184
fi
1162
fi
1185
if test -z "$_gcc_include_path"; then
1163
if test -z "$_gcc_include_path"; then
1186
   _gcc_include_path="NO_GCC_INCLUDE"
1164
   _gcc_include_path="NO_GCC_INCLUDE"
Lines 1189-1207 Link Here
1189
   _gxx_include_path="NO_GXX_INCLUDE"
1167
   _gxx_include_path="NO_GXX_INCLUDE"
1190
fi
1168
fi
1191
if test -z "$JAVA_HOME"; then
1169
if test -z "$JAVA_HOME"; then
1192
   JAVA_HOME="NO_JAVA_HOME"
1170
   AC_MSG_ERROR([No java found.])
1193
fi
1171
fi
1194
if test -z "$ANT_HOME"; then
1172
if test -z "$ANT_HOME"; then
1195
   ANT_HOME="NO_ANT_HOME"
1173
   ANT_HOME="NO_ANT_HOME"
1196
fi
1174
fi
1197
if test -z "$TCSH"; then
1175
if test -z "$TCSH"; then
1198
   TCSH="NO_TCSH"
1176
   AC_MSG_ERROR([No tcsh found.])
1199
fi
1177
fi
1200
if test -z "$STLPORT4"; then 
1178
if test -z "$STLPORT4"; then 
1201
   STLPORT4="NO_STLPORT4"
1179
   STLPORT4="NO_STLPORT4"
1202
fi
1180
fi
1203
if test -z "$PERL"; then
1181
if test -z "$PERL"; then
1204
   PERL="NO_PERL"
1182
   AC_MSG_ERROR([No perl found.])
1205
fi
1183
fi
1206
if test -z "$x_libraries"; then
1184
if test -z "$x_libraries"; then
1207
   x_libraries="no_x_libraries"
1185
   x_libraries="no_x_libraries"

Return to issue 12872