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

(-)a/binfilter/bf_sc/source/ui/unoobj/sc_defltuno.cxx (-2 / +2 lines)
Lines 192-199 Link Here
192
		if ( aValue >>= aLocale )
192
		if ( aValue >>= aLocale )
193
		{
193
		{
194
			LanguageType eNew;
194
			LanguageType eNew;
195
			if (aLocale.Language.getLength() || aLocale.Country.getLength())
195
			if (aLocale.Language.getLength() || aLocale.Country.getLength() || aLocale.Variant.getLength())
196
				eNew = MsLangId::convertIsoNamesToLanguage( aLocale.Language, aLocale.Country );
196
				eNew = MsLangId::convertIsoNamesToLanguage( aLocale.Language, aLocale.Country, aLocale.Variant );
197
			else
197
			else
198
				eNew = LANGUAGE_NONE;
198
				eNew = LANGUAGE_NONE;
199
199
(-)a/binfilter/bf_svx/source/items/svx_textitem.cxx (-2 / +2 lines)
Lines 1878-1885 Link Here
1878
/*N*/ 			if(!(rVal >>= aLocale))
1878
/*N*/ 			if(!(rVal >>= aLocale))
1879
/*N*/ 				return sal_False;
1879
/*N*/ 				return sal_False;
1880
/*N*/ 
1880
/*N*/ 
1881
/*N*/ 			if (aLocale.Language.getLength() || aLocale.Country.getLength())
1881
/*N*/ 			if (aLocale.Language.getLength() || aLocale.Country.getLength() || aLocale.Variant.getLength())
1882
/*N*/ 				SetValue(MsLangId::convertIsoNamesToLanguage( aLocale.Language, aLocale.Country ));
1882
/*N*/ 				SetValue(MsLangId::convertIsoNamesToLanguage( aLocale.Language, aLocale.Country, aLocale.Variant ));
1883
/*N*/ 			else
1883
/*N*/ 			else
1884
/*N*/ 				SetValue(LANGUAGE_NONE);
1884
/*N*/ 				SetValue(LANGUAGE_NONE);
1885
/*N*/ 		}
1885
/*N*/ 		}
(-)a/binfilter/bf_xmloff/source/style/xmloff_xmlnumfe.cxx (-7 / +11 lines)
Lines 360-375 Link Here
360
{
360
{
361
	if ( nLang != LANGUAGE_SYSTEM )
361
	if ( nLang != LANGUAGE_SYSTEM )
362
	{
362
	{
363
		OUString aLangStr, aCountryStr;
363
		OUString aLanguageTag, aRegionTag, aOtherTags;
364
        MsLangId::convertLanguageToIsoNames( (LanguageType)nLang, aLangStr, aCountryStr );
364
		MsLangId::convertLanguageToIsoNames( (LanguageType)nLang, aLanguageTag, aRegionTag, aOtherTags );
365
365
366
		if (aLangStr.getLength())
366
		if (aLanguageTag.getLength())
367
		{
367
		{
368
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE, aLangStr );
368
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE, aLanguageTag );
369
		}
369
		}
370
		if (aCountryStr.getLength())
370
		if (aRegionTag.getLength())
371
		{
371
		{
372
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_COUNTRY, aCountryStr );
372
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_COUNTRY, aRegionTag );
373
		}
374
		if (aOtherTags.getLength())
375
		{
376
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS, aOtherTags );
373
		}
377
		}
374
	}
378
	}
375
}
379
}
Lines 801-807 Link Here
801
//	pLocaleData->setLocale( rLocale );
805
//	pLocaleData->setLocale( rLocale );
802
//	String sCurString = pLocaleData->getCurrSymbol();
806
//	String sCurString = pLocaleData->getCurrSymbol();
803
807
804
	LanguageType nLang = MsLangId::convertIsoNamesToLanguage( rLocale.Language, rLocale.Country );
808
	LanguageType nLang = MsLangId::convertIsoNamesToLanguage( rLocale.Language, rLocale.Country, rLocale.Variant );
805
	pFormatter->ChangeIntl( nLang );
809
	pFormatter->ChangeIntl( nLang );
806
	String sCurString, sDummy;
810
	String sCurString, sDummy;
807
	pFormatter->GetCompatibilityCurrency( sCurString, sDummy );
811
	pFormatter->GetCompatibilityCurrency( sCurString, sDummy );
(-)a/binfilter/bf_xmloff/source/style/xmloff_xmlnumfi.cxx (-12 / +22 lines)
Lines 268-273 Link Here
268
	XML_TOK_STYLE_ATTR_NAME,
268
	XML_TOK_STYLE_ATTR_NAME,
269
	XML_TOK_STYLE_ATTR_LANGUAGE,
269
	XML_TOK_STYLE_ATTR_LANGUAGE,
270
	XML_TOK_STYLE_ATTR_COUNTRY,
270
	XML_TOK_STYLE_ATTR_COUNTRY,
271
	XML_TOK_STYLE_ATTR_LANGUAGE_TAGS,
271
	XML_TOK_STYLE_ATTR_TITLE,
272
	XML_TOK_STYLE_ATTR_TITLE,
272
	XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER,
273
	XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER,
273
	XML_TOK_STYLE_ATTR_FORMAT_SOURCE,
274
	XML_TOK_STYLE_ATTR_FORMAT_SOURCE,
Lines 291-296 Link Here
291
	XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS,
292
	XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS,
292
	XML_TOK_ELEM_ATTR_LANGUAGE,
293
	XML_TOK_ELEM_ATTR_LANGUAGE,
293
	XML_TOK_ELEM_ATTR_COUNTRY,
294
	XML_TOK_ELEM_ATTR_COUNTRY,
295
	XML_TOK_ELEM_ATTR_LANGUAGE_TAGS,
294
	XML_TOK_ELEM_ATTR_STYLE,
296
	XML_TOK_ELEM_ATTR_STYLE,
295
	XML_TOK_ELEM_ATTR_TEXTUAL,
297
	XML_TOK_ELEM_ATTR_TEXTUAL,
296
	XML_TOK_ELEM_ATTR_CALENDAR
298
	XML_TOK_ELEM_ATTR_CALENDAR
Lines 367-372 Link Here
367
	{ XML_NAMESPACE_STYLE,  XML_NAME,			 	   XML_TOK_STYLE_ATTR_NAME					},
369
	{ XML_NAMESPACE_STYLE,  XML_NAME,			 	   XML_TOK_STYLE_ATTR_NAME					},
368
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE,		 	   XML_TOK_STYLE_ATTR_LANGUAGE				},
370
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE,		 	   XML_TOK_STYLE_ATTR_LANGUAGE				},
369
	{ XML_NAMESPACE_NUMBER, XML_COUNTRY,		 	   XML_TOK_STYLE_ATTR_COUNTRY				},
371
	{ XML_NAMESPACE_NUMBER, XML_COUNTRY,		 	   XML_TOK_STYLE_ATTR_COUNTRY				},
372
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS,	 	   XML_TOK_STYLE_ATTR_LANGUAGE_TAGS			},
370
	{ XML_NAMESPACE_NUMBER, XML_TITLE,			 	   XML_TOK_STYLE_ATTR_TITLE					},
373
	{ XML_NAMESPACE_NUMBER, XML_TITLE,			 	   XML_TOK_STYLE_ATTR_TITLE					},
371
	{ XML_NAMESPACE_NUMBER, XML_AUTOMATIC_ORDER, 	   XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER		},
374
	{ XML_NAMESPACE_NUMBER, XML_AUTOMATIC_ORDER, 	   XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER		},
372
	{ XML_NAMESPACE_NUMBER, XML_FORMAT_SOURCE, 	       XML_TOK_STYLE_ATTR_FORMAT_SOURCE			},
375
	{ XML_NAMESPACE_NUMBER, XML_FORMAT_SOURCE, 	       XML_TOK_STYLE_ATTR_FORMAT_SOURCE			},
Lines 392-397 Link Here
392
	{ XML_NAMESPACE_NUMBER, XML_MIN_DENOMINATOR_DIGITS,  XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS },
395
	{ XML_NAMESPACE_NUMBER, XML_MIN_DENOMINATOR_DIGITS,  XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS },
393
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE,			 	 XML_TOK_ELEM_ATTR_LANGUAGE				},
396
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE,			 	 XML_TOK_ELEM_ATTR_LANGUAGE				},
394
	{ XML_NAMESPACE_NUMBER, XML_COUNTRY,			 	 XML_TOK_ELEM_ATTR_COUNTRY				},
397
	{ XML_NAMESPACE_NUMBER, XML_COUNTRY,			 	 XML_TOK_ELEM_ATTR_COUNTRY				},
398
	{ XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS,		 	 XML_TOK_ELEM_ATTR_LANGUAGE_TAGS		},
395
	{ XML_NAMESPACE_NUMBER, XML_STYLE,				 	 XML_TOK_ELEM_ATTR_STYLE				},
399
	{ XML_NAMESPACE_NUMBER, XML_STYLE,				 	 XML_TOK_ELEM_ATTR_STYLE				},
396
	{ XML_NAMESPACE_NUMBER, XML_TEXTUAL,			 	 XML_TOK_ELEM_ATTR_TEXTUAL				},
400
	{ XML_NAMESPACE_NUMBER, XML_TEXTUAL,			 	 XML_TOK_ELEM_ATTR_TEXTUAL				},
397
	{ XML_NAMESPACE_NUMBER, XML_CALENDAR,			 	 XML_TOK_ELEM_ATTR_CALENDAR				},
401
	{ XML_NAMESPACE_NUMBER, XML_CALENDAR,			 	 XML_TOK_ELEM_ATTR_CALENDAR				},
Lines 911-917 Link Here
911
	bLong( FALSE ),
915
	bLong( FALSE ),
912
	bTextual( FALSE )
916
	bTextual( FALSE )
913
{
917
{
914
	OUString sLanguage, sCountry;
918
	OUString sLanguageTag, sRegionTag, sOtherTags;
915
	sal_Int32 nAttrVal;
919
	sal_Int32 nAttrVal;
916
	sal_Bool bAttrBool;
920
	sal_Bool bAttrBool;
917
	sal_uInt16 nAttrEnum;
921
	sal_uInt16 nAttrEnum;
Lines 965-974 Link Here
965
					aNumInfo.nDenomDigits = nAttrVal;
969
					aNumInfo.nDenomDigits = nAttrVal;
966
				break;
970
				break;
967
			case XML_TOK_ELEM_ATTR_LANGUAGE:
971
			case XML_TOK_ELEM_ATTR_LANGUAGE:
968
				sLanguage = sValue;
972
				sLanguageTag = sValue;
969
				break;
973
				break;
970
			case XML_TOK_ELEM_ATTR_COUNTRY:
974
			case XML_TOK_ELEM_ATTR_COUNTRY:
971
				sCountry = sValue;
975
				sRegionTag = sValue;
976
				break;
977
			case XML_TOK_ELEM_ATTR_LANGUAGE_TAGS:
978
				sOtherTags = sValue;
972
				break;
979
				break;
973
			case XML_TOK_ELEM_ATTR_STYLE:
980
			case XML_TOK_ELEM_ATTR_STYLE:
974
				if ( SvXMLUnitConverter::convertEnum( nAttrEnum, sValue, aStyleValueMap ) )
981
				if ( SvXMLUnitConverter::convertEnum( nAttrEnum, sValue, aStyleValueMap ) )
Lines 984-992 Link Here
984
		}
991
		}
985
	}
992
	}
986
993
987
	if ( sLanguage.getLength() || sCountry.getLength() )
994
	if ( sLanguageTag.getLength() || sRegionTag.getLength() || sOtherTags.getLength() )
988
	{
995
	{
989
		nElementLang = MsLangId::convertIsoNamesToLanguage( sLanguage, sCountry );
996
		nElementLang = MsLangId::convertIsoNamesToLanguage( sLanguageTag, sRegionTag, sOtherTags );
990
		if ( nElementLang == LANGUAGE_DONTKNOW )
997
		if ( nElementLang == LANGUAGE_DONTKNOW )
991
			nElementLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
998
			nElementLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
992
	}
999
	}
Lines 1244-1250 Link Here
1244
	eDateSecs( XML_DEA_NONE ),
1251
	eDateSecs( XML_DEA_NONE ),
1245
	bDateNoDefault( sal_False )
1252
	bDateNoDefault( sal_False )
1246
{
1253
{
1247
	OUString sLanguage, sCountry;
1254
	OUString sLanguageTag, sRegionTag, sOtherTags;
1248
    ::com::sun::star::i18n::NativeNumberXmlAttributes aNatNumAttr;
1255
    ::com::sun::star::i18n::NativeNumberXmlAttributes aNatNumAttr;
1249
	sal_Bool bAttrBool;
1256
	sal_Bool bAttrBool;
1250
	sal_uInt16 nAttrEnum;
1257
	sal_uInt16 nAttrEnum;
Lines 1265-1274 Link Here
1265
//				aName = sValue;
1272
//				aName = sValue;
1266
				break;
1273
				break;
1267
			case XML_TOK_STYLE_ATTR_LANGUAGE:
1274
			case XML_TOK_STYLE_ATTR_LANGUAGE:
1268
				sLanguage = sValue;
1275
				sLanguageTag = sValue;
1269
				break;
1276
				break;
1270
			case XML_TOK_STYLE_ATTR_COUNTRY:
1277
			case XML_TOK_STYLE_ATTR_COUNTRY:
1271
				sCountry = sValue;
1278
				sRegionTag = sValue;
1279
				break;
1280
			case XML_TOK_STYLE_ATTR_LANGUAGE_TAGS:
1281
				sOtherTags = sValue;
1272
				break;
1282
				break;
1273
			case XML_TOK_STYLE_ATTR_TITLE:
1283
			case XML_TOK_STYLE_ATTR_TITLE:
1274
				sFormatTitle = sValue;
1284
				sFormatTitle = sValue;
Lines 1306-1314 Link Here
1306
		}
1316
		}
1307
	}
1317
	}
1308
1318
1309
	if ( sLanguage.getLength() || sCountry.getLength() )
1319
	if ( sLanguageTag.getLength() || sRegionTag.getLength() || sOtherTags.getLength() )
1310
	{
1320
	{
1311
		nFormatLang = MsLangId::convertIsoNamesToLanguage( sLanguage, sCountry );
1321
		nFormatLang = MsLangId::convertIsoNamesToLanguage( sLanguageTag, sRegionTag, sOtherTags );
1312
		if ( nFormatLang == LANGUAGE_DONTKNOW )
1322
		if ( nFormatLang == LANGUAGE_DONTKNOW )
1313
			nFormatLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1323
			nFormatLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1314
	}
1324
	}
Lines 1322-1329 Link Here
1322
            aFormatCode.appendAscii( RTL_CONSTASCII_STRINGPARAM( "[NatNum" ) );
1332
            aFormatCode.appendAscii( RTL_CONSTASCII_STRINGPARAM( "[NatNum" ) );
1323
            aFormatCode.append( nNatNum, 10 );
1333
            aFormatCode.append( nNatNum, 10 );
1324
1334
1325
		    LanguageType eLang = MsLangId::convertIsoNamesToLanguage( 
1335
            LanguageType eLang = MsLangId::convertIsoNamesToLanguage( 
1326
                    aNatNumAttr.Locale.Language, aNatNumAttr.Locale.Country );
1336
                aNatNumAttr.Locale.Language, aNatNumAttr.Locale.Country, aNatNumAttr.Locale.Variant );
1327
            if ( eLang == LANGUAGE_DONTKNOW )
1337
            if ( eLang == LANGUAGE_DONTKNOW )
1328
                eLang = LANGUAGE_SYSTEM;            //! error handling for invalid locales?
1338
                eLang = LANGUAGE_SYSTEM;            //! error handling for invalid locales?
1329
            if ( eLang != nFormatLang && eLang != LANGUAGE_SYSTEM )
1339
            if ( eLang != nFormatLang && eLang != LANGUAGE_SYSTEM )
(-)a/binfilter/inc/bf_xmloff/xmltoken.hxx (+3 lines)
Lines 998-1003 Link Here
998
        XML_LANGUAGE,
998
        XML_LANGUAGE,
999
        XML_LANGUAGE_ASIAN,
999
        XML_LANGUAGE_ASIAN,
1000
        XML_LANGUAGE_COMPLEX,
1000
        XML_LANGUAGE_COMPLEX,
1001
        XML_LANGUAGE_TAGS,
1002
        XML_LANGUAGE_TAGS_ASIAN,
1003
        XML_LANGUAGE_TAGS_COMPLEX,
1001
        XML_LASER,
1004
        XML_LASER,
1002
        XML_LAST_COLUMN_SPANNED,
1005
        XML_LAST_COLUMN_SPANNED,
1003
        XML_LAST_PAGE,
1006
        XML_LAST_PAGE,
(-)a/comphelper/inc/comphelper/locale.hxx (-65 lines)
Lines 57-108 Link Here
57
57
58
    public:
58
    public:
59
    
59
    
60
        /** @short seperates LANGUAGE and COUNTRY part of an ISO formated Locale. */
61
        static const sal_Unicode SEPERATOR_LC;
62
        
63
        /** @short seperates COUNTRY and VARIANT part of an ISO formated Locale. */
64
        static const sal_Unicode SEPERATOR_CV;
65
        
66
        /** @short seperates COUNTRY and VARIANT part of an ISO formated Locale.
67
            @descr Its true for some linux derivates only :-( */
68
        static const sal_Unicode SEPERATOR_CV_LINUX;
69
        
70
        /** @short some predefined Locale objects. */
60
        /** @short some predefined Locale objects. */
71
        static const Locale EN_US();
61
        static const Locale EN_US();
72
        static const Locale EN();
73
        static const Locale DE_DE();
74
        static const Locale DE_CH();
75
        static const Locale DE_AT();
76
        static const Locale AR();
77
        static const Locale CA();
78
        static const Locale CS();
79
        static const Locale DA();
80
        static const Locale EL();
81
        static const Locale ES();
82
        static const Locale FI();
83
        static const Locale FR();
84
        static const Locale HE();
85
        static const Locale HI_IN();
86
        static const Locale HU();
87
        static const Locale IT();
88
        static const Locale JA();
89
        static const Locale KO();
90
        static const Locale NL();
91
        static const Locale PL();
92
        static const Locale PT();
93
        static const Locale PT_BR();
94
        static const Locale RU();
95
        static const Locale SK();
96
        static const Locale SL();
97
        static const Locale SV();
98
        static const Locale TH();
99
        static const Locale TR();
100
        static const Locale X_DEFAULT();
62
        static const Locale X_DEFAULT();
101
        static const Locale X_COMMENT();
102
        static const Locale X_TRANSLATE();
103
        static const Locale X_NOTRANSLATE();
63
        static const Locale X_NOTRANSLATE();
104
        static const Locale ZH_CN();
105
        static const Locale ZH_TW();
106
                            
64
                            
107
    //-------------------------------------------
65
    //-------------------------------------------
108
    // types
66
    // types
Lines 380-408 Link Here
380
            throw(MalFormedLocaleException);
338
            throw(MalFormedLocaleException);
381
            
339
            
382
        //---------------------------------------
340
        //---------------------------------------
383
        /** @short      search for the next possible fallback locale.
384
        
385
            @descr      Instead of getFallback(vector<>, string) this method
386
                        uses the given locale and decide by using an algorithm
387
                        which locale can be the next possible one.
388
                        
389
                        Algorithm:
390
                        - if locale has country return language only
391
                        - if locale different "en-US" return "en-US"
392
                        - if locale "en-US" return "en"
393
                        
394
            @param      aLocale [in/out]!
395
                        the incoming value will be used to start
396
                        search for a possible fallback ...
397
                        and in case such fallback was found this parameter
398
                        will be used for return too.
399
400
            @return     TRUE if the parameter aLocale contains a new fallback value;
401
                        FALSE otherwise.                        
402
         */
403
        static sal_Bool getFallback(Locale& aLocale);            
404
405
        //---------------------------------------
406
        /** @short      assign elements of another locale
341
        /** @short      assign elements of another locale
407
                        to this instance.
342
                        to this instance.
408
                        
343
                        
(-)a/comphelper/source/misc/locale.cxx (-337 / +7 lines)
Lines 39-47 Link Here
39
namespace comphelper{
39
namespace comphelper{
40
40
41
//-----------------------------------------------
41
//-----------------------------------------------
42
const sal_Unicode Locale::SEPERATOR_LC       = (sal_Unicode)'-';
42
/** seperates LANGUAGE and COUNTRY part of an ISO formated Locale. */
43
const sal_Unicode Locale::SEPERATOR_CV       = (sal_Unicode)'_';
43
const sal_Unicode SEPERATOR_LC       = (sal_Unicode)'-';
44
const sal_Unicode Locale::SEPERATOR_CV_LINUX = (sal_Unicode)'.';
44
/** seperates COUNTRY and VARIANT part of an ISO formated Locale. */
45
const sal_Unicode SEPERATOR_CV       = (sal_Unicode)'_';
46
/** seperates COUNTRY and VARIANT part of an ISO formated Locale.
47
 *  It's true for some linux derivates only :-( */
48
const sal_Unicode SEPERATOR_CV_LINUX = (sal_Unicode)'.';
45
49
46
//-----------------------------------------------
50
//-----------------------------------------------
47
const Locale Locale::X_DEFAULT()
51
const Locale Locale::X_DEFAULT()
Lines 53-67 Link Here
53
}
57
}
54
58
55
//-----------------------------------------------
59
//-----------------------------------------------
56
const Locale Locale::EN()
57
{
58
    static Locale aLocale(
59
                    ::rtl::OUString::createFromAscii("en"),
60
                    ::rtl::OUString());
61
    return aLocale;                    
62
}
63
64
//-----------------------------------------------
65
const Locale Locale::EN_US()
60
const Locale Locale::EN_US()
66
{
61
{
67
    static Locale aLocale(
62
    static Locale aLocale(
Lines 71-337 Link Here
71
}
66
}
72
67
73
//-----------------------------------------------
68
//-----------------------------------------------
74
const Locale Locale::DE_DE()
75
{
76
    static Locale aLocale(
77
                    ::rtl::OUString::createFromAscii("de"),
78
                    ::rtl::OUString::createFromAscii("DE"));
79
    return aLocale;                    
80
}
81
82
//-----------------------------------------------
83
const Locale Locale::DE_CH()
84
{
85
    static Locale aLocale(
86
                    ::rtl::OUString::createFromAscii("de"),
87
                    ::rtl::OUString::createFromAscii("CH"));
88
    return aLocale;                    
89
}
90
91
//-----------------------------------------------
92
const Locale Locale::DE_AT()
93
{
94
    static Locale aLocale(
95
                    ::rtl::OUString::createFromAscii("de"),
96
                    ::rtl::OUString::createFromAscii("AT"));
97
    return aLocale;                    
98
}
99
100
//-----------------------------------------------
101
const Locale Locale::AR()
102
{
103
    static Locale aLocale(
104
                    ::rtl::OUString::createFromAscii("ar"),
105
                    ::rtl::OUString());
106
    return aLocale;                    
107
}
108
109
//-----------------------------------------------
110
const Locale Locale::CA()
111
{
112
    static Locale aLocale(
113
                    ::rtl::OUString::createFromAscii("ca"),
114
                    ::rtl::OUString());
115
    return aLocale;                    
116
}
117
118
//-----------------------------------------------
119
const Locale Locale::CS()
120
{
121
    static Locale aLocale(
122
                    ::rtl::OUString::createFromAscii("cs"),
123
                    ::rtl::OUString());
124
    return aLocale;                    
125
}
126
127
//-----------------------------------------------
128
const Locale Locale::DA()
129
{
130
    static Locale aLocale(
131
                    ::rtl::OUString::createFromAscii("da"),
132
                    ::rtl::OUString());
133
    return aLocale;                    
134
}
135
136
//-----------------------------------------------
137
const Locale Locale::EL()
138
{
139
    static Locale aLocale(
140
                    ::rtl::OUString::createFromAscii("el"),
141
                    ::rtl::OUString());
142
    return aLocale;                    
143
}
144
145
//-----------------------------------------------
146
const Locale Locale::ES()
147
{
148
    static Locale aLocale(
149
                    ::rtl::OUString::createFromAscii("es"),
150
                    ::rtl::OUString());
151
    return aLocale;                    
152
}
153
154
//-----------------------------------------------
155
const Locale Locale::FI()
156
{
157
    static Locale aLocale(
158
                    ::rtl::OUString::createFromAscii("fi"),
159
                    ::rtl::OUString());
160
    return aLocale;                    
161
}
162
163
//-----------------------------------------------
164
const Locale Locale::FR()
165
{
166
    static Locale aLocale(
167
                    ::rtl::OUString::createFromAscii("fr"),
168
                    ::rtl::OUString());
169
    return aLocale;                    
170
}
171
172
//-----------------------------------------------
173
const Locale Locale::HE()
174
{
175
    static Locale aLocale(
176
                    ::rtl::OUString::createFromAscii("he"),
177
                    ::rtl::OUString());
178
    return aLocale;                    
179
}
180
181
//-----------------------------------------------
182
const Locale Locale::HI_IN()
183
{
184
    static Locale aLocale(
185
                    ::rtl::OUString::createFromAscii("hi"),
186
                    ::rtl::OUString::createFromAscii("IN"));
187
    return aLocale;                    
188
}
189
190
//-----------------------------------------------
191
const Locale Locale::HU()
192
{
193
    static Locale aLocale(
194
                    ::rtl::OUString::createFromAscii("hu"),
195
                    ::rtl::OUString());
196
    return aLocale;                    
197
}
198
199
//-----------------------------------------------
200
const Locale Locale::IT()
201
{
202
    static Locale aLocale(
203
                    ::rtl::OUString::createFromAscii("it"),
204
                    ::rtl::OUString());
205
    return aLocale;                    
206
}
207
208
//-----------------------------------------------
209
const Locale Locale::JA()
210
{
211
    static Locale aLocale(
212
                    ::rtl::OUString::createFromAscii("ja"),
213
                    ::rtl::OUString());
214
    return aLocale;                    
215
}
216
217
//-----------------------------------------------
218
const Locale Locale::KO()
219
{
220
    static Locale aLocale(
221
                    ::rtl::OUString::createFromAscii("ko"),
222
                    ::rtl::OUString());
223
    return aLocale;                    
224
}
225
226
//-----------------------------------------------
227
const Locale Locale::NL()
228
{
229
    static Locale aLocale(
230
                    ::rtl::OUString::createFromAscii("nl"),
231
                    ::rtl::OUString());
232
    return aLocale;                    
233
}
234
235
//-----------------------------------------------
236
const Locale Locale::PL()
237
{
238
    static Locale aLocale(
239
                    ::rtl::OUString::createFromAscii("pl"),
240
                    ::rtl::OUString());
241
    return aLocale;                    
242
}
243
244
//-----------------------------------------------
245
const Locale Locale::PT()
246
{
247
    static Locale aLocale(
248
                    ::rtl::OUString::createFromAscii("pt"),
249
                    ::rtl::OUString());
250
    return aLocale;                    
251
}
252
253
//-----------------------------------------------
254
const Locale Locale::PT_BR()
255
{
256
    static Locale aLocale(
257
                    ::rtl::OUString::createFromAscii("pt"),
258
                    ::rtl::OUString::createFromAscii("BR"));
259
    return aLocale;                    
260
}
261
262
//-----------------------------------------------
263
const Locale Locale::RU()
264
{
265
    static Locale aLocale(
266
                    ::rtl::OUString::createFromAscii("ru"),
267
                    ::rtl::OUString());
268
    return aLocale;                    
269
}
270
271
//-----------------------------------------------
272
const Locale Locale::SK()
273
{
274
    static Locale aLocale(
275
                    ::rtl::OUString::createFromAscii("sk"),
276
                    ::rtl::OUString());
277
    return aLocale;                    
278
}
279
280
//-----------------------------------------------
281
const Locale Locale::SL()
282
{
283
    static Locale aLocale(
284
                    ::rtl::OUString::createFromAscii("sl"),
285
                    ::rtl::OUString());
286
    return aLocale;                    
287
}
288
289
//-----------------------------------------------
290
const Locale Locale::SV()
291
{
292
    static Locale aLocale(
293
                    ::rtl::OUString::createFromAscii("sv"),
294
                    ::rtl::OUString());
295
    return aLocale;                    
296
}
297
298
//-----------------------------------------------
299
const Locale Locale::TH()
300
{
301
    static Locale aLocale(
302
                    ::rtl::OUString::createFromAscii("th"),
303
                    ::rtl::OUString());
304
    return aLocale;                    
305
}
306
307
//-----------------------------------------------
308
const Locale Locale::TR()
309
{
310
    static Locale aLocale(
311
                    ::rtl::OUString::createFromAscii("tr"),
312
                    ::rtl::OUString());
313
    return aLocale;                    
314
}
315
316
//-----------------------------------------------
317
const Locale Locale::X_COMMENT()
318
{
319
    static Locale aLocale(
320
                    ::rtl::OUString::createFromAscii("x"),
321
                    ::rtl::OUString::createFromAscii("comment"));
322
    return aLocale;                    
323
}
324
325
//-----------------------------------------------
326
const Locale Locale::X_TRANSLATE()
327
{
328
    static Locale aLocale(
329
                    ::rtl::OUString::createFromAscii("x"),
330
                    ::rtl::OUString::createFromAscii("translate"));
331
    return aLocale;                    
332
}
333
334
//-----------------------------------------------
335
const Locale Locale::X_NOTRANSLATE()
69
const Locale Locale::X_NOTRANSLATE()
336
{
70
{
337
    static Locale aLocale(
71
    static Locale aLocale(
Lines 341-364 Link Here
341
}
75
}
342
76
343
//-----------------------------------------------
77
//-----------------------------------------------
344
const Locale Locale::ZH_CN()
345
{
346
    static Locale aLocale(
347
                    ::rtl::OUString::createFromAscii("zh"),
348
                    ::rtl::OUString::createFromAscii("CN"));
349
    return aLocale;                    
350
}
351
352
//-----------------------------------------------
353
const Locale Locale::ZH_TW()
354
{
355
    static Locale aLocale(
356
                    ::rtl::OUString::createFromAscii("zh"),
357
                    ::rtl::OUString::createFromAscii("TW"));
358
    return aLocale;                    
359
}
360
361
//-----------------------------------------------
362
Locale::Locale(const ::rtl::OUString& sISO)
78
Locale::Locale(const ::rtl::OUString& sISO)
363
    throw(Locale::MalFormedLocaleException)
79
    throw(Locale::MalFormedLocaleException)
364
{
80
{
Lines 611-662 Link Here
611
}
327
}
612
328
613
//-----------------------------------------------
329
//-----------------------------------------------
614
sal_Bool Locale::getFallback(Locale& aLocale)
615
{
616
    // a)
617
    // this was our last fallback!
618
    // break any further calls to this method ...
619
    if (aLocale.equals(X_NOTRANSLATE()))
620
        return sal_False;
621
622
    // b)
623
    // switch from X_DEFAULT to X_NOTRANSLATE
624
    // next time we will go to a)
625
    if (aLocale.equals(X_DEFAULT()))
626
    {
627
        aLocale = X_NOTRANSLATE();
628
        return sal_True;
629
    }
630
631
    // c)
632
    // switch from EN to X_DEFAULT
633
    // next time we will go to b)
634
    if (aLocale.equals(EN()))
635
    {
636
        aLocale = X_DEFAULT();
637
        return sal_True;
638
    }
639
640
    // d) remove country from incoming locale
641
    //    e.g. "de-DE" => "de" or "en-US" => "en"!
642
    if (aLocale.getCountry().getLength())
643
    {
644
        aLocale.setCountry(::rtl::OUString());
645
        return sal_True;
646
    }
647
    
648
    // e) "en-US" possible?
649
    if (!aLocale.equals(EN_US()))
650
    {
651
        aLocale = EN_US();
652
        return sal_True;
653
    }
654
655
    // f) no more fallbacks    
656
    return sal_False;
657
}            
658
659
//-----------------------------------------------
660
void  Locale::operator=(const Locale& rCopy)
330
void  Locale::operator=(const Locale& rCopy)
661
{
331
{
662
    // Take over these values without checking ...
332
    // Take over these values without checking ...
(-)a/configmgr/prj/build.lst (-1 / +1 lines)
Lines 1-3 Link Here
1
cg configmgr : BOOST:boost comphelper cppu cppuhelper offuh sal salhelper stlport NULL
1
cg configmgr : BOOST:boost comphelper cppu cppuhelper i18npool offuh sal salhelper stlport NULL
2
cg configmgr\inc nmake - all cg_inc NULL
2
cg configmgr\inc nmake - all cg_inc NULL
3
cg configmgr\source nmake - all cg_source cg_inc NULL
3
cg configmgr\source nmake - all cg_source cg_inc NULL
(-)a/configure (-18656 / +12414 lines)
Lines 1-82 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# From configure.in Revision: 1.290  .
2
# From configure.in Revision: 1.290  .
3
# Guess values for system-dependent variables and create Makefiles.
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.59.
4
# Generated by GNU Autoconf 2.65.
5
#
5
#
6
# Copyright (C) 2003 Free Software Foundation, Inc.
6
#
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9
# Inc.
10
#
11
#
7
# This configure script is free software; the Free Software Foundation
12
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
13
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
14
## -------------------- ##
10
## M4sh Initialization.  ##
15
## M4sh Initialization. ##
11
## --------------------- ##
16
## -------------------- ##
12
17
13
# Be Bourne compatible
18
# Be more Bourne compatible
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
DUALCASE=1; export DUALCASE # for MKS sh
20
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15
  emulate sh
21
  emulate sh
16
  NULLCMD=:
22
  NULLCMD=:
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18
  # is contrary to our usage.  Disable this feature.
24
  # is contrary to our usage.  Disable this feature.
19
  alias -g '${1+"$@"}'='"$@"'
25
  alias -g '${1+"$@"}'='"$@"'
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
  setopt NO_GLOB_SUBST
21
  set -o posix
27
else
22
fi
28
  case `(set -o) 2>/dev/null` in #(
23
DUALCASE=1; export DUALCASE # for MKS sh
29
  *posix*) :
24
30
    set -o posix ;; #(
25
# Support unset when possible.
31
  *) :
26
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
     ;;
27
  as_unset=unset
33
esac
28
else
34
fi
29
  as_unset=false
35
30
fi
36
31
37
as_nl='
32
38
'
33
# Work around bugs in pre-3.0 UWIN ksh.
39
export as_nl
34
$as_unset ENV MAIL MAILPATH
40
# Printing a long string crashes Solaris 7 /usr/bin/printf.
41
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44
# Prefer a ksh shell builtin over an external printf program on Solaris,
45
# but without wasting forks for bash or zsh.
46
if test -z "$BASH_VERSION$ZSH_VERSION" \
47
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='print -r --'
49
  as_echo_n='print -rn --'
50
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
  as_echo='printf %s\n'
52
  as_echo_n='printf %s'
53
else
54
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56
    as_echo_n='/usr/ucb/echo -n'
57
  else
58
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59
    as_echo_n_body='eval
60
      arg=$1;
61
      case $arg in #(
62
      *"$as_nl"*)
63
	expr "X$arg" : "X\\(.*\\)$as_nl";
64
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
      esac;
66
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67
    '
68
    export as_echo_n_body
69
    as_echo_n='sh -c $as_echo_n_body as_echo'
70
  fi
71
  export as_echo_body
72
  as_echo='sh -c $as_echo_body as_echo'
73
fi
74
75
# The user is always right.
76
if test "${PATH_SEPARATOR+set}" != set; then
77
  PATH_SEPARATOR=:
78
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80
      PATH_SEPARATOR=';'
81
  }
82
fi
83
84
85
# IFS
86
# We need space, tab and new line, in precisely that order.  Quoting is
87
# there to prevent editors from complaining about space-tab.
88
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89
# splitting by setting IFS to empty value.)
90
IFS=" ""	$as_nl"
91
92
# Find who we are.  Look in the path if we contain no directory separator.
93
case $0 in #((
94
  *[\\/]* ) as_myself=$0 ;;
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
for as_dir in $PATH
97
do
98
  IFS=$as_save_IFS
99
  test -z "$as_dir" && as_dir=.
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
  done
102
IFS=$as_save_IFS
103
104
     ;;
105
esac
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
109
  as_myself=$0
110
fi
111
if test ! -f "$as_myself"; then
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
  exit 1
114
fi
115
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there.  '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
done
35
PS1='$ '
124
PS1='$ '
36
PS2='> '
125
PS2='> '
37
PS4='+ '
126
PS4='+ '
38
127
39
# NLS nuisances.
128
# NLS nuisances.
40
for as_var in \
129
LC_ALL=C
41
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
130
export LC_ALL
42
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
131
LANGUAGE=C
43
  LC_TELEPHONE LC_TIME
132
export LANGUAGE
44
do
133
45
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
134
# CDPATH.
46
    eval $as_var=C; export $as_var
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47
  else
136
48
    $as_unset $as_var
137
if test "x$CONFIG_SHELL" = x; then
49
  fi
138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
50
done
139
  emulate sh
51
140
  NULLCMD=:
52
# Required to use basename.
141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
53
if expr a : '\(a\)' >/dev/null 2>&1; then
142
  # is contrary to our usage.  Disable this feature.
143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144
  setopt NO_GLOB_SUBST
145
else
146
  case \`(set -o) 2>/dev/null\` in #(
147
  *posix*) :
148
    set -o posix ;; #(
149
  *) :
150
     ;;
151
esac
152
fi
153
"
154
  as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
159
160
exitcode=0
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167
else
168
  exitcode=1; echo positional parameters were not saved.
169
fi
170
test x\$exitcode = x0 || exit 1"
171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
test \$(( 1 + 1 )) = 2 || exit 1"
176
  if (eval "$as_required") 2>/dev/null; then :
177
  as_have_required=yes
178
else
179
  as_have_required=no
180
fi
181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183
else
184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
as_found=false
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187
do
188
  IFS=$as_save_IFS
189
  test -z "$as_dir" && as_dir=.
190
  as_found=:
191
  case $as_dir in #(
192
	 /*)
193
	   for as_base in sh bash ksh sh5; do
194
	     # Try only shells that exist, to save several forks.
195
	     as_shell=$as_dir/$as_base
196
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
  CONFIG_SHELL=$as_shell as_have_required=yes
199
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
  break 2
201
fi
202
fi
203
	   done;;
204
       esac
205
  as_found=false
206
done
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
  CONFIG_SHELL=$SHELL as_have_required=yes
210
fi; }
211
IFS=$as_save_IFS
212
213
214
      if test "x$CONFIG_SHELL" != x; then :
215
  # We cannot yet assume a decent shell, so we have to provide a
216
	# neutralization value for shells without unset; and this also
217
	# works around shells that cannot unset nonexistent variables.
218
	BASH_ENV=/dev/null
219
	ENV=/dev/null
220
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
	export CONFIG_SHELL
222
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223
fi
224
225
    if test x$as_have_required = xno; then :
226
  $as_echo "$0: This script requires a shell more modern than all"
227
  $as_echo "$0: the shells that I found on your system."
228
  if test x${ZSH_VERSION+set} = xset ; then
229
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
  else
232
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
233
$0: including any error possibly output before this
234
$0: message. Then install a modern shell, or manually run
235
$0: the script under such a shell if you do have one."
236
  fi
237
  exit 1
238
fi
239
fi
240
fi
241
SHELL=${CONFIG_SHELL-/bin/sh}
242
export SHELL
243
# Unset more variables known to interfere with behavior of common tools.
244
CLICOLOR_FORCE= GREP_OPTIONS=
245
unset CLICOLOR_FORCE GREP_OPTIONS
246
247
## --------------------- ##
248
## M4sh Shell Functions. ##
249
## --------------------- ##
250
# as_fn_unset VAR
251
# ---------------
252
# Portably unset VAR.
253
as_fn_unset ()
254
{
255
  { eval $1=; unset $1;}
256
}
257
as_unset=as_fn_unset
258
259
# as_fn_set_status STATUS
260
# -----------------------
261
# Set $? to STATUS, without forking.
262
as_fn_set_status ()
263
{
264
  return $1
265
} # as_fn_set_status
266
267
# as_fn_exit STATUS
268
# -----------------
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270
as_fn_exit ()
271
{
272
  set +e
273
  as_fn_set_status $1
274
  exit $1
275
} # as_fn_exit
276
277
# as_fn_mkdir_p
278
# -------------
279
# Create "$as_dir" as a directory, including parents if necessary.
280
as_fn_mkdir_p ()
281
{
282
283
  case $as_dir in #(
284
  -*) as_dir=./$as_dir;;
285
  esac
286
  test -d "$as_dir" || eval $as_mkdir_p || {
287
    as_dirs=
288
    while :; do
289
      case $as_dir in #(
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291
      *) as_qdir=$as_dir;;
292
      esac
293
      as_dirs="'$as_qdir' $as_dirs"
294
      as_dir=`$as_dirname -- "$as_dir" ||
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
	 X"$as_dir" : 'X\(//\)[^/]' \| \
297
	 X"$as_dir" : 'X\(//\)$' \| \
298
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
$as_echo X"$as_dir" |
300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301
	    s//\1/
302
	    q
303
	  }
304
	  /^X\(\/\/\)[^/].*/{
305
	    s//\1/
306
	    q
307
	  }
308
	  /^X\(\/\/\)$/{
309
	    s//\1/
310
	    q
311
	  }
312
	  /^X\(\/\).*/{
313
	    s//\1/
314
	    q
315
	  }
316
	  s/.*/./; q'`
317
      test -d "$as_dir" && break
318
    done
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
322
323
} # as_fn_mkdir_p
324
# as_fn_append VAR VALUE
325
# ----------------------
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
# advantage of any shell optimizations that allow amortized linear growth over
328
# repeated appends, instead of the typical quadratic growth present in naive
329
# implementations.
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
  eval 'as_fn_append ()
332
  {
333
    eval $1+=\$2
334
  }'
335
else
336
  as_fn_append ()
337
  {
338
    eval $1=\$$1\$2
339
  }
340
fi # as_fn_append
341
342
# as_fn_arith ARG...
343
# ------------------
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
# must be portable across $(()) and expr.
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348
  eval 'as_fn_arith ()
349
  {
350
    as_val=$(( $* ))
351
  }'
352
else
353
  as_fn_arith ()
354
  {
355
    as_val=`expr "$@" || test $? -eq 1`
356
  }
357
fi # as_fn_arith
358
359
360
# as_fn_error ERROR [LINENO LOG_FD]
361
# ---------------------------------
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
# script with status $?, using 1 if that was 0.
365
as_fn_error ()
366
{
367
  as_status=$?; test $as_status -eq 0 && as_status=1
368
  if test "$3"; then
369
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
  fi
372
  $as_echo "$as_me: error: $1" >&2
373
  as_fn_exit $as_status
374
} # as_fn_error
375
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
54
  as_expr=expr
378
  as_expr=expr
55
else
379
else
56
  as_expr=false
380
  as_expr=false
57
fi
381
fi
58
382
59
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
60
  as_basename=basename
384
  as_basename=basename
61
else
385
else
62
  as_basename=false
386
  as_basename=false
63
fi
387
fi
64
388
65
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66
# Name of the executable.
390
  as_dirname=dirname
67
as_me=`$as_basename "$0" ||
391
else
392
  as_dirname=false
393
fi
394
395
as_me=`$as_basename -- "$0" ||
68
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69
	 X"$0" : 'X\(//\)$' \| \
397
	 X"$0" : 'X\(//\)$' \| \
70
	 X"$0" : 'X\(/\)$' \| \
398
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
	 .     : '\(.\)' 2>/dev/null ||
399
$as_echo X/"$0" |
72
echo X/"$0" |
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
73
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
401
	    s//\1/
74
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
402
	    q
75
  	  /^X\/\(\/\).*/{ s//\1/; q; }
403
	  }
76
  	  s/.*/./; q'`
404
	  /^X\/\(\/\/\)$/{
77
405
	    s//\1/
78
406
	    q
79
# PATH needs CR, and LINENO needs CR and PATH.
407
	  }
408
	  /^X\/\(\/\).*/{
409
	    s//\1/
410
	    q
411
	  }
412
	  s/.*/./; q'`
413
80
# Avoid depending upon Character Ranges.
414
# Avoid depending upon Character Ranges.
81
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Lines 84-229 Link Here
84
as_cr_digits='0123456789'
418
as_cr_digits='0123456789'
85
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
420
87
# The user is always right.
421
88
if test "${PATH_SEPARATOR+set}" != set; then
422
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
89
  echo "#! /bin/sh" >conf$$.sh
423
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
90
  echo  "exit 0"   >>conf$$.sh
424
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
91
  chmod +x conf$$.sh
425
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
92
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
426
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
93
    PATH_SEPARATOR=';'
427
  sed -n '
94
  else
428
    p
95
    PATH_SEPARATOR=:
429
    /[$]LINENO/=
96
  fi
430
  ' <$as_myself |
97
  rm -f conf$$.sh
98
fi
99
100
101
  as_lineno_1=$LINENO
102
  as_lineno_2=$LINENO
103
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104
  test "x$as_lineno_1" != "x$as_lineno_2" &&
105
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
106
  # Find who we are.  Look in the path if we contain no path at all
107
  # relative or not.
108
  case $0 in
109
    *[\\/]* ) as_myself=$0 ;;
110
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111
for as_dir in $PATH
112
do
113
  IFS=$as_save_IFS
114
  test -z "$as_dir" && as_dir=.
115
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116
done
117
118
       ;;
119
  esac
120
  # We did not find ourselves, most probably we were run as `sh COMMAND'
121
  # in which case we are not to be found in the path.
122
  if test "x$as_myself" = x; then
123
    as_myself=$0
124
  fi
125
  if test ! -f "$as_myself"; then
126
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127
   { (exit 1); exit 1; }; }
128
  fi
129
  case $CONFIG_SHELL in
130
  '')
131
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133
do
134
  IFS=$as_save_IFS
135
  test -z "$as_dir" && as_dir=.
136
  for as_base in sh bash ksh sh5; do
137
	 case $as_dir in
138
	 /*)
139
	   if ("$as_dir/$as_base" -c '
140
  as_lineno_1=$LINENO
141
  as_lineno_2=$LINENO
142
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143
  test "x$as_lineno_1" != "x$as_lineno_2" &&
144
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
145
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147
	     CONFIG_SHELL=$as_dir/$as_base
148
	     export CONFIG_SHELL
149
	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150
	   fi;;
151
	 esac
152
       done
153
done
154
;;
155
  esac
156
157
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158
  # uniformly replaced by the line number.  The first 'sed' inserts a
159
  # line-number line before each line; the second 'sed' does the real
160
  # work.  The second script uses 'N' to pair each line-number line
161
  # with the numbered line, and appends trailing '-' during
162
  # substitution so that $LINENO is not a special case at line end.
163
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
165
  sed '=' <$as_myself |
166
    sed '
431
    sed '
432
      s/[$]LINENO.*/&-/
433
      t lineno
434
      b
435
      :lineno
167
      N
436
      N
168
      s,$,-,
437
      :loop
169
      : loop
438
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171
      t loop
439
      t loop
172
      s,-$,,
440
      s/-\n.*//
173
      s,^['$as_cr_digits']*\n,,
174
    ' >$as_me.lineno &&
441
    ' >$as_me.lineno &&
175
  chmod +x $as_me.lineno ||
442
  chmod +x "$as_me.lineno" ||
176
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
177
   { (exit 1); exit 1; }; }
178
444
179
  # Don't try to exec as it changes $[0], causing all sort of problems
445
  # Don't try to exec as it changes $[0], causing all sort of problems
180
  # (the dirname of $[0] is not the place where we might find the
446
  # (the dirname of $[0] is not the place where we might find the
181
  # original and so on.  Autoconf is especially sensible to this).
447
  # original and so on.  Autoconf is especially sensitive to this).
182
  . ./$as_me.lineno
448
  . "./$as_me.lineno"
183
  # Exit status is that of the last command.
449
  # Exit status is that of the last command.
184
  exit
450
  exit
185
}
451
}
186
452
187
453
ECHO_C= ECHO_N= ECHO_T=
188
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
454
case `echo -n x` in #(((((
189
  *c*,-n*) ECHO_N= ECHO_C='
455
-n*)
190
' ECHO_T='	' ;;
456
  case `echo 'xy\c'` in
191
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
457
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
192
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
458
  xy)  ECHO_C='\c';;
193
esac
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
194
460
       ECHO_T='	';;
195
if expr a : '\(a\)' >/dev/null 2>&1; then
461
  esac;;
196
  as_expr=expr
462
*)
197
else
463
  ECHO_N='-n';;
198
  as_expr=false
464
esac
199
fi
200
465
201
rm -f conf$$ conf$$.exe conf$$.file
466
rm -f conf$$ conf$$.exe conf$$.file
202
echo >conf$$.file
467
if test -d conf$$.dir; then
203
if ln -s conf$$.file conf$$ 2>/dev/null; then
468
  rm -f conf$$.dir/conf$$.file
204
  # We could just check for DJGPP; but this test a) works b) is more generic
469
else
205
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
470
  rm -f conf$$.dir
206
  if test -f conf$$.exe; then
471
  mkdir conf$$.dir 2>/dev/null
207
    # Don't use ln at all; we don't have any links
472
fi
473
if (echo >conf$$.file) 2>/dev/null; then
474
  if ln -s conf$$.file conf$$ 2>/dev/null; then
475
    as_ln_s='ln -s'
476
    # ... but there are two gotchas:
477
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479
    # In both cases, we have to default to `cp -p'.
480
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
      as_ln_s='cp -p'
482
  elif ln conf$$.file conf$$ 2>/dev/null; then
483
    as_ln_s=ln
484
  else
208
    as_ln_s='cp -p'
485
    as_ln_s='cp -p'
209
  else
486
  fi
210
    as_ln_s='ln -s'
211
  fi
212
elif ln conf$$.file conf$$ 2>/dev/null; then
213
  as_ln_s=ln
214
else
487
else
215
  as_ln_s='cp -p'
488
  as_ln_s='cp -p'
216
fi
489
fi
217
rm -f conf$$ conf$$.exe conf$$.file
490
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491
rmdir conf$$.dir 2>/dev/null
218
492
219
if mkdir -p . 2>/dev/null; then
493
if mkdir -p . 2>/dev/null; then
220
  as_mkdir_p=:
494
  as_mkdir_p='mkdir -p "$as_dir"'
221
else
495
else
222
  test -d ./-p && rmdir ./-p
496
  test -d ./-p && rmdir ./-p
223
  as_mkdir_p=false
497
  as_mkdir_p=false
224
fi
498
fi
225
499
226
as_executable_p="test -f"
500
if test -x / >/dev/null 2>&1; then
501
  as_test_x='test -x'
502
else
503
  if ls -dL / >/dev/null 2>&1; then
504
    as_ls_L_option=L
505
  else
506
    as_ls_L_option=
507
  fi
508
  as_test_x='
509
    eval sh -c '\''
510
      if test -d "$1"; then
511
	test -d "$1/.";
512
      else
513
	case $1 in #(
514
	-*)set "./$1";;
515
	esac;
516
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517
	???[sx]*):;;*)false;;esac;fi
518
    '\'' sh
519
  '
520
fi
521
as_executable_p=$as_test_x
227
522
228
# Sed expression to map a string onto a valid CPP name.
523
# Sed expression to map a string onto a valid CPP name.
229
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Lines 232-269 Link Here
232
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
528
234
529
235
# IFS
530
test -n "$DJDIR" || exec 7<&0 </dev/null
236
# We need space, tab and new line, in precisely that order.
531
exec 6>&1
237
as_nl='
238
'
239
IFS=" 	$as_nl"
240
241
# CDPATH.
242
$as_unset CDPATH
243
244
532
245
# Name of the host.
533
# Name of the host.
246
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247
# so uname gets run too.
535
# so uname gets run too.
248
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
537
250
exec 6>&1
251
252
#
538
#
253
# Initializations.
539
# Initializations.
254
#
540
#
255
ac_default_prefix=/usr/local
541
ac_default_prefix=/usr/local
542
ac_clean_files=
256
ac_config_libobj_dir=.
543
ac_config_libobj_dir=.
544
LIBOBJS=
257
cross_compiling=no
545
cross_compiling=no
258
subdirs=
546
subdirs=
259
MFLAGS=
547
MFLAGS=
260
MAKEFLAGS=
548
MAKEFLAGS=
261
SHELL=${CONFIG_SHELL-/bin/sh}
262
263
# Maximum number of lines to put in a shell here document.
264
# This variable seems obsolete.  It should probably be removed, and
265
# only ac_max_sed_lines should be used.
266
: ${ac_max_here_lines=38}
267
549
268
# Identity of this package.
550
# Identity of this package.
269
PACKAGE_NAME=
551
PACKAGE_NAME=
Lines 271-320 Link Here
271
PACKAGE_VERSION=
553
PACKAGE_VERSION=
272
PACKAGE_STRING=
554
PACKAGE_STRING=
273
PACKAGE_BUGREPORT=
555
PACKAGE_BUGREPORT=
556
PACKAGE_URL=
274
557
275
# Factoring default headers for most tests.
558
# Factoring default headers for most tests.
276
ac_includes_default="\
559
ac_includes_default="\
277
#include <stdio.h>
560
#include <stdio.h>
278
#if HAVE_SYS_TYPES_H
561
#ifdef HAVE_SYS_TYPES_H
279
# include <sys/types.h>
562
# include <sys/types.h>
280
#endif
563
#endif
281
#if HAVE_SYS_STAT_H
564
#ifdef HAVE_SYS_STAT_H
282
# include <sys/stat.h>
565
# include <sys/stat.h>
283
#endif
566
#endif
284
#if STDC_HEADERS
567
#ifdef STDC_HEADERS
285
# include <stdlib.h>
568
# include <stdlib.h>
286
# include <stddef.h>
569
# include <stddef.h>
287
#else
570
#else
288
# if HAVE_STDLIB_H
571
# ifdef HAVE_STDLIB_H
289
#  include <stdlib.h>
572
#  include <stdlib.h>
290
# endif
573
# endif
291
#endif
574
#endif
292
#if HAVE_STRING_H
575
#ifdef HAVE_STRING_H
293
# if !STDC_HEADERS && HAVE_MEMORY_H
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
294
#  include <memory.h>
577
#  include <memory.h>
295
# endif
578
# endif
296
# include <string.h>
579
# include <string.h>
297
#endif
580
#endif
298
#if HAVE_STRINGS_H
581
#ifdef HAVE_STRINGS_H
299
# include <strings.h>
582
# include <strings.h>
300
#endif
583
#endif
301
#if HAVE_INTTYPES_H
584
#ifdef HAVE_INTTYPES_H
302
# include <inttypes.h>
585
# include <inttypes.h>
303
#else
586
#endif
304
# if HAVE_STDINT_H
587
#ifdef HAVE_STDINT_H
305
#  include <stdint.h>
588
# include <stdint.h>
306
# endif
589
#endif
307
#endif
590
#ifdef HAVE_UNISTD_H
308
#if HAVE_UNISTD_H
309
# include <unistd.h>
591
# include <unistd.h>
310
#endif"
592
#endif"
311
593
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS EGREP AWK SED LOCAL_SOLENV _solenv UPD SOURCEVERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os GNUTAR OSVERSION PTHREAD_CFLAGS PTHREAD_LIBS ENABLE_CRASHDUMP VC_STANDARD ENABLE_WERROR ENABLE_DEBUG PRODUCT PROFULLSWITCH PROEXT ENABLE_SYMBOLS DISABLE_STRIP ENABLE_CUPS ENABLE_FONTCONFIG WITH_BINFILTER ENABLE_DIRECTX DISABLE_ACTIVEX DISABLE_ATL ENABLE_RPATH WITH_MYSPELL_DICTS SYSTEM_DICTS DICT_SYSTEM_DIR HYPH_SYSTEM_DIR THES_SYSTEM_DIR USE_SHELL WITH_MINGWIN SHELLPATH GCC_HOME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COMPATH GCCVER HAVE_LD_BSYMBOLIC_FUNCTIONS ENABLE_PCH NO_HIDS GNUMAKE _cc HAVE_LD_HASH_STYLE PERL MSPDB_PATH COMEX USE_MINGW MIDL_PATH CSC_PATH FRAME_HOME CPP CXX CXXFLAGS ac_ct_CXX CXXCPP SIZEOF_LONG WORDS_BIGENDIAN LFS_CFLAGS ENABLE_VBA VBA_EXTENSION PAM NEW_SHADOW_API PAM_LINK CRYPT_LINK GXX_INCLUDE_PATH MINGW_LIB_INCLUDE_PATH MINGW_BACKWARD_INCLUDE_PATH MINGW_CLIB_DIR MINGW_SHARED_GCCLIB MINGW_GCCLIB_EH MINGW_SHARED_GXXLIB MINGW_GCCDLL MINGW_GXXDLL EXCEPTIONS STLPORT4 STLPORT_VER USE_SYSTEM_STL USE_CCACHE CCACHE HAVE_GCC_VISIBILITY_FEATURE ALLOC BUILD_VER_STRING SOLAR_JAVA JAVAINTERPRETER JAVACOMPILER JAVACISGCJ JAVADOC AWTLIB JAVAAOTCOMPILER JAVA_HOME JDK JAVAFLAGS DMAKE BUILD_DMAKE EPM DPKG PKGMK BUILD_EPM PKGFORMAT RPM GPERF MINGWCXX ac_ct_MINGWCXX MINGWSTRIP ac_ct_MINGWSTRIP BUILD_UNOWINREG BUILD_QADEVOOO SYSTEM_STDLIBS SYSTEM_ZLIB SYSTEM_JPEG SYSTEM_EXPAT PKG_CONFIG LIBWPD_CFLAGS LIBWPD_LIBS SYSTEM_LIBWPD FREETYPE_CFLAGS FREETYPE_LIBS USE_FT_EMBOLDEN LIBXSLT_CFLAGS LIBXSLT_LIBS XSLTPROC SYSTEM_LIBXSLT LIBXML_CFLAGS LIBXML_LIBS SYSTEM_LIBXML PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir BZIP2 SYSTEM_PYTHON PYTHON_CFLAGS PYTHON_LIBS HOME SYSTEM_DB DB_VERSION DB_INCLUDES DB_JAR SYSTEM_LUCENE LUCENE_CORE_JAR LUCENE_ANALYZERS_JAR ENABLE_MYSQLC MYSQLCONFIG SYSTEM_MYSQL MYSQL_INC MYSQL_LIB MYSQL_DEFINES LIBMYSQL_PATH SYSTEM_MYSQL_CPPCONN SYSTEM_HSQLDB HSQLDB_JAR SYSTEM_BSH BSH_JAR SERIALIZER_JAR SYSTEM_SAXON SAXON_JAR CURLCONFIG SYSTEM_CURL CURL_CFLAGS CURL_LIBS SYSTEM_BOOST SYSTEM_VIGRA SYSTEM_ODBC_HEADERS WITH_MOZILLA WITH_LDAP WITH_OPENLDAP MOZ_NSS_CFLAGS MOZ_NSS_LIBS NSS_LIB MOZ_NSPR_CFLAGS MOZ_NSPR_LIBS NSPR_LIB MOZILLAXPCOM_CFLAGS MOZILLAXPCOM_LIBS MOZILLA_VERSION MOZILLA_TOOLKIT MOZGTK2_CFLAGS MOZGTK2_LIBS MOZLIBREQ_CFLAGS MOZLIBREQ_LIBS BUILD_MOZAB ENABLE_NSS_MODULE MOZILLABUILD SYSTEM_MOZILLA MOZ_FLAVOUR MOZ_INC MOZ_LIB MOZ_LIB_XPCOM MOZ_LDAP_CFLAGS SYSTEM_SANE_HEADER SYSTEM_GENBRK SYSTEM_GENCCODE SYSTEM_GENCMN SYSTEM_ICU GRAPHITE_CFLAGS GRAPHITE_LIBS ENABLE_GRAPHITE SYSTEM_GRAPHITE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINC XLIB XAU_LIBS DISABLE_XAW SYSTEM_XRENDER_HEADERS XRENDER_LINK XRANDR_CFLAGS XRANDR_LIBS XRANDR_DLOPEN ENABLE_RANDR DISABLE_NEON NEON_CFLAGS NEON_LIBS SYSTEM_NEON NEON_VERSION OPENSSL_CFLAGS OPENSSL_LIBS SYSTEM_OPENSSL ENABLE_AGG AGG_CFLAGS AGG_LIBS SYSTEM_AGG AGG_VERSION REDLAND_CFLAGS REDLAND_LIBS SYSTEM_REDLAND HUNSPELL_CFLAGS HUNSPELL_LIBS SYSTEM_HUNSPELL SYSTEM_HYPH HYPHEN_LIB SYSTEM_MYTHES SYSTEM_LPSOLVE PSDK_HOME WINDOWS_VISTA_PSDK DIRECTXSDK_HOME DIRECTXSDK_LIB NSIS_PATH BISON FLEX PATCH GNUCP GNUPATCH CYGWIN_PATH ML_EXE ASM_HOME ZIP UNZIP ZIP_HOME ENABLE_GTK ENABLE_KDE ENABLE_KDE4 GCONF_CFLAGS GCONF_LIBS ENABLE_GCONF GNOMEVFS_CFLAGS GNOMEVFS_LIBS ENABLE_GNOMEVFS GTK_CFLAGS GTK_LIBS DBUS_CFLAGS DBUS_LIBS GIO_CFLAGS GIO_LIBS ENABLE_GIO ENABLE_DBUS ENABLE_SYSTRAY_GTK CAIRO_CFLAGS CAIRO_LIBS ENABLE_CAIRO BUILD_PIXMAN SYSTEM_CAIRO ENABLE_OPENGL ENABLE_PRESENTER_EXTRA_UI ENABLE_MINIMIZER ENABLE_PRESENTER_SCREEN POPPLER_CFLAGS POPPLER_LIBS ENABLE_PDFIMPORT SYSTEM_POPPLER ENABLE_MEDIAWIKI SYSTEM_SERVLETAPI SERVLETAPI_JAR ENABLE_REPORTBUILDER SYSTEM_JFREEREPORT SAC_JAR LIBXML_JAR FLUTE_JAR JFREEREPORT_JAR LIBBASE_JAR LIBLAYOUT_JAR LIBLOADER_JAR LIBFORMULA_JAR LIBREPOSITORY_JAR LIBFONTS_JAR LIBSERIALIZER_JAR SYSTEM_APACHE_COMMONS COMMONS_CODEC_JAR COMMONS_LANG_JAR COMMONS_HTTPCLIENT_JAR COMMONS_LOGGING_JAR MOC KDE_CFLAGS KDE_LIBS MOC4 KDE4_CFLAGS KDE4_LIBS ENABLE_LOCKDOWN GOBJECT_CFLAGS GOBJECT_LIBS ENABLE_EVOAB2 ENABLE_KAB WITH_FONTS WITHOUT_PPDS WITHOUT_AFMS SCPDEFS USE_XINERAMA XINERAMA_LINK ANT ANT_HOME ANT_LIB WITH_LANG WITH_POOR_HELP_LOCALIZATIONS WITH_DICT INTRO_BITMAPS ABOUT_BITMAPS OOO_VENDOR UNIXWRAPPERNAME ENABLE_STATIC_GTK ENABLE_LAYOUT VERBOSE LOCAL_SOLVER BUILD_TYPE LIBOBJS LTLIBOBJS'
594
ac_subst_vars='LTLIBOBJS
595
LIBOBJS
596
BUILD_TYPE
597
LOCAL_SOLVER
598
VERBOSE
599
ENABLE_LAYOUT
600
ENABLE_STATIC_GTK
601
UNIXWRAPPERNAME
602
OOO_VENDOR
603
ABOUT_BITMAPS
604
INTRO_BITMAPS
605
WITH_DICT
606
WITH_POOR_HELP_LOCALIZATIONS
607
WITH_LANG
608
ANT_LIB
609
ANT_HOME
610
ANT
611
XINERAMA_LINK
612
USE_XINERAMA
613
SCPDEFS
614
WITHOUT_AFMS
615
WITHOUT_PPDS
616
WITH_FONTS
617
ENABLE_KAB
618
ENABLE_EVOAB2
619
GOBJECT_LIBS
620
GOBJECT_CFLAGS
621
ENABLE_LOCKDOWN
622
KDE4_LIBS
623
KDE4_CFLAGS
624
MOC4
625
KDE_LIBS
626
KDE_CFLAGS
627
MOC
628
COMMONS_LOGGING_JAR
629
COMMONS_HTTPCLIENT_JAR
630
COMMONS_LANG_JAR
631
COMMONS_CODEC_JAR
632
SYSTEM_APACHE_COMMONS
633
LIBSERIALIZER_JAR
634
LIBFONTS_JAR
635
LIBREPOSITORY_JAR
636
LIBFORMULA_JAR
637
LIBLOADER_JAR
638
LIBLAYOUT_JAR
639
LIBBASE_JAR
640
JFREEREPORT_JAR
641
FLUTE_JAR
642
LIBXML_JAR
643
SAC_JAR
644
SYSTEM_JFREEREPORT
645
ENABLE_REPORTBUILDER
646
SERVLETAPI_JAR
647
SYSTEM_SERVLETAPI
648
ENABLE_MEDIAWIKI
649
SYSTEM_POPPLER
650
ENABLE_PDFIMPORT
651
POPPLER_LIBS
652
POPPLER_CFLAGS
653
ENABLE_PRESENTER_SCREEN
654
ENABLE_MINIMIZER
655
ENABLE_PRESENTER_EXTRA_UI
656
ENABLE_OPENGL
657
SYSTEM_CAIRO
658
BUILD_PIXMAN
659
ENABLE_CAIRO
660
CAIRO_LIBS
661
CAIRO_CFLAGS
662
ENABLE_SYSTRAY_GTK
663
ENABLE_DBUS
664
ENABLE_GIO
665
GIO_LIBS
666
GIO_CFLAGS
667
DBUS_LIBS
668
DBUS_CFLAGS
669
GTK_LIBS
670
GTK_CFLAGS
671
ENABLE_GNOMEVFS
672
GNOMEVFS_LIBS
673
GNOMEVFS_CFLAGS
674
ENABLE_GCONF
675
GCONF_LIBS
676
GCONF_CFLAGS
677
ENABLE_KDE4
678
ENABLE_KDE
679
ENABLE_GTK
680
ZIP_HOME
681
UNZIP
682
ZIP
683
ASM_HOME
684
ML_EXE
685
CYGWIN_PATH
686
GNUPATCH
687
GNUCP
688
PATCH
689
FLEX
690
BISON
691
NSIS_PATH
692
DIRECTXSDK_LIB
693
DIRECTXSDK_HOME
694
WINDOWS_VISTA_PSDK
695
PSDK_HOME
696
SYSTEM_LPSOLVE
697
SYSTEM_MYTHES
698
HYPHEN_LIB
699
SYSTEM_HYPH
700
SYSTEM_HUNSPELL
701
HUNSPELL_LIBS
702
HUNSPELL_CFLAGS
703
SYSTEM_REDLAND
704
REDLAND_LIBS
705
REDLAND_CFLAGS
706
AGG_VERSION
707
SYSTEM_AGG
708
AGG_LIBS
709
AGG_CFLAGS
710
ENABLE_AGG
711
SYSTEM_OPENSSL
712
OPENSSL_LIBS
713
OPENSSL_CFLAGS
714
NEON_VERSION
715
SYSTEM_NEON
716
NEON_LIBS
717
NEON_CFLAGS
718
DISABLE_NEON
719
ENABLE_RANDR
720
XRANDR_DLOPEN
721
XRANDR_LIBS
722
XRANDR_CFLAGS
723
XRENDER_LINK
724
SYSTEM_XRENDER_HEADERS
725
DISABLE_XAW
726
XAU_LIBS
727
XLIB
728
XINC
729
X_EXTRA_LIBS
730
X_LIBS
731
X_PRE_LIBS
732
X_CFLAGS
733
XMKMF
734
SYSTEM_GRAPHITE
735
ENABLE_GRAPHITE
736
GRAPHITE_LIBS
737
GRAPHITE_CFLAGS
738
SYSTEM_ICU
739
SYSTEM_GENCMN
740
SYSTEM_GENCCODE
741
SYSTEM_GENBRK
742
SYSTEM_SANE_HEADER
743
MOZ_LDAP_CFLAGS
744
MOZ_LIB_XPCOM
745
MOZ_LIB
746
MOZ_INC
747
MOZ_FLAVOUR
748
SYSTEM_MOZILLA
749
MOZILLABUILD
750
ENABLE_NSS_MODULE
751
BUILD_MOZAB
752
MOZLIBREQ_LIBS
753
MOZLIBREQ_CFLAGS
754
MOZGTK2_LIBS
755
MOZGTK2_CFLAGS
756
MOZILLA_TOOLKIT
757
MOZILLA_VERSION
758
MOZILLAXPCOM_LIBS
759
MOZILLAXPCOM_CFLAGS
760
NSPR_LIB
761
MOZ_NSPR_LIBS
762
MOZ_NSPR_CFLAGS
763
NSS_LIB
764
MOZ_NSS_LIBS
765
MOZ_NSS_CFLAGS
766
WITH_OPENLDAP
767
WITH_LDAP
768
WITH_MOZILLA
769
SYSTEM_ODBC_HEADERS
770
SYSTEM_VIGRA
771
SYSTEM_BOOST
772
CURL_LIBS
773
CURL_CFLAGS
774
SYSTEM_CURL
775
CURLCONFIG
776
SAXON_JAR
777
SYSTEM_SAXON
778
SERIALIZER_JAR
779
BSH_JAR
780
SYSTEM_BSH
781
HSQLDB_JAR
782
SYSTEM_HSQLDB
783
SYSTEM_MYSQL_CPPCONN
784
LIBMYSQL_PATH
785
MYSQL_DEFINES
786
MYSQL_LIB
787
MYSQL_INC
788
SYSTEM_MYSQL
789
MYSQLCONFIG
790
ENABLE_MYSQLC
791
LUCENE_ANALYZERS_JAR
792
LUCENE_CORE_JAR
793
SYSTEM_LUCENE
794
DB_JAR
795
DB_INCLUDES
796
DB_VERSION
797
SYSTEM_DB
798
HOME
799
PYTHON_LIBS
800
PYTHON_CFLAGS
801
SYSTEM_PYTHON
802
BZIP2
803
pkgpyexecdir
804
pyexecdir
805
pkgpythondir
806
pythondir
807
PYTHON_PLATFORM
808
PYTHON_EXEC_PREFIX
809
PYTHON_PREFIX
810
PYTHON_VERSION
811
PYTHON
812
SYSTEM_LIBXML
813
LIBXML_LIBS
814
LIBXML_CFLAGS
815
SYSTEM_LIBXSLT
816
XSLTPROC
817
LIBXSLT_LIBS
818
LIBXSLT_CFLAGS
819
USE_FT_EMBOLDEN
820
FREETYPE_LIBS
821
FREETYPE_CFLAGS
822
SYSTEM_LIBWPD
823
LIBWPD_LIBS
824
LIBWPD_CFLAGS
825
PKG_CONFIG
826
SYSTEM_EXPAT
827
SYSTEM_JPEG
828
SYSTEM_ZLIB
829
SYSTEM_STDLIBS
830
BUILD_QADEVOOO
831
BUILD_UNOWINREG
832
MINGWSTRIP
833
MINGWCXX
834
GPERF
835
RPM
836
PKGFORMAT
837
BUILD_EPM
838
PKGMK
839
DPKG
840
EPM
841
BUILD_DMAKE
842
DMAKE
843
JAVAFLAGS
844
JDK
845
JAVA_HOME
846
JAVAAOTCOMPILER
847
AWTLIB
848
JAVADOC
849
JAVACISGCJ
850
JAVACOMPILER
851
JAVAINTERPRETER
852
SOLAR_JAVA
853
BUILD_VER_STRING
854
ALLOC
855
HAVE_GCC_VISIBILITY_FEATURE
856
CCACHE
857
USE_CCACHE
858
USE_SYSTEM_STL
859
STLPORT_VER
860
STLPORT4
861
EXCEPTIONS
862
MINGW_GXXDLL
863
MINGW_GCCDLL
864
MINGW_SHARED_GXXLIB
865
MINGW_GCCLIB_EH
866
MINGW_SHARED_GCCLIB
867
MINGW_CLIB_DIR
868
MINGW_BACKWARD_INCLUDE_PATH
869
MINGW_LIB_INCLUDE_PATH
870
GXX_INCLUDE_PATH
871
CRYPT_LINK
872
PAM_LINK
873
NEW_SHADOW_API
874
PAM
875
VBA_EXTENSION
876
ENABLE_VBA
877
LFS_CFLAGS
878
WORDS_BIGENDIAN
879
SIZEOF_LONG
880
CXXCPP
881
ac_ct_CXX
882
CXXFLAGS
883
CXX
884
CPP
885
FRAME_HOME
886
CSC_PATH
887
MIDL_PATH
888
USE_MINGW
889
COMEX
890
MSPDB_PATH
891
PERL
892
HAVE_LD_HASH_STYLE
893
_cc
894
GNUMAKE
895
NO_HIDS
896
ENABLE_PCH
897
HAVE_LD_BSYMBOLIC_FUNCTIONS
898
GCCVER
899
COMPATH
900
OBJEXT
901
EXEEXT
902
ac_ct_CC
903
CPPFLAGS
904
LDFLAGS
905
CFLAGS
906
CC
907
GCC_HOME
908
SHELLPATH
909
WITH_MINGWIN
910
USE_SHELL
911
THES_SYSTEM_DIR
912
HYPH_SYSTEM_DIR
913
DICT_SYSTEM_DIR
914
SYSTEM_DICTS
915
WITH_MYSPELL_DICTS
916
ENABLE_RPATH
917
DISABLE_ATL
918
DISABLE_ACTIVEX
919
ENABLE_DIRECTX
920
WITH_BINFILTER
921
ENABLE_FONTCONFIG
922
ENABLE_CUPS
923
DISABLE_STRIP
924
ENABLE_SYMBOLS
925
PROEXT
926
PROFULLSWITCH
927
PRODUCT
928
ENABLE_DEBUG
929
ENABLE_WERROR
930
VC_STANDARD
931
ENABLE_CRASHDUMP
932
PTHREAD_LIBS
933
PTHREAD_CFLAGS
934
OSVERSION
935
GNUTAR
936
target_os
937
target_vendor
938
target_cpu
939
target
940
host_os
941
host_vendor
942
host_cpu
943
host
944
build_os
945
build_vendor
946
build_cpu
947
build
948
SOURCEVERSION
949
UPD
950
_solenv
951
LOCAL_SOLENV
952
SED
953
AWK
954
EGREP
955
GREP
956
target_alias
957
host_alias
958
build_alias
959
LIBS
960
ECHO_T
961
ECHO_N
962
ECHO_C
963
DEFS
964
mandir
965
localedir
966
libdir
967
psdir
968
pdfdir
969
dvidir
970
htmldir
971
infodir
972
docdir
973
oldincludedir
974
includedir
975
localstatedir
976
sharedstatedir
977
sysconfdir
978
datadir
979
datarootdir
980
libexecdir
981
sbindir
982
bindir
983
program_transform_name
984
prefix
985
exec_prefix
986
PACKAGE_URL
987
PACKAGE_BUGREPORT
988
PACKAGE_STRING
989
PACKAGE_VERSION
990
PACKAGE_TARNAME
991
PACKAGE_NAME
992
PATH_SEPARATOR
993
SHELL'
313
ac_subst_files=''
994
ac_subst_files=''
995
ac_user_opts='
996
enable_option_checking
997
with_gnu_patch
998
with_agg
999
with_gnu_cp
1000
enable_graphite
1001
with_system_graphite
1002
enable_ldap
1003
with_openldap
1004
enable_lockdown
1005
enable_vba
1006
with_vba_package_format
1007
enable_pch
1008
enable_hids
1009
enable_mozilla
1010
with_fonts
1011
with_ppds
1012
with_afms
1013
enable_epm
1014
with_epm
1015
with_package_format
1016
enable_odk
1017
enable_qadevooo
1018
enable_mathmldtd
1019
enable_evolution2
1020
with_system_stdlibs
1021
enable_cups
1022
enable_fontconfig
1023
enable_directx
1024
enable_activex
1025
enable_atl
1026
enable_symbols
1027
enable_strip_solver
1028
enable_werror
1029
enable_debug
1030
enable_dbgutil
1031
enable_crashdump
1032
enable_cl_standard
1033
enable_gtk
1034
enable_systray
1035
enable_cairo
1036
with_system_cairo
1037
enable_opengl
1038
enable_dbus
1039
enable_gconf
1040
enable_gnome_vfs
1041
enable_gio
1042
enable_static_gtk
1043
enable_layout
1044
enable_build_mozilla
1045
with_mozilla_version
1046
with_mozilla_toolkit
1047
enable_nss_module
1048
enable_kde
1049
enable_kdeab
1050
enable_kde4
1051
enable_binfilter
1052
enable_rpath
1053
enable_pam
1054
enable_pam_link
1055
enable_crypt_link
1056
enable_xrender_link
1057
enable_randr
1058
enable_randr_link
1059
with_myspell_dicts
1060
with_system_dicts
1061
with_external_dict_dir
1062
with_external_hyph_dir
1063
with_external_thes_dir
1064
with_system_libs
1065
with_system_headers
1066
with_system_jars
1067
with_system_zlib
1068
with_system_openssl
1069
with_system_jpeg
1070
with_system_expat
1071
with_system_libwpd
1072
with_system_libxml
1073
with_system_python
1074
with_system_icu
1075
with_system_poppler
1076
with_system_db
1077
with_system_lucene
1078
with_lucene_core_jar
1079
with_lucene_analyzers_jar
1080
enable_mysql_connector
1081
with_system_mysql
1082
with_libmysql_path
1083
with_system_mysql_cppconn
1084
with_system_hsqldb
1085
with_hsqldb_jar
1086
with_system_beanshell
1087
with_beanshell_jar
1088
enable_presenter_extra_ui
1089
enable_minimizer
1090
enable_presenter_console
1091
enable_pdfimport
1092
enable_wiki_publisher
1093
with_commons_codec_jar
1094
with_commons_lang_jar
1095
with_commons_httpclient_jar
1096
with_commons_logging_jar
1097
with_servlet_api_jar
1098
enable_report_builder
1099
with_system_jfreereport
1100
with_sac_jar
1101
with_libxml_jar
1102
with_flute_jar
1103
with_jfreereport_jar
1104
with_liblayout_jar
1105
with_libloader_jar
1106
with_libformula_jar
1107
with_librepository_jar
1108
with_libfonts_jar
1109
with_libserializer_jar
1110
with_libbase_jar
1111
with_system_saxon
1112
with_saxon_jar
1113
with_system_libxslt
1114
with_system_odbc
1115
with_system_sane
1116
with_system_xrender
1117
with_system_curl
1118
with_system_boost
1119
with_system_vigra
1120
enable_neon
1121
enable_Xaw
1122
with_system_neon
1123
with_system_agg
1124
with_system_hunspell
1125
with_system_mythes
1126
with_system_altlinuxhyph
1127
with_system_lpsolve
1128
with_system_mozilla
1129
with_stlport
1130
with_jdk_home
1131
with_gxx_include_path
1132
with_java
1133
enable_gcjaot
1134
with_ant_home
1135
with_perl_home
1136
with_cl_home
1137
with_mspdb_path
1138
with_midl_path
1139
with_csc_path
1140
with_nsis_path
1141
with_frame_home
1142
with_psdk_home
1143
with_directx_home
1144
with_mozilla_build
1145
with_local_solenv
1146
with_local_solver
1147
enable_check_only
1148
enable_ccache_skip
1149
with_lang
1150
with_poor_help_localizations
1151
with_dict
1152
with_intro_bitmaps
1153
with_about_bitmaps
1154
with_vendor
1155
with_unix_wrapper
1156
with_asm_home
1157
with_os_version
1158
with_unzip_home
1159
with_zip_home
1160
with_mingwin
1161
with_use_shell
1162
with_build_version
1163
with_alloc
1164
enable_verbose
1165
enable_largefile
1166
with_x
1167
'
1168
      ac_precious_vars='build_alias
1169
host_alias
1170
target_alias
1171
CC
1172
CFLAGS
1173
LDFLAGS
1174
LIBS
1175
CPPFLAGS
1176
CPP
1177
CXX
1178
CXXFLAGS
1179
CCC
1180
CXXCPP
1181
XMKMF'
1182
314
1183
315
# Initialize some variables set by options.
1184
# Initialize some variables set by options.
316
ac_init_help=
1185
ac_init_help=
317
ac_init_version=false
1186
ac_init_version=false
1187
ac_unrecognized_opts=
1188
ac_unrecognized_sep=
318
# The variables have the same names as the options, with
1189
# The variables have the same names as the options, with
319
# dashes changed to underlines.
1190
# dashes changed to underlines.
320
cache_file=/dev/null
1191
cache_file=/dev/null
Lines 337-370 Link Here
337
# and all the variables that are supposed to be based on exec_prefix
1208
# and all the variables that are supposed to be based on exec_prefix
338
# by default will actually change.
1209
# by default will actually change.
339
# Use braces instead of parens because sh, perl, etc. also accept them.
1210
# Use braces instead of parens because sh, perl, etc. also accept them.
1211
# (The list follows the same order as the GNU Coding Standards.)
340
bindir='${exec_prefix}/bin'
1212
bindir='${exec_prefix}/bin'
341
sbindir='${exec_prefix}/sbin'
1213
sbindir='${exec_prefix}/sbin'
342
libexecdir='${exec_prefix}/libexec'
1214
libexecdir='${exec_prefix}/libexec'
343
datadir='${prefix}/share'
1215
datarootdir='${prefix}/share'
1216
datadir='${datarootdir}'
344
sysconfdir='${prefix}/etc'
1217
sysconfdir='${prefix}/etc'
345
sharedstatedir='${prefix}/com'
1218
sharedstatedir='${prefix}/com'
346
localstatedir='${prefix}/var'
1219
localstatedir='${prefix}/var'
347
libdir='${exec_prefix}/lib'
348
includedir='${prefix}/include'
1220
includedir='${prefix}/include'
349
oldincludedir='/usr/include'
1221
oldincludedir='/usr/include'
350
infodir='${prefix}/info'
1222
docdir='${datarootdir}/doc/${PACKAGE}'
351
mandir='${prefix}/man'
1223
infodir='${datarootdir}/info'
1224
htmldir='${docdir}'
1225
dvidir='${docdir}'
1226
pdfdir='${docdir}'
1227
psdir='${docdir}'
1228
libdir='${exec_prefix}/lib'
1229
localedir='${datarootdir}/locale'
1230
mandir='${datarootdir}/man'
352
1231
353
ac_prev=
1232
ac_prev=
1233
ac_dashdash=
354
for ac_option
1234
for ac_option
355
do
1235
do
356
  # If the previous option needs an argument, assign it.
1236
  # If the previous option needs an argument, assign it.
357
  if test -n "$ac_prev"; then
1237
  if test -n "$ac_prev"; then
358
    eval "$ac_prev=\$ac_option"
1238
    eval $ac_prev=\$ac_option
359
    ac_prev=
1239
    ac_prev=
360
    continue
1240
    continue
361
  fi
1241
  fi
362
1242
363
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1243
  case $ac_option in
1244
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1245
  *)	ac_optarg=yes ;;
1246
  esac
364
1247
365
  # Accept the important Cygnus configure options, so we can diagnose typos.
1248
  # Accept the important Cygnus configure options, so we can diagnose typos.
366
1249
367
  case $ac_option in
1250
  case $ac_dashdash$ac_option in
1251
  --)
1252
    ac_dashdash=yes ;;
368
1253
369
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1254
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
370
    ac_prev=bindir ;;
1255
    ac_prev=bindir ;;
Lines 386-418 Link Here
386
  --config-cache | -C)
1271
  --config-cache | -C)
387
    cache_file=config.cache ;;
1272
    cache_file=config.cache ;;
388
1273
389
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1274
  -datadir | --datadir | --datadi | --datad)
390
    ac_prev=datadir ;;
1275
    ac_prev=datadir ;;
391
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1276
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
392
  | --da=*)
393
    datadir=$ac_optarg ;;
1277
    datadir=$ac_optarg ;;
394
1278
1279
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1280
  | --dataroo | --dataro | --datar)
1281
    ac_prev=datarootdir ;;
1282
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1283
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1284
    datarootdir=$ac_optarg ;;
1285
395
  -disable-* | --disable-*)
1286
  -disable-* | --disable-*)
396
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1287
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
    # Reject names that are not valid shell variable names.
1288
    # Reject names that are not valid shell variable names.
398
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1289
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
399
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1290
      as_fn_error "invalid feature name: $ac_useropt"
400
   { (exit 1); exit 1; }; }
1291
    ac_useropt_orig=$ac_useropt
401
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1292
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
402
    eval "enable_$ac_feature=no" ;;
1293
    case $ac_user_opts in
1294
      *"
1295
"enable_$ac_useropt"
1296
"*) ;;
1297
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1298
	 ac_unrecognized_sep=', ';;
1299
    esac
1300
    eval enable_$ac_useropt=no ;;
1301
1302
  -docdir | --docdir | --docdi | --doc | --do)
1303
    ac_prev=docdir ;;
1304
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1305
    docdir=$ac_optarg ;;
1306
1307
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1308
    ac_prev=dvidir ;;
1309
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1310
    dvidir=$ac_optarg ;;
403
1311
404
  -enable-* | --enable-*)
1312
  -enable-* | --enable-*)
405
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1313
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
    # Reject names that are not valid shell variable names.
1314
    # Reject names that are not valid shell variable names.
407
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1315
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
408
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1316
      as_fn_error "invalid feature name: $ac_useropt"
409
   { (exit 1); exit 1; }; }
1317
    ac_useropt_orig=$ac_useropt
410
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1318
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
411
    case $ac_option in
1319
    case $ac_user_opts in
412
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1320
      *"
413
      *) ac_optarg=yes ;;
1321
"enable_$ac_useropt"
1322
"*) ;;
1323
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1324
	 ac_unrecognized_sep=', ';;
414
    esac
1325
    esac
415
    eval "enable_$ac_feature='$ac_optarg'" ;;
1326
    eval enable_$ac_useropt=\$ac_optarg ;;
416
1327
417
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1328
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1329
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Lines 439-444 Link Here
439
  -host=* | --host=* | --hos=* | --ho=*)
1350
  -host=* | --host=* | --hos=* | --ho=*)
440
    host_alias=$ac_optarg ;;
1351
    host_alias=$ac_optarg ;;
441
1352
1353
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1354
    ac_prev=htmldir ;;
1355
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1356
  | --ht=*)
1357
    htmldir=$ac_optarg ;;
1358
442
  -includedir | --includedir | --includedi | --included | --include \
1359
  -includedir | --includedir | --includedi | --included | --include \
443
  | --includ | --inclu | --incl | --inc)
1360
  | --includ | --inclu | --incl | --inc)
444
    ac_prev=includedir ;;
1361
    ac_prev=includedir ;;
Lines 463-475 Link Here
463
  | --libexe=* | --libex=* | --libe=*)
1380
  | --libexe=* | --libex=* | --libe=*)
464
    libexecdir=$ac_optarg ;;
1381
    libexecdir=$ac_optarg ;;
465
1382
1383
  -localedir | --localedir | --localedi | --localed | --locale)
1384
    ac_prev=localedir ;;
1385
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1386
    localedir=$ac_optarg ;;
1387
466
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1388
  -localstatedir | --localstatedir | --localstatedi | --localstated \
467
  | --localstate | --localstat | --localsta | --localst \
1389
  | --localstate | --localstat | --localsta | --localst | --locals)
468
  | --locals | --local | --loca | --loc | --lo)
469
    ac_prev=localstatedir ;;
1390
    ac_prev=localstatedir ;;
470
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1391
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1392
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
472
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473
    localstatedir=$ac_optarg ;;
1393
    localstatedir=$ac_optarg ;;
474
1394
475
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1395
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Lines 534-539 Link Here
534
  | --progr-tra=* | --program-tr=* | --program-t=*)
1454
  | --progr-tra=* | --program-tr=* | --program-t=*)
535
    program_transform_name=$ac_optarg ;;
1455
    program_transform_name=$ac_optarg ;;
536
1456
1457
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1458
    ac_prev=pdfdir ;;
1459
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1460
    pdfdir=$ac_optarg ;;
1461
1462
  -psdir | --psdir | --psdi | --psd | --ps)
1463
    ac_prev=psdir ;;
1464
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1465
    psdir=$ac_optarg ;;
1466
537
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
  | -silent | --silent | --silen | --sile | --sil)
1468
  | -silent | --silent | --silen | --sile | --sil)
539
    silent=yes ;;
1469
    silent=yes ;;
Lines 584-609 Link Here
584
    ac_init_version=: ;;
1514
    ac_init_version=: ;;
585
1515
586
  -with-* | --with-*)
1516
  -with-* | --with-*)
587
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1517
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
    # Reject names that are not valid shell variable names.
1518
    # Reject names that are not valid shell variable names.
589
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1519
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
590
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1520
      as_fn_error "invalid package name: $ac_useropt"
591
   { (exit 1); exit 1; }; }
1521
    ac_useropt_orig=$ac_useropt
592
    ac_package=`echo $ac_package| sed 's/-/_/g'`
1522
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
593
    case $ac_option in
1523
    case $ac_user_opts in
594
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1524
      *"
595
      *) ac_optarg=yes ;;
1525
"with_$ac_useropt"
1526
"*) ;;
1527
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1528
	 ac_unrecognized_sep=', ';;
596
    esac
1529
    esac
597
    eval "with_$ac_package='$ac_optarg'" ;;
1530
    eval with_$ac_useropt=\$ac_optarg ;;
598
1531
599
  -without-* | --without-*)
1532
  -without-* | --without-*)
600
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1533
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
    # Reject names that are not valid shell variable names.
1534
    # Reject names that are not valid shell variable names.
602
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1535
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
603
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1536
      as_fn_error "invalid package name: $ac_useropt"
604
   { (exit 1); exit 1; }; }
1537
    ac_useropt_orig=$ac_useropt
605
    ac_package=`echo $ac_package | sed 's/-/_/g'`
1538
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
606
    eval "with_$ac_package=no" ;;
1539
    case $ac_user_opts in
1540
      *"
1541
"with_$ac_useropt"
1542
"*) ;;
1543
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1544
	 ac_unrecognized_sep=', ';;
1545
    esac
1546
    eval with_$ac_useropt=no ;;
607
1547
608
  --x)
1548
  --x)
609
    # Obsolete; use --with-x.
1549
    # Obsolete; use --with-x.
Lines 623-648 Link Here
623
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1563
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624
    x_libraries=$ac_optarg ;;
1564
    x_libraries=$ac_optarg ;;
625
1565
626
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1566
  -*) as_fn_error "unrecognized option: \`$ac_option'
627
Try \`$0 --help' for more information." >&2
1567
Try \`$0 --help' for more information."
628
   { (exit 1); exit 1; }; }
629
    ;;
1568
    ;;
630
1569
631
  *=*)
1570
  *=*)
632
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1571
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633
    # Reject names that are not valid shell variable names.
1572
    # Reject names that are not valid shell variable names.
634
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1573
    case $ac_envvar in #(
635
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1574
      '' | [0-9]* | *[!_$as_cr_alnum]* )
636
   { (exit 1); exit 1; }; }
1575
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
637
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1576
    esac
638
    eval "$ac_envvar='$ac_optarg'"
1577
    eval $ac_envvar=\$ac_optarg
639
    export $ac_envvar ;;
1578
    export $ac_envvar ;;
640
1579
641
  *)
1580
  *)
642
    # FIXME: should be removed in autoconf 3.0.
1581
    # FIXME: should be removed in autoconf 3.0.
643
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1582
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1583
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1584
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1585
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647
    ;;
1586
    ;;
648
1587
Lines 651-681 Link Here
651
1590
652
if test -n "$ac_prev"; then
1591
if test -n "$ac_prev"; then
653
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1592
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654
  { echo "$as_me: error: missing argument to $ac_option" >&2
1593
  as_fn_error "missing argument to $ac_option"
655
   { (exit 1); exit 1; }; }
1594
fi
656
fi
1595
657
1596
if test -n "$ac_unrecognized_opts"; then
658
# Be sure to have absolute paths.
1597
  case $enable_option_checking in
659
for ac_var in exec_prefix prefix
1598
    no) ;;
660
do
1599
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
661
  eval ac_val=$`echo $ac_var`
1600
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1601
  esac
1602
fi
1603
1604
# Check all directory arguments for consistency.
1605
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1606
		datadir sysconfdir sharedstatedir localstatedir includedir \
1607
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1608
		libdir localedir mandir
1609
do
1610
  eval ac_val=\$$ac_var
1611
  # Remove trailing slashes.
662
  case $ac_val in
1612
  case $ac_val in
663
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1613
    */ )
664
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1614
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
665
   { (exit 1); exit 1; }; };;
1615
      eval $ac_var=\$ac_val;;
666
  esac
1616
  esac
667
done
1617
  # Be sure to have absolute directory names.
668
669
# Be sure to have absolute paths.
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
	      localstatedir libdir includedir oldincludedir infodir mandir
672
do
673
  eval ac_val=$`echo $ac_var`
674
  case $ac_val in
1618
  case $ac_val in
675
    [\\/$]* | ?:[\\/]* ) ;;
1619
    [\\/$]* | ?:[\\/]* )  continue;;
676
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1620
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
677
   { (exit 1); exit 1; }; };;
678
  esac
1621
  esac
1622
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
679
done
1623
done
680
1624
681
# There might be people who depend on the old broken behavior: `$host'
1625
# There might be people who depend on the old broken behavior: `$host'
Lines 689-695 Link Here
689
if test "x$host_alias" != x; then
1633
if test "x$host_alias" != x; then
690
  if test "x$build_alias" = x; then
1634
  if test "x$build_alias" = x; then
691
    cross_compiling=maybe
1635
    cross_compiling=maybe
692
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1636
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693
    If a cross compiler is detected then cross compile mode will be used." >&2
1637
    If a cross compiler is detected then cross compile mode will be used." >&2
694
  elif test "x$build_alias" != "x$host_alias"; then
1638
  elif test "x$build_alias" != "x$host_alias"; then
695
    cross_compiling=yes
1639
    cross_compiling=yes
Lines 702-787 Link Here
702
test "$silent" = yes && exec 6>/dev/null
1646
test "$silent" = yes && exec 6>/dev/null
703
1647
704
1648
1649
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1650
ac_ls_di=`ls -di .` &&
1651
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1652
  as_fn_error "working directory cannot be determined"
1653
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1654
  as_fn_error "pwd does not report name of working directory"
1655
1656
705
# Find the source files, if location was not specified.
1657
# Find the source files, if location was not specified.
706
if test -z "$srcdir"; then
1658
if test -z "$srcdir"; then
707
  ac_srcdir_defaulted=yes
1659
  ac_srcdir_defaulted=yes
708
  # Try the directory containing this script, then its parent.
1660
  # Try the directory containing this script, then the parent directory.
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1661
  ac_confdir=`$as_dirname -- "$as_myself" ||
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1662
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
	 X"$0" : 'X\(//\)[^/]' \| \
1663
	 X"$as_myself" : 'X\(//\)[^/]' \| \
712
	 X"$0" : 'X\(//\)$' \| \
1664
	 X"$as_myself" : 'X\(//\)$' \| \
713
	 X"$0" : 'X\(/\)' \| \
1665
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
714
	 .     : '\(.\)' 2>/dev/null ||
1666
$as_echo X"$as_myself" |
715
echo X"$0" |
1667
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1668
	    s//\1/
717
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1669
	    q
718
  	  /^X\(\/\/\)$/{ s//\1/; q; }
1670
	  }
719
  	  /^X\(\/\).*/{ s//\1/; q; }
1671
	  /^X\(\/\/\)[^/].*/{
720
  	  s/.*/./; q'`
1672
	    s//\1/
1673
	    q
1674
	  }
1675
	  /^X\(\/\/\)$/{
1676
	    s//\1/
1677
	    q
1678
	  }
1679
	  /^X\(\/\).*/{
1680
	    s//\1/
1681
	    q
1682
	  }
1683
	  s/.*/./; q'`
721
  srcdir=$ac_confdir
1684
  srcdir=$ac_confdir
722
  if test ! -r $srcdir/$ac_unique_file; then
1685
  if test ! -r "$srcdir/$ac_unique_file"; then
723
    srcdir=..
1686
    srcdir=..
724
  fi
1687
  fi
725
else
1688
else
726
  ac_srcdir_defaulted=no
1689
  ac_srcdir_defaulted=no
727
fi
1690
fi
728
if test ! -r $srcdir/$ac_unique_file; then
1691
if test ! -r "$srcdir/$ac_unique_file"; then
729
  if test "$ac_srcdir_defaulted" = yes; then
1692
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
730
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1693
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
731
   { (exit 1); exit 1; }; }
1694
fi
732
  else
1695
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
733
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1696
ac_abs_confdir=`(
734
   { (exit 1); exit 1; }; }
1697
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
735
  fi
1698
	pwd)`
736
fi
1699
# When building in place, set srcdir=.
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1700
if test "$ac_abs_confdir" = "$ac_pwd"; then
738
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1701
  srcdir=.
739
   { (exit 1); exit 1; }; }
1702
fi
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1703
# Remove unnecessary trailing slashes from srcdir.
741
ac_env_build_alias_set=${build_alias+set}
1704
# Double slashes in file names in object file debugging info
742
ac_env_build_alias_value=$build_alias
1705
# mess up M-x gdb in Emacs.
743
ac_cv_env_build_alias_set=${build_alias+set}
1706
case $srcdir in
744
ac_cv_env_build_alias_value=$build_alias
1707
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
745
ac_env_host_alias_set=${host_alias+set}
1708
esac
746
ac_env_host_alias_value=$host_alias
1709
for ac_var in $ac_precious_vars; do
747
ac_cv_env_host_alias_set=${host_alias+set}
1710
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
748
ac_cv_env_host_alias_value=$host_alias
1711
  eval ac_env_${ac_var}_value=\$${ac_var}
749
ac_env_target_alias_set=${target_alias+set}
1712
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
750
ac_env_target_alias_value=$target_alias
1713
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
751
ac_cv_env_target_alias_set=${target_alias+set}
1714
done
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
754
ac_env_CC_value=$CC
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CPP_set=${CPP+set}
770
ac_env_CPP_value=$CPP
771
ac_cv_env_CPP_set=${CPP+set}
772
ac_cv_env_CPP_value=$CPP
773
ac_env_CXX_set=${CXX+set}
774
ac_env_CXX_value=$CXX
775
ac_cv_env_CXX_set=${CXX+set}
776
ac_cv_env_CXX_value=$CXX
777
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
778
ac_env_CXXFLAGS_value=$CXXFLAGS
779
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
780
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
781
ac_env_CXXCPP_set=${CXXCPP+set}
782
ac_env_CXXCPP_value=$CXXCPP
783
ac_cv_env_CXXCPP_set=${CXXCPP+set}
784
ac_cv_env_CXXCPP_value=$CXXCPP
785
1715
786
#
1716
#
787
# Report the --help message.
1717
# Report the --help message.
Lines 810-823 Link Here
810
  -n, --no-create         do not create output files
1740
  -n, --no-create         do not create output files
811
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1741
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
812
1742
813
_ACEOF
814
815
  cat <<_ACEOF
816
Installation directories:
1743
Installation directories:
817
  --prefix=PREFIX         install architecture-independent files in PREFIX
1744
  --prefix=PREFIX         install architecture-independent files in PREFIX
818
			  [$ac_default_prefix]
1745
                          [$ac_default_prefix]
819
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1746
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
820
			  [PREFIX]
1747
                          [PREFIX]
821
1748
822
By default, \`make install' will install all the files in
1749
By default, \`make install' will install all the files in
823
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1750
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
Lines 827-844 Link Here
827
For better control, use the options below.
1754
For better control, use the options below.
828
1755
829
Fine tuning of the installation directories:
1756
Fine tuning of the installation directories:
830
  --bindir=DIR           user executables [EPREFIX/bin]
1757
  --bindir=DIR            user executables [EPREFIX/bin]
831
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1758
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
832
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1759
  --libexecdir=DIR        program executables [EPREFIX/libexec]
833
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1760
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
834
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1761
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
835
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1762
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
836
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1763
  --libdir=DIR            object code libraries [EPREFIX/lib]
837
  --libdir=DIR           object code libraries [EPREFIX/lib]
1764
  --includedir=DIR        C header files [PREFIX/include]
838
  --includedir=DIR       C header files [PREFIX/include]
1765
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
839
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1766
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
840
  --infodir=DIR          info documentation [PREFIX/info]
1767
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
841
  --mandir=DIR           man documentation [PREFIX/man]
1768
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1769
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1770
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1771
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1772
  --htmldir=DIR           html documentation [DOCDIR]
1773
  --dvidir=DIR            dvi documentation [DOCDIR]
1774
  --pdfdir=DIR            pdf documentation [DOCDIR]
1775
  --psdir=DIR             ps documentation [DOCDIR]
842
_ACEOF
1776
_ACEOF
843
1777
844
  cat <<\_ACEOF
1778
  cat <<\_ACEOF
Lines 859-864 Link Here
859
  cat <<\_ACEOF
1793
  cat <<\_ACEOF
860
1794
861
Optional Features:
1795
Optional Features:
1796
  --disable-option-checking  ignore unrecognized --enable/--with options
862
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1797
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
863
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1798
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
864
  --enable-graphite       Enables the compilation of Graphite smart font rendering
1799
  --enable-graphite       Enables the compilation of Graphite smart font rendering
Lines 1447-1575 Link Here
1447
  CFLAGS      C compiler flags
2382
  CFLAGS      C compiler flags
1448
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2383
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1449
              nonstandard directory <lib dir>
2384
              nonstandard directory <lib dir>
1450
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
2385
  LIBS        libraries to pass to the linker, e.g. -l<library>
1451
              headers in a nonstandard directory <include dir>
2386
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2387
              you have headers in a nonstandard directory <include dir>
1452
  CPP         C preprocessor
2388
  CPP         C preprocessor
1453
  CXX         C++ compiler command
2389
  CXX         C++ compiler command
1454
  CXXFLAGS    C++ compiler flags
2390
  CXXFLAGS    C++ compiler flags
1455
  CXXCPP      C++ preprocessor
2391
  CXXCPP      C++ preprocessor
2392
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1456
2393
1457
Use these variables to override the choices made by `configure' or to help
2394
Use these variables to override the choices made by `configure' or to help
1458
it to find libraries and programs with nonstandard names/locations.
2395
it to find libraries and programs with nonstandard names/locations.
1459
2396
1460
_ACEOF
2397
Report bugs to the package provider.
2398
_ACEOF
2399
ac_status=$?
1461
fi
2400
fi
1462
2401
1463
if test "$ac_init_help" = "recursive"; then
2402
if test "$ac_init_help" = "recursive"; then
1464
  # If there are subdirs, report their specific --help.
2403
  # If there are subdirs, report their specific --help.
1465
  ac_popdir=`pwd`
1466
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2404
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467
    test -d $ac_dir || continue
2405
    test -d "$ac_dir" ||
2406
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2407
      continue
1468
    ac_builddir=.
2408
    ac_builddir=.
1469
2409
1470
if test "$ac_dir" != .; then
2410
case "$ac_dir" in
1471
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472
  # A "../" for each directory in $ac_dir_suffix.
2412
*)
1473
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2413
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474
else
2414
  # A ".." for each directory in $ac_dir_suffix.
1475
  ac_dir_suffix= ac_top_builddir=
2415
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476
fi
2416
  case $ac_top_builddir_sub in
2417
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2418
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2419
  esac ;;
2420
esac
2421
ac_abs_top_builddir=$ac_pwd
2422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2423
# for backward compatibility:
2424
ac_top_builddir=$ac_top_build_prefix
1477
2425
1478
case $srcdir in
2426
case $srcdir in
1479
  .)  # No --srcdir option.  We are building in place.
2427
  .)  # We are building in place.
1480
    ac_srcdir=.
2428
    ac_srcdir=.
1481
    if test -z "$ac_top_builddir"; then
2429
    ac_top_srcdir=$ac_top_builddir_sub
1482
       ac_top_srcdir=.
2430
    ac_abs_top_srcdir=$ac_pwd ;;
2431
  [\\/]* | ?:[\\/]* )  # Absolute name.
2432
    ac_srcdir=$srcdir$ac_dir_suffix;
2433
    ac_top_srcdir=$srcdir
2434
    ac_abs_top_srcdir=$srcdir ;;
2435
  *) # Relative name.
2436
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2437
    ac_top_srcdir=$ac_top_build_prefix$srcdir
2438
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2439
esac
2440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2441
2442
    cd "$ac_dir" || { ac_status=$?; continue; }
2443
    # Check for guested configure.
2444
    if test -f "$ac_srcdir/configure.gnu"; then
2445
      echo &&
2446
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2447
    elif test -f "$ac_srcdir/configure"; then
2448
      echo &&
2449
      $SHELL "$ac_srcdir/configure" --help=recursive
1483
    else
2450
    else
1484
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2451
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485
    fi ;;
2452
    fi || ac_status=$?
1486
  [\\/]* | ?:[\\/]* )  # Absolute path.
2453
    cd "$ac_pwd" || { ac_status=$?; break; }
1487
    ac_srcdir=$srcdir$ac_dir_suffix;
2454
  done
1488
    ac_top_srcdir=$srcdir ;;
2455
fi
1489
  *) # Relative path.
2456
1490
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2457
test -n "$ac_init_help" && exit $ac_status
1491
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1492
esac
1493
1494
# Do not use `cd foo && pwd` to compute absolute paths, because
1495
# the directories may not exist.
1496
case `pwd` in
1497
.) ac_abs_builddir="$ac_dir";;
1498
*)
1499
  case "$ac_dir" in
1500
  .) ac_abs_builddir=`pwd`;;
1501
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1502
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1503
  esac;;
1504
esac
1505
case $ac_abs_builddir in
1506
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1507
*)
1508
  case ${ac_top_builddir}. in
1509
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1510
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1511
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1512
  esac;;
1513
esac
1514
case $ac_abs_builddir in
1515
.) ac_abs_srcdir=$ac_srcdir;;
1516
*)
1517
  case $ac_srcdir in
1518
  .) ac_abs_srcdir=$ac_abs_builddir;;
1519
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1520
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1521
  esac;;
1522
esac
1523
case $ac_abs_builddir in
1524
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1525
*)
1526
  case $ac_top_srcdir in
1527
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1528
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1529
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1530
  esac;;
1531
esac
1532
1533
    cd $ac_dir
1534
    # Check for guested configure; otherwise get Cygnus style configure.
1535
    if test -f $ac_srcdir/configure.gnu; then
1536
      echo
1537
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1538
    elif test -f $ac_srcdir/configure; then
1539
      echo
1540
      $SHELL $ac_srcdir/configure  --help=recursive
1541
    elif test -f $ac_srcdir/configure.ac ||
1542
	   test -f $ac_srcdir/configure.in; then
1543
      echo
1544
      $ac_configure --help
1545
    else
1546
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547
    fi
1548
    cd $ac_popdir
1549
  done
1550
fi
1551
1552
test -n "$ac_init_help" && exit 0
1553
if $ac_init_version; then
2458
if $ac_init_version; then
1554
  cat <<\_ACEOF
2459
  cat <<\_ACEOF
1555
2460
configure
1556
Copyright (C) 2003 Free Software Foundation, Inc.
2461
generated by GNU Autoconf 2.65
2462
2463
Copyright (C) 2009 Free Software Foundation, Inc.
1557
This configure script is free software; the Free Software Foundation
2464
This configure script is free software; the Free Software Foundation
1558
gives unlimited permission to copy, distribute and modify it.
2465
gives unlimited permission to copy, distribute and modify it.
1559
_ACEOF
2466
_ACEOF
1560
  exit 0
2467
  exit
1561
fi
2468
fi
1562
exec 5>config.log
2469
1563
cat >&5 <<_ACEOF
2470
## ------------------------ ##
2471
## Autoconf initialization. ##
2472
## ------------------------ ##
2473
2474
# ac_fn_c_try_compile LINENO
2475
# --------------------------
2476
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2477
ac_fn_c_try_compile ()
2478
{
2479
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2480
  rm -f conftest.$ac_objext
2481
  if { { ac_try="$ac_compile"
2482
case "(($ac_try" in
2483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484
  *) ac_try_echo=$ac_try;;
2485
esac
2486
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487
$as_echo "$ac_try_echo"; } >&5
2488
  (eval "$ac_compile") 2>conftest.err
2489
  ac_status=$?
2490
  if test -s conftest.err; then
2491
    grep -v '^ *+' conftest.err >conftest.er1
2492
    cat conftest.er1 >&5
2493
    mv -f conftest.er1 conftest.err
2494
  fi
2495
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2496
  test $ac_status = 0; } && {
2497
	 test -z "$ac_c_werror_flag" ||
2498
	 test ! -s conftest.err
2499
       } && test -s conftest.$ac_objext; then :
2500
  ac_retval=0
2501
else
2502
  $as_echo "$as_me: failed program was:" >&5
2503
sed 's/^/| /' conftest.$ac_ext >&5
2504
2505
	ac_retval=1
2506
fi
2507
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2508
  as_fn_set_status $ac_retval
2509
2510
} # ac_fn_c_try_compile
2511
2512
# ac_fn_c_try_link LINENO
2513
# -----------------------
2514
# Try to link conftest.$ac_ext, and return whether this succeeded.
2515
ac_fn_c_try_link ()
2516
{
2517
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518
  rm -f conftest.$ac_objext conftest$ac_exeext
2519
  if { { ac_try="$ac_link"
2520
case "(($ac_try" in
2521
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522
  *) ac_try_echo=$ac_try;;
2523
esac
2524
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525
$as_echo "$ac_try_echo"; } >&5
2526
  (eval "$ac_link") 2>conftest.err
2527
  ac_status=$?
2528
  if test -s conftest.err; then
2529
    grep -v '^ *+' conftest.err >conftest.er1
2530
    cat conftest.er1 >&5
2531
    mv -f conftest.er1 conftest.err
2532
  fi
2533
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534
  test $ac_status = 0; } && {
2535
	 test -z "$ac_c_werror_flag" ||
2536
	 test ! -s conftest.err
2537
       } && test -s conftest$ac_exeext && {
2538
	 test "$cross_compiling" = yes ||
2539
	 $as_test_x conftest$ac_exeext
2540
       }; then :
2541
  ac_retval=0
2542
else
2543
  $as_echo "$as_me: failed program was:" >&5
2544
sed 's/^/| /' conftest.$ac_ext >&5
2545
2546
	ac_retval=1
2547
fi
2548
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2549
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2550
  # interfere with the next link command; also delete a directory that is
2551
  # left behind by Apple's compiler.  We do this before executing the actions.
2552
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2553
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554
  as_fn_set_status $ac_retval
2555
2556
} # ac_fn_c_try_link
2557
2558
# ac_fn_c_try_cpp LINENO
2559
# ----------------------
2560
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2561
ac_fn_c_try_cpp ()
2562
{
2563
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2565
case "(($ac_try" in
2566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
  *) ac_try_echo=$ac_try;;
2568
esac
2569
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570
$as_echo "$ac_try_echo"; } >&5
2571
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2572
  ac_status=$?
2573
  if test -s conftest.err; then
2574
    grep -v '^ *+' conftest.err >conftest.er1
2575
    cat conftest.er1 >&5
2576
    mv -f conftest.er1 conftest.err
2577
  fi
2578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2579
  test $ac_status = 0; } >/dev/null && {
2580
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2581
	 test ! -s conftest.err
2582
       }; then :
2583
  ac_retval=0
2584
else
2585
  $as_echo "$as_me: failed program was:" >&5
2586
sed 's/^/| /' conftest.$ac_ext >&5
2587
2588
    ac_retval=1
2589
fi
2590
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2591
  as_fn_set_status $ac_retval
2592
2593
} # ac_fn_c_try_cpp
2594
2595
# ac_fn_c_try_run LINENO
2596
# ----------------------
2597
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2598
# that executables *can* be run.
2599
ac_fn_c_try_run ()
2600
{
2601
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602
  if { { ac_try="$ac_link"
2603
case "(($ac_try" in
2604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605
  *) ac_try_echo=$ac_try;;
2606
esac
2607
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608
$as_echo "$ac_try_echo"; } >&5
2609
  (eval "$ac_link") 2>&5
2610
  ac_status=$?
2611
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2613
  { { case "(($ac_try" in
2614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615
  *) ac_try_echo=$ac_try;;
2616
esac
2617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618
$as_echo "$ac_try_echo"; } >&5
2619
  (eval "$ac_try") 2>&5
2620
  ac_status=$?
2621
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622
  test $ac_status = 0; }; }; then :
2623
  ac_retval=0
2624
else
2625
  $as_echo "$as_me: program exited with status $ac_status" >&5
2626
       $as_echo "$as_me: failed program was:" >&5
2627
sed 's/^/| /' conftest.$ac_ext >&5
2628
2629
       ac_retval=$ac_status
2630
fi
2631
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2632
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2633
  as_fn_set_status $ac_retval
2634
2635
} # ac_fn_c_try_run
2636
2637
# ac_fn_cxx_try_compile LINENO
2638
# ----------------------------
2639
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2640
ac_fn_cxx_try_compile ()
2641
{
2642
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2643
  rm -f conftest.$ac_objext
2644
  if { { ac_try="$ac_compile"
2645
case "(($ac_try" in
2646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647
  *) ac_try_echo=$ac_try;;
2648
esac
2649
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650
$as_echo "$ac_try_echo"; } >&5
2651
  (eval "$ac_compile") 2>conftest.err
2652
  ac_status=$?
2653
  if test -s conftest.err; then
2654
    grep -v '^ *+' conftest.err >conftest.er1
2655
    cat conftest.er1 >&5
2656
    mv -f conftest.er1 conftest.err
2657
  fi
2658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659
  test $ac_status = 0; } && {
2660
	 test -z "$ac_cxx_werror_flag" ||
2661
	 test ! -s conftest.err
2662
       } && test -s conftest.$ac_objext; then :
2663
  ac_retval=0
2664
else
2665
  $as_echo "$as_me: failed program was:" >&5
2666
sed 's/^/| /' conftest.$ac_ext >&5
2667
2668
	ac_retval=1
2669
fi
2670
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2671
  as_fn_set_status $ac_retval
2672
2673
} # ac_fn_cxx_try_compile
2674
2675
# ac_fn_cxx_try_cpp LINENO
2676
# ------------------------
2677
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2678
ac_fn_cxx_try_cpp ()
2679
{
2680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2681
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2682
case "(($ac_try" in
2683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684
  *) ac_try_echo=$ac_try;;
2685
esac
2686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687
$as_echo "$ac_try_echo"; } >&5
2688
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2689
  ac_status=$?
2690
  if test -s conftest.err; then
2691
    grep -v '^ *+' conftest.err >conftest.er1
2692
    cat conftest.er1 >&5
2693
    mv -f conftest.er1 conftest.err
2694
  fi
2695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696
  test $ac_status = 0; } >/dev/null && {
2697
	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2698
	 test ! -s conftest.err
2699
       }; then :
2700
  ac_retval=0
2701
else
2702
  $as_echo "$as_me: failed program was:" >&5
2703
sed 's/^/| /' conftest.$ac_ext >&5
2704
2705
    ac_retval=1
2706
fi
2707
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2708
  as_fn_set_status $ac_retval
2709
2710
} # ac_fn_cxx_try_cpp
2711
2712
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2713
# --------------------------------------------
2714
# Tries to find the compile-time value of EXPR in a program that includes
2715
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2716
# computed
2717
ac_fn_c_compute_int ()
2718
{
2719
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720
  if test "$cross_compiling" = yes; then
2721
    # Depending upon the size, compute the lo and hi bounds.
2722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723
/* end confdefs.h.  */
2724
$4
2725
int
2726
main ()
2727
{
2728
static int test_array [1 - 2 * !(($2) >= 0)];
2729
test_array [0] = 0
2730
2731
  ;
2732
  return 0;
2733
}
2734
_ACEOF
2735
if ac_fn_c_try_compile "$LINENO"; then :
2736
  ac_lo=0 ac_mid=0
2737
  while :; do
2738
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739
/* end confdefs.h.  */
2740
$4
2741
int
2742
main ()
2743
{
2744
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2745
test_array [0] = 0
2746
2747
  ;
2748
  return 0;
2749
}
2750
_ACEOF
2751
if ac_fn_c_try_compile "$LINENO"; then :
2752
  ac_hi=$ac_mid; break
2753
else
2754
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2755
			if test $ac_lo -le $ac_mid; then
2756
			  ac_lo= ac_hi=
2757
			  break
2758
			fi
2759
			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2760
fi
2761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762
  done
2763
else
2764
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765
/* end confdefs.h.  */
2766
$4
2767
int
2768
main ()
2769
{
2770
static int test_array [1 - 2 * !(($2) < 0)];
2771
test_array [0] = 0
2772
2773
  ;
2774
  return 0;
2775
}
2776
_ACEOF
2777
if ac_fn_c_try_compile "$LINENO"; then :
2778
  ac_hi=-1 ac_mid=-1
2779
  while :; do
2780
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781
/* end confdefs.h.  */
2782
$4
2783
int
2784
main ()
2785
{
2786
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2787
test_array [0] = 0
2788
2789
  ;
2790
  return 0;
2791
}
2792
_ACEOF
2793
if ac_fn_c_try_compile "$LINENO"; then :
2794
  ac_lo=$ac_mid; break
2795
else
2796
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2797
			if test $ac_mid -le $ac_hi; then
2798
			  ac_lo= ac_hi=
2799
			  break
2800
			fi
2801
			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2802
fi
2803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804
  done
2805
else
2806
  ac_lo= ac_hi=
2807
fi
2808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809
fi
2810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811
# Binary search between lo and hi bounds.
2812
while test "x$ac_lo" != "x$ac_hi"; do
2813
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815
/* end confdefs.h.  */
2816
$4
2817
int
2818
main ()
2819
{
2820
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2821
test_array [0] = 0
2822
2823
  ;
2824
  return 0;
2825
}
2826
_ACEOF
2827
if ac_fn_c_try_compile "$LINENO"; then :
2828
  ac_hi=$ac_mid
2829
else
2830
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2831
fi
2832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833
done
2834
case $ac_lo in #((
2835
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2836
'') ac_retval=1 ;;
2837
esac
2838
  else
2839
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840
/* end confdefs.h.  */
2841
$4
2842
static long int longval () { return $2; }
2843
static unsigned long int ulongval () { return $2; }
2844
#include <stdio.h>
2845
#include <stdlib.h>
2846
int
2847
main ()
2848
{
2849
2850
  FILE *f = fopen ("conftest.val", "w");
2851
  if (! f)
2852
    return 1;
2853
  if (($2) < 0)
2854
    {
2855
      long int i = longval ();
2856
      if (i != ($2))
2857
	return 1;
2858
      fprintf (f, "%ld", i);
2859
    }
2860
  else
2861
    {
2862
      unsigned long int i = ulongval ();
2863
      if (i != ($2))
2864
	return 1;
2865
      fprintf (f, "%lu", i);
2866
    }
2867
  /* Do not output a trailing newline, as this causes \r\n confusion
2868
     on some platforms.  */
2869
  return ferror (f) || fclose (f) != 0;
2870
2871
  ;
2872
  return 0;
2873
}
2874
_ACEOF
2875
if ac_fn_c_try_run "$LINENO"; then :
2876
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2877
else
2878
  ac_retval=1
2879
fi
2880
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2881
  conftest.$ac_objext conftest.beam conftest.$ac_ext
2882
rm -f conftest.val
2883
2884
  fi
2885
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2886
  as_fn_set_status $ac_retval
2887
2888
} # ac_fn_c_compute_int
2889
2890
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2891
# -------------------------------------------------------
2892
# Tests whether HEADER exists and can be compiled using the include files in
2893
# INCLUDES, setting the cache variable VAR accordingly.
2894
ac_fn_c_check_header_compile ()
2895
{
2896
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2898
$as_echo_n "checking for $2... " >&6; }
2899
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2900
  $as_echo_n "(cached) " >&6
2901
else
2902
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903
/* end confdefs.h.  */
2904
$4
2905
#include <$2>
2906
_ACEOF
2907
if ac_fn_c_try_compile "$LINENO"; then :
2908
  eval "$3=yes"
2909
else
2910
  eval "$3=no"
2911
fi
2912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913
fi
2914
eval ac_res=\$$3
2915
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2916
$as_echo "$ac_res" >&6; }
2917
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2918
2919
} # ac_fn_c_check_header_compile
2920
2921
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2922
# -------------------------------------------------------
2923
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2924
# the include files in INCLUDES and setting the cache variable VAR
2925
# accordingly.
2926
ac_fn_c_check_header_mongrel ()
2927
{
2928
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2930
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2931
$as_echo_n "checking for $2... " >&6; }
2932
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2933
  $as_echo_n "(cached) " >&6
2934
fi
2935
eval ac_res=\$$3
2936
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937
$as_echo "$ac_res" >&6; }
2938
else
2939
  # Is the header compilable?
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2941
$as_echo_n "checking $2 usability... " >&6; }
2942
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943
/* end confdefs.h.  */
2944
$4
2945
#include <$2>
2946
_ACEOF
2947
if ac_fn_c_try_compile "$LINENO"; then :
2948
  ac_header_compiler=yes
2949
else
2950
  ac_header_compiler=no
2951
fi
2952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2954
$as_echo "$ac_header_compiler" >&6; }
2955
2956
# Is the header present?
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2958
$as_echo_n "checking $2 presence... " >&6; }
2959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960
/* end confdefs.h.  */
2961
#include <$2>
2962
_ACEOF
2963
if ac_fn_c_try_cpp "$LINENO"; then :
2964
  ac_header_preproc=yes
2965
else
2966
  ac_header_preproc=no
2967
fi
2968
rm -f conftest.err conftest.$ac_ext
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2970
$as_echo "$ac_header_preproc" >&6; }
2971
2972
# So?  What about this header?
2973
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2974
  yes:no: )
2975
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2976
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2977
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2978
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2979
    ;;
2980
  no:yes:* )
2981
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2982
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2983
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2984
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2985
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2986
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2987
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2988
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2989
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2990
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2991
    ;;
2992
esac
2993
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994
$as_echo_n "checking for $2... " >&6; }
2995
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2996
  $as_echo_n "(cached) " >&6
2997
else
2998
  eval "$3=\$ac_header_compiler"
2999
fi
3000
eval ac_res=\$$3
3001
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002
$as_echo "$ac_res" >&6; }
3003
fi
3004
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3005
3006
} # ac_fn_c_check_header_mongrel
3007
3008
# ac_fn_cxx_try_link LINENO
3009
# -------------------------
3010
# Try to link conftest.$ac_ext, and return whether this succeeded.
3011
ac_fn_cxx_try_link ()
3012
{
3013
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014
  rm -f conftest.$ac_objext conftest$ac_exeext
3015
  if { { ac_try="$ac_link"
3016
case "(($ac_try" in
3017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018
  *) ac_try_echo=$ac_try;;
3019
esac
3020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021
$as_echo "$ac_try_echo"; } >&5
3022
  (eval "$ac_link") 2>conftest.err
3023
  ac_status=$?
3024
  if test -s conftest.err; then
3025
    grep -v '^ *+' conftest.err >conftest.er1
3026
    cat conftest.er1 >&5
3027
    mv -f conftest.er1 conftest.err
3028
  fi
3029
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030
  test $ac_status = 0; } && {
3031
	 test -z "$ac_cxx_werror_flag" ||
3032
	 test ! -s conftest.err
3033
       } && test -s conftest$ac_exeext && {
3034
	 test "$cross_compiling" = yes ||
3035
	 $as_test_x conftest$ac_exeext
3036
       }; then :
3037
  ac_retval=0
3038
else
3039
  $as_echo "$as_me: failed program was:" >&5
3040
sed 's/^/| /' conftest.$ac_ext >&5
3041
3042
	ac_retval=1
3043
fi
3044
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3045
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3046
  # interfere with the next link command; also delete a directory that is
3047
  # left behind by Apple's compiler.  We do this before executing the actions.
3048
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3049
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3050
  as_fn_set_status $ac_retval
3051
3052
} # ac_fn_cxx_try_link
3053
3054
# ac_fn_c_check_func LINENO FUNC VAR
3055
# ----------------------------------
3056
# Tests whether FUNC exists, setting the cache variable VAR accordingly
3057
ac_fn_c_check_func ()
3058
{
3059
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3060
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3061
$as_echo_n "checking for $2... " >&6; }
3062
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3063
  $as_echo_n "(cached) " >&6
3064
else
3065
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066
/* end confdefs.h.  */
3067
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3068
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3069
#define $2 innocuous_$2
3070
3071
/* System header to define __stub macros and hopefully few prototypes,
3072
    which can conflict with char $2 (); below.
3073
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074
    <limits.h> exists even on freestanding compilers.  */
3075
3076
#ifdef __STDC__
3077
# include <limits.h>
3078
#else
3079
# include <assert.h>
3080
#endif
3081
3082
#undef $2
3083
3084
/* Override any GCC internal prototype to avoid an error.
3085
   Use char because int might match the return type of a GCC
3086
   builtin and then its argument prototype would still apply.  */
3087
#ifdef __cplusplus
3088
extern "C"
3089
#endif
3090
char $2 ();
3091
/* The GNU C library defines this for functions which it implements
3092
    to always fail with ENOSYS.  Some functions are actually named
3093
    something starting with __ and the normal name is an alias.  */
3094
#if defined __stub_$2 || defined __stub___$2
3095
choke me
3096
#endif
3097
3098
int
3099
main ()
3100
{
3101
return $2 ();
3102
  ;
3103
  return 0;
3104
}
3105
_ACEOF
3106
if ac_fn_c_try_link "$LINENO"; then :
3107
  eval "$3=yes"
3108
else
3109
  eval "$3=no"
3110
fi
3111
rm -f core conftest.err conftest.$ac_objext \
3112
    conftest$ac_exeext conftest.$ac_ext
3113
fi
3114
eval ac_res=\$$3
3115
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116
$as_echo "$ac_res" >&6; }
3117
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3118
3119
} # ac_fn_c_check_func
3120
3121
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3122
# ---------------------------------------------------------
3123
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
3124
# the include files in INCLUDES and setting the cache variable VAR
3125
# accordingly.
3126
ac_fn_cxx_check_header_mongrel ()
3127
{
3128
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3129
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3130
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3131
$as_echo_n "checking for $2... " >&6; }
3132
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3133
  $as_echo_n "(cached) " >&6
3134
fi
3135
eval ac_res=\$$3
3136
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137
$as_echo "$ac_res" >&6; }
3138
else
3139
  # Is the header compilable?
3140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3141
$as_echo_n "checking $2 usability... " >&6; }
3142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143
/* end confdefs.h.  */
3144
$4
3145
#include <$2>
3146
_ACEOF
3147
if ac_fn_cxx_try_compile "$LINENO"; then :
3148
  ac_header_compiler=yes
3149
else
3150
  ac_header_compiler=no
3151
fi
3152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3154
$as_echo "$ac_header_compiler" >&6; }
3155
3156
# Is the header present?
3157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3158
$as_echo_n "checking $2 presence... " >&6; }
3159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160
/* end confdefs.h.  */
3161
#include <$2>
3162
_ACEOF
3163
if ac_fn_cxx_try_cpp "$LINENO"; then :
3164
  ac_header_preproc=yes
3165
else
3166
  ac_header_preproc=no
3167
fi
3168
rm -f conftest.err conftest.$ac_ext
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3170
$as_echo "$ac_header_preproc" >&6; }
3171
3172
# So?  What about this header?
3173
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3174
  yes:no: )
3175
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3176
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3177
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3178
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3179
    ;;
3180
  no:yes:* )
3181
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3182
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3183
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3184
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3185
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3186
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3187
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3188
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3189
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3190
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3191
    ;;
3192
esac
3193
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194
$as_echo_n "checking for $2... " >&6; }
3195
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3196
  $as_echo_n "(cached) " >&6
3197
else
3198
  eval "$3=\$ac_header_compiler"
3199
fi
3200
eval ac_res=\$$3
3201
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202
$as_echo "$ac_res" >&6; }
3203
fi
3204
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3205
3206
} # ac_fn_cxx_check_header_mongrel
3207
3208
# ac_fn_cxx_try_run LINENO
3209
# ------------------------
3210
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3211
# that executables *can* be run.
3212
ac_fn_cxx_try_run ()
3213
{
3214
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3215
  if { { ac_try="$ac_link"
3216
case "(($ac_try" in
3217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218
  *) ac_try_echo=$ac_try;;
3219
esac
3220
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221
$as_echo "$ac_try_echo"; } >&5
3222
  (eval "$ac_link") 2>&5
3223
  ac_status=$?
3224
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3226
  { { case "(($ac_try" in
3227
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
  *) ac_try_echo=$ac_try;;
3229
esac
3230
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231
$as_echo "$ac_try_echo"; } >&5
3232
  (eval "$ac_try") 2>&5
3233
  ac_status=$?
3234
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235
  test $ac_status = 0; }; }; then :
3236
  ac_retval=0
3237
else
3238
  $as_echo "$as_me: program exited with status $ac_status" >&5
3239
       $as_echo "$as_me: failed program was:" >&5
3240
sed 's/^/| /' conftest.$ac_ext >&5
3241
3242
       ac_retval=$ac_status
3243
fi
3244
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3245
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3246
  as_fn_set_status $ac_retval
3247
3248
} # ac_fn_cxx_try_run
3249
3250
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3251
# ----------------------------------------------------
3252
# Tries to find if the field MEMBER exists in type AGGR, after including
3253
# INCLUDES, setting cache variable VAR accordingly.
3254
ac_fn_c_check_member ()
3255
{
3256
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3258
$as_echo_n "checking for $2.$3... " >&6; }
3259
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
3260
  $as_echo_n "(cached) " >&6
3261
else
3262
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263
/* end confdefs.h.  */
3264
$5
3265
int
3266
main ()
3267
{
3268
static $2 ac_aggr;
3269
if (ac_aggr.$3)
3270
return 0;
3271
  ;
3272
  return 0;
3273
}
3274
_ACEOF
3275
if ac_fn_c_try_compile "$LINENO"; then :
3276
  eval "$4=yes"
3277
else
3278
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279
/* end confdefs.h.  */
3280
$5
3281
int
3282
main ()
3283
{
3284
static $2 ac_aggr;
3285
if (sizeof ac_aggr.$3)
3286
return 0;
3287
  ;
3288
  return 0;
3289
}
3290
_ACEOF
3291
if ac_fn_c_try_compile "$LINENO"; then :
3292
  eval "$4=yes"
3293
else
3294
  eval "$4=no"
3295
fi
3296
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
fi
3298
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299
fi
3300
eval ac_res=\$$4
3301
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3302
$as_echo "$ac_res" >&6; }
3303
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3304
3305
} # ac_fn_c_check_member
3306
cat >config.log <<_ACEOF
1564
This file contains any messages produced by compilers while
3307
This file contains any messages produced by compilers while
1565
running configure, to aid debugging if configure makes a mistake.
3308
running configure, to aid debugging if configure makes a mistake.
1566
3309
1567
It was created by $as_me, which was
3310
It was created by $as_me, which was
1568
generated by GNU Autoconf 2.59.  Invocation command line was
3311
generated by GNU Autoconf 2.65.  Invocation command line was
1569
3312
1570
  $ $0 $@
3313
  $ $0 $@
1571
3314
1572
_ACEOF
3315
_ACEOF
3316
exec 5>>config.log
1573
{
3317
{
1574
cat <<_ASUNAME
3318
cat <<_ASUNAME
1575
## --------- ##
3319
## --------- ##
Lines 1588-1594 Link Here
1588
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3332
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1589
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3333
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1590
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3334
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1591
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
3335
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1592
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3336
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1593
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3337
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1594
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3338
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
Lines 1600-1607 Link Here
1600
do
3344
do
1601
  IFS=$as_save_IFS
3345
  IFS=$as_save_IFS
1602
  test -z "$as_dir" && as_dir=.
3346
  test -z "$as_dir" && as_dir=.
1603
  echo "PATH: $as_dir"
3347
    $as_echo "PATH: $as_dir"
1604
done
3348
  done
3349
IFS=$as_save_IFS
1605
3350
1606
} >&5
3351
} >&5
1607
3352
Lines 1623-1629 Link Here
1623
ac_configure_args=
3368
ac_configure_args=
1624
ac_configure_args0=
3369
ac_configure_args0=
1625
ac_configure_args1=
3370
ac_configure_args1=
1626
ac_sep=
1627
ac_must_keep_next=false
3371
ac_must_keep_next=false
1628
for ac_pass in 1 2
3372
for ac_pass in 1 2
1629
do
3373
do
Lines 1634-1646 Link Here
1634
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3378
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1635
    | -silent | --silent | --silen | --sile | --sil)
3379
    | -silent | --silent | --silen | --sile | --sil)
1636
      continue ;;
3380
      continue ;;
1637
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3381
    *\'*)
1638
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3382
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1639
    esac
3383
    esac
1640
    case $ac_pass in
3384
    case $ac_pass in
1641
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
3385
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1642
    2)
3386
    2)
1643
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
3387
      as_fn_append ac_configure_args1 " '$ac_arg'"
1644
      if test $ac_must_keep_next = true; then
3388
      if test $ac_must_keep_next = true; then
1645
	ac_must_keep_next=false # Got value, back to normal.
3389
	ac_must_keep_next=false # Got value, back to normal.
1646
      else
3390
      else
Lines 1656-1676 Link Here
1656
	  -* ) ac_must_keep_next=true ;;
3400
	  -* ) ac_must_keep_next=true ;;
1657
	esac
3401
	esac
1658
      fi
3402
      fi
1659
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
3403
      as_fn_append ac_configure_args " '$ac_arg'"
1660
      # Get rid of the leading space.
1661
      ac_sep=" "
1662
      ;;
3404
      ;;
1663
    esac
3405
    esac
1664
  done
3406
  done
1665
done
3407
done
1666
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
3408
{ ac_configure_args0=; unset ac_configure_args0;}
1667
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
3409
{ ac_configure_args1=; unset ac_configure_args1;}
1668
3410
1669
# When interrupted or exit'd, cleanup temporary files, and complete
3411
# When interrupted or exit'd, cleanup temporary files, and complete
1670
# config.log.  We remove comments because anyway the quotes in there
3412
# config.log.  We remove comments because anyway the quotes in there
1671
# would cause problems or look ugly.
3413
# would cause problems or look ugly.
1672
# WARNING: Be sure not to use single quotes in there, as some shells,
3414
# WARNING: Use '\'' to represent an apostrophe within the trap.
1673
# such as our DU 5.0 friend, will then `close' the trap.
3415
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1674
trap 'exit_status=$?
3416
trap 'exit_status=$?
1675
  # Save into config.log some information that might help in debugging.
3417
  # Save into config.log some information that might help in debugging.
1676
  {
3418
  {
Lines 1683-1702 Link Here
1683
_ASBOX
3425
_ASBOX
1684
    echo
3426
    echo
1685
    # The following way of writing the cache mishandles newlines in values,
3427
    # The following way of writing the cache mishandles newlines in values,
1686
{
3428
(
3429
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3430
    eval ac_val=\$$ac_var
3431
    case $ac_val in #(
3432
    *${as_nl}*)
3433
      case $ac_var in #(
3434
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3435
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3436
      esac
3437
      case $ac_var in #(
3438
      _ | IFS | as_nl) ;; #(
3439
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3440
      *) { eval $ac_var=; unset $ac_var;} ;;
3441
      esac ;;
3442
    esac
3443
  done
1687
  (set) 2>&1 |
3444
  (set) 2>&1 |
1688
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
3445
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1689
    *ac_space=\ *)
3446
    *${as_nl}ac_space=\ *)
1690
      sed -n \
3447
      sed -n \
1691
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
3448
	"s/'\''/'\''\\\\'\'''\''/g;
1692
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
3449
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3450
      ;; #(
3451
    *)
3452
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1693
      ;;
3453
      ;;
1694
    *)
3454
    esac |
1695
      sed -n \
3455
    sort
1696
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3456
)
1697
      ;;
1698
    esac;
1699
}
1700
    echo
3457
    echo
1701
3458
1702
    cat <<\_ASBOX
3459
    cat <<\_ASBOX
Lines 1707-1728 Link Here
1707
    echo
3464
    echo
1708
    for ac_var in $ac_subst_vars
3465
    for ac_var in $ac_subst_vars
1709
    do
3466
    do
1710
      eval ac_val=$`echo $ac_var`
3467
      eval ac_val=\$$ac_var
1711
      echo "$ac_var='"'"'$ac_val'"'"'"
3468
      case $ac_val in
3469
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3470
      esac
3471
      $as_echo "$ac_var='\''$ac_val'\''"
1712
    done | sort
3472
    done | sort
1713
    echo
3473
    echo
1714
3474
1715
    if test -n "$ac_subst_files"; then
3475
    if test -n "$ac_subst_files"; then
1716
      cat <<\_ASBOX
3476
      cat <<\_ASBOX
1717
## ------------- ##
3477
## ------------------- ##
1718
## Output files. ##
3478
## File substitutions. ##
1719
## ------------- ##
3479
## ------------------- ##
1720
_ASBOX
3480
_ASBOX
1721
      echo
3481
      echo
1722
      for ac_var in $ac_subst_files
3482
      for ac_var in $ac_subst_files
1723
      do
3483
      do
1724
	eval ac_val=$`echo $ac_var`
3484
	eval ac_val=\$$ac_var
1725
	echo "$ac_var='"'"'$ac_val'"'"'"
3485
	case $ac_val in
3486
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3487
	esac
3488
	$as_echo "$ac_var='\''$ac_val'\''"
1726
      done | sort
3489
      done | sort
1727
      echo
3490
      echo
1728
    fi
3491
    fi
Lines 1734-1759 Link Here
1734
## ----------- ##
3497
## ----------- ##
1735
_ASBOX
3498
_ASBOX
1736
      echo
3499
      echo
1737
      sed "/^$/d" confdefs.h | sort
3500
      cat confdefs.h
1738
      echo
3501
      echo
1739
    fi
3502
    fi
1740
    test "$ac_signal" != 0 &&
3503
    test "$ac_signal" != 0 &&
1741
      echo "$as_me: caught signal $ac_signal"
3504
      $as_echo "$as_me: caught signal $ac_signal"
1742
    echo "$as_me: exit $exit_status"
3505
    $as_echo "$as_me: exit $exit_status"
1743
  } >&5
3506
  } >&5
1744
  rm -f core *.core &&
3507
  rm -f core *.core core.conftest.* &&
1745
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
3508
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1746
    exit $exit_status
3509
    exit $exit_status
1747
     ' 0
3510
' 0
1748
for ac_signal in 1 2 13 15; do
3511
for ac_signal in 1 2 13 15; do
1749
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
3512
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1750
done
3513
done
1751
ac_signal=0
3514
ac_signal=0
1752
3515
1753
# confdefs.h avoids OS command line length limits that DEFS can exceed.
3516
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1754
rm -rf conftest* confdefs.h
3517
rm -f -r conftest* confdefs.h
1755
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
3518
1756
echo >confdefs.h
3519
$as_echo "/* confdefs.h */" > confdefs.h
1757
3520
1758
# Predefined preprocessor variables.
3521
# Predefined preprocessor variables.
1759
3522
Lines 1761-1872 Link Here
1761
#define PACKAGE_NAME "$PACKAGE_NAME"
3524
#define PACKAGE_NAME "$PACKAGE_NAME"
1762
_ACEOF
3525
_ACEOF
1763
3526
1764
1765
cat >>confdefs.h <<_ACEOF
3527
cat >>confdefs.h <<_ACEOF
1766
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3528
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1767
_ACEOF
3529
_ACEOF
1768
3530
1769
1770
cat >>confdefs.h <<_ACEOF
3531
cat >>confdefs.h <<_ACEOF
1771
#define PACKAGE_VERSION "$PACKAGE_VERSION"
3532
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1772
_ACEOF
3533
_ACEOF
1773
3534
1774
1775
cat >>confdefs.h <<_ACEOF
3535
cat >>confdefs.h <<_ACEOF
1776
#define PACKAGE_STRING "$PACKAGE_STRING"
3536
#define PACKAGE_STRING "$PACKAGE_STRING"
1777
_ACEOF
3537
_ACEOF
1778
3538
1779
1780
cat >>confdefs.h <<_ACEOF
3539
cat >>confdefs.h <<_ACEOF
1781
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3540
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1782
_ACEOF
3541
_ACEOF
1783
3542
3543
cat >>confdefs.h <<_ACEOF
3544
#define PACKAGE_URL "$PACKAGE_URL"
3545
_ACEOF
3546
1784
3547
1785
# Let the site file select an alternate cache file if it wants to.
3548
# Let the site file select an alternate cache file if it wants to.
1786
# Prefer explicitly selected file to automatically selected ones.
3549
# Prefer an explicitly selected file to automatically selected ones.
1787
if test -z "$CONFIG_SITE"; then
3550
ac_site_file1=NONE
1788
  if test "x$prefix" != xNONE; then
3551
ac_site_file2=NONE
1789
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
3552
if test -n "$CONFIG_SITE"; then
1790
  else
3553
  ac_site_file1=$CONFIG_SITE
1791
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3554
elif test "x$prefix" != xNONE; then
1792
  fi
3555
  ac_site_file1=$prefix/share/config.site
1793
fi
3556
  ac_site_file2=$prefix/etc/config.site
1794
for ac_site_file in $CONFIG_SITE; do
3557
else
1795
  if test -r "$ac_site_file"; then
3558
  ac_site_file1=$ac_default_prefix/share/config.site
1796
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
3559
  ac_site_file2=$ac_default_prefix/etc/config.site
1797
echo "$as_me: loading site script $ac_site_file" >&6;}
3560
fi
3561
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3562
do
3563
  test "x$ac_site_file" = xNONE && continue
3564
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3565
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3566
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1798
    sed 's/^/| /' "$ac_site_file" >&5
3567
    sed 's/^/| /' "$ac_site_file" >&5
1799
    . "$ac_site_file"
3568
    . "$ac_site_file"
1800
  fi
3569
  fi
1801
done
3570
done
1802
3571
1803
if test -r "$cache_file"; then
3572
if test -r "$cache_file"; then
1804
  # Some versions of bash will fail to source /dev/null (special
3573
  # Some versions of bash will fail to source /dev/null (special files
1805
  # files actually), so we avoid doing that.
3574
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1806
  if test -f "$cache_file"; then
3575
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1807
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3576
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1808
echo "$as_me: loading cache $cache_file" >&6;}
3577
$as_echo "$as_me: loading cache $cache_file" >&6;}
1809
    case $cache_file in
3578
    case $cache_file in
1810
      [\\/]* | ?:[\\/]* ) . $cache_file;;
3579
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1811
      *)                      . ./$cache_file;;
3580
      *)                      . "./$cache_file";;
1812
    esac
3581
    esac
1813
  fi
3582
  fi
1814
else
3583
else
1815
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3584
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1816
echo "$as_me: creating cache $cache_file" >&6;}
3585
$as_echo "$as_me: creating cache $cache_file" >&6;}
1817
  >$cache_file
3586
  >$cache_file
1818
fi
3587
fi
1819
3588
1820
# Check that the precious variables saved in the cache have kept the same
3589
# Check that the precious variables saved in the cache have kept the same
1821
# value.
3590
# value.
1822
ac_cache_corrupted=false
3591
ac_cache_corrupted=false
1823
for ac_var in `(set) 2>&1 |
3592
for ac_var in $ac_precious_vars; do
1824
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1825
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3593
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1826
  eval ac_new_set=\$ac_env_${ac_var}_set
3594
  eval ac_new_set=\$ac_env_${ac_var}_set
1827
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
3595
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1828
  eval ac_new_val="\$ac_env_${ac_var}_value"
3596
  eval ac_new_val=\$ac_env_${ac_var}_value
1829
  case $ac_old_set,$ac_new_set in
3597
  case $ac_old_set,$ac_new_set in
1830
    set,)
3598
    set,)
1831
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3599
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1832
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3600
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1833
      ac_cache_corrupted=: ;;
3601
      ac_cache_corrupted=: ;;
1834
    ,set)
3602
    ,set)
1835
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
3603
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1836
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3604
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1837
      ac_cache_corrupted=: ;;
3605
      ac_cache_corrupted=: ;;
1838
    ,);;
3606
    ,);;
1839
    *)
3607
    *)
1840
      if test "x$ac_old_val" != "x$ac_new_val"; then
3608
      if test "x$ac_old_val" != "x$ac_new_val"; then
1841
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
3609
	# differences in whitespace do not lead to failure.
1842
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3610
	ac_old_val_w=`echo x $ac_old_val`
1843
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
3611
	ac_new_val_w=`echo x $ac_new_val`
1844
echo "$as_me:   former value:  $ac_old_val" >&2;}
3612
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1845
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
3613
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1846
echo "$as_me:   current value: $ac_new_val" >&2;}
3614
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1847
	ac_cache_corrupted=:
3615
	  ac_cache_corrupted=:
3616
	else
3617
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3618
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3619
	  eval $ac_var=\$ac_old_val
3620
	fi
3621
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3622
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3623
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3624
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1848
      fi;;
3625
      fi;;
1849
  esac
3626
  esac
1850
  # Pass precious variables to config.status.
3627
  # Pass precious variables to config.status.
1851
  if test "$ac_new_set" = set; then
3628
  if test "$ac_new_set" = set; then
1852
    case $ac_new_val in
3629
    case $ac_new_val in
1853
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3630
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1854
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1855
    *) ac_arg=$ac_var=$ac_new_val ;;
3631
    *) ac_arg=$ac_var=$ac_new_val ;;
1856
    esac
3632
    esac
1857
    case " $ac_configure_args " in
3633
    case " $ac_configure_args " in
1858
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3634
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1859
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
3635
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1860
    esac
3636
    esac
1861
  fi
3637
  fi
1862
done
3638
done
1863
if $ac_cache_corrupted; then
3639
if $ac_cache_corrupted; then
1864
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
3640
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1865
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1866
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
3642
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1867
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
3643
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1868
   { (exit 1); exit 1; }; }
3644
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1869
fi
3645
fi
3646
## -------------------- ##
3647
## Main body of script. ##
3648
## -------------------- ##
1870
3649
1871
ac_ext=c
3650
ac_ext=c
1872
ac_cpp='$CPP $CPPFLAGS'
3651
ac_cpp='$CPP $CPPFLAGS'
Lines 1875-2938 Link Here
1875
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3654
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1876
3655
1877
3656
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
echo "$@" >config.parms
3657
echo "$@" >config.parms
1896
3658
1897
# Check whether --with-gnu-patch or --without-gnu-patch was given.
3659
# Check whether --with-gnu-patch was given.
1898
if test "${with_gnu_patch+set}" = set; then
3660
if test "${with_gnu_patch+set}" = set; then :
1899
  withval="$with_gnu_patch"
3661
  withval=$with_gnu_patch;
1900
3662
fi
1901
fi;
3663
1902
3664
1903
# Check whether --with-agg or --without-agg was given.
3665
# Check whether --with-agg was given.
1904
if test "${with_agg+set}" = set; then
3666
if test "${with_agg+set}" = set; then :
1905
  withval="$with_agg"
3667
  withval=$with_agg;
1906
1907
else
3668
else
1908
  with_agg=yes
3669
  with_agg=yes
1909
fi;
3670
fi
1910
3671
1911
# Check whether --with-gnu-cp or --without-gnu-cp was given.
3672
1912
if test "${with_gnu_cp+set}" = set; then
3673
# Check whether --with-gnu-cp was given.
1913
  withval="$with_gnu_cp"
3674
if test "${with_gnu_cp+set}" = set; then :
1914
3675
  withval=$with_gnu_cp;
1915
fi;
3676
fi
1916
# Check whether --enable-graphite or --disable-graphite was given.
3677
1917
if test "${enable_graphite+set}" = set; then
3678
# Check whether --enable-graphite was given.
1918
  enableval="$enable_graphite"
3679
if test "${enable_graphite+set}" = set; then :
1919
3680
  enableval=$enable_graphite;
1920
fi;
3681
fi
1921
3682
1922
# Check whether --with-system-graphite or --without-system-graphite was given.
3683
1923
if test "${with_system_graphite+set}" = set; then
3684
# Check whether --with-system-graphite was given.
1924
  withval="$with_system_graphite"
3685
if test "${with_system_graphite+set}" = set; then :
1925
3686
  withval=$with_system_graphite;
1926
fi;
3687
fi
1927
# Check whether --enable-ldap or --disable-ldap was given.
3688
1928
if test "${enable_ldap+set}" = set; then
3689
# Check whether --enable-ldap was given.
1929
  enableval="$enable_ldap"
3690
if test "${enable_ldap+set}" = set; then :
1930
3691
  enableval=$enable_ldap;
1931
fi;
3692
fi
1932
3693
1933
# Check whether --with-openldap or --without-openldap was given.
3694
1934
if test "${with_openldap+set}" = set; then
3695
# Check whether --with-openldap was given.
1935
  withval="$with_openldap"
3696
if test "${with_openldap+set}" = set; then :
1936
3697
  withval=$with_openldap;
1937
fi;
3698
fi
1938
# Check whether --enable-lockdown or --disable-lockdown was given.
3699
1939
if test "${enable_lockdown+set}" = set; then
3700
# Check whether --enable-lockdown was given.
1940
  enableval="$enable_lockdown"
3701
if test "${enable_lockdown+set}" = set; then :
1941
3702
  enableval=$enable_lockdown;
1942
fi;
3703
fi
1943
# Check whether --enable-vba or --disable-vba was given.
3704
1944
if test "${enable_vba+set}" = set; then
3705
# Check whether --enable-vba was given.
1945
  enableval="$enable_vba"
3706
if test "${enable_vba+set}" = set; then :
1946
3707
  enableval=$enable_vba;
1947
fi;
3708
fi
1948
3709
1949
# Check whether --with-vba-package-format or --without-vba-package-format was given.
3710
1950
if test "${with_vba_package_format+set}" = set; then
3711
# Check whether --with-vba-package-format was given.
1951
  withval="$with_vba_package_format"
3712
if test "${with_vba_package_format+set}" = set; then :
1952
3713
  withval=$with_vba_package_format;
1953
fi;
3714
fi
1954
# Check whether --enable-pch or --disable-pch was given.
3715
1955
if test "${enable_pch+set}" = set; then
3716
# Check whether --enable-pch was given.
1956
  enableval="$enable_pch"
3717
if test "${enable_pch+set}" = set; then :
1957
3718
  enableval=$enable_pch;
1958
fi;
3719
fi
1959
# Check whether --enable-hids or --disable-hids was given.
3720
1960
if test "${enable_hids+set}" = set; then
3721
# Check whether --enable-hids was given.
1961
  enableval="$enable_hids"
3722
if test "${enable_hids+set}" = set; then :
1962
3723
  enableval=$enable_hids;
1963
fi;
3724
fi
1964
# Check whether --enable-mozilla or --disable-mozilla was given.
3725
1965
if test "${enable_mozilla+set}" = set; then
3726
# Check whether --enable-mozilla was given.
1966
  enableval="$enable_mozilla"
3727
if test "${enable_mozilla+set}" = set; then :
1967
3728
  enableval=$enable_mozilla;
1968
else
3729
else
1969
  enable_mozilla="yes"
3730
  enable_mozilla="yes"
1970
fi;
3731
fi
1971
3732
1972
# Check whether --with-fonts or --without-fonts was given.
3733
1973
if test "${with_fonts+set}" = set; then
3734
# Check whether --with-fonts was given.
1974
  withval="$with_fonts"
3735
if test "${with_fonts+set}" = set; then :
1975
3736
  withval=$with_fonts;
1976
fi;
3737
fi
1977
3738
1978
# Check whether --with-ppds or --without-ppds was given.
3739
1979
if test "${with_ppds+set}" = set; then
3740
# Check whether --with-ppds was given.
1980
  withval="$with_ppds"
3741
if test "${with_ppds+set}" = set; then :
1981
3742
  withval=$with_ppds;
1982
fi;
3743
fi
1983
3744
1984
# Check whether --with-afms or --without-afms was given.
3745
1985
if test "${with_afms+set}" = set; then
3746
# Check whether --with-afms was given.
1986
  withval="$with_afms"
3747
if test "${with_afms+set}" = set; then :
1987
3748
  withval=$with_afms;
1988
fi;
3749
fi
1989
# Check whether --enable-epm or --disable-epm was given.
3750
1990
if test "${enable_epm+set}" = set; then
3751
# Check whether --enable-epm was given.
1991
  enableval="$enable_epm"
3752
if test "${enable_epm+set}" = set; then :
1992
3753
  enableval=$enable_epm;
1993
else
3754
else
1994
  enable_epm="yes"
3755
  enable_epm="yes"
1995
fi;
3756
fi
1996
3757
1997
# Check whether --with-epm or --without-epm was given.
3758
1998
if test "${with_epm+set}" = set; then
3759
# Check whether --with-epm was given.
1999
  withval="$with_epm"
3760
if test "${with_epm+set}" = set; then :
2000
3761
  withval=$with_epm;
2001
fi;
3762
fi
2002
3763
2003
# Check whether --with-package-format or --without-package-format was given.
3764
2004
if test "${with_package_format+set}" = set; then
3765
# Check whether --with-package-format was given.
2005
  withval="$with_package_format"
3766
if test "${with_package_format+set}" = set; then :
2006
3767
  withval=$with_package_format;
2007
fi;
3768
fi
2008
# Check whether --enable-odk or --disable-odk was given.
3769
2009
if test "${enable_odk+set}" = set; then
3770
# Check whether --enable-odk was given.
2010
  enableval="$enable_odk"
3771
if test "${enable_odk+set}" = set; then :
2011
3772
  enableval=$enable_odk;
2012
else
3773
else
2013
  enable_odk="yes"
3774
  enable_odk="yes"
2014
fi;
3775
fi
2015
# Check whether --enable-qadevooo or --disable-qadevooo was given.
3776
2016
if test "${enable_qadevooo+set}" = set; then
3777
# Check whether --enable-qadevooo was given.
2017
  enableval="$enable_qadevooo"
3778
if test "${enable_qadevooo+set}" = set; then :
2018
3779
  enableval=$enable_qadevooo;
2019
else
3780
else
2020
  enable_qadevooo="yes"
3781
  enable_qadevooo="yes"
2021
fi;
3782
fi
2022
# Check whether --enable-mathmldtd or --disable-mathmldtd was given.
3783
2023
if test "${enable_mathmldtd+set}" = set; then
3784
# Check whether --enable-mathmldtd was given.
2024
  enableval="$enable_mathmldtd"
3785
if test "${enable_mathmldtd+set}" = set; then :
2025
3786
  enableval=$enable_mathmldtd;
2026
else
3787
else
2027
  enable_mathmldtd="yes"
3788
  enable_mathmldtd="yes"
2028
fi;
3789
fi
2029
# Check whether --enable-evolution2 or --disable-evolution2 was given.
3790
2030
if test "${enable_evolution2+set}" = set; then
3791
# Check whether --enable-evolution2 was given.
2031
  enableval="$enable_evolution2"
3792
if test "${enable_evolution2+set}" = set; then :
2032
3793
  enableval=$enable_evolution2;
2033
fi;
3794
fi
2034
3795
2035
# Check whether --with-system-stdlibs or --without-system-stdlibs was given.
3796
2036
if test "${with_system_stdlibs+set}" = set; then
3797
# Check whether --with-system-stdlibs was given.
2037
  withval="$with_system_stdlibs"
3798
if test "${with_system_stdlibs+set}" = set; then :
2038
3799
  withval=$with_system_stdlibs;
2039
else
3800
else
2040
  checkforstdlibproblems=yes
3801
  checkforstdlibproblems=yes
2041
fi;
3802
fi
2042
# Check whether --enable-cups or --disable-cups was given.
3803
2043
if test "${enable_cups+set}" = set; then
3804
# Check whether --enable-cups was given.
2044
  enableval="$enable_cups"
3805
if test "${enable_cups+set}" = set; then :
2045
3806
  enableval=$enable_cups;
2046
else
3807
else
2047
  enable_cups=yes
3808
  enable_cups=yes
2048
fi;
3809
fi
2049
# Check whether --enable-fontconfig or --disable-fontconfig was given.
3810
2050
if test "${enable_fontconfig+set}" = set; then
3811
# Check whether --enable-fontconfig was given.
2051
  enableval="$enable_fontconfig"
3812
if test "${enable_fontconfig+set}" = set; then :
2052
3813
  enableval=$enable_fontconfig;
2053
else
3814
else
2054
  enable_fontconfig=yes
3815
  enable_fontconfig=yes
2055
fi;
3816
fi
2056
# Check whether --enable-directx or --disable-directx was given.
3817
2057
if test "${enable_directx+set}" = set; then
3818
# Check whether --enable-directx was given.
2058
  enableval="$enable_directx"
3819
if test "${enable_directx+set}" = set; then :
2059
3820
  enableval=$enable_directx;
2060
else
3821
else
2061
  enable_directx=yes
3822
  enable_directx=yes
2062
fi;
3823
fi
2063
# Check whether --enable-activex or --disable-activex was given.
3824
2064
if test "${enable_activex+set}" = set; then
3825
# Check whether --enable-activex was given.
2065
  enableval="$enable_activex"
3826
if test "${enable_activex+set}" = set; then :
2066
3827
  enableval=$enable_activex;
2067
fi;
3828
fi
2068
3829
2069
# Check whether --enable-atl or --disable-atl was given.
3830
2070
if test "${enable_atl+set}" = set; then
3831
# Check whether --enable-atl was given.
2071
  enableval="$enable_atl"
3832
if test "${enable_atl+set}" = set; then :
2072
3833
  enableval=$enable_atl;
2073
fi;
3834
fi
2074
3835
2075
# Check whether --enable-symbols or --disable-symbols was given.
3836
2076
if test "${enable_symbols+set}" = set; then
3837
# Check whether --enable-symbols was given.
2077
  enableval="$enable_symbols"
3838
if test "${enable_symbols+set}" = set; then :
2078
3839
  enableval=$enable_symbols;
2079
fi;
3840
fi
2080
# Check whether --enable-strip-solver or --disable-strip-solver was given.
3841
2081
if test "${enable_strip_solver+set}" = set; then
3842
# Check whether --enable-strip-solver was given.
2082
  enableval="$enable_strip_solver"
3843
if test "${enable_strip_solver+set}" = set; then :
2083
3844
  enableval=$enable_strip_solver;
2084
fi;
3845
fi
2085
# Check whether --enable-werror or --disable-werror was given.
3846
2086
if test "${enable_werror+set}" = set; then
3847
# Check whether --enable-werror was given.
2087
  enableval="$enable_werror"
3848
if test "${enable_werror+set}" = set; then :
2088
3849
  enableval=$enable_werror;
2089
fi;
3850
fi
2090
# Check whether --enable-debug or --disable-debug was given.
3851
2091
if test "${enable_debug+set}" = set; then
3852
# Check whether --enable-debug was given.
2092
  enableval="$enable_debug"
3853
if test "${enable_debug+set}" = set; then :
2093
3854
  enableval=$enable_debug;
2094
fi;
3855
fi
2095
# Check whether --enable-dbgutil or --disable-dbgutil was given.
3856
2096
if test "${enable_dbgutil+set}" = set; then
3857
# Check whether --enable-dbgutil was given.
2097
  enableval="$enable_dbgutil"
3858
if test "${enable_dbgutil+set}" = set; then :
2098
3859
  enableval=$enable_dbgutil;
2099
fi;
3860
fi
2100
# Check whether --enable-crashdump or --disable-crashdump was given.
3861
2101
if test "${enable_crashdump+set}" = set; then
3862
# Check whether --enable-crashdump was given.
2102
  enableval="$enable_crashdump"
3863
if test "${enable_crashdump+set}" = set; then :
2103
3864
  enableval=$enable_crashdump;
2104
fi;
3865
fi
2105
# Check whether --enable-cl-standard or --disable-cl-standard was given.
3866
2106
if test "${enable_cl_standard+set}" = set; then
3867
# Check whether --enable-cl-standard was given.
2107
  enableval="$enable_cl_standard"
3868
if test "${enable_cl_standard+set}" = set; then :
2108
3869
  enableval=$enable_cl_standard;
2109
fi;
3870
fi
2110
# Check whether --enable-gtk or --disable-gtk was given.
3871
2111
if test "${enable_gtk+set}" = set; then
3872
# Check whether --enable-gtk was given.
2112
  enableval="$enable_gtk"
3873
if test "${enable_gtk+set}" = set; then :
2113
3874
  enableval=$enable_gtk;
2114
else
3875
else
2115
  enable_gtk=yes
3876
  enable_gtk=yes
2116
fi;
3877
fi
2117
# Check whether --enable-systray or --disable-systray was given.
3878
2118
if test "${enable_systray+set}" = set; then
3879
# Check whether --enable-systray was given.
2119
  enableval="$enable_systray"
3880
if test "${enable_systray+set}" = set; then :
2120
3881
  enableval=$enable_systray;
2121
else
3882
else
2122
  enable_systray=yes
3883
  enable_systray=yes
2123
fi;
3884
fi
2124
# Check whether --enable-cairo or --disable-cairo was given.
3885
2125
if test "${enable_cairo+set}" = set; then
3886
# Check whether --enable-cairo was given.
2126
  enableval="$enable_cairo"
3887
if test "${enable_cairo+set}" = set; then :
2127
3888
  enableval=$enable_cairo;
2128
else
3889
else
2129
  enable_cairo=no
3890
  enable_cairo=no
2130
fi;
3891
fi
2131
3892
2132
# Check whether --with-system-cairo or --without-system-cairo was given.
3893
2133
if test "${with_system_cairo+set}" = set; then
3894
# Check whether --with-system-cairo was given.
2134
  withval="$with_system_cairo"
3895
if test "${with_system_cairo+set}" = set; then :
2135
3896
  withval=$with_system_cairo;
2136
fi;
3897
fi
2137
# Check whether --enable-opengl or --disable-opengl was given.
3898
2138
if test "${enable_opengl+set}" = set; then
3899
# Check whether --enable-opengl was given.
2139
  enableval="$enable_opengl"
3900
if test "${enable_opengl+set}" = set; then :
2140
3901
  enableval=$enable_opengl;
2141
else
3902
else
2142
  enable_opengl=no
3903
  enable_opengl=no
2143
fi;
3904
fi
2144
# Check whether --enable-dbus or --disable-dbus was given.
3905
2145
if test "${enable_dbus+set}" = set; then
3906
# Check whether --enable-dbus was given.
2146
  enableval="$enable_dbus"
3907
if test "${enable_dbus+set}" = set; then :
2147
3908
  enableval=$enable_dbus;
2148
else
3909
else
2149
  enable_dbus=no
3910
  enable_dbus=no
2150
fi;
3911
fi
2151
# Check whether --enable-gconf or --disable-gconf was given.
3912
2152
if test "${enable_gconf+set}" = set; then
3913
# Check whether --enable-gconf was given.
2153
  enableval="$enable_gconf"
3914
if test "${enable_gconf+set}" = set; then :
2154
3915
  enableval=$enable_gconf;
2155
else
3916
else
2156
  enable_gconf=yes
3917
  enable_gconf=yes
2157
fi;
3918
fi
2158
# Check whether --enable-gnome-vfs or --disable-gnome-vfs was given.
3919
2159
if test "${enable_gnome_vfs+set}" = set; then
3920
# Check whether --enable-gnome-vfs was given.
2160
  enableval="$enable_gnome_vfs"
3921
if test "${enable_gnome_vfs+set}" = set; then :
2161
3922
  enableval=$enable_gnome_vfs;
2162
else
3923
else
2163
  enable_gnome_vfs=yes
3924
  enable_gnome_vfs=yes
2164
fi;
3925
fi
2165
# Check whether --enable-gio or --disable-gio was given.
3926
2166
if test "${enable_gio+set}" = set; then
3927
# Check whether --enable-gio was given.
2167
  enableval="$enable_gio"
3928
if test "${enable_gio+set}" = set; then :
2168
3929
  enableval=$enable_gio;
2169
else
3930
else
2170
  enable_gio=no
3931
  enable_gio=no
2171
fi;
3932
fi
2172
# Check whether --enable-static-gtk or --disable-static-gtk was given.
3933
2173
if test "${enable_static_gtk+set}" = set; then
3934
# Check whether --enable-static-gtk was given.
2174
  enableval="$enable_static_gtk"
3935
if test "${enable_static_gtk+set}" = set; then :
2175
3936
  enableval=$enable_static_gtk;
2176
fi;
3937
fi
2177
# Check whether --enable-layout or --disable-layout was given.
3938
2178
if test "${enable_layout+set}" = set; then
3939
# Check whether --enable-layout was given.
2179
  enableval="$enable_layout"
3940
if test "${enable_layout+set}" = set; then :
2180
3941
  enableval=$enable_layout;
2181
fi;
3942
fi
2182
# Check whether --enable-build-mozilla or --disable-build-mozilla was given.
3943
2183
if test "${enable_build_mozilla+set}" = set; then
3944
# Check whether --enable-build-mozilla was given.
2184
  enableval="$enable_build_mozilla"
3945
if test "${enable_build_mozilla+set}" = set; then :
2185
3946
  enableval=$enable_build_mozilla;
2186
fi;
3947
fi
2187
3948
2188
# Check whether --with-mozilla-version or --without-mozilla-version was given.
3949
2189
if test "${with_mozilla_version+set}" = set; then
3950
# Check whether --with-mozilla-version was given.
2190
  withval="$with_mozilla_version"
3951
if test "${with_mozilla_version+set}" = set; then :
2191
3952
  withval=$with_mozilla_version;
2192
fi;
3953
fi
2193
3954
2194
# Check whether --with-mozilla-toolkit or --without-mozilla-toolkit was given.
3955
2195
if test "${with_mozilla_toolkit+set}" = set; then
3956
# Check whether --with-mozilla-toolkit was given.
2196
  withval="$with_mozilla_toolkit"
3957
if test "${with_mozilla_toolkit+set}" = set; then :
2197
3958
  withval=$with_mozilla_toolkit;
2198
fi;
3959
fi
2199
# Check whether --enable-nss_module or --disable-nss_module was given.
3960
2200
if test "${enable_nss_module+set}" = set; then
3961
# Check whether --enable-nss_module was given.
2201
  enableval="$enable_nss_module"
3962
if test "${enable_nss_module+set}" = set; then :
2202
3963
  enableval=$enable_nss_module;
2203
else
3964
else
2204
  enable_nss_module=yes
3965
  enable_nss_module=yes
2205
fi;
3966
fi
2206
# Check whether --enable-kde or --disable-kde was given.
3967
2207
if test "${enable_kde+set}" = set; then
3968
# Check whether --enable-kde was given.
2208
  enableval="$enable_kde"
3969
if test "${enable_kde+set}" = set; then :
2209
3970
  enableval=$enable_kde;
2210
fi;
3971
fi
2211
# Check whether --enable-kdeab or --disable-kdeab was given.
3972
2212
if test "${enable_kdeab+set}" = set; then
3973
# Check whether --enable-kdeab was given.
2213
  enableval="$enable_kdeab"
3974
if test "${enable_kdeab+set}" = set; then :
2214
3975
  enableval=$enable_kdeab;
2215
else
3976
else
2216
  if test "$enable_kde" = "yes"; then enable_kdeab=yes; fi
3977
  if test "$enable_kde" = "yes"; then enable_kdeab=yes; fi
2217
fi;
3978
fi
2218
# Check whether --enable-kde4 or --disable-kde4 was given.
3979
2219
if test "${enable_kde4+set}" = set; then
3980
# Check whether --enable-kde4 was given.
2220
  enableval="$enable_kde4"
3981
if test "${enable_kde4+set}" = set; then :
2221
3982
  enableval=$enable_kde4;
2222
fi;
3983
fi
2223
# Check whether --enable-binfilter or --disable-binfilter was given.
3984
2224
if test "${enable_binfilter+set}" = set; then
3985
# Check whether --enable-binfilter was given.
2225
  enableval="$enable_binfilter"
3986
if test "${enable_binfilter+set}" = set; then :
2226
3987
  enableval=$enable_binfilter;
2227
else
3988
else
2228
  if ! test -d ./binfilter; then enable_binfilter=no; fi
3989
  if ! test -d ./binfilter; then enable_binfilter=no; fi
2229
fi;
3990
fi
2230
# Check whether --enable-rpath or --disable-rpath was given.
3991
2231
if test "${enable_rpath+set}" = set; then
3992
# Check whether --enable-rpath was given.
2232
  enableval="$enable_rpath"
3993
if test "${enable_rpath+set}" = set; then :
2233
3994
  enableval=$enable_rpath;
2234
fi;
3995
fi
2235
# Check whether --enable-pam or --disable-pam was given.
3996
2236
if test "${enable_pam+set}" = set; then
3997
# Check whether --enable-pam was given.
2237
  enableval="$enable_pam"
3998
if test "${enable_pam+set}" = set; then :
2238
3999
  enableval=$enable_pam;
2239
fi;
4000
fi
2240
# Check whether --enable-pam-link or --disable-pam-link was given.
4001
2241
if test "${enable_pam_link+set}" = set; then
4002
# Check whether --enable-pam-link was given.
2242
  enableval="$enable_pam_link"
4003
if test "${enable_pam_link+set}" = set; then :
2243
4004
  enableval=$enable_pam_link;
2244
fi;
4005
fi
2245
# Check whether --enable-crypt-link or --disable-crypt-link was given.
4006
2246
if test "${enable_crypt_link+set}" = set; then
4007
# Check whether --enable-crypt-link was given.
2247
  enableval="$enable_crypt_link"
4008
if test "${enable_crypt_link+set}" = set; then :
2248
4009
  enableval=$enable_crypt_link;
2249
else
4010
else
2250
  enable_crypt_link=yes
4011
  enable_crypt_link=yes
2251
fi;
4012
fi
2252
# Check whether --enable-xrender-link or --disable-xrender-link was given.
4013
2253
if test "${enable_xrender_link+set}" = set; then
4014
# Check whether --enable-xrender-link was given.
2254
  enableval="$enable_xrender_link"
4015
if test "${enable_xrender_link+set}" = set; then :
2255
4016
  enableval=$enable_xrender_link;
2256
fi;
4017
fi
2257
# Check whether --enable-randr or --disable-randr was given.
4018
2258
if test "${enable_randr+set}" = set; then
4019
# Check whether --enable-randr was given.
2259
  enableval="$enable_randr"
4020
if test "${enable_randr+set}" = set; then :
2260
4021
  enableval=$enable_randr;
2261
else
4022
else
2262
  enable_randr=yes
4023
  enable_randr=yes
2263
fi;
4024
fi
2264
# Check whether --enable-randr-link or --disable-randr-link was given.
4025
2265
if test "${enable_randr_link+set}" = set; then
4026
# Check whether --enable-randr-link was given.
2266
  enableval="$enable_randr_link"
4027
if test "${enable_randr_link+set}" = set; then :
2267
4028
  enableval=$enable_randr_link;
2268
else
4029
else
2269
  enable_randr_link=yes
4030
  enable_randr_link=yes
2270
fi;
4031
fi
2271
4032
2272
# Check whether --with-myspell-dicts or --without-myspell-dicts was given.
4033
2273
if test "${with_myspell_dicts+set}" = set; then
4034
# Check whether --with-myspell-dicts was given.
2274
  withval="$with_myspell_dicts"
4035
if test "${with_myspell_dicts+set}" = set; then :
2275
4036
  withval=$with_myspell_dicts;
2276
fi;
4037
fi
2277
4038
2278
# Check whether --with-system-dicts or --without-system-dicts was given.
4039
2279
if test "${with_system_dicts+set}" = set; then
4040
# Check whether --with-system-dicts was given.
2280
  withval="$with_system_dicts"
4041
if test "${with_system_dicts+set}" = set; then :
2281
4042
  withval=$with_system_dicts;
2282
fi;
4043
fi
2283
4044
2284
# Check whether --with-external-dict-dir or --without-external-dict-dir was given.
4045
2285
if test "${with_external_dict_dir+set}" = set; then
4046
# Check whether --with-external-dict-dir was given.
2286
  withval="$with_external_dict_dir"
4047
if test "${with_external_dict_dir+set}" = set; then :
2287
4048
  withval=$with_external_dict_dir;
2288
fi;
4049
fi
2289
4050
2290
# Check whether --with-external-hyph-dir or --without-external-hyph-dir was given.
4051
2291
if test "${with_external_hyph_dir+set}" = set; then
4052
# Check whether --with-external-hyph-dir was given.
2292
  withval="$with_external_hyph_dir"
4053
if test "${with_external_hyph_dir+set}" = set; then :
2293
4054
  withval=$with_external_hyph_dir;
2294
fi;
4055
fi
2295
4056
2296
# Check whether --with-external-thes-dir or --without-external-thes-dir was given.
4057
2297
if test "${with_external_thes_dir+set}" = set; then
4058
# Check whether --with-external-thes-dir was given.
2298
  withval="$with_external_thes_dir"
4059
if test "${with_external_thes_dir+set}" = set; then :
2299
4060
  withval=$with_external_thes_dir;
2300
fi;
4061
fi
2301
4062
2302
# Check whether --with-system-libs or --without-system-libs was given.
4063
2303
if test "${with_system_libs+set}" = set; then
4064
# Check whether --with-system-libs was given.
2304
  withval="$with_system_libs"
4065
if test "${with_system_libs+set}" = set; then :
2305
4066
  withval=$with_system_libs;
2306
fi;
4067
fi
2307
4068
2308
# Check whether --with-system-headers or --without-system-headers was given.
4069
2309
if test "${with_system_headers+set}" = set; then
4070
# Check whether --with-system-headers was given.
2310
  withval="$with_system_headers"
4071
if test "${with_system_headers+set}" = set; then :
2311
4072
  withval=$with_system_headers;
2312
fi;
4073
fi
2313
4074
2314
# Check whether --with-system-jars or --without-system-jars was given.
4075
2315
if test "${with_system_jars+set}" = set; then
4076
# Check whether --with-system-jars was given.
2316
  withval="$with_system_jars"
4077
if test "${with_system_jars+set}" = set; then :
2317
4078
  withval=$with_system_jars;
2318
fi;
4079
fi
2319
4080
2320
# Check whether --with-system-zlib or --without-system-zlib was given.
4081
2321
if test "${with_system_zlib+set}" = set; then
4082
# Check whether --with-system-zlib was given.
2322
  withval="$with_system_zlib"
4083
if test "${with_system_zlib+set}" = set; then :
2323
4084
  withval=$with_system_zlib;
2324
fi;
4085
fi
2325
4086
2326
# Check whether --with-system-openssl or --without-system-openssl was given.
4087
2327
if test "${with_system_openssl+set}" = set; then
4088
# Check whether --with-system-openssl was given.
2328
  withval="$with_system_openssl"
4089
if test "${with_system_openssl+set}" = set; then :
2329
4090
  withval=$with_system_openssl;
2330
fi;
4091
fi
2331
4092
2332
# Check whether --with-system-jpeg or --without-system-jpeg was given.
4093
2333
if test "${with_system_jpeg+set}" = set; then
4094
# Check whether --with-system-jpeg was given.
2334
  withval="$with_system_jpeg"
4095
if test "${with_system_jpeg+set}" = set; then :
2335
4096
  withval=$with_system_jpeg;
2336
fi;
4097
fi
2337
4098
2338
# Check whether --with-system-expat or --without-system-expat was given.
4099
2339
if test "${with_system_expat+set}" = set; then
4100
# Check whether --with-system-expat was given.
2340
  withval="$with_system_expat"
4101
if test "${with_system_expat+set}" = set; then :
2341
4102
  withval=$with_system_expat;
2342
fi;
4103
fi
2343
4104
2344
# Check whether --with-system-libwpd or --without-system-libwpd was given.
4105
2345
if test "${with_system_libwpd+set}" = set; then
4106
# Check whether --with-system-libwpd was given.
2346
  withval="$with_system_libwpd"
4107
if test "${with_system_libwpd+set}" = set; then :
2347
4108
  withval=$with_system_libwpd;
2348
fi;
4109
fi
2349
4110
2350
# Check whether --with-system-libxml or --without-system-libxml was given.
4111
2351
if test "${with_system_libxml+set}" = set; then
4112
# Check whether --with-system-libxml was given.
2352
  withval="$with_system_libxml"
4113
if test "${with_system_libxml+set}" = set; then :
2353
4114
  withval=$with_system_libxml;
2354
fi;
4115
fi
2355
4116
2356
# Check whether --with-system-python or --without-system-python was given.
4117
2357
if test "${with_system_python+set}" = set; then
4118
# Check whether --with-system-python was given.
2358
  withval="$with_system_python"
4119
if test "${with_system_python+set}" = set; then :
2359
4120
  withval=$with_system_python;
2360
fi;
4121
fi
2361
4122
2362
# Check whether --with-system-icu or --without-system-icu was given.
4123
2363
if test "${with_system_icu+set}" = set; then
4124
# Check whether --with-system-icu was given.
2364
  withval="$with_system_icu"
4125
if test "${with_system_icu+set}" = set; then :
2365
4126
  withval=$with_system_icu;
2366
fi;
4127
fi
2367
4128
2368
# Check whether --with-system-poppler or --without-system-poppler was given.
4129
2369
if test "${with_system_poppler+set}" = set; then
4130
# Check whether --with-system-poppler was given.
2370
  withval="$with_system_poppler"
4131
if test "${with_system_poppler+set}" = set; then :
2371
4132
  withval=$with_system_poppler;
2372
fi;
4133
fi
2373
4134
2374
# Check whether --with-system-db or --without-system-db was given.
4135
2375
if test "${with_system_db+set}" = set; then
4136
# Check whether --with-system-db was given.
2376
  withval="$with_system_db"
4137
if test "${with_system_db+set}" = set; then :
2377
4138
  withval=$with_system_db;
2378
fi;
4139
fi
2379
4140
2380
# Check whether --with-system-lucene or --without-system-lucene was given.
4141
2381
if test "${with_system_lucene+set}" = set; then
4142
# Check whether --with-system-lucene was given.
2382
  withval="$with_system_lucene"
4143
if test "${with_system_lucene+set}" = set; then :
2383
4144
  withval=$with_system_lucene;
2384
fi;
4145
fi
2385
4146
2386
# Check whether --with-lucene-core-jar or --without-lucene-core-jar was given.
4147
2387
if test "${with_lucene_core_jar+set}" = set; then
4148
# Check whether --with-lucene-core-jar was given.
2388
  withval="$with_lucene_core_jar"
4149
if test "${with_lucene_core_jar+set}" = set; then :
2389
   LUCENE_CORE_JAR="$withval"
4150
  withval=$with_lucene_core_jar;  LUCENE_CORE_JAR="$withval"
2390
4151
2391
fi;
4152
fi
2392
4153
2393
# Check whether --with-lucene-analyzers-jar or --without-lucene-analyzers-jar was given.
4154
2394
if test "${with_lucene_analyzers_jar+set}" = set; then
4155
# Check whether --with-lucene-analyzers-jar was given.
2395
  withval="$with_lucene_analyzers_jar"
4156
if test "${with_lucene_analyzers_jar+set}" = set; then :
2396
   LUCENE_ANALYZERS_JAR="$withval"
4157
  withval=$with_lucene_analyzers_jar;  LUCENE_ANALYZERS_JAR="$withval"
2397
4158
2398
fi;
4159
fi
2399
# Check whether --enable-mysql-connector or --disable-mysql-connector was given.
4160
2400
if test "${enable_mysql_connector+set}" = set; then
4161
# Check whether --enable-mysql-connector was given.
2401
  enableval="$enable_mysql_connector"
4162
if test "${enable_mysql_connector+set}" = set; then :
2402
4163
  enableval=$enable_mysql_connector;
2403
fi;
4164
fi
2404
4165
2405
# Check whether --with-system-mysql or --without-system-mysql was given.
4166
2406
if test "${with_system_mysql+set}" = set; then
4167
# Check whether --with-system-mysql was given.
2407
  withval="$with_system_mysql"
4168
if test "${with_system_mysql+set}" = set; then :
2408
4169
  withval=$with_system_mysql;
2409
fi;
4170
fi
2410
4171
2411
# Check whether --with-libmysql-path or --without-libmysql-path was given.
4172
2412
if test "${with_libmysql_path+set}" = set; then
4173
# Check whether --with-libmysql-path was given.
2413
  withval="$with_libmysql_path"
4174
if test "${with_libmysql_path+set}" = set; then :
2414
4175
  withval=$with_libmysql_path;
2415
fi;
4176
fi
2416
4177
2417
# Check whether --with-system-mysql-cppconn or --without-system-mysql-cppconn was given.
4178
2418
if test "${with_system_mysql_cppconn+set}" = set; then
4179
# Check whether --with-system-mysql-cppconn was given.
2419
  withval="$with_system_mysql_cppconn"
4180
if test "${with_system_mysql_cppconn+set}" = set; then :
2420
4181
  withval=$with_system_mysql_cppconn;
2421
fi;
4182
fi
2422
4183
2423
# Check whether --with-system-hsqldb or --without-system-hsqldb was given.
4184
2424
if test "${with_system_hsqldb+set}" = set; then
4185
# Check whether --with-system-hsqldb was given.
2425
  withval="$with_system_hsqldb"
4186
if test "${with_system_hsqldb+set}" = set; then :
2426
4187
  withval=$with_system_hsqldb;
2427
fi;
4188
fi
2428
4189
2429
# Check whether --with-hsqldb-jar or --without-hsqldb-jar was given.
4190
2430
if test "${with_hsqldb_jar+set}" = set; then
4191
# Check whether --with-hsqldb-jar was given.
2431
  withval="$with_hsqldb_jar"
4192
if test "${with_hsqldb_jar+set}" = set; then :
2432
   HSQLDB_JAR="$withval"
4193
  withval=$with_hsqldb_jar;  HSQLDB_JAR="$withval"
2433
4194
2434
fi;
4195
fi
2435
4196
2436
# Check whether --with-system-beanshell or --without-system-beanshell was given.
4197
2437
if test "${with_system_beanshell+set}" = set; then
4198
# Check whether --with-system-beanshell was given.
2438
  withval="$with_system_beanshell"
4199
if test "${with_system_beanshell+set}" = set; then :
2439
4200
  withval=$with_system_beanshell;
2440
fi;
4201
fi
2441
4202
2442
# Check whether --with-beanshell-jar or --without-beanshell-jar was given.
4203
2443
if test "${with_beanshell_jar+set}" = set; then
4204
# Check whether --with-beanshell-jar was given.
2444
  withval="$with_beanshell_jar"
4205
if test "${with_beanshell_jar+set}" = set; then :
2445
   BSH_JAR="$withval"
4206
  withval=$with_beanshell_jar;  BSH_JAR="$withval"
2446
4207
2447
fi;
4208
fi
2448
# Check whether --enable-presenter-extra-ui or --disable-presenter-extra-ui was given.
4209
2449
if test "${enable_presenter_extra_ui+set}" = set; then
4210
# Check whether --enable-presenter-extra-ui was given.
2450
  enableval="$enable_presenter_extra_ui"
4211
if test "${enable_presenter_extra_ui+set}" = set; then :
2451
4212
  enableval=$enable_presenter_extra_ui;
2452
else
4213
else
2453
  enable_presenter_extra_ui=no
4214
  enable_presenter_extra_ui=no
2454
fi;
4215
fi
2455
# Check whether --enable-minimizer or --disable-minimizer was given.
4216
2456
if test "${enable_minimizer+set}" = set; then
4217
# Check whether --enable-minimizer was given.
2457
  enableval="$enable_minimizer"
4218
if test "${enable_minimizer+set}" = set; then :
2458
4219
  enableval=$enable_minimizer;
2459
fi;
4220
fi
2460
# Check whether --enable-presenter-console or --disable-presenter-console was given.
4221
2461
if test "${enable_presenter_console+set}" = set; then
4222
# Check whether --enable-presenter-console was given.
2462
  enableval="$enable_presenter_console"
4223
if test "${enable_presenter_console+set}" = set; then :
2463
4224
  enableval=$enable_presenter_console;
2464
fi;
4225
fi
2465
# Check whether --enable-pdfimport or --disable-pdfimport was given.
4226
2466
if test "${enable_pdfimport+set}" = set; then
4227
# Check whether --enable-pdfimport was given.
2467
  enableval="$enable_pdfimport"
4228
if test "${enable_pdfimport+set}" = set; then :
2468
4229
  enableval=$enable_pdfimport;
2469
fi;
4230
fi
2470
# Check whether --enable-wiki-publisher or --disable-wiki-publisher was given.
4231
2471
if test "${enable_wiki_publisher+set}" = set; then
4232
# Check whether --enable-wiki-publisher was given.
2472
  enableval="$enable_wiki_publisher"
4233
if test "${enable_wiki_publisher+set}" = set; then :
2473
4234
  enableval=$enable_wiki_publisher;
2474
fi;
4235
fi
2475
4236
2476
# Check whether --with-commons-codec-jar or --without-commons-codec-jar was given.
4237
2477
if test "${with_commons_codec_jar+set}" = set; then
4238
# Check whether --with-commons-codec-jar was given.
2478
  withval="$with_commons_codec_jar"
4239
if test "${with_commons_codec_jar+set}" = set; then :
2479
   COMMONS_CODEC_JAR="$withval"
4240
  withval=$with_commons_codec_jar;  COMMONS_CODEC_JAR="$withval"
2480
4241
2481
fi;
4242
fi
2482
4243
2483
# Check whether --with-commons-lang-jar or --without-commons-lang-jar was given.
4244
2484
if test "${with_commons_lang_jar+set}" = set; then
4245
# Check whether --with-commons-lang-jar was given.
2485
  withval="$with_commons_lang_jar"
4246
if test "${with_commons_lang_jar+set}" = set; then :
2486
   COMMONS_LANG_JAR="$withval"
4247
  withval=$with_commons_lang_jar;  COMMONS_LANG_JAR="$withval"
2487
4248
2488
fi;
4249
fi
2489
4250
2490
# Check whether --with-commons-httpclient-jar or --without-commons-httpclient-jar was given.
4251
2491
if test "${with_commons_httpclient_jar+set}" = set; then
4252
# Check whether --with-commons-httpclient-jar was given.
2492
  withval="$with_commons_httpclient_jar"
4253
if test "${with_commons_httpclient_jar+set}" = set; then :
2493
   COMMONS_HTTPCLIENT_JAR="$withval"
4254
  withval=$with_commons_httpclient_jar;  COMMONS_HTTPCLIENT_JAR="$withval"
2494
4255
2495
fi;
4256
fi
2496
4257
2497
# Check whether --with-commons-logging-jar or --without-commons-logging-jar was given.
4258
2498
if test "${with_commons_logging_jar+set}" = set; then
4259
# Check whether --with-commons-logging-jar was given.
2499
  withval="$with_commons_logging_jar"
4260
if test "${with_commons_logging_jar+set}" = set; then :
2500
   COMMONS_LOGGING_JAR="$withval"
4261
  withval=$with_commons_logging_jar;  COMMONS_LOGGING_JAR="$withval"
2501
4262
2502
fi;
4263
fi
2503
4264
2504
# Check whether --with-servlet-api-jar or --without-servlet-api-jar was given.
4265
2505
if test "${with_servlet_api_jar+set}" = set; then
4266
# Check whether --with-servlet-api-jar was given.
2506
  withval="$with_servlet_api_jar"
4267
if test "${with_servlet_api_jar+set}" = set; then :
2507
   SERVLETAPI_JAR="$withval"
4268
  withval=$with_servlet_api_jar;  SERVLETAPI_JAR="$withval"
2508
4269
2509
fi;
4270
fi
2510
# Check whether --enable-report-builder or --disable-report-builder was given.
4271
2511
if test "${enable_report_builder+set}" = set; then
4272
# Check whether --enable-report-builder was given.
2512
  enableval="$enable_report_builder"
4273
if test "${enable_report_builder+set}" = set; then :
2513
4274
  enableval=$enable_report_builder;
2514
fi;
4275
fi
2515
4276
2516
# Check whether --with-system-jfreereport or --without-system-jfreereport was given.
4277
2517
if test "${with_system_jfreereport+set}" = set; then
4278
# Check whether --with-system-jfreereport was given.
2518
  withval="$with_system_jfreereport"
4279
if test "${with_system_jfreereport+set}" = set; then :
2519
4280
  withval=$with_system_jfreereport;
2520
fi;
4281
fi
2521
4282
2522
# Check whether --with-sac-jar or --without-sac-jar was given.
4283
2523
if test "${with_sac_jar+set}" = set; then
4284
# Check whether --with-sac-jar was given.
2524
  withval="$with_sac_jar"
4285
if test "${with_sac_jar+set}" = set; then :
2525
   SAC_JAR="$withval"
4286
  withval=$with_sac_jar;  SAC_JAR="$withval"
2526
4287
2527
fi;
4288
fi
2528
4289
2529
# Check whether --with-libxml-jar or --without-libxml-jar was given.
4290
2530
if test "${with_libxml_jar+set}" = set; then
4291
# Check whether --with-libxml-jar was given.
2531
  withval="$with_libxml_jar"
4292
if test "${with_libxml_jar+set}" = set; then :
2532
   LIBXML_JAR="$withval"
4293
  withval=$with_libxml_jar;  LIBXML_JAR="$withval"
2533
4294
2534
fi;
4295
fi
2535
4296
2536
# Check whether --with-flute-jar or --without-flute-jar was given.
4297
2537
if test "${with_flute_jar+set}" = set; then
4298
# Check whether --with-flute-jar was given.
2538
  withval="$with_flute_jar"
4299
if test "${with_flute_jar+set}" = set; then :
2539
   FLUTE_JAR="$withval"
4300
  withval=$with_flute_jar;  FLUTE_JAR="$withval"
2540
4301
2541
fi;
4302
fi
2542
4303
2543
# Check whether --with-jfreereport-jar or --without-jfreereport-jar was given.
4304
2544
if test "${with_jfreereport_jar+set}" = set; then
4305
# Check whether --with-jfreereport-jar was given.
2545
  withval="$with_jfreereport_jar"
4306
if test "${with_jfreereport_jar+set}" = set; then :
2546
   JFREEREPORT_JAR="$withval"
4307
  withval=$with_jfreereport_jar;  JFREEREPORT_JAR="$withval"
2547
4308
2548
fi;
4309
fi
2549
4310
2550
# Check whether --with-liblayout-jar or --without-liblayout-jar was given.
4311
2551
if test "${with_liblayout_jar+set}" = set; then
4312
# Check whether --with-liblayout-jar was given.
2552
  withval="$with_liblayout_jar"
4313
if test "${with_liblayout_jar+set}" = set; then :
2553
   LIBLAYOUT_JAR="$withval"
4314
  withval=$with_liblayout_jar;  LIBLAYOUT_JAR="$withval"
2554
4315
2555
fi;
4316
fi
2556
4317
2557
# Check whether --with-libloader-jar or --without-libloader-jar was given.
4318
2558
if test "${with_libloader_jar+set}" = set; then
4319
# Check whether --with-libloader-jar was given.
2559
  withval="$with_libloader_jar"
4320
if test "${with_libloader_jar+set}" = set; then :
2560
   LIBLOADER_JAR="$withval"
4321
  withval=$with_libloader_jar;  LIBLOADER_JAR="$withval"
2561
4322
2562
fi;
4323
fi
2563
4324
2564
# Check whether --with-libloader-jar or --without-libloader-jar was given.
4325
2565
if test "${with_libloader_jar+set}" = set; then
4326
# Check whether --with-libloader-jar was given.
2566
  withval="$with_libloader_jar"
4327
if test "${with_libloader_jar+set}" = set; then :
2567
   LIBLOADER_JAR="$withval"
4328
  withval=$with_libloader_jar;  LIBLOADER_JAR="$withval"
2568
4329
2569
fi;
4330
fi
2570
4331
2571
# Check whether --with-libformula-jar or --without-libformula-jar was given.
4332
2572
if test "${with_libformula_jar+set}" = set; then
4333
# Check whether --with-libformula-jar was given.
2573
  withval="$with_libformula_jar"
4334
if test "${with_libformula_jar+set}" = set; then :
2574
   LIBFORMULA_JAR="$withval"
4335
  withval=$with_libformula_jar;  LIBFORMULA_JAR="$withval"
2575
4336
2576
fi;
4337
fi
2577
4338
2578
# Check whether --with-librepository-jar or --without-librepository-jar was given.
4339
2579
if test "${with_librepository_jar+set}" = set; then
4340
# Check whether --with-librepository-jar was given.
2580
  withval="$with_librepository_jar"
4341
if test "${with_librepository_jar+set}" = set; then :
2581
   LIBREPOSITORY_JAR="$withval"
4342
  withval=$with_librepository_jar;  LIBREPOSITORY_JAR="$withval"
2582
4343
2583
fi;
4344
fi
2584
4345
2585
# Check whether --with-libfonts-jar or --without-libfonts-jar was given.
4346
2586
if test "${with_libfonts_jar+set}" = set; then
4347
# Check whether --with-libfonts-jar was given.
2587
  withval="$with_libfonts_jar"
4348
if test "${with_libfonts_jar+set}" = set; then :
2588
   LIBFONTS_JAR="$withval"
4349
  withval=$with_libfonts_jar;  LIBFONTS_JAR="$withval"
2589
4350
2590
fi;
4351
fi
2591
4352
2592
# Check whether --with-libserializer-jar or --without-libserializer-jar was given.
4353
2593
if test "${with_libserializer_jar+set}" = set; then
4354
# Check whether --with-libserializer-jar was given.
2594
  withval="$with_libserializer_jar"
4355
if test "${with_libserializer_jar+set}" = set; then :
2595
   LIBSERIALIZER_JAR="$withval"
4356
  withval=$with_libserializer_jar;  LIBSERIALIZER_JAR="$withval"
2596
4357
2597
fi;
4358
fi
2598
4359
2599
# Check whether --with-libbase-jar or --without-libbase-jar was given.
4360
2600
if test "${with_libbase_jar+set}" = set; then
4361
# Check whether --with-libbase-jar was given.
2601
  withval="$with_libbase_jar"
4362
if test "${with_libbase_jar+set}" = set; then :
2602
   LIBBASE_JAR="$withval"
4363
  withval=$with_libbase_jar;  LIBBASE_JAR="$withval"
2603
4364
2604
fi;
4365
fi
2605
4366
2606
# Check whether --with-system-saxon or --without-system-saxon was given.
4367
2607
if test "${with_system_saxon+set}" = set; then
4368
# Check whether --with-system-saxon was given.
2608
  withval="$with_system_saxon"
4369
if test "${with_system_saxon+set}" = set; then :
2609
4370
  withval=$with_system_saxon;
2610
fi;
4371
fi
2611
4372
2612
# Check whether --with-saxon-jar or --without-saxon-jar was given.
4373
2613
if test "${with_saxon_jar+set}" = set; then
4374
# Check whether --with-saxon-jar was given.
2614
  withval="$with_saxon_jar"
4375
if test "${with_saxon_jar+set}" = set; then :
2615
   SAXON_JAR="$withval"
4376
  withval=$with_saxon_jar;  SAXON_JAR="$withval"
2616
4377
2617
fi;
4378
fi
2618
4379
2619
# Check whether --with-system-libxslt or --without-system-libxslt was given.
4380
2620
if test "${with_system_libxslt+set}" = set; then
4381
# Check whether --with-system-libxslt was given.
2621
  withval="$with_system_libxslt"
4382
if test "${with_system_libxslt+set}" = set; then :
2622
4383
  withval=$with_system_libxslt;
2623
fi;
4384
fi
2624
4385
2625
# Check whether --with-system-odbc or --without-system-odbc was given.
4386
2626
if test "${with_system_odbc+set}" = set; then
4387
# Check whether --with-system-odbc was given.
2627
  withval="$with_system_odbc"
4388
if test "${with_system_odbc+set}" = set; then :
2628
4389
  withval=$with_system_odbc;
2629
fi;
4390
fi
2630
4391
2631
# Check whether --with-system-sane or --without-system-sane was given.
4392
2632
if test "${with_system_sane+set}" = set; then
4393
# Check whether --with-system-sane was given.
2633
  withval="$with_system_sane"
4394
if test "${with_system_sane+set}" = set; then :
2634
4395
  withval=$with_system_sane;
2635
fi;
4396
fi
2636
4397
2637
# Check whether --with-system-xrender or --without-system-xrender was given.
4398
2638
if test "${with_system_xrender+set}" = set; then
4399
# Check whether --with-system-xrender was given.
2639
  withval="$with_system_xrender"
4400
if test "${with_system_xrender+set}" = set; then :
2640
4401
  withval=$with_system_xrender;
2641
fi;
4402
fi
2642
4403
2643
# Check whether --with-system-curl or --without-system-curl was given.
4404
2644
if test "${with_system_curl+set}" = set; then
4405
# Check whether --with-system-curl was given.
2645
  withval="$with_system_curl"
4406
if test "${with_system_curl+set}" = set; then :
2646
4407
  withval=$with_system_curl;
2647
fi;
4408
fi
2648
4409
2649
# Check whether --with-system-boost or --without-system-boost was given.
4410
2650
if test "${with_system_boost+set}" = set; then
4411
# Check whether --with-system-boost was given.
2651
  withval="$with_system_boost"
4412
if test "${with_system_boost+set}" = set; then :
2652
4413
  withval=$with_system_boost;
2653
fi;
4414
fi
2654
4415
2655
# Check whether --with-system-vigra or --without-system-vigra was given.
4416
2656
if test "${with_system_vigra+set}" = set; then
4417
# Check whether --with-system-vigra was given.
2657
  withval="$with_system_vigra"
4418
if test "${with_system_vigra+set}" = set; then :
2658
4419
  withval=$with_system_vigra;
2659
fi;
4420
fi
2660
# Check whether --enable-neon or --disable-neon was given.
4421
2661
if test "${enable_neon+set}" = set; then
4422
# Check whether --enable-neon was given.
2662
  enableval="$enable_neon"
4423
if test "${enable_neon+set}" = set; then :
2663
4424
  enableval=$enable_neon;
2664
fi;
4425
fi
2665
# Check whether --enable-Xaw or --disable-Xaw was given.
4426
2666
if test "${enable_Xaw+set}" = set; then
4427
# Check whether --enable-Xaw was given.
2667
  enableval="$enable_Xaw"
4428
if test "${enable_Xaw+set}" = set; then :
2668
4429
  enableval=$enable_Xaw;
2669
fi;
4430
fi
2670
4431
2671
# Check whether --with-system-neon or --without-system-neon was given.
4432
2672
if test "${with_system_neon+set}" = set; then
4433
# Check whether --with-system-neon was given.
2673
  withval="$with_system_neon"
4434
if test "${with_system_neon+set}" = set; then :
2674
4435
  withval=$with_system_neon;
2675
fi;
4436
fi
2676
4437
2677
# Check whether --with-system-agg or --without-system-agg was given.
4438
2678
if test "${with_system_agg+set}" = set; then
4439
# Check whether --with-system-agg was given.
2679
  withval="$with_system_agg"
4440
if test "${with_system_agg+set}" = set; then :
2680
4441
  withval=$with_system_agg;
2681
fi;
4442
fi
2682
4443
2683
# Check whether --with-system-hunspell or --without-system-hunspell was given.
4444
2684
if test "${with_system_hunspell+set}" = set; then
4445
# Check whether --with-system-hunspell was given.
2685
  withval="$with_system_hunspell"
4446
if test "${with_system_hunspell+set}" = set; then :
2686
4447
  withval=$with_system_hunspell;
2687
fi;
4448
fi
2688
4449
2689
# Check whether --with-system-mythes or --without-system-mythes was given.
4450
2690
if test "${with_system_mythes+set}" = set; then
4451
# Check whether --with-system-mythes was given.
2691
  withval="$with_system_mythes"
4452
if test "${with_system_mythes+set}" = set; then :
2692
4453
  withval=$with_system_mythes;
2693
fi;
4454
fi
2694
4455
2695
# Check whether --with-system-altlinuxhyph or --without-system-altlinuxhyph was given.
4456
2696
if test "${with_system_altlinuxhyph+set}" = set; then
4457
# Check whether --with-system-altlinuxhyph was given.
2697
  withval="$with_system_altlinuxhyph"
4458
if test "${with_system_altlinuxhyph+set}" = set; then :
2698
4459
  withval=$with_system_altlinuxhyph;
2699
fi;
4460
fi
2700
4461
2701
# Check whether --with-system-lpsolve or --without-system-lpsolve was given.
4462
2702
if test "${with_system_lpsolve+set}" = set; then
4463
# Check whether --with-system-lpsolve was given.
2703
  withval="$with_system_lpsolve"
4464
if test "${with_system_lpsolve+set}" = set; then :
2704
4465
  withval=$with_system_lpsolve;
2705
fi;
4466
fi
2706
4467
2707
# Check whether --with-system-mozilla or --without-system-mozilla was given.
4468
2708
if test "${with_system_mozilla+set}" = set; then
4469
# Check whether --with-system-mozilla was given.
2709
  withval="$with_system_mozilla"
4470
if test "${with_system_mozilla+set}" = set; then :
2710
  WITH_SYSTEM_MOZILLA=$withval
4471
  withval=$with_system_mozilla; WITH_SYSTEM_MOZILLA=$withval
2711
else
4472
else
2712
  WITH_SYSTEM_MOZILLA=no
4473
  WITH_SYSTEM_MOZILLA=no
2713
fi;
4474
fi
2714
4475
2715
# Check whether --with-stlport or --without-stlport was given.
4476
2716
if test "${with_stlport+set}" = set; then
4477
# Check whether --with-stlport was given.
2717
  withval="$with_stlport"
4478
if test "${with_stlport+set}" = set; then :
2718
  WITH_STLPORT=$withval
4479
  withval=$with_stlport; WITH_STLPORT=$withval
2719
else
4480
else
2720
  WITH_STLPORT=auto
4481
  WITH_STLPORT=auto
2721
fi;
4482
fi
2722
4483
2723
# Check whether --with-jdk-home or --without-jdk-home was given.
4484
2724
if test "${with_jdk_home+set}" = set; then
4485
# Check whether --with-jdk-home was given.
2725
  withval="$with_jdk_home"
4486
if test "${with_jdk_home+set}" = set; then :
2726
4487
  withval=$with_jdk_home;
2727
fi;
4488
fi
2728
4489
2729
# Check whether --with-gxx_include_path or --without-gxx_include_path was given.
4490
2730
if test "${with_gxx_include_path+set}" = set; then
4491
# Check whether --with-gxx_include_path was given.
2731
  withval="$with_gxx_include_path"
4492
if test "${with_gxx_include_path+set}" = set; then :
2732
4493
  withval=$with_gxx_include_path;
2733
fi;
4494
fi
2734
4495
2735
# Check whether --with-java or --without-java was given.
4496
2736
if test "${with_java+set}" = set; then
4497
# Check whether --with-java was given.
2737
  withval="$with_java"
4498
if test "${with_java+set}" = set; then :
2738
  if test "$withval" = "yes"; then WITH_JAVA=java; else WITH_JAVA=$withval; fi
4499
  withval=$with_java; if test "$withval" = "yes"; then WITH_JAVA=java; else WITH_JAVA=$withval; fi
2739
else
4500
else
2740
  WITH_JAVA=java
4501
  WITH_JAVA=java
2741
fi;
4502
fi
2742
# Check whether --enable-gcjaot or --disable-gcjaot was given.
4503
2743
if test "${enable_gcjaot+set}" = set; then
4504
# Check whether --enable-gcjaot was given.
2744
  enableval="$enable_gcjaot"
4505
if test "${enable_gcjaot+set}" = set; then :
2745
4506
  enableval=$enable_gcjaot;
2746
fi;
4507
fi
2747
4508
2748
# Check whether --with-ant-home or --without-ant-home was given.
4509
2749
if test "${with_ant_home+set}" = set; then
4510
# Check whether --with-ant-home was given.
2750
  withval="$with_ant_home"
4511
if test "${with_ant_home+set}" = set; then :
2751
4512
  withval=$with_ant_home;
2752
fi;
4513
fi
2753
4514
2754
# Check whether --with-perl-home or --without-perl-home was given.
4515
2755
if test "${with_perl_home+set}" = set; then
4516
# Check whether --with-perl-home was given.
2756
  withval="$with_perl_home"
4517
if test "${with_perl_home+set}" = set; then :
2757
4518
  withval=$with_perl_home;
2758
fi;
4519
fi
2759
4520
2760
# Check whether --with-cl-home or --without-cl-home was given.
4521
2761
if test "${with_cl_home+set}" = set; then
4522
# Check whether --with-cl-home was given.
2762
  withval="$with_cl_home"
4523
if test "${with_cl_home+set}" = set; then :
2763
4524
  withval=$with_cl_home;
2764
fi;
4525
fi
2765
4526
2766
# Check whether --with-mspdb-path or --without-mspdb-path was given.
4527
2767
if test "${with_mspdb_path+set}" = set; then
4528
# Check whether --with-mspdb-path was given.
2768
  withval="$with_mspdb_path"
4529
if test "${with_mspdb_path+set}" = set; then :
2769
4530
  withval=$with_mspdb_path;
2770
fi;
4531
fi
2771
4532
2772
# Check whether --with-midl-path or --without-midl-path was given.
4533
2773
if test "${with_midl_path+set}" = set; then
4534
# Check whether --with-midl-path was given.
2774
  withval="$with_midl_path"
4535
if test "${with_midl_path+set}" = set; then :
2775
4536
  withval=$with_midl_path;
2776
fi;
4537
fi
2777
4538
2778
# Check whether --with-csc-path or --without-csc-path was given.
4539
2779
if test "${with_csc_path+set}" = set; then
4540
# Check whether --with-csc-path was given.
2780
  withval="$with_csc_path"
4541
if test "${with_csc_path+set}" = set; then :
2781
4542
  withval=$with_csc_path;
2782
fi;
4543
fi
2783
4544
2784
# Check whether --with-nsis-path or --without-nsis-path was given.
4545
2785
if test "${with_nsis_path+set}" = set; then
4546
# Check whether --with-nsis-path was given.
2786
  withval="$with_nsis_path"
4547
if test "${with_nsis_path+set}" = set; then :
2787
4548
  withval=$with_nsis_path;
2788
fi;
4549
fi
2789
4550
2790
# Check whether --with-frame-home or --without-frame-home was given.
4551
2791
if test "${with_frame_home+set}" = set; then
4552
# Check whether --with-frame-home was given.
2792
  withval="$with_frame_home"
4553
if test "${with_frame_home+set}" = set; then :
2793
4554
  withval=$with_frame_home;
2794
fi;
4555
fi
2795
4556
2796
# Check whether --with-psdk-home or --without-psdk-home was given.
4557
2797
if test "${with_psdk_home+set}" = set; then
4558
# Check whether --with-psdk-home was given.
2798
  withval="$with_psdk_home"
4559
if test "${with_psdk_home+set}" = set; then :
2799
4560
  withval=$with_psdk_home;
2800
fi;
4561
fi
2801
4562
2802
# Check whether --with-directx-home or --without-directx-home was given.
4563
2803
if test "${with_directx_home+set}" = set; then
4564
# Check whether --with-directx-home was given.
2804
  withval="$with_directx_home"
4565
if test "${with_directx_home+set}" = set; then :
2805
4566
  withval=$with_directx_home;
2806
fi;
4567
fi
2807
4568
2808
# Check whether --with-mozilla-build or --without-mozilla-build was given.
4569
2809
if test "${with_mozilla_build+set}" = set; then
4570
# Check whether --with-mozilla-build was given.
2810
  withval="$with_mozilla_build"
4571
if test "${with_mozilla_build+set}" = set; then :
2811
  MOZILLABUILD=$withval
4572
  withval=$with_mozilla_build; MOZILLABUILD=$withval
2812
fi;
4573
fi
2813
4574
2814
# Check whether --with-local-solenv or --without-local-solenv was given.
4575
2815
if test "${with_local_solenv+set}" = set; then
4576
# Check whether --with-local-solenv was given.
2816
  withval="$with_local_solenv"
4577
if test "${with_local_solenv+set}" = set; then :
2817
4578
  withval=$with_local_solenv;
2818
fi;
4579
fi
2819
4580
2820
# Check whether --with-local-solver or --without-local-solver was given.
4581
2821
if test "${with_local_solver+set}" = set; then
4582
# Check whether --with-local-solver was given.
2822
  withval="$with_local_solver"
4583
if test "${with_local_solver+set}" = set; then :
2823
4584
  withval=$with_local_solver;
2824
fi;
4585
fi
2825
# Check whether --enable-check-only or --disable-check-only was given.
4586
2826
if test "${enable_check_only+set}" = set; then
4587
# Check whether --enable-check-only was given.
2827
  enableval="$enable_check_only"
4588
if test "${enable_check_only+set}" = set; then :
2828
4589
  enableval=$enable_check_only;
2829
fi;
4590
fi
2830
# Check whether --enable-ccache-skip or --disable-ccache-skip was given.
4591
2831
if test "${enable_ccache_skip+set}" = set; then
4592
# Check whether --enable-ccache-skip was given.
2832
  enableval="$enable_ccache_skip"
4593
if test "${enable_ccache_skip+set}" = set; then :
2833
4594
  enableval=$enable_ccache_skip;
2834
else
4595
else
2835
  enable_ccache_skip=auto
4596
  enable_ccache_skip=auto
2836
fi;
4597
fi
2837
4598
2838
# Check whether --with-lang or --without-lang was given.
4599
2839
if test "${with_lang+set}" = set; then
4600
# Check whether --with-lang was given.
2840
  withval="$with_lang"
4601
if test "${with_lang+set}" = set; then :
2841
4602
  withval=$with_lang;
2842
fi;
4603
fi
2843
4604
2844
# Check whether --with-poor-help-localizations or --without-poor-help-localizations was given.
4605
2845
if test "${with_poor_help_localizations+set}" = set; then
4606
# Check whether --with-poor-help-localizations was given.
2846
  withval="$with_poor_help_localizations"
4607
if test "${with_poor_help_localizations+set}" = set; then :
2847
4608
  withval=$with_poor_help_localizations;
2848
fi;
4609
fi
2849
4610
2850
# Check whether --with-dict or --without-dict was given.
4611
2851
if test "${with_dict+set}" = set; then
4612
# Check whether --with-dict was given.
2852
  withval="$with_dict"
4613
if test "${with_dict+set}" = set; then :
2853
4614
  withval=$with_dict;
2854
fi;
4615
fi
2855
4616
2856
# Check whether --with-intro-bitmaps or --without-intro-bitmaps was given.
4617
2857
if test "${with_intro_bitmaps+set}" = set; then
4618
# Check whether --with-intro-bitmaps was given.
2858
  withval="$with_intro_bitmaps"
4619
if test "${with_intro_bitmaps+set}" = set; then :
2859
4620
  withval=$with_intro_bitmaps;
2860
fi;
4621
fi
2861
4622
2862
# Check whether --with-about-bitmaps or --without-about-bitmaps was given.
4623
2863
if test "${with_about_bitmaps+set}" = set; then
4624
# Check whether --with-about-bitmaps was given.
2864
  withval="$with_about_bitmaps"
4625
if test "${with_about_bitmaps+set}" = set; then :
2865
4626
  withval=$with_about_bitmaps;
2866
fi;
4627
fi
2867
4628
2868
# Check whether --with-vendor or --without-vendor was given.
4629
2869
if test "${with_vendor+set}" = set; then
4630
# Check whether --with-vendor was given.
2870
  withval="$with_vendor"
4631
if test "${with_vendor+set}" = set; then :
2871
4632
  withval=$with_vendor;
2872
fi;
4633
fi
2873
4634
2874
# Check whether --with-unix-wrapper or --without-unix-wrapper was given.
4635
2875
if test "${with_unix_wrapper+set}" = set; then
4636
# Check whether --with-unix-wrapper was given.
2876
  withval="$with_unix_wrapper"
4637
if test "${with_unix_wrapper+set}" = set; then :
2877
4638
  withval=$with_unix_wrapper;
2878
fi;
4639
fi
2879
4640
2880
# Check whether --with-asm-home or --without-asm-home was given.
4641
2881
if test "${with_asm_home+set}" = set; then
4642
# Check whether --with-asm-home was given.
2882
  withval="$with_asm_home"
4643
if test "${with_asm_home+set}" = set; then :
2883
4644
  withval=$with_asm_home;
2884
fi;
4645
fi
2885
4646
2886
# Check whether --with-os-version or --without-os-version was given.
4647
2887
if test "${with_os_version+set}" = set; then
4648
# Check whether --with-os-version was given.
2888
  withval="$with_os_version"
4649
if test "${with_os_version+set}" = set; then :
2889
4650
  withval=$with_os_version;
2890
fi;
4651
fi
2891
4652
2892
# Check whether --with-unzip-home or --without-unzip-home was given.
4653
2893
if test "${with_unzip_home+set}" = set; then
4654
# Check whether --with-unzip-home was given.
2894
  withval="$with_unzip_home"
4655
if test "${with_unzip_home+set}" = set; then :
2895
4656
  withval=$with_unzip_home;
2896
fi;
4657
fi
2897
4658
2898
# Check whether --with-zip-home or --without-zip-home was given.
4659
2899
if test "${with_zip_home+set}" = set; then
4660
# Check whether --with-zip-home was given.
2900
  withval="$with_zip_home"
4661
if test "${with_zip_home+set}" = set; then :
2901
4662
  withval=$with_zip_home;
2902
fi;
4663
fi
2903
4664
2904
# Check whether --with-mingwin or --without-mingwin was given.
4665
2905
if test "${with_mingwin+set}" = set; then
4666
# Check whether --with-mingwin was given.
2906
  withval="$with_mingwin"
4667
if test "${with_mingwin+set}" = set; then :
2907
  WITH_MINGWIN=$withval
4668
  withval=$with_mingwin; WITH_MINGWIN=$withval
2908
else
4669
else
2909
  WITH_MINGWIN=0
4670
  WITH_MINGWIN=0
2910
fi;
4671
fi
2911
4672
2912
# Check whether --with-use-shell or --without-use-shell was given.
4673
2913
if test "${with_use_shell+set}" = set; then
4674
# Check whether --with-use-shell was given.
2914
  withval="$with_use_shell"
4675
if test "${with_use_shell+set}" = set; then :
2915
  with_use_shell=$withval
4676
  withval=$with_use_shell; with_use_shell=$withval
2916
else
4677
else
2917
  with_use_shell="tcsh"
4678
  with_use_shell="tcsh"
2918
fi;
4679
fi
2919
4680
2920
# Check whether --with-build-version or --without-build-version was given.
4681
2921
if test "${with_build_version+set}" = set; then
4682
# Check whether --with-build-version was given.
2922
  withval="$with_build_version"
4683
if test "${with_build_version+set}" = set; then :
2923
  with_build_version=$withval
4684
  withval=$with_build_version; with_build_version=$withval
2924
fi;
4685
fi
2925
4686
2926
# Check whether --with-alloc or --without-alloc was given.
4687
2927
if test "${with_alloc+set}" = set; then
4688
# Check whether --with-alloc was given.
2928
  withval="$with_alloc"
4689
if test "${with_alloc+set}" = set; then :
2929
4690
  withval=$with_alloc;
2930
fi;
4691
fi
2931
# Check whether --enable-verbose or --disable-verbose was given.
4692
2932
if test "${enable_verbose+set}" = set; then
4693
# Check whether --enable-verbose was given.
2933
  enableval="$enable_verbose"
4694
if test "${enable_verbose+set}" = set; then :
2934
4695
  enableval=$enable_verbose;
2935
fi;
4696
fi
4697
2936
4698
2937
BUILD_TYPE="OOo"
4699
BUILD_TYPE="OOo"
2938
4700
Lines 2959-2987 Link Here
2959
echo "********************************************************************"
4721
echo "********************************************************************"
2960
echo ""
4722
echo ""
2961
cat /dev/null > warn
4723
cat /dev/null > warn
2962
echo "$as_me:$LINENO: checking for egrep" >&5
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2963
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4725
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2964
if test "${ac_cv_prog_egrep+set}" = set; then
4726
if test "${ac_cv_path_GREP+set}" = set; then :
2965
  echo $ECHO_N "(cached) $ECHO_C" >&6
4727
  $as_echo_n "(cached) " >&6
2966
else
4728
else
2967
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4729
  if test -z "$GREP"; then
2968
    then ac_cv_prog_egrep='grep -E'
4730
  ac_path_GREP_found=false
2969
    else ac_cv_prog_egrep='egrep'
4731
  # Loop through the user's path and test for each of PROGNAME-LIST
2970
    fi
4732
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971
fi
4733
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2972
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4734
do
2973
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4735
  IFS=$as_save_IFS
2974
 EGREP=$ac_cv_prog_egrep
4736
  test -z "$as_dir" && as_dir=.
4737
    for ac_prog in grep ggrep; do
4738
    for ac_exec_ext in '' $ac_executable_extensions; do
4739
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4740
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4741
# Check for GNU ac_path_GREP and select it if it is found.
4742
  # Check for GNU $ac_path_GREP
4743
case `"$ac_path_GREP" --version 2>&1` in
4744
*GNU*)
4745
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4746
*)
4747
  ac_count=0
4748
  $as_echo_n 0123456789 >"conftest.in"
4749
  while :
4750
  do
4751
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4752
    mv "conftest.tmp" "conftest.in"
4753
    cp "conftest.in" "conftest.nl"
4754
    $as_echo 'GREP' >> "conftest.nl"
4755
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4756
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4757
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4758
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4759
      # Best one so far, save it but keep looking for a better one
4760
      ac_cv_path_GREP="$ac_path_GREP"
4761
      ac_path_GREP_max=$ac_count
4762
    fi
4763
    # 10*(2^10) chars as input seems more than enough
4764
    test $ac_count -gt 10 && break
4765
  done
4766
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4767
esac
4768
4769
      $ac_path_GREP_found && break 3
4770
    done
4771
  done
4772
  done
4773
IFS=$as_save_IFS
4774
  if test -z "$ac_cv_path_GREP"; then
4775
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4776
  fi
4777
else
4778
  ac_cv_path_GREP=$GREP
4779
fi
4780
4781
fi
4782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4783
$as_echo "$ac_cv_path_GREP" >&6; }
4784
 GREP="$ac_cv_path_GREP"
4785
4786
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4788
$as_echo_n "checking for egrep... " >&6; }
4789
if test "${ac_cv_path_EGREP+set}" = set; then :
4790
  $as_echo_n "(cached) " >&6
4791
else
4792
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4793
   then ac_cv_path_EGREP="$GREP -E"
4794
   else
4795
     if test -z "$EGREP"; then
4796
  ac_path_EGREP_found=false
4797
  # Loop through the user's path and test for each of PROGNAME-LIST
4798
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4800
do
4801
  IFS=$as_save_IFS
4802
  test -z "$as_dir" && as_dir=.
4803
    for ac_prog in egrep; do
4804
    for ac_exec_ext in '' $ac_executable_extensions; do
4805
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4806
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4807
# Check for GNU ac_path_EGREP and select it if it is found.
4808
  # Check for GNU $ac_path_EGREP
4809
case `"$ac_path_EGREP" --version 2>&1` in
4810
*GNU*)
4811
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4812
*)
4813
  ac_count=0
4814
  $as_echo_n 0123456789 >"conftest.in"
4815
  while :
4816
  do
4817
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4818
    mv "conftest.tmp" "conftest.in"
4819
    cp "conftest.in" "conftest.nl"
4820
    $as_echo 'EGREP' >> "conftest.nl"
4821
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4822
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4823
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4824
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4825
      # Best one so far, save it but keep looking for a better one
4826
      ac_cv_path_EGREP="$ac_path_EGREP"
4827
      ac_path_EGREP_max=$ac_count
4828
    fi
4829
    # 10*(2^10) chars as input seems more than enough
4830
    test $ac_count -gt 10 && break
4831
  done
4832
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4833
esac
4834
4835
      $ac_path_EGREP_found && break 3
4836
    done
4837
  done
4838
  done
4839
IFS=$as_save_IFS
4840
  if test -z "$ac_cv_path_EGREP"; then
4841
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4842
  fi
4843
else
4844
  ac_cv_path_EGREP=$EGREP
4845
fi
4846
4847
   fi
4848
fi
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4850
$as_echo "$ac_cv_path_EGREP" >&6; }
4851
 EGREP="$ac_cv_path_EGREP"
2975
4852
2976
4853
2977
for ac_prog in gawk mawk nawk awk
4854
for ac_prog in gawk mawk nawk awk
2978
do
4855
do
2979
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4856
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2980
set dummy $ac_prog; ac_word=$2
4857
set dummy $ac_prog; ac_word=$2
2981
echo "$as_me:$LINENO: checking for $ac_word" >&5
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4859
$as_echo_n "checking for $ac_word... " >&6; }
2983
if test "${ac_cv_prog_AWK+set}" = set; then
4860
if test "${ac_cv_prog_AWK+set}" = set; then :
2984
  echo $ECHO_N "(cached) $ECHO_C" >&6
4861
  $as_echo_n "(cached) " >&6
2985
else
4862
else
2986
  if test -n "$AWK"; then
4863
  if test -n "$AWK"; then
2987
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4864
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
Lines 2991-3025 Link Here
2991
do
4868
do
2992
  IFS=$as_save_IFS
4869
  IFS=$as_save_IFS
2993
  test -z "$as_dir" && as_dir=.
4870
  test -z "$as_dir" && as_dir=.
2994
  for ac_exec_ext in '' $ac_executable_extensions; do
4871
    for ac_exec_ext in '' $ac_executable_extensions; do
2995
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996
    ac_cv_prog_AWK="$ac_prog"
4873
    ac_cv_prog_AWK="$ac_prog"
2997
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4874
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998
    break 2
4875
    break 2
2999
  fi
4876
  fi
3000
done
4877
done
3001
done
4878
  done
4879
IFS=$as_save_IFS
3002
4880
3003
fi
4881
fi
3004
fi
4882
fi
3005
AWK=$ac_cv_prog_AWK
4883
AWK=$ac_cv_prog_AWK
3006
if test -n "$AWK"; then
4884
if test -n "$AWK"; then
3007
  echo "$as_me:$LINENO: result: $AWK" >&5
4885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3008
echo "${ECHO_T}$AWK" >&6
4886
$as_echo "$AWK" >&6; }
3009
else
4887
else
3010
  echo "$as_me:$LINENO: result: no" >&5
4888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011
echo "${ECHO_T}no" >&6
4889
$as_echo "no" >&6; }
3012
fi
4890
fi
4891
3013
4892
3014
  test -n "$AWK" && break
4893
  test -n "$AWK" && break
3015
done
4894
done
3016
4895
3017
# Extract the first word of "$AWK", so it can be a program name with args.
4896
# Extract the first word of "$AWK", so it can be a program name with args.
3018
set dummy $AWK; ac_word=$2
4897
set dummy $AWK; ac_word=$2
3019
echo "$as_me:$LINENO: checking for $ac_word" >&5
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899
$as_echo_n "checking for $ac_word... " >&6; }
3021
if test "${ac_cv_path_AWK+set}" = set; then
4900
if test "${ac_cv_path_AWK+set}" = set; then :
3022
  echo $ECHO_N "(cached) $ECHO_C" >&6
4901
  $as_echo_n "(cached) " >&6
3023
else
4902
else
3024
  case $AWK in
4903
  case $AWK in
3025
  [\\/]* | ?:[\\/]*)
4904
  [\\/]* | ?:[\\/]*)
Lines 3031-3072 Link Here
3031
do
4910
do
3032
  IFS=$as_save_IFS
4911
  IFS=$as_save_IFS
3033
  test -z "$as_dir" && as_dir=.
4912
  test -z "$as_dir" && as_dir=.
3034
  for ac_exec_ext in '' $ac_executable_extensions; do
4913
    for ac_exec_ext in '' $ac_executable_extensions; do
3035
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
    ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4915
    ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
3037
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4916
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
    break 2
4917
    break 2
3039
  fi
4918
  fi
3040
done
4919
done
3041
done
4920
  done
4921
IFS=$as_save_IFS
3042
4922
3043
  ;;
4923
  ;;
3044
esac
4924
esac
3045
fi
4925
fi
3046
AWK=$ac_cv_path_AWK
4926
AWK=$ac_cv_path_AWK
3047
3048
if test -n "$AWK"; then
4927
if test -n "$AWK"; then
3049
  echo "$as_me:$LINENO: result: $AWK" >&5
4928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3050
echo "${ECHO_T}$AWK" >&6
4929
$as_echo "$AWK" >&6; }
3051
else
4930
else
3052
  echo "$as_me:$LINENO: result: no" >&5
4931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053
echo "${ECHO_T}no" >&6
4932
$as_echo "no" >&6; }
3054
fi
4933
fi
4934
3055
4935
3056
if test -z "$AWK"; then
4936
if test -z "$AWK"; then
3057
   { { echo "$as_me:$LINENO: error: install awk to run this script" >&5
4937
   as_fn_error "install awk to run this script" "$LINENO" 5
3058
echo "$as_me: error: install awk to run this script" >&2;}
3059
   { (exit 1); exit 1; }; }
3060
fi
4938
fi
3061
4939
3062
for ac_prog in sed
4940
for ac_prog in sed
3063
do
4941
do
3064
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4942
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3065
set dummy $ac_prog; ac_word=$2
4943
set dummy $ac_prog; ac_word=$2
3066
echo "$as_me:$LINENO: checking for $ac_word" >&5
4944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4945
$as_echo_n "checking for $ac_word... " >&6; }
3068
if test "${ac_cv_path_SED+set}" = set; then
4946
if test "${ac_cv_path_SED+set}" = set; then :
3069
  echo $ECHO_N "(cached) $ECHO_C" >&6
4947
  $as_echo_n "(cached) " >&6
3070
else
4948
else
3071
  case $SED in
4949
  case $SED in
3072
  [\\/]* | ?:[\\/]*)
4950
  [\\/]* | ?:[\\/]*)
Lines 3078-3124 Link Here
3078
do
4956
do
3079
  IFS=$as_save_IFS
4957
  IFS=$as_save_IFS
3080
  test -z "$as_dir" && as_dir=.
4958
  test -z "$as_dir" && as_dir=.
3081
  for ac_exec_ext in '' $ac_executable_extensions; do
4959
    for ac_exec_ext in '' $ac_executable_extensions; do
3082
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083
    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4961
    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3084
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085
    break 2
4963
    break 2
3086
  fi
4964
  fi
3087
done
4965
done
3088
done
4966
  done
4967
IFS=$as_save_IFS
3089
4968
3090
  ;;
4969
  ;;
3091
esac
4970
esac
3092
fi
4971
fi
3093
SED=$ac_cv_path_SED
4972
SED=$ac_cv_path_SED
3094
3095
if test -n "$SED"; then
4973
if test -n "$SED"; then
3096
  echo "$as_me:$LINENO: result: $SED" >&5
4974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3097
echo "${ECHO_T}$SED" >&6
4975
$as_echo "$SED" >&6; }
3098
else
4976
else
3099
  echo "$as_me:$LINENO: result: no" >&5
4977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100
echo "${ECHO_T}no" >&6
4978
$as_echo "no" >&6; }
3101
fi
4979
fi
4980
3102
4981
3103
  test -n "$SED" && break
4982
  test -n "$SED" && break
3104
done
4983
done
3105
4984
3106
if test -z "$SED"; then
4985
if test -z "$SED"; then
3107
   { { echo "$as_me:$LINENO: error: install sed to run this script" >&5
4986
   as_fn_error "install sed to run this script" "$LINENO" 5
3108
echo "$as_me: error: install sed to run this script" >&2;}
4987
fi
3109
   { (exit 1); exit 1; }; }
4988
3110
fi
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for solenv environment" >&5
3111
4990
$as_echo_n "checking for solenv environment... " >&6; }
3112
echo "$as_me:$LINENO: checking for solenv environment" >&5
3113
echo $ECHO_N "checking for solenv environment... $ECHO_C" >&6
3114
if test -z "$with_local_solenv"; then
4991
if test -z "$with_local_solenv"; then
3115
   LOCAL_SOLENV="DEFAULT"
4992
   LOCAL_SOLENV="DEFAULT"
3116
   echo "$as_me:$LINENO: result: default" >&5
4993
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
3117
echo "${ECHO_T}default" >&6
4994
$as_echo "default" >&6; }
3118
else
4995
else
3119
   LOCAL_SOLENV=$with_local_solenv
4996
   LOCAL_SOLENV=$with_local_solenv
3120
   echo "$as_me:$LINENO: result: $with_local_solenv" >&5
4997
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_local_solenv" >&5
3121
echo "${ECHO_T}$with_local_solenv" >&6
4998
$as_echo "$with_local_solenv" >&6; }
3122
fi
4999
fi
3123
5000
3124
5001
Lines 3136-3245 Link Here
3136
   SOURCEVERSION="`grep SOURCEVERSION= $_solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'`"
5013
   SOURCEVERSION="`grep SOURCEVERSION= $_solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'`"
3137
5014
3138
else
5015
else
3139
   { { echo "$as_me:$LINENO: error: $_solenv/inc/minor.mk missing but needed for architecture/os detecion and proper environment script generation..." >&5
5016
   as_fn_error "$_solenv/inc/minor.mk missing but needed for architecture/os detecion and proper environment script generation..." "$LINENO" 5
3140
echo "$as_me: error: $_solenv/inc/minor.mk missing but needed for architecture/os detecion and proper environment script generation..." >&2;}
3141
   { (exit 1); exit 1; }; }
3142
fi
5017
fi
3143
5018
3144
ac_aux_dir=
5019
ac_aux_dir=
3145
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5020
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146
  if test -f $ac_dir/install-sh; then
5021
  for ac_t in install-sh install.sh shtool; do
3147
    ac_aux_dir=$ac_dir
5022
    if test -f "$ac_dir/$ac_t"; then
3148
    ac_install_sh="$ac_aux_dir/install-sh -c"
5023
      ac_aux_dir=$ac_dir
3149
    break
5024
      ac_install_sh="$ac_aux_dir/$ac_t -c"
3150
  elif test -f $ac_dir/install.sh; then
5025
      break 2
3151
    ac_aux_dir=$ac_dir
5026
    fi
3152
    ac_install_sh="$ac_aux_dir/install.sh -c"
5027
  done
3153
    break
3154
  elif test -f $ac_dir/shtool; then
3155
    ac_aux_dir=$ac_dir
3156
    ac_install_sh="$ac_aux_dir/shtool install -c"
3157
    break
3158
  fi
3159
done
5028
done
3160
if test -z "$ac_aux_dir"; then
5029
if test -z "$ac_aux_dir"; then
3161
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5030
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3162
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5031
fi
3163
   { (exit 1); exit 1; }; }
5032
3164
fi
5033
# These three variables are undocumented and unsupported,
3165
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
5034
# and are intended to be withdrawn in a future Autoconf release.
3166
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
5035
# They can cause serious problems if a builder's source tree is in a directory
3167
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5036
# whose full name contains unusual characters.
5037
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
5038
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
5039
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
5040
3168
5041
3169
# Make sure we can run config.sub.
5042
# Make sure we can run config.sub.
3170
$ac_config_sub sun4 >/dev/null 2>&1 ||
5043
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3171
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5044
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3172
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5045
3173
   { (exit 1); exit 1; }; }
5046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3174
5047
$as_echo_n "checking build system type... " >&6; }
3175
echo "$as_me:$LINENO: checking build system type" >&5
5048
if test "${ac_cv_build+set}" = set; then :
3176
echo $ECHO_N "checking build system type... $ECHO_C" >&6
5049
  $as_echo_n "(cached) " >&6
3177
if test "${ac_cv_build+set}" = set; then
5050
else
3178
  echo $ECHO_N "(cached) $ECHO_C" >&6
5051
  ac_build_alias=$build_alias
3179
else
5052
test "x$ac_build_alias" = x &&
3180
  ac_cv_build_alias=$build_alias
5053
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3181
test -z "$ac_cv_build_alias" &&
5054
test "x$ac_build_alias" = x &&
3182
  ac_cv_build_alias=`$ac_config_guess`
5055
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3183
test -z "$ac_cv_build_alias" &&
5056
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3184
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5057
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3185
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5058
3186
   { (exit 1); exit 1; }; }
5059
fi
3187
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3188
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5061
$as_echo "$ac_cv_build" >&6; }
3189
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5062
case $ac_cv_build in
3190
   { (exit 1); exit 1; }; }
5063
*-*-*) ;;
3191
5064
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3192
fi
5065
esac
3193
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3194
echo "${ECHO_T}$ac_cv_build" >&6
3195
build=$ac_cv_build
5066
build=$ac_cv_build
3196
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5067
ac_save_IFS=$IFS; IFS='-'
3197
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5068
set x $ac_cv_build
3198
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5069
shift
3199
5070
build_cpu=$1
3200
5071
build_vendor=$2
3201
echo "$as_me:$LINENO: checking host system type" >&5
5072
shift; shift
3202
echo $ECHO_N "checking host system type... $ECHO_C" >&6
5073
# Remember, the first character of IFS is used to create $*,
3203
if test "${ac_cv_host+set}" = set; then
5074
# except with old shells:
3204
  echo $ECHO_N "(cached) $ECHO_C" >&6
5075
build_os=$*
3205
else
5076
IFS=$ac_save_IFS
3206
  ac_cv_host_alias=$host_alias
5077
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3207
test -z "$ac_cv_host_alias" &&
5078
3208
  ac_cv_host_alias=$ac_cv_build_alias
5079
3209
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3210
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5081
$as_echo_n "checking host system type... " >&6; }
3211
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5082
if test "${ac_cv_host+set}" = set; then :
3212
   { (exit 1); exit 1; }; }
5083
  $as_echo_n "(cached) " >&6
3213
5084
else
3214
fi
5085
  if test "x$host_alias" = x; then
3215
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5086
  ac_cv_host=$ac_cv_build
3216
echo "${ECHO_T}$ac_cv_host" >&6
5087
else
5088
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5089
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5090
fi
5091
5092
fi
5093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5094
$as_echo "$ac_cv_host" >&6; }
5095
case $ac_cv_host in
5096
*-*-*) ;;
5097
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5098
esac
3217
host=$ac_cv_host
5099
host=$ac_cv_host
3218
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5100
ac_save_IFS=$IFS; IFS='-'
3219
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5101
set x $ac_cv_host
3220
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5102
shift
3221
5103
host_cpu=$1
3222
5104
host_vendor=$2
3223
echo "$as_me:$LINENO: checking target system type" >&5
5105
shift; shift
3224
echo $ECHO_N "checking target system type... $ECHO_C" >&6
5106
# Remember, the first character of IFS is used to create $*,
3225
if test "${ac_cv_target+set}" = set; then
5107
# except with old shells:
3226
  echo $ECHO_N "(cached) $ECHO_C" >&6
5108
host_os=$*
3227
else
5109
IFS=$ac_save_IFS
3228
  ac_cv_target_alias=$target_alias
5110
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3229
test "x$ac_cv_target_alias" = "x" &&
5111
3230
  ac_cv_target_alias=$ac_cv_host_alias
5112
3231
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3232
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
5114
$as_echo_n "checking target system type... " >&6; }
3233
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
5115
if test "${ac_cv_target+set}" = set; then :
3234
   { (exit 1); exit 1; }; }
5116
  $as_echo_n "(cached) " >&6
3235
5117
else
3236
fi
5118
  if test "x$target_alias" = x; then
3237
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
5119
  ac_cv_target=$ac_cv_host
3238
echo "${ECHO_T}$ac_cv_target" >&6
5120
else
5121
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
5122
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
5123
fi
5124
5125
fi
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
5127
$as_echo "$ac_cv_target" >&6; }
5128
case $ac_cv_target in
5129
*-*-*) ;;
5130
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
5131
esac
3239
target=$ac_cv_target
5132
target=$ac_cv_target
3240
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5133
ac_save_IFS=$IFS; IFS='-'
3241
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5134
set x $ac_cv_target
3242
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5135
shift
5136
target_cpu=$1
5137
target_vendor=$2
5138
shift; shift
5139
# Remember, the first character of IFS is used to create $*,
5140
# except with old shells:
5141
target_os=$*
5142
IFS=$ac_save_IFS
5143
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3243
5144
3244
5145
3245
# The aliases save the names the user supplied, while $host etc.
5146
# The aliases save the names the user supplied, while $host etc.
Lines 3248-3270 Link Here
3248
  test "$program_prefix$program_suffix$program_transform_name" = \
5149
  test "$program_prefix$program_suffix$program_transform_name" = \
3249
    NONENONEs,x,x, &&
5150
    NONENONEs,x,x, &&
3250
  program_prefix=${target_alias}-
5151
  program_prefix=${target_alias}-
5152
3251
if test "$build" != "$host" -o "$build" != "$target" \
5153
if test "$build" != "$host" -o "$build" != "$target" \
3252
  -o "$host" != "$target"; then
5154
  -o "$host" != "$target"; then
3253
	{ echo "$as_me:$LINENO: WARNING: cross-compiling by any means is not supported (yet)!" >&5
5155
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross-compiling by any means is not supported (yet)!" >&5
3254
echo "$as_me: WARNING: cross-compiling by any means is not supported (yet)!" >&2;}
5156
$as_echo "$as_me: WARNING: cross-compiling by any means is not supported (yet)!" >&2;}
3255
	echo "cross-compiling by any means is not supported (yet)!" >> warn
5157
	echo "cross-compiling by any means is not supported (yet)!" >> warn
3256
fi
5158
fi
3257
5159
3258
if echo "$build_os" | grep cygwin; then
5160
if echo "$build_os" | grep cygwin; then
3259
   echo "$as_me:$LINENO: checking Cygwin version" >&5
5161
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Cygwin version" >&5
3260
echo $ECHO_N "checking Cygwin version... $ECHO_C" >&6
5162
$as_echo_n "checking Cygwin version... " >&6; }
3261
   CygwinVer=`uname -r`
5163
   CygwinVer=`uname -r`
3262
   echo "$as_me:$LINENO: result: $CygwinVer" >&5
5164
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CygwinVer" >&5
3263
echo "${ECHO_T}$CygwinVer" >&6
5165
$as_echo "$CygwinVer" >&6; }
3264
   if test "`echo $CygwinVer | $AWK -F . '{ print $1$2 }'`" -lt "15"; then
5166
   if test "`echo $CygwinVer | $AWK -F . '{ print $1$2 }'`" -lt "15"; then
3265
      { { echo "$as_me:$LINENO: error: You need at least Cygwin V1.5.x" >&5
5167
      as_fn_error "You need at least Cygwin V1.5.x" "$LINENO" 5
3266
echo "$as_me: error: You need at least Cygwin V1.5.x" >&2;}
3267
   { (exit 1); exit 1; }; }
3268
   fi
5168
   fi
3269
else
5169
else
3270
   CygwinVer="false"
5170
   CygwinVer="false"
Lines 3281-3290 Link Here
3281
		_os=SunOS
5181
		_os=SunOS
3282
		# Extract the first word of "gtar", so it can be a program name with args.
5182
		# Extract the first word of "gtar", so it can be a program name with args.
3283
set dummy gtar; ac_word=$2
5183
set dummy gtar; ac_word=$2
3284
echo "$as_me:$LINENO: checking for $ac_word" >&5
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185
$as_echo_n "checking for $ac_word... " >&6; }
3286
if test "${ac_cv_path_GNUTAR+set}" = set; then
5186
if test "${ac_cv_path_GNUTAR+set}" = set; then :
3287
  echo $ECHO_N "(cached) $ECHO_C" >&6
5187
  $as_echo_n "(cached) " >&6
3288
else
5188
else
3289
  case $GNUTAR in
5189
  case $GNUTAR in
3290
  [\\/]* | ?:[\\/]*)
5190
  [\\/]* | ?:[\\/]*)
Lines 3297-3352 Link Here
3297
do
5197
do
3298
  IFS=$as_save_IFS
5198
  IFS=$as_save_IFS
3299
  test -z "$as_dir" && as_dir=.
5199
  test -z "$as_dir" && as_dir=.
3300
  for ac_exec_ext in '' $ac_executable_extensions; do
5200
    for ac_exec_ext in '' $ac_executable_extensions; do
3301
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302
    ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
5202
    ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
3303
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5203
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304
    break 2
5204
    break 2
3305
  fi
5205
  fi
3306
done
5206
done
3307
done
5207
  done
5208
IFS=$as_save_IFS
3308
5209
3309
  ;;
5210
  ;;
3310
esac
5211
esac
3311
fi
5212
fi
3312
GNUTAR=$ac_cv_path_GNUTAR
5213
GNUTAR=$ac_cv_path_GNUTAR
3313
3314
if test -n "$GNUTAR"; then
5214
if test -n "$GNUTAR"; then
3315
  echo "$as_me:$LINENO: result: $GNUTAR" >&5
5215
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
3316
echo "${ECHO_T}$GNUTAR" >&6
5216
$as_echo "$GNUTAR" >&6; }
3317
else
5217
else
3318
  echo "$as_me:$LINENO: result: no" >&5
5218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319
echo "${ECHO_T}no" >&6
5219
$as_echo "no" >&6; }
3320
fi
5220
fi
5221
3321
5222
3322
		if test -z "$GNUTAR"; then
5223
		if test -z "$GNUTAR"; then
3323
			{ { echo "$as_me:$LINENO: error: gtar (gnu tar) not found but needed. Install it (SUN Freeware package)." >&5
5224
			as_fn_error "gtar (gnu tar) not found but needed. Install it (SUN Freeware package)." "$LINENO" 5
3324
echo "$as_me: error: gtar (gnu tar) not found but needed. Install it (SUN Freeware package)." >&2;}
3325
   { (exit 1); exit 1; }; }
3326
		fi
5225
		fi
3327
5226
3328
5227
3329
						   		echo "$as_me:$LINENO: checking the Solaris operating system release" >&5
5228
						   		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the Solaris operating system release" >&5
3330
echo $ECHO_N "checking the Solaris operating system release... $ECHO_C" >&6
5229
$as_echo_n "checking the Solaris operating system release... " >&6; }
3331
   		_os_release=`echo $build_os | $SED -e s/solaris2\.//`
5230
   		_os_release=`echo $build_os | $SED -e s/solaris2\.//`
3332
		if test "$_os_release" -lt "6"; then
5231
		if test "$_os_release" -lt "6"; then
3333
      			{ { echo "$as_me:$LINENO: error: use solaris >= 6 to build OpenOffice.org" >&5
5232
      			as_fn_error "use solaris >= 6 to build OpenOffice.org" "$LINENO" 5
3334
echo "$as_me: error: use solaris >= 6 to build OpenOffice.org" >&2;}
3335
   { (exit 1); exit 1; }; }
3336
   		else
5233
   		else
3337
      			echo "$as_me:$LINENO: result: ok ($_os_release)" >&5
5234
      			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok ($_os_release)" >&5
3338
echo "${ECHO_T}ok ($_os_release)" >&6
5235
$as_echo "ok ($_os_release)" >&6; }
3339
   		fi
5236
   		fi
3340
5237
3341
   		   		echo "$as_me:$LINENO: checking the processor type" >&5
5238
   		   		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the processor type" >&5
3342
echo $ECHO_N "checking the processor type... $ECHO_C" >&6
5239
$as_echo_n "checking the processor type... " >&6; }
3343
   		if test "$build_cpu" = "sparc" -o "$build_cpu" = "i386"; then
5240
   		if test "$build_cpu" = "sparc" -o "$build_cpu" = "i386"; then
3344
      			echo "$as_me:$LINENO: result: ok ($build_cpu)" >&5
5241
      			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok ($build_cpu)" >&5
3345
echo "${ECHO_T}ok ($build_cpu)" >&6
5242
$as_echo "ok ($build_cpu)" >&6; }
3346
   		else
5243
   		else
3347
      			{ { echo "$as_me:$LINENO: error: only sparc and i386 processors are supported" >&5
5244
      			as_fn_error "only sparc and i386 processors are supported" "$LINENO" 5
3348
echo "$as_me: error: only sparc and i386 processors are supported" >&2;}
3349
   { (exit 1); exit 1; }; }
3350
   		fi
5245
   		fi
3351
		;;
5246
		;;
3352
	linux-gnu*)
5247
	linux-gnu*)
Lines 3377-3384 Link Here
3377
		test_freetype=no
5272
		test_freetype=no
3378
		_os=Darwin
5273
		_os=Darwin
3379
      if test "$enable_systray" = "yes" && test "$enable_gtk" != "no"; then
5274
      if test "$enable_systray" = "yes" && test "$enable_gtk" != "no"; then
3380
         { echo "$as_me:$LINENO: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&5
5275
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&5
3381
echo "$as_me: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&2;}
5276
$as_echo "$as_me: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&2;}
3382
         echo "Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >>warn
5277
         echo "Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >>warn
3383
         enable_systray=no
5278
         enable_systray=no
3384
      fi
5279
      fi
Lines 3399-3415 Link Here
3399
		test_cups=yes
5294
		test_cups=yes
3400
        test_randr=yes
5295
        test_randr=yes
3401
		test_freetype=yes
5296
		test_freetype=yes
3402
		echo "$as_me:$LINENO: checking the FreeBSD operating system release" >&5
5297
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the FreeBSD operating system release" >&5
3403
echo $ECHO_N "checking the FreeBSD operating system release... $ECHO_C" >&6
5298
$as_echo_n "checking the FreeBSD operating system release... " >&6; }
3404
		if test -n "$with_os_version"; then
5299
		if test -n "$with_os_version"; then
3405
			OSVERSION="$with_os_version"
5300
			OSVERSION="$with_os_version"
3406
		else
5301
		else
3407
			OSVERSION=`/sbin/sysctl -n kern.osreldate`
5302
			OSVERSION=`/sbin/sysctl -n kern.osreldate`
3408
		fi
5303
		fi
3409
		echo "$as_me:$LINENO: result: found OSVERSION=$OSVERSION" >&5
5304
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found OSVERSION=$OSVERSION" >&5
3410
echo "${ECHO_T}found OSVERSION=$OSVERSION" >&6
5305
$as_echo "found OSVERSION=$OSVERSION" >&6; }
3411
		echo "$as_me:$LINENO: checking which thread library to use" >&5
5306
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which thread library to use" >&5
3412
echo $ECHO_N "checking which thread library to use... $ECHO_C" >&6
5307
$as_echo_n "checking which thread library to use... " >&6; }
3413
		if test "$OSVERSION" -lt "500016"; then
5308
		if test "$OSVERSION" -lt "500016"; then
3414
			PTHREAD_CFLAGS="-D_THREAD_SAFE"
5309
			PTHREAD_CFLAGS="-D_THREAD_SAFE"
3415
			PTHREAD_LIBS="-pthread"
5310
			PTHREAD_LIBS="-pthread"
Lines 3420-3427 Link Here
3420
			PTHREAD_CFLAGS=""
5315
			PTHREAD_CFLAGS=""
3421
			PTHREAD_LIBS="-pthread"
5316
			PTHREAD_LIBS="-pthread"
3422
		fi
5317
		fi
3423
		echo "$as_me:$LINENO: result: $PTHREAD_LIBS" >&5
5318
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_LIBS" >&5
3424
echo "${ECHO_T}$PTHREAD_LIBS" >&6
5319
$as_echo "$PTHREAD_LIBS" >&6; }
3425
		_os=FreeBSD
5320
		_os=FreeBSD
3426
		;;
5321
		;;
3427
	osf)
5322
	osf)
Lines 3450-3458 Link Here
3450
		_os=AIX
5345
		_os=AIX
3451
		;;
5346
		;;
3452
   *)
5347
   *)
3453
   { { echo "$as_me:$LINENO: error: $_os operating system is not suitable to build OpenOffice.org!" >&5
5348
   as_fn_error "$_os operating system is not suitable to build OpenOffice.org!" "$LINENO" 5
3454
echo "$as_me: error: $_os operating system is not suitable to build OpenOffice.org!" >&2;}
3455
   { (exit 1); exit 1; }; }
3456
   ;;
5349
   ;;
3457
esac
5350
esac
3458
5351
Lines 3460-3476 Link Here
3460
5353
3461
5354
3462
5355
3463
echo "$as_me:$LINENO: checking whether to enable crashdump feature" >&5
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable crashdump feature" >&5
3464
echo $ECHO_N "checking whether to enable crashdump feature... $ECHO_C" >&6
5357
$as_echo_n "checking whether to enable crashdump feature... " >&6; }
3465
if test "$enable_crashdump" = "yes"; then
5358
if test "$enable_crashdump" = "yes"; then
3466
   ENABLE_CRASHDUMP="TRUE"
5359
   ENABLE_CRASHDUMP="TRUE"
3467
   BUILD_TYPE="$BUILD_TYPE CRASHREP"
5360
   BUILD_TYPE="$BUILD_TYPE CRASHREP"
3468
   echo "$as_me:$LINENO: result: yes" >&5
5361
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3469
echo "${ECHO_T}yes" >&6
5362
$as_echo "yes" >&6; }
3470
else
5363
else
3471
   ENABLE_CRASHDUMP=""
5364
   ENABLE_CRASHDUMP=""
3472
   echo "$as_me:$LINENO: result: no" >&5
5365
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473
echo "${ECHO_T}no" >&6
5366
$as_echo "no" >&6; }
3474
fi
5367
fi
3475
5368
3476
5369
Lines 3479-3568 Link Here
3479
fi
5372
fi
3480
5373
3481
if test "$_os" = "WINNT"; then
5374
if test "$_os" = "WINNT"; then
3482
            echo "$as_me:$LINENO: checking whether to use the standard non-optimizing compiler" >&5
5375
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the standard non-optimizing compiler" >&5
3483
echo $ECHO_N "checking whether to use the standard non-optimizing compiler... $ECHO_C" >&6
5376
$as_echo_n "checking whether to use the standard non-optimizing compiler... " >&6; }
3484
   if test "$enable_cl_standard" = "" -o "$enable_cl_standard" = "no"; then
5377
   if test "$enable_cl_standard" = "" -o "$enable_cl_standard" = "no"; then
3485
      VC_STANDARD=""
5378
      VC_STANDARD=""
3486
      echo "$as_me:$LINENO: result: no" >&5
5379
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487
echo "${ECHO_T}no" >&6
5380
$as_echo "no" >&6; }
3488
   else
5381
   else
3489
      VC_STANDARD="TRUE"
5382
      VC_STANDARD="TRUE"
3490
      echo "$as_me:$LINENO: result: yes" >&5
5383
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491
echo "${ECHO_T}yes" >&6
5384
$as_echo "yes" >&6; }
3492
   fi
5385
   fi
3493
5386
3494
fi
5387
fi
3495
5388
3496
echo "$as_me:$LINENO: checking whether to turn warnings to errors" >&5
5389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to turn warnings to errors" >&5
3497
echo $ECHO_N "checking whether to turn warnings to errors... $ECHO_C" >&6
5390
$as_echo_n "checking whether to turn warnings to errors... " >&6; }
3498
if test -n "$enable_werror" && test "$enable_werror" != "no"; then
5391
if test -n "$enable_werror" && test "$enable_werror" != "no"; then
3499
   ENABLE_WERROR="TRUE"
5392
   ENABLE_WERROR="TRUE"
3500
   echo "$as_me:$LINENO: result: yes" >&5
5393
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501
echo "${ECHO_T}yes" >&6
5394
$as_echo "yes" >&6; }
3502
   { echo "$as_me:$LINENO: WARNING: Turning warnings to errors has no effect in modules or" >&5
5395
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Turning warnings to errors has no effect in modules or" >&5
3503
echo "$as_me: WARNING: Turning warnings to errors has no effect in modules or" >&2;}
5396
$as_echo "$as_me: WARNING: Turning warnings to errors has no effect in modules or" >&2;}
3504
   { echo "$as_me:$LINENO: WARNING: on platforms where it has been disabled explicitely" >&5
5397
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: on platforms where it has been disabled explicitely" >&5
3505
echo "$as_me: WARNING: on platforms where it has been disabled explicitely" >&2;}
5398
$as_echo "$as_me: WARNING: on platforms where it has been disabled explicitely" >&2;}
3506
   echo "Turning warnings to errors has no effect in modules or on platforms where it has been disabled explicitely" >> warn
5399
   echo "Turning warnings to errors has no effect in modules or on platforms where it has been disabled explicitely" >> warn
3507
else
5400
else
3508
   ENABLE_WERROR="FALSE"
5401
   ENABLE_WERROR="FALSE"
3509
   echo "$as_me:$LINENO: result: no" >&5
5402
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510
echo "${ECHO_T}no" >&6
5403
$as_echo "no" >&6; }
3511
fi
5404
fi
3512
5405
3513
5406
3514
echo "$as_me:$LINENO: checking whether to do a debug build" >&5
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do a debug build" >&5
3515
echo $ECHO_N "checking whether to do a debug build... $ECHO_C" >&6
5408
$as_echo_n "checking whether to do a debug build... " >&6; }
3516
if test -n "$enable_debug" && test "$enable_debug" != "no"; then
5409
if test -n "$enable_debug" && test "$enable_debug" != "no"; then
3517
   ENABLE_DEBUG="TRUE"
5410
   ENABLE_DEBUG="TRUE"
3518
   if test -z "$enable_symbols"; then
5411
   if test -z "$enable_symbols"; then
3519
      enable_symbols="yes"
5412
      enable_symbols="yes"
3520
   fi
5413
   fi
3521
   echo "$as_me:$LINENO: result: yes" >&5
5414
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3522
echo "${ECHO_T}yes" >&6
5415
$as_echo "yes" >&6; }
3523
else
5416
else
3524
   ENABLE_DEBUG="FALSE"
5417
   ENABLE_DEBUG="FALSE"
3525
   echo "$as_me:$LINENO: result: no" >&5
5418
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526
echo "${ECHO_T}no" >&6
5419
$as_echo "no" >&6; }
3527
fi
5420
fi
3528
5421
3529
5422
3530
echo "$as_me:$LINENO: checking whether to build with additional debug utilities" >&5
5423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with additional debug utilities" >&5
3531
echo $ECHO_N "checking whether to build with additional debug utilities... $ECHO_C" >&6
5424
$as_echo_n "checking whether to build with additional debug utilities... " >&6; }
3532
if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then
5425
if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then
3533
   PROEXT=""
5426
   PROEXT=""
3534
   PRODUCT=""
5427
   PRODUCT=""
3535
   PROFULLSWITCH=""
5428
   PROFULLSWITCH=""
3536
   echo "$as_me:$LINENO: result: yes" >&5
5429
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3537
echo "${ECHO_T}yes" >&6
5430
$as_echo "yes" >&6; }
3538
else
5431
else
3539
   PRODUCT="full"
5432
   PRODUCT="full"
3540
   PROFULLSWITCH="product=full"
5433
   PROFULLSWITCH="product=full"
3541
   PROEXT=".pro"
5434
   PROEXT=".pro"
3542
   echo "$as_me:$LINENO: result: no, full product build" >&5
5435
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, full product build" >&5
3543
echo "${ECHO_T}no, full product build" >&6
5436
$as_echo "no, full product build" >&6; }
3544
fi
5437
fi
3545
5438
3546
5439
3547
5440
3548
5441
3549
echo "$as_me:$LINENO: checking whether to include symbols into final build" >&5
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include symbols into final build" >&5
3550
echo $ECHO_N "checking whether to include symbols into final build... $ECHO_C" >&6
5443
$as_echo_n "checking whether to include symbols into final build... " >&6; }
3551
if test -n "$enable_symbols" && test "$enable_symbols" != "no"; then
5444
if test -n "$enable_symbols" && test "$enable_symbols" != "no"; then
3552
	if test "$enable_symbols" = "yes" -o "$enable_symbols" = "TRUE"; then
5445
	if test "$enable_symbols" = "yes" -o "$enable_symbols" = "TRUE"; then
3553
		ENABLE_SYMBOLS="TRUE"
5446
		ENABLE_SYMBOLS="TRUE"
3554
		echo "$as_me:$LINENO: result: yes" >&5
5447
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555
echo "${ECHO_T}yes" >&6
5448
$as_echo "yes" >&6; }
3556
	else
5449
	else
3557
		if test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
5450
		if test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
3558
			ENABLE_SYMBOLS="SMALL"
5451
			ENABLE_SYMBOLS="SMALL"
3559
			echo "$as_me:$LINENO: result: yes, small ones" >&5
5452
			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, small ones" >&5
3560
echo "${ECHO_T}yes, small ones" >&6
5453
$as_echo "yes, small ones" >&6; }
3561
		else if test "$enable_symbols" != "no" ; then
5454
		else if test "$enable_symbols" != "no" ; then
3562
			     echo enable symbols is: $enable_symbols
5455
			     echo enable symbols is: $enable_symbols
3563
			     { { echo "$as_me:$LINENO: error: --enable-symbols only accepts yes, TRUE or SMALL as parameter." >&5
5456
			     as_fn_error "--enable-symbols only accepts yes, TRUE or SMALL as parameter." "$LINENO" 5
3564
echo "$as_me: error: --enable-symbols only accepts yes, TRUE or SMALL as parameter." >&2;}
3565
   { (exit 1); exit 1; }; }
3566
           	     else
5457
           	     else
3567
              		     ENABLE_SYMBOLS=
5458
              		     ENABLE_SYMBOLS=
3568
		     fi
5459
		     fi
Lines 3570-3591 Link Here
3570
	fi
5461
	fi
3571
else
5462
else
3572
   ENABLE_SYMBOLS=
5463
   ENABLE_SYMBOLS=
3573
   echo "$as_me:$LINENO: result: no" >&5
5464
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574
echo "${ECHO_T}no" >&6
5465
$as_echo "no" >&6; }
3575
fi
5466
fi
3576
5467
3577
5468
3578
echo "$as_me:$LINENO: checking whether to strip the solver or not." >&5
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to strip the solver or not." >&5
3579
echo $ECHO_N "checking whether to strip the solver or not.... $ECHO_C" >&6
5470
$as_echo_n "checking whether to strip the solver or not.... " >&6; }
3580
if test -n "$enable_strip_solver"; then
5471
if test -n "$enable_strip_solver"; then
3581
   if test "$enable_strip_solver" = "yes"; then
5472
   if test "$enable_strip_solver" = "yes"; then
3582
      DISABLE_STRIP=
5473
      DISABLE_STRIP=
3583
   else if test "$enable_strip_solver" = "no"; then
5474
   else if test "$enable_strip_solver" = "no"; then
3584
           DISABLE_STRIP="TRUE"
5475
           DISABLE_STRIP="TRUE"
3585
        else
5476
        else
3586
           { { echo "$as_me:$LINENO: error: --disable-strip-solver only accepts yes or no as parameter." >&5
5477
           as_fn_error "--disable-strip-solver only accepts yes or no as parameter." "$LINENO" 5
3587
echo "$as_me: error: --disable-strip-solver only accepts yes or no as parameter." >&2;}
3588
   { (exit 1); exit 1; }; }
3589
        fi
5478
        fi
3590
   fi
5479
   fi
3591
else
5480
else
Lines 3597-3771 Link Here
3597
fi
5486
fi
3598
5487
3599
5488
3600
echo "$as_me:$LINENO: checking whether to enable native CUPS support" >&5
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable native CUPS support" >&5
3601
echo $ECHO_N "checking whether to enable native CUPS support... $ECHO_C" >&6
5490
$as_echo_n "checking whether to enable native CUPS support... " >&6; }
3602
if test "$test_cups" = "yes" -a \( "$enable_cups" = "yes" -o "$enable_cups" = "TRUE" \) ; then
5491
if test "$test_cups" = "yes" -a \( "$enable_cups" = "yes" -o "$enable_cups" = "TRUE" \) ; then
3603
   ENABLE_CUPS="TRUE"
5492
   ENABLE_CUPS="TRUE"
3604
   echo "$as_me:$LINENO: result: yes" >&5
5493
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605
echo "${ECHO_T}yes" >&6
5494
$as_echo "yes" >&6; }
3606
else
5495
else
3607
   ENABLE_CUPS=""
5496
   ENABLE_CUPS=""
3608
   echo "$as_me:$LINENO: result: no" >&5
5497
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609
echo "${ECHO_T}no" >&6
5498
$as_echo "no" >&6; }
3610
fi
5499
fi
3611
5500
3612
5501
3613
echo "$as_me:$LINENO: checking whether to enable fontconfig support" >&5
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable fontconfig support" >&5
3614
echo $ECHO_N "checking whether to enable fontconfig support... $ECHO_C" >&6
5503
$as_echo_n "checking whether to enable fontconfig support... " >&6; }
3615
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a \( "$enable_fontconfig" = "yes" -o "$enable_fontconfig" = "TRUE" \); then
5504
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a \( "$enable_fontconfig" = "yes" -o "$enable_fontconfig" = "TRUE" \); then
3616
   ENABLE_FONTCONFIG="TRUE"
5505
   ENABLE_FONTCONFIG="TRUE"
3617
   echo "$as_me:$LINENO: result: yes" >&5
5506
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618
echo "${ECHO_T}yes" >&6
5507
$as_echo "yes" >&6; }
3619
else
5508
else
3620
   ENABLE_FONTCONFIG=""
5509
   ENABLE_FONTCONFIG=""
3621
   echo "$as_me:$LINENO: result: no" >&5
5510
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622
echo "${ECHO_T}no" >&6
5511
$as_echo "no" >&6; }
3623
fi
5512
fi
3624
5513
3625
5514
3626
5515
3627
echo "$as_me:$LINENO: checking whether to enable filters for legacy binary file formats (StarOffice 5.2)" >&5
5516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable filters for legacy binary file formats (StarOffice 5.2)" >&5
3628
echo $ECHO_N "checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... $ECHO_C" >&6
5517
$as_echo_n "checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... " >&6; }
3629
if test "$enable_binfilter" = "no"; then
5518
if test "$enable_binfilter" = "no"; then
3630
   WITH_BINFILTER="NO"
5519
   WITH_BINFILTER="NO"
3631
   echo "$as_me:$LINENO: result: no" >&5
5520
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632
echo "${ECHO_T}no" >&6
5521
$as_echo "no" >&6; }
3633
else
5522
else
3634
   WITH_BINFILTER="YES"
5523
   WITH_BINFILTER="YES"
3635
   BUILD_TYPE="$BUILD_TYPE BINFILTER"
5524
   BUILD_TYPE="$BUILD_TYPE BINFILTER"
3636
   echo "$as_me:$LINENO: result: yes" >&5
5525
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637
echo "${ECHO_T}yes" >&6
5526
$as_echo "yes" >&6; }
3638
fi
5527
fi
3639
5528
3640
5529
3641
if test "$_os" = "WINNT"; then
5530
if test "$_os" = "WINNT"; then
3642
   echo "$as_me:$LINENO: checking whether to use DirectX" >&5
5531
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use DirectX" >&5
3643
echo $ECHO_N "checking whether to use DirectX... $ECHO_C" >&6
5532
$as_echo_n "checking whether to use DirectX... " >&6; }
3644
   if test "$enable_directx" = "yes" -o "$enable_directx" = "TRUE" -o "$enable_directx" = ""; then
5533
   if test "$enable_directx" = "yes" -o "$enable_directx" = "TRUE" -o "$enable_directx" = ""; then
3645
      ENABLE_DIRECTX="TRUE"
5534
      ENABLE_DIRECTX="TRUE"
3646
      echo "$as_me:$LINENO: result: yes" >&5
5535
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3647
echo "${ECHO_T}yes" >&6
5536
$as_echo "yes" >&6; }
3648
   else
5537
   else
3649
      ENABLE_DIRECTX=""
5538
      ENABLE_DIRECTX=""
3650
      echo "$as_me:$LINENO: result: no" >&5
5539
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651
echo "${ECHO_T}no" >&6
5540
$as_echo "no" >&6; }
3652
   fi
5541
   fi
3653
5542
3654
5543
3655
   echo "$as_me:$LINENO: checking whether to use ActiveX" >&5
5544
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ActiveX" >&5
3656
echo $ECHO_N "checking whether to use ActiveX... $ECHO_C" >&6
5545
$as_echo_n "checking whether to use ActiveX... " >&6; }
3657
   if test "$enable_activex" = "yes" -o "$enable_activex" = "TRUE" -o "$enable_activex" = ""; then
5546
   if test "$enable_activex" = "yes" -o "$enable_activex" = "TRUE" -o "$enable_activex" = ""; then
3658
      DISABLE_ACTIVEX=""
5547
      DISABLE_ACTIVEX=""
3659
      echo "$as_me:$LINENO: result: yes" >&5
5548
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3660
echo "${ECHO_T}yes" >&6
5549
$as_echo "yes" >&6; }
3661
   else
5550
   else
3662
      DISABLE_ACTIVEX="TRUE"
5551
      DISABLE_ACTIVEX="TRUE"
3663
      echo "$as_me:$LINENO: result: no" >&5
5552
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664
echo "${ECHO_T}no" >&6
5553
$as_echo "no" >&6; }
3665
   fi
5554
   fi
3666
5555
3667
5556
3668
   echo "$as_me:$LINENO: checking whether to use ATL" >&5
5557
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ATL" >&5
3669
echo $ECHO_N "checking whether to use ATL... $ECHO_C" >&6
5558
$as_echo_n "checking whether to use ATL... " >&6; }
3670
   if test "$enable_atl" = "yes" -o "$enable_atl" = "TRUE" -o "$enable_atl" = ""; then
5559
   if test "$enable_atl" = "yes" -o "$enable_atl" = "TRUE" -o "$enable_atl" = ""; then
3671
      DISABLE_ATL=""
5560
      DISABLE_ATL=""
3672
      echo "$as_me:$LINENO: result: yes" >&5
5561
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3673
echo "${ECHO_T}yes" >&6
5562
$as_echo "yes" >&6; }
3674
   else
5563
   else
3675
      DISABLE_ATL="TRUE"
5564
      DISABLE_ATL="TRUE"
3676
      echo "$as_me:$LINENO: result: no" >&5
5565
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677
echo "${ECHO_T}no" >&6
5566
$as_echo "no" >&6; }
3678
   fi
5567
   fi
3679
5568
3680
5569
3681
fi
5570
fi
3682
5571
3683
echo "$as_me:$LINENO: checking whether to use RPATH in shared libraries" >&5
5572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use RPATH in shared libraries" >&5
3684
echo $ECHO_N "checking whether to use RPATH in shared libraries... $ECHO_C" >&6
5573
$as_echo_n "checking whether to use RPATH in shared libraries... " >&6; }
3685
if test "$enable_rpath" = "no"; then
5574
if test "$enable_rpath" = "no"; then
3686
   ENABLE_RPATH="no"
5575
   ENABLE_RPATH="no"
3687
else
5576
else
3688
   ENABLE_RPATH="yes"
5577
   ENABLE_RPATH="yes"
3689
fi
5578
fi
3690
echo "$as_me:$LINENO: result: $ENABLE_RPATH" >&5
5579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_RPATH" >&5
3691
echo "${ECHO_T}$ENABLE_RPATH" >&6
5580
$as_echo "$ENABLE_RPATH" >&6; }
3692
5581
3693
5582
3694
echo "$as_me:$LINENO: checking whether to include MySpell dictionaries" >&5
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include MySpell dictionaries" >&5
3695
echo $ECHO_N "checking whether to include MySpell dictionaries... $ECHO_C" >&6
5584
$as_echo_n "checking whether to include MySpell dictionaries... " >&6; }
3696
if test -z "$with_myspell_dicts" || test "$with_myspell_dicts" = "yes"; then
5585
if test -z "$with_myspell_dicts" || test "$with_myspell_dicts" = "yes"; then
3697
  echo "$as_me:$LINENO: result: yes" >&5
5586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698
echo "${ECHO_T}yes" >&6
5587
$as_echo "yes" >&6; }
3699
  WITH_MYSPELL_DICTS=YES
5588
  WITH_MYSPELL_DICTS=YES
3700
  BUILD_TYPE="$BUILD_TYPE DICTIONARIES"
5589
  BUILD_TYPE="$BUILD_TYPE DICTIONARIES"
3701
else
5590
else
3702
  echo "$as_me:$LINENO: result: no" >&5
5591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703
echo "${ECHO_T}no" >&6
5592
$as_echo "no" >&6; }
3704
  WITH_MYSPELL_DICTS=NO
5593
  WITH_MYSPELL_DICTS=NO
3705
fi
5594
fi
3706
5595
3707
5596
3708
if test "$WITH_MYSPELL_DICTS" = "NO"; then
5597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use dicts from external paths" >&5
3709
  echo "$as_me:$LINENO: checking whether to use dicts from external paths" >&5
5598
$as_echo_n "checking whether to use dicts from external paths... " >&6; }
3710
echo $ECHO_N "checking whether to use dicts from external paths... $ECHO_C" >&6
5599
if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
3711
  if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
5600
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712
	echo "$as_me:$LINENO: result: yes" >&5
5601
$as_echo "yes" >&6; }
3713
echo "${ECHO_T}yes" >&6
5602
 SYSTEM_DICTS=YES
3714
	SYSTEM_DICTS=YES
5603
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spelling dictionary directory" >&5
3715
	echo "$as_me:$LINENO: checking for spelling dictionary directory" >&5
5604
$as_echo_n "checking for spelling dictionary directory... " >&6; }
3716
echo $ECHO_N "checking for spelling dictionary directory... $ECHO_C" >&6
5605
 if test -n "$with_external_dict_dir"; then
3717
	if test -n "$with_external_dict_dir"; then
5606
 	DICT_SYSTEM_DIR=file://$with_external_dict_dir
3718
		DICT_SYSTEM_DIR=file://$with_external_dict_dir
5607
 else
3719
	else
5608
 	DICT_SYSTEM_DIR=file:///usr/share/hunspell
3720
		DICT_SYSTEM_DIR=file:///usr/share/hunspell
5609
 fi
3721
	fi
5610
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DICT_SYSTEM_DIR" >&5
3722
	echo "$as_me:$LINENO: result: $DICT_SYSTEM_DIR" >&5
5611
$as_echo "$DICT_SYSTEM_DIR" >&6; }
3723
echo "${ECHO_T}$DICT_SYSTEM_DIR" >&6
5612
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hyphenation patterns directory" >&5
3724
	echo "$as_me:$LINENO: checking for hyphenation patterns directory" >&5
5613
$as_echo_n "checking for hyphenation patterns directory... " >&6; }
3725
echo $ECHO_N "checking for hyphenation patterns directory... $ECHO_C" >&6
5614
 if test -n "$with_external_hyph_dir"; then
3726
	if test -n "$with_external_hyph_dir"; then
5615
 	HYPH_SYSTEM_DIR=file://$with_external_hyph_dir
3727
		HYPH_SYSTEM_DIR=file://$with_external_hyph_dir
5616
 else
3728
	else
5617
 	HYPH_SYSTEM_DIR=file:///usr/share/hyphen
3729
		HYPH_SYSTEM_DIR=file:///usr/share/hyphen
5618
 fi
3730
	fi
5619
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HYPH_SYSTEM_DIR" >&5
3731
	echo "$as_me:$LINENO: result: $HYPH_SYSTEM_DIR" >&5
5620
$as_echo "$HYPH_SYSTEM_DIR" >&6; }
3732
echo "${ECHO_T}$HYPH_SYSTEM_DIR" >&6
5621
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thesaurus directory" >&5
3733
	echo "$as_me:$LINENO: checking for thesaurus directory" >&5
5622
$as_echo_n "checking for thesaurus directory... " >&6; }
3734
echo $ECHO_N "checking for thesaurus directory... $ECHO_C" >&6
5623
 if test -n "$with_external_thes_dir"; then
3735
	if test -n "$with_external_thes_dir"; then
5624
 	THES_SYSTEM_DIR=file://$with_external_thes_dir
3736
		THES_SYSTEM_DIR=file://$with_external_thes_dir
5625
 else
3737
	else
5626
 	THES_SYSTEM_DIR=file:///usr/share/mythes
3738
		THES_SYSTEM_DIR=file:///usr/share/mythes
5627
 fi
3739
	fi
5628
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THES_SYSTEM_DIR" >&5
3740
	echo "$as_me:$LINENO: result: $THES_SYSTEM_DIR" >&5
5629
$as_echo "$THES_SYSTEM_DIR" >&6; }
3741
echo "${ECHO_T}$THES_SYSTEM_DIR" >&6
5630
else
3742
  else
5631
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743
  	echo "$as_me:$LINENO: result: no" >&5
5632
$as_echo "no" >&6; }
3744
echo "${ECHO_T}no" >&6
5633
	SYSTEM_DICTS=NO
3745
  	SYSTEM_DICTS=NO
5634
fi
3746
  fi
5635
3747
fi
5636
3748
5637
3749
5638
3750
5639
3751
5640
3752
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which shell to use" >&5
3753
echo "$as_me:$LINENO: checking which shell to use" >&5
5642
$as_echo_n "checking which shell to use... " >&6; }
3754
echo $ECHO_N "checking which shell to use... $ECHO_C" >&6
3755
if test $_os = "WINNT"; then
5643
if test $_os = "WINNT"; then
3756
      if test "$with_use_shell" != "tcsh" -a "$with_use_shell" != "bash"; then
5644
      if test "$with_use_shell" != "tcsh" -a "$with_use_shell" != "bash"; then
3757
      { { echo "$as_me:$LINENO: error: only \"tcsh\" or \"bash\" are supported options" >&5
5645
      as_fn_error "only \"tcsh\" or \"bash\" are supported options" "$LINENO" 5
3758
echo "$as_me: error: only \"tcsh\" or \"bash\" are supported options" >&2;}
3759
   { (exit 1); exit 1; }; }
3760
   fi
5646
   fi
3761
                     if test -L $AWK -o -L `which awk` -o -L `which tar` -o -L `which gunzip` ; then
5647
                     if test -L $AWK -o -L `which awk` -o -L `which tar` -o -L `which gunzip` ; then
3762
         { { echo "$as_me:$LINENO: error: $AWK, awk, tar or gunzip is a cygwin symlink!
5648
         as_fn_error "$AWK, awk, tar or gunzip is a cygwin symlink!
3763
Native windows programs cannot use cygwin symlinks. Remove the symbolic
5649
Native windows programs cannot use cygwin symlinks. Remove the symbolic
3764
link, and copy the program to the name of the link." >&5
5650
link, and copy the program to the name of the link." "$LINENO" 5
3765
echo "$as_me: error: $AWK, awk, tar or gunzip is a cygwin symlink!
3766
Native windows programs cannot use cygwin symlinks. Remove the symbolic
3767
link, and copy the program to the name of the link." >&2;}
3768
   { (exit 1); exit 1; }; }
3769
      fi
5651
      fi
3770
                  CC=`echo $CC | $SED "s/^guw.exe //"`
5652
                  CC=`echo $CC | $SED "s/^guw.exe //"`
3771
   CXX=`echo $CXX | $SED "s/^guw.exe //"`
5653
   CXX=`echo $CXX | $SED "s/^guw.exe //"`
Lines 3785-3817 Link Here
3785
   fi
5667
   fi
3786
elif test $_os = "OS2"; then
5668
elif test $_os = "OS2"; then
3787
   if test "$with_use_shell" != "tcsh"; then
5669
   if test "$with_use_shell" != "tcsh"; then
3788
      { { echo "$as_me:$LINENO: error: only \"tcsh\" is supported options" >&5
5670
      as_fn_error "only \"tcsh\" is supported options" "$LINENO" 5
3789
echo "$as_me: error: only \"tcsh\" is supported options" >&2;}
3790
   { (exit 1); exit 1; }; }
3791
   fi
5671
   fi
3792
else
5672
else
3793
            if test "$with_use_shell" != "tcsh" -a "$with_use_shell" != "bash"; then
5673
            if test "$with_use_shell" != "tcsh" -a "$with_use_shell" != "bash"; then
3794
      { { echo "$as_me:$LINENO: error: only \"tcsh\" or \"bash\" are supported options" >&5
5674
      as_fn_error "only \"tcsh\" or \"bash\" are supported options" "$LINENO" 5
3795
echo "$as_me: error: only \"tcsh\" or \"bash\" are supported options" >&2;}
3796
   { (exit 1); exit 1; }; }
3797
   fi
5675
   fi
3798
fi
5676
fi
3799
USE_SHELL="$with_use_shell"
5677
USE_SHELL="$with_use_shell"
3800
echo "$as_me:$LINENO: result: $USE_SHELL" >&5
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_SHELL" >&5
3801
echo "${ECHO_T}$USE_SHELL" >&6
5679
$as_echo "$USE_SHELL" >&6; }
3802
5680
3803
5681
3804
5682
3805
if test "$_os" = "WINNT" ; then
5683
if test "$_os" = "WINNT" ; then
3806
   echo "$as_me:$LINENO: checking for cygwin gcc/g++" >&5
5684
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin gcc/g++" >&5
3807
echo $ECHO_N "checking for cygwin gcc/g++... $ECHO_C" >&6
5685
$as_echo_n "checking for cygwin gcc/g++... " >&6; }
3808
   if which gcc > /dev/null && which g++ > /dev/null ; then
5686
   if which gcc > /dev/null && which g++ > /dev/null ; then
3809
      echo "$as_me:$LINENO: result: found" >&5
5687
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3810
echo "${ECHO_T}found" >&6
5688
$as_echo "found" >&6; }
3811
   else
5689
   else
3812
      { { echo "$as_me:$LINENO: error: cygwin gcc and g++ are needed, please install them." >&5
5690
      as_fn_error "cygwin gcc and g++ are needed, please install them." "$LINENO" 5
3813
echo "$as_me: error: cygwin gcc and g++ are needed, please install them." >&2;}
3814
   { (exit 1); exit 1; }; }
3815
   fi
5691
   fi
3816
fi
5692
fi
3817
5693
Lines 3819-3828 Link Here
3819
if test "$with_use_shell" = "tcsh"; then
5695
if test "$with_use_shell" = "tcsh"; then
3820
   # Extract the first word of "tcsh", so it can be a program name with args.
5696
   # Extract the first word of "tcsh", so it can be a program name with args.
3821
set dummy tcsh; ac_word=$2
5697
set dummy tcsh; ac_word=$2
3822
echo "$as_me:$LINENO: checking for $ac_word" >&5
5698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699
$as_echo_n "checking for $ac_word... " >&6; }
3824
if test "${ac_cv_path_SHELLPATH+set}" = set; then
5700
if test "${ac_cv_path_SHELLPATH+set}" = set; then :
3825
  echo $ECHO_N "(cached) $ECHO_C" >&6
5701
  $as_echo_n "(cached) " >&6
3826
else
5702
else
3827
  case $SHELLPATH in
5703
  case $SHELLPATH in
3828
  [\\/]* | ?:[\\/]*)
5704
  [\\/]* | ?:[\\/]*)
Lines 3834-3875 Link Here
3834
do
5710
do
3835
  IFS=$as_save_IFS
5711
  IFS=$as_save_IFS
3836
  test -z "$as_dir" && as_dir=.
5712
  test -z "$as_dir" && as_dir=.
3837
  for ac_exec_ext in '' $ac_executable_extensions; do
5713
    for ac_exec_ext in '' $ac_executable_extensions; do
3838
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3839
    ac_cv_path_SHELLPATH="$as_dir/$ac_word$ac_exec_ext"
5715
    ac_cv_path_SHELLPATH="$as_dir/$ac_word$ac_exec_ext"
3840
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5716
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841
    break 2
5717
    break 2
3842
  fi
5718
  fi
3843
done
5719
done
3844
done
5720
  done
5721
IFS=$as_save_IFS
3845
5722
3846
  ;;
5723
  ;;
3847
esac
5724
esac
3848
fi
5725
fi
3849
SHELLPATH=$ac_cv_path_SHELLPATH
5726
SHELLPATH=$ac_cv_path_SHELLPATH
3850
3851
if test -n "$SHELLPATH"; then
5727
if test -n "$SHELLPATH"; then
3852
  echo "$as_me:$LINENO: result: $SHELLPATH" >&5
5728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELLPATH" >&5
3853
echo "${ECHO_T}$SHELLPATH" >&6
5729
$as_echo "$SHELLPATH" >&6; }
3854
else
5730
else
3855
  echo "$as_me:$LINENO: result: no" >&5
5731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856
echo "${ECHO_T}no" >&6
5732
$as_echo "no" >&6; }
3857
fi
5733
fi
5734
3858
5735
3859
   if test -z "$SHELLPATH"; then
5736
   if test -z "$SHELLPATH"; then
3860
      { { echo "$as_me:$LINENO: error: tcsh not found in \$PATH" >&5
5737
      as_fn_error "tcsh not found in \$PATH" "$LINENO" 5
3861
echo "$as_me: error: tcsh not found in \$PATH" >&2;}
3862
   { (exit 1); exit 1; }; }
3863
   else
5738
   else
3864
      SHELLPATH=`echo $SHELLPATH | $SED -n "s/\/tcsh$//p"`
5739
      SHELLPATH=`echo $SHELLPATH | $SED -n "s/\/tcsh$//p"`
3865
   fi
5740
   fi
3866
elif test "$with_use_shell" = "bash"; then
5741
elif test "$with_use_shell" = "bash"; then
3867
   # Extract the first word of "bash", so it can be a program name with args.
5742
   # Extract the first word of "bash", so it can be a program name with args.
3868
set dummy bash; ac_word=$2
5743
set dummy bash; ac_word=$2
3869
echo "$as_me:$LINENO: checking for $ac_word" >&5
5744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5745
$as_echo_n "checking for $ac_word... " >&6; }
3871
if test "${ac_cv_path_SHELLPATH+set}" = set; then
5746
if test "${ac_cv_path_SHELLPATH+set}" = set; then :
3872
  echo $ECHO_N "(cached) $ECHO_C" >&6
5747
  $as_echo_n "(cached) " >&6
3873
else
5748
else
3874
  case $SHELLPATH in
5749
  case $SHELLPATH in
3875
  [\\/]* | ?:[\\/]*)
5750
  [\\/]* | ?:[\\/]*)
Lines 3881-3931 Link Here
3881
do
5756
do
3882
  IFS=$as_save_IFS
5757
  IFS=$as_save_IFS
3883
  test -z "$as_dir" && as_dir=.
5758
  test -z "$as_dir" && as_dir=.
3884
  for ac_exec_ext in '' $ac_executable_extensions; do
5759
    for ac_exec_ext in '' $ac_executable_extensions; do
3885
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886
    ac_cv_path_SHELLPATH="$as_dir/$ac_word$ac_exec_ext"
5761
    ac_cv_path_SHELLPATH="$as_dir/$ac_word$ac_exec_ext"
3887
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888
    break 2
5763
    break 2
3889
  fi
5764
  fi
3890
done
5765
done
3891
done
5766
  done
5767
IFS=$as_save_IFS
3892
5768
3893
  ;;
5769
  ;;
3894
esac
5770
esac
3895
fi
5771
fi
3896
SHELLPATH=$ac_cv_path_SHELLPATH
5772
SHELLPATH=$ac_cv_path_SHELLPATH
3897
3898
if test -n "$SHELLPATH"; then
5773
if test -n "$SHELLPATH"; then
3899
  echo "$as_me:$LINENO: result: $SHELLPATH" >&5
5774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELLPATH" >&5
3900
echo "${ECHO_T}$SHELLPATH" >&6
5775
$as_echo "$SHELLPATH" >&6; }
3901
else
5776
else
3902
  echo "$as_me:$LINENO: result: no" >&5
5777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903
echo "${ECHO_T}no" >&6
5778
$as_echo "no" >&6; }
3904
fi
5779
fi
5780
3905
5781
3906
   if test -z "$SHELLPATH"; then
5782
   if test -z "$SHELLPATH"; then
3907
      { { echo "$as_me:$LINENO: error: bash not found in \$PATH" >&5
5783
      as_fn_error "bash not found in \$PATH" "$LINENO" 5
3908
echo "$as_me: error: bash not found in \$PATH" >&2;}
3909
   { (exit 1); exit 1; }; }
3910
   else
5784
   else
3911
      SHELLPATH=`echo $SHELLPATH | $SED -n "s/\/bash$//p"`
5785
      SHELLPATH=`echo $SHELLPATH | $SED -n "s/\/bash$//p"`
3912
   fi
5786
   fi
3913
else
5787
else
3914
   { echo "$as_me:$LINENO: WARNING: Windows/OS/2 4NT builds don't test for the shell" >&5
5788
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Windows/OS/2 4NT builds don't test for the shell" >&5
3915
echo "$as_me: WARNING: Windows/OS/2 4NT builds don't test for the shell" >&2;}
5789
$as_echo "$as_me: WARNING: Windows/OS/2 4NT builds don't test for the shell" >&2;}
3916
   SHELLPATH="NO_SHELLPATH_NEEDED"
5790
   SHELLPATH="NO_SHELLPATH_NEEDED"
3917
fi
5791
fi
3918
5792
3919
5793
3920
echo "$as_me:$LINENO: checking gcc home" >&5
5794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc home" >&5
3921
echo $ECHO_N "checking gcc home... $ECHO_C" >&6
5795
$as_echo_n "checking gcc home... " >&6; }
3922
if test -z "$with_gcc_home"; then
5796
if test -z "$with_gcc_home"; then
3923
	GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,`
5797
	GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,`
3924
else
5798
else
3925
	GCC_HOME="$with_gcc_home"
5799
	GCC_HOME="$with_gcc_home"
3926
fi
5800
fi
3927
echo "$as_me:$LINENO: result: $GCC_HOME" >&5
5801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_HOME" >&5
3928
echo "${ECHO_T}$GCC_HOME" >&6
5802
$as_echo "$GCC_HOME" >&6; }
3929
5803
3930
5804
3931
if test -n "$with_gcc_home"; then
5805
if test -n "$with_gcc_home"; then
Lines 3943-3952 Link Here
3943
if test -n "$ac_tool_prefix"; then
5817
if test -n "$ac_tool_prefix"; then
3944
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5818
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3945
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5819
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3946
echo "$as_me:$LINENO: checking for $ac_word" >&5
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5821
$as_echo_n "checking for $ac_word... " >&6; }
3948
if test "${ac_cv_prog_CC+set}" = set; then
5822
if test "${ac_cv_prog_CC+set}" = set; then :
3949
  echo $ECHO_N "(cached) $ECHO_C" >&6
5823
  $as_echo_n "(cached) " >&6
3950
else
5824
else
3951
  if test -n "$CC"; then
5825
  if test -n "$CC"; then
3952
  ac_cv_prog_CC="$CC" # Let the user override the test.
5826
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 3956-3990 Link Here
3956
do
5830
do
3957
  IFS=$as_save_IFS
5831
  IFS=$as_save_IFS
3958
  test -z "$as_dir" && as_dir=.
5832
  test -z "$as_dir" && as_dir=.
3959
  for ac_exec_ext in '' $ac_executable_extensions; do
5833
    for ac_exec_ext in '' $ac_executable_extensions; do
3960
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5835
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3962
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5836
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963
    break 2
5837
    break 2
3964
  fi
5838
  fi
3965
done
5839
done
3966
done
5840
  done
5841
IFS=$as_save_IFS
3967
5842
3968
fi
5843
fi
3969
fi
5844
fi
3970
CC=$ac_cv_prog_CC
5845
CC=$ac_cv_prog_CC
3971
if test -n "$CC"; then
5846
if test -n "$CC"; then
3972
  echo "$as_me:$LINENO: result: $CC" >&5
5847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3973
echo "${ECHO_T}$CC" >&6
5848
$as_echo "$CC" >&6; }
3974
else
5849
else
3975
  echo "$as_me:$LINENO: result: no" >&5
5850
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976
echo "${ECHO_T}no" >&6
5851
$as_echo "no" >&6; }
3977
fi
5852
fi
5853
3978
5854
3979
fi
5855
fi
3980
if test -z "$ac_cv_prog_CC"; then
5856
if test -z "$ac_cv_prog_CC"; then
3981
  ac_ct_CC=$CC
5857
  ac_ct_CC=$CC
3982
  # Extract the first word of "gcc", so it can be a program name with args.
5858
  # Extract the first word of "gcc", so it can be a program name with args.
3983
set dummy gcc; ac_word=$2
5859
set dummy gcc; ac_word=$2
3984
echo "$as_me:$LINENO: checking for $ac_word" >&5
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5861
$as_echo_n "checking for $ac_word... " >&6; }
3986
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5862
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3987
  echo $ECHO_N "(cached) $ECHO_C" >&6
5863
  $as_echo_n "(cached) " >&6
3988
else
5864
else
3989
  if test -n "$ac_ct_CC"; then
5865
  if test -n "$ac_ct_CC"; then
3990
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5866
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 3994-4032 Link Here
3994
do
5870
do
3995
  IFS=$as_save_IFS
5871
  IFS=$as_save_IFS
3996
  test -z "$as_dir" && as_dir=.
5872
  test -z "$as_dir" && as_dir=.
3997
  for ac_exec_ext in '' $ac_executable_extensions; do
5873
    for ac_exec_ext in '' $ac_executable_extensions; do
3998
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3999
    ac_cv_prog_ac_ct_CC="gcc"
5875
    ac_cv_prog_ac_ct_CC="gcc"
4000
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001
    break 2
5877
    break 2
4002
  fi
5878
  fi
4003
done
5879
done
4004
done
5880
  done
5881
IFS=$as_save_IFS
4005
5882
4006
fi
5883
fi
4007
fi
5884
fi
4008
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5885
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4009
if test -n "$ac_ct_CC"; then
5886
if test -n "$ac_ct_CC"; then
4010
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4011
echo "${ECHO_T}$ac_ct_CC" >&6
5888
$as_echo "$ac_ct_CC" >&6; }
4012
else
5889
else
4013
  echo "$as_me:$LINENO: result: no" >&5
5890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014
echo "${ECHO_T}no" >&6
5891
$as_echo "no" >&6; }
4015
fi
5892
fi
4016
5893
4017
  CC=$ac_ct_CC
5894
  if test "x$ac_ct_CC" = x; then
5895
    CC=""
5896
  else
5897
    case $cross_compiling:$ac_tool_warned in
5898
yes:)
5899
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901
ac_tool_warned=yes ;;
5902
esac
5903
    CC=$ac_ct_CC
5904
  fi
4018
else
5905
else
4019
  CC="$ac_cv_prog_CC"
5906
  CC="$ac_cv_prog_CC"
4020
fi
5907
fi
4021
5908
4022
if test -z "$CC"; then
5909
if test -z "$CC"; then
4023
  if test -n "$ac_tool_prefix"; then
5910
          if test -n "$ac_tool_prefix"; then
4024
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5911
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4025
set dummy ${ac_tool_prefix}cc; ac_word=$2
5912
set dummy ${ac_tool_prefix}cc; ac_word=$2
4026
echo "$as_me:$LINENO: checking for $ac_word" >&5
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5914
$as_echo_n "checking for $ac_word... " >&6; }
4028
if test "${ac_cv_prog_CC+set}" = set; then
5915
if test "${ac_cv_prog_CC+set}" = set; then :
4029
  echo $ECHO_N "(cached) $ECHO_C" >&6
5916
  $as_echo_n "(cached) " >&6
4030
else
5917
else
4031
  if test -n "$CC"; then
5918
  if test -n "$CC"; then
4032
  ac_cv_prog_CC="$CC" # Let the user override the test.
5919
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 4036-4112 Link Here
4036
do
5923
do
4037
  IFS=$as_save_IFS
5924
  IFS=$as_save_IFS
4038
  test -z "$as_dir" && as_dir=.
5925
  test -z "$as_dir" && as_dir=.
4039
  for ac_exec_ext in '' $ac_executable_extensions; do
5926
    for ac_exec_ext in '' $ac_executable_extensions; do
4040
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4041
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5928
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4042
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043
    break 2
5930
    break 2
4044
  fi
5931
  fi
4045
done
5932
done
4046
done
5933
  done
5934
IFS=$as_save_IFS
4047
5935
4048
fi
5936
fi
4049
fi
5937
fi
4050
CC=$ac_cv_prog_CC
5938
CC=$ac_cv_prog_CC
4051
if test -n "$CC"; then
5939
if test -n "$CC"; then
4052
  echo "$as_me:$LINENO: result: $CC" >&5
5940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053
echo "${ECHO_T}$CC" >&6
5941
$as_echo "$CC" >&6; }
4054
else
5942
else
4055
  echo "$as_me:$LINENO: result: no" >&5
5943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056
echo "${ECHO_T}no" >&6
5944
$as_echo "no" >&6; }
4057
fi
5945
fi
4058
5946
4059
fi
5947
4060
if test -z "$ac_cv_prog_CC"; then
5948
  fi
4061
  ac_ct_CC=$CC
4062
  # Extract the first word of "cc", so it can be a program name with args.
4063
set dummy cc; ac_word=$2
4064
echo "$as_me:$LINENO: checking for $ac_word" >&5
4065
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4067
  echo $ECHO_N "(cached) $ECHO_C" >&6
4068
else
4069
  if test -n "$ac_ct_CC"; then
4070
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4071
else
4072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073
for as_dir in $PATH
4074
do
4075
  IFS=$as_save_IFS
4076
  test -z "$as_dir" && as_dir=.
4077
  for ac_exec_ext in '' $ac_executable_extensions; do
4078
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079
    ac_cv_prog_ac_ct_CC="cc"
4080
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081
    break 2
4082
  fi
4083
done
4084
done
4085
4086
fi
4087
fi
4088
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4089
if test -n "$ac_ct_CC"; then
4090
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4091
echo "${ECHO_T}$ac_ct_CC" >&6
4092
else
4093
  echo "$as_me:$LINENO: result: no" >&5
4094
echo "${ECHO_T}no" >&6
4095
fi
4096
4097
  CC=$ac_ct_CC
4098
else
4099
  CC="$ac_cv_prog_CC"
4100
fi
4101
4102
fi
5949
fi
4103
if test -z "$CC"; then
5950
if test -z "$CC"; then
4104
  # Extract the first word of "cc", so it can be a program name with args.
5951
  # Extract the first word of "cc", so it can be a program name with args.
4105
set dummy cc; ac_word=$2
5952
set dummy cc; ac_word=$2
4106
echo "$as_me:$LINENO: checking for $ac_word" >&5
5953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4107
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5954
$as_echo_n "checking for $ac_word... " >&6; }
4108
if test "${ac_cv_prog_CC+set}" = set; then
5955
if test "${ac_cv_prog_CC+set}" = set; then :
4109
  echo $ECHO_N "(cached) $ECHO_C" >&6
5956
  $as_echo_n "(cached) " >&6
4110
else
5957
else
4111
  if test -n "$CC"; then
5958
  if test -n "$CC"; then
4112
  ac_cv_prog_CC="$CC" # Let the user override the test.
5959
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 4117-4134 Link Here
4117
do
5964
do
4118
  IFS=$as_save_IFS
5965
  IFS=$as_save_IFS
4119
  test -z "$as_dir" && as_dir=.
5966
  test -z "$as_dir" && as_dir=.
4120
  for ac_exec_ext in '' $ac_executable_extensions; do
5967
    for ac_exec_ext in '' $ac_executable_extensions; do
4121
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5969
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4123
       ac_prog_rejected=yes
5970
       ac_prog_rejected=yes
4124
       continue
5971
       continue
4125
     fi
5972
     fi
4126
    ac_cv_prog_CC="cc"
5973
    ac_cv_prog_CC="cc"
4127
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128
    break 2
5975
    break 2
4129
  fi
5976
  fi
4130
done
5977
done
4131
done
5978
  done
5979
IFS=$as_save_IFS
4132
5980
4133
if test $ac_prog_rejected = yes; then
5981
if test $ac_prog_rejected = yes; then
4134
  # We found a bogon in the path, so make sure we never use it.
5982
  # We found a bogon in the path, so make sure we never use it.
Lines 4146-4169 Link Here
4146
fi
5994
fi
4147
CC=$ac_cv_prog_CC
5995
CC=$ac_cv_prog_CC
4148
if test -n "$CC"; then
5996
if test -n "$CC"; then
4149
  echo "$as_me:$LINENO: result: $CC" >&5
5997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4150
echo "${ECHO_T}$CC" >&6
5998
$as_echo "$CC" >&6; }
4151
else
5999
else
4152
  echo "$as_me:$LINENO: result: no" >&5
6000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153
echo "${ECHO_T}no" >&6
6001
$as_echo "no" >&6; }
4154
fi
6002
fi
6003
4155
6004
4156
fi
6005
fi
4157
if test -z "$CC"; then
6006
if test -z "$CC"; then
4158
  if test -n "$ac_tool_prefix"; then
6007
  if test -n "$ac_tool_prefix"; then
4159
  for ac_prog in cl
6008
  for ac_prog in cl.exe
4160
  do
6009
  do
4161
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6010
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4162
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6011
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4163
echo "$as_me:$LINENO: checking for $ac_word" >&5
6012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6013
$as_echo_n "checking for $ac_word... " >&6; }
4165
if test "${ac_cv_prog_CC+set}" = set; then
6014
if test "${ac_cv_prog_CC+set}" = set; then :
4166
  echo $ECHO_N "(cached) $ECHO_C" >&6
6015
  $as_echo_n "(cached) " >&6
4167
else
6016
else
4168
  if test -n "$CC"; then
6017
  if test -n "$CC"; then
4169
  ac_cv_prog_CC="$CC" # Let the user override the test.
6018
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 4173-4211 Link Here
4173
do
6022
do
4174
  IFS=$as_save_IFS
6023
  IFS=$as_save_IFS
4175
  test -z "$as_dir" && as_dir=.
6024
  test -z "$as_dir" && as_dir=.
4176
  for ac_exec_ext in '' $ac_executable_extensions; do
6025
    for ac_exec_ext in '' $ac_executable_extensions; do
4177
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4178
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6027
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4179
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180
    break 2
6029
    break 2
4181
  fi
6030
  fi
4182
done
6031
done
4183
done
6032
  done
6033
IFS=$as_save_IFS
4184
6034
4185
fi
6035
fi
4186
fi
6036
fi
4187
CC=$ac_cv_prog_CC
6037
CC=$ac_cv_prog_CC
4188
if test -n "$CC"; then
6038
if test -n "$CC"; then
4189
  echo "$as_me:$LINENO: result: $CC" >&5
6039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4190
echo "${ECHO_T}$CC" >&6
6040
$as_echo "$CC" >&6; }
4191
else
6041
else
4192
  echo "$as_me:$LINENO: result: no" >&5
6042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193
echo "${ECHO_T}no" >&6
6043
$as_echo "no" >&6; }
4194
fi
6044
fi
6045
4195
6046
4196
    test -n "$CC" && break
6047
    test -n "$CC" && break
4197
  done
6048
  done
4198
fi
6049
fi
4199
if test -z "$CC"; then
6050
if test -z "$CC"; then
4200
  ac_ct_CC=$CC
6051
  ac_ct_CC=$CC
4201
  for ac_prog in cl
6052
  for ac_prog in cl.exe
4202
do
6053
do
4203
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6054
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4204
set dummy $ac_prog; ac_word=$2
6055
set dummy $ac_prog; ac_word=$2
4205
echo "$as_me:$LINENO: checking for $ac_word" >&5
6056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6057
$as_echo_n "checking for $ac_word... " >&6; }
4207
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6058
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4208
  echo $ECHO_N "(cached) $ECHO_C" >&6
6059
  $as_echo_n "(cached) " >&6
4209
else
6060
else
4210
  if test -n "$ac_ct_CC"; then
6061
  if test -n "$ac_ct_CC"; then
4211
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6062
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 4215-4280 Link Here
4215
do
6066
do
4216
  IFS=$as_save_IFS
6067
  IFS=$as_save_IFS
4217
  test -z "$as_dir" && as_dir=.
6068
  test -z "$as_dir" && as_dir=.
4218
  for ac_exec_ext in '' $ac_executable_extensions; do
6069
    for ac_exec_ext in '' $ac_executable_extensions; do
4219
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4220
    ac_cv_prog_ac_ct_CC="$ac_prog"
6071
    ac_cv_prog_ac_ct_CC="$ac_prog"
4221
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222
    break 2
6073
    break 2
4223
  fi
6074
  fi
4224
done
6075
done
4225
done
6076
  done
6077
IFS=$as_save_IFS
4226
6078
4227
fi
6079
fi
4228
fi
6080
fi
4229
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6081
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4230
if test -n "$ac_ct_CC"; then
6082
if test -n "$ac_ct_CC"; then
4231
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4232
echo "${ECHO_T}$ac_ct_CC" >&6
6084
$as_echo "$ac_ct_CC" >&6; }
4233
else
6085
else
4234
  echo "$as_me:$LINENO: result: no" >&5
6086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235
echo "${ECHO_T}no" >&6
6087
$as_echo "no" >&6; }
4236
fi
6088
fi
6089
4237
6090
4238
  test -n "$ac_ct_CC" && break
6091
  test -n "$ac_ct_CC" && break
4239
done
6092
done
4240
6093
4241
  CC=$ac_ct_CC
6094
  if test "x$ac_ct_CC" = x; then
4242
fi
6095
    CC=""
4243
6096
  else
4244
fi
6097
    case $cross_compiling:$ac_tool_warned in
4245
6098
yes:)
4246
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6100
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248
See \`config.log' for more details." >&5
6101
ac_tool_warned=yes ;;
4249
echo "$as_me: error: no acceptable C compiler found in \$PATH
6102
esac
4250
See \`config.log' for more details." >&2;}
6103
    CC=$ac_ct_CC
4251
   { (exit 1); exit 1; }; }
6104
  fi
6105
fi
6106
6107
fi
6108
6109
6110
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6111
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6112
as_fn_error "no acceptable C compiler found in \$PATH
6113
See \`config.log' for more details." "$LINENO" 5; }
4252
6114
4253
# Provide some information about the compiler.
6115
# Provide some information about the compiler.
4254
echo "$as_me:$LINENO:" \
6116
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4255
     "checking for C compiler version" >&5
6117
set X $ac_compile
4256
ac_compiler=`set X $ac_compile; echo $2`
6118
ac_compiler=$2
4257
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6119
for ac_option in --version -v -V -qversion; do
4258
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6120
  { { ac_try="$ac_compiler $ac_option >&5"
6121
case "(($ac_try" in
6122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123
  *) ac_try_echo=$ac_try;;
6124
esac
6125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6126
$as_echo "$ac_try_echo"; } >&5
6127
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4259
  ac_status=$?
6128
  ac_status=$?
4260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129
  if test -s conftest.err; then
4261
  (exit $ac_status); }
6130
    sed '10a\
4262
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6131
... rest of stderr output deleted ...
4263
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6132
         10q' conftest.err >conftest.er1
4264
  ac_status=$?
6133
    cat conftest.er1 >&5
4265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134
  fi
4266
  (exit $ac_status); }
6135
  rm -f conftest.er1 conftest.err
4267
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6136
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4268
  (eval $ac_compiler -V </dev/null >&5) 2>&5
6137
  test $ac_status = 0; }
4269
  ac_status=$?
6138
done
4270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139
4271
  (exit $ac_status); }
6140
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272
4273
cat >conftest.$ac_ext <<_ACEOF
4274
/* confdefs.h.  */
4275
_ACEOF
4276
cat confdefs.h >>conftest.$ac_ext
4277
cat >>conftest.$ac_ext <<_ACEOF
4278
/* end confdefs.h.  */
6141
/* end confdefs.h.  */
4279
6142
4280
int
6143
int
Lines 4286-4397 Link Here
4286
}
6149
}
4287
_ACEOF
6150
_ACEOF
4288
ac_clean_files_save=$ac_clean_files
6151
ac_clean_files_save=$ac_clean_files
4289
ac_clean_files="$ac_clean_files a.out a.exe b.out"
6152
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4290
# Try to create an executable without -o first, disregard a.out.
6153
# Try to create an executable without -o first, disregard a.out.
4291
# It will help us diagnose broken compilers, and finding out an intuition
6154
# It will help us diagnose broken compilers, and finding out an intuition
4292
# of exeext.
6155
# of exeext.
4293
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4294
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
6157
$as_echo_n "checking whether the C compiler works... " >&6; }
4295
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6158
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4296
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
6159
4297
  (eval $ac_link_default) 2>&5
6160
# The possible output files:
6161
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
6162
6163
ac_rmfiles=
6164
for ac_file in $ac_files
6165
do
6166
  case $ac_file in
6167
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6168
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
6169
  esac
6170
done
6171
rm -f $ac_rmfiles
6172
6173
if { { ac_try="$ac_link_default"
6174
case "(($ac_try" in
6175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6176
  *) ac_try_echo=$ac_try;;
6177
esac
6178
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6179
$as_echo "$ac_try_echo"; } >&5
6180
  (eval "$ac_link_default") 2>&5
4298
  ac_status=$?
6181
  ac_status=$?
4299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4300
  (exit $ac_status); }; then
6183
  test $ac_status = 0; }; then :
4301
  # Find the output, starting from the most likely.  This scheme is
6184
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4302
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
6185
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4303
# resort.
6186
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4304
6187
# so that the user can short-circuit this test for compilers unknown to
4305
# Be careful to initialize this variable, since it used to be cached.
6188
# Autoconf.
4306
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
6189
for ac_file in $ac_files ''
4307
ac_cv_exeext=
4308
# b.out is created by i960 compilers.
4309
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4310
do
6190
do
4311
  test -f "$ac_file" || continue
6191
  test -f "$ac_file" || continue
4312
  case $ac_file in
6192
  case $ac_file in
4313
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
6193
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4314
	;;
4315
    conftest.$ac_ext )
4316
	# This is the source file.
4317
	;;
6194
	;;
4318
    [ab].out )
6195
    [ab].out )
4319
	# We found the default executable, but exeext='' is most
6196
	# We found the default executable, but exeext='' is most
4320
	# certainly right.
6197
	# certainly right.
4321
	break;;
6198
	break;;
4322
    *.* )
6199
    *.* )
4323
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6200
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4324
	# FIXME: I believe we export ac_cv_exeext for Libtool,
6201
	then :; else
4325
	# but it would be cool to find out if it's true.  Does anybody
6202
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4326
	# maintain Libtool? --akim.
6203
	fi
4327
	export ac_cv_exeext
6204
	# We set ac_cv_exeext here because the later test for it is not
6205
	# safe: cross compilers may not add the suffix if given an `-o'
6206
	# argument, so we may need to know it at that point already.
6207
	# Even if this section looks crufty: it has the advantage of
6208
	# actually working.
4328
	break;;
6209
	break;;
4329
    * )
6210
    * )
4330
	break;;
6211
	break;;
4331
  esac
6212
  esac
4332
done
6213
done
4333
else
6214
test "$ac_cv_exeext" = no && ac_cv_exeext=
4334
  echo "$as_me: failed program was:" >&5
6215
6216
else
6217
  ac_file=''
6218
fi
6219
if test -z "$ac_file"; then :
6220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221
$as_echo "no" >&6; }
6222
$as_echo "$as_me: failed program was:" >&5
4335
sed 's/^/| /' conftest.$ac_ext >&5
6223
sed 's/^/| /' conftest.$ac_ext >&5
4336
6224
4337
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
6225
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338
See \`config.log' for more details." >&5
6226
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339
echo "$as_me: error: C compiler cannot create executables
6227
{ as_fn_set_status 77
4340
See \`config.log' for more details." >&2;}
6228
as_fn_error "C compiler cannot create executables
4341
   { (exit 77); exit 77; }; }
6229
See \`config.log' for more details." "$LINENO" 5; }; }
4342
fi
6230
else
4343
6231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6232
$as_echo "yes" >&6; }
6233
fi
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
6235
$as_echo_n "checking for C compiler default output file name... " >&6; }
6236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
6237
$as_echo "$ac_file" >&6; }
4344
ac_exeext=$ac_cv_exeext
6238
ac_exeext=$ac_cv_exeext
4345
echo "$as_me:$LINENO: result: $ac_file" >&5
6239
4346
echo "${ECHO_T}$ac_file" >&6
6240
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4347
6241
ac_clean_files=$ac_clean_files_save
4348
# Check the compiler produces executables we can run.  If not, either
6242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4349
# the compiler is broken, or we cross compile.
6243
$as_echo_n "checking for suffix of executables... " >&6; }
4350
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6244
if { { ac_try="$ac_link"
4351
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
6245
case "(($ac_try" in
4352
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
6246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353
# If not cross compiling, check that we can run a simple program.
6247
  *) ac_try_echo=$ac_try;;
4354
if test "$cross_compiling" != yes; then
6248
esac
4355
  if { ac_try='./$ac_file'
6249
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4356
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250
$as_echo "$ac_try_echo"; } >&5
4357
  (eval $ac_try) 2>&5
6251
  (eval "$ac_link") 2>&5
4358
  ac_status=$?
6252
  ac_status=$?
4359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360
  (exit $ac_status); }; }; then
6254
  test $ac_status = 0; }; then :
4361
    cross_compiling=no
4362
  else
4363
    if test "$cross_compiling" = maybe; then
4364
	cross_compiling=yes
4365
    else
4366
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4367
If you meant to cross compile, use \`--host'.
4368
See \`config.log' for more details." >&5
4369
echo "$as_me: error: cannot run C compiled programs.
4370
If you meant to cross compile, use \`--host'.
4371
See \`config.log' for more details." >&2;}
4372
   { (exit 1); exit 1; }; }
4373
    fi
4374
  fi
4375
fi
4376
echo "$as_me:$LINENO: result: yes" >&5
4377
echo "${ECHO_T}yes" >&6
4378
4379
rm -f a.out a.exe conftest$ac_cv_exeext b.out
4380
ac_clean_files=$ac_clean_files_save
4381
# Check the compiler produces executables we can run.  If not, either
4382
# the compiler is broken, or we cross compile.
4383
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4384
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4385
echo "$as_me:$LINENO: result: $cross_compiling" >&5
4386
echo "${ECHO_T}$cross_compiling" >&6
4387
4388
echo "$as_me:$LINENO: checking for suffix of executables" >&5
4389
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4390
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4391
  (eval $ac_link) 2>&5
4392
  ac_status=$?
4393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
  (exit $ac_status); }; then
4395
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
6255
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4396
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
6256
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4397
# work properly (i.e., refer to `conftest.exe'), while it won't with
6257
# work properly (i.e., refer to `conftest.exe'), while it won't with
Lines 4399-4436 Link Here
4399
for ac_file in conftest.exe conftest conftest.*; do
6259
for ac_file in conftest.exe conftest conftest.*; do
4400
  test -f "$ac_file" || continue
6260
  test -f "$ac_file" || continue
4401
  case $ac_file in
6261
  case $ac_file in
4402
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
6262
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4403
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6263
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4404
	  export ac_cv_exeext
4405
	  break;;
6264
	  break;;
4406
    * ) break;;
6265
    * ) break;;
4407
  esac
6266
  esac
4408
done
6267
done
4409
else
6268
else
4410
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
6269
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4411
See \`config.log' for more details." >&5
6270
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4412
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
6271
as_fn_error "cannot compute suffix of executables: cannot compile and link
4413
See \`config.log' for more details." >&2;}
6272
See \`config.log' for more details." "$LINENO" 5; }
4414
   { (exit 1); exit 1; }; }
6273
fi
4415
fi
6274
rm -f conftest conftest$ac_cv_exeext
4416
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4417
rm -f conftest$ac_cv_exeext
6276
$as_echo "$ac_cv_exeext" >&6; }
4418
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4419
echo "${ECHO_T}$ac_cv_exeext" >&6
4420
6277
4421
rm -f conftest.$ac_ext
6278
rm -f conftest.$ac_ext
4422
EXEEXT=$ac_cv_exeext
6279
EXEEXT=$ac_cv_exeext
4423
ac_exeext=$EXEEXT
6280
ac_exeext=$EXEEXT
4424
echo "$as_me:$LINENO: checking for suffix of object files" >&5
6281
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
6282
/* end confdefs.h.  */
4426
if test "${ac_cv_objext+set}" = set; then
6283
#include <stdio.h>
4427
  echo $ECHO_N "(cached) $ECHO_C" >&6
6284
int
4428
else
6285
main ()
4429
  cat >conftest.$ac_ext <<_ACEOF
6286
{
4430
/* confdefs.h.  */
6287
FILE *f = fopen ("conftest.out", "w");
4431
_ACEOF
6288
 return ferror (f) || fclose (f) != 0;
4432
cat confdefs.h >>conftest.$ac_ext
6289
4433
cat >>conftest.$ac_ext <<_ACEOF
6290
  ;
6291
  return 0;
6292
}
6293
_ACEOF
6294
ac_clean_files="$ac_clean_files conftest.out"
6295
# Check that the compiler produces executables we can run.  If not, either
6296
# the compiler is broken, or we cross compile.
6297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6298
$as_echo_n "checking whether we are cross compiling... " >&6; }
6299
if test "$cross_compiling" != yes; then
6300
  { { ac_try="$ac_link"
6301
case "(($ac_try" in
6302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303
  *) ac_try_echo=$ac_try;;
6304
esac
6305
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6306
$as_echo "$ac_try_echo"; } >&5
6307
  (eval "$ac_link") 2>&5
6308
  ac_status=$?
6309
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310
  test $ac_status = 0; }
6311
  if { ac_try='./conftest$ac_cv_exeext'
6312
  { { case "(($ac_try" in
6313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314
  *) ac_try_echo=$ac_try;;
6315
esac
6316
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6317
$as_echo "$ac_try_echo"; } >&5
6318
  (eval "$ac_try") 2>&5
6319
  ac_status=$?
6320
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6321
  test $ac_status = 0; }; }; then
6322
    cross_compiling=no
6323
  else
6324
    if test "$cross_compiling" = maybe; then
6325
	cross_compiling=yes
6326
    else
6327
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6328
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6329
as_fn_error "cannot run C compiled programs.
6330
If you meant to cross compile, use \`--host'.
6331
See \`config.log' for more details." "$LINENO" 5; }
6332
    fi
6333
  fi
6334
fi
6335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6336
$as_echo "$cross_compiling" >&6; }
6337
6338
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6339
ac_clean_files=$ac_clean_files_save
6340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6341
$as_echo_n "checking for suffix of object files... " >&6; }
6342
if test "${ac_cv_objext+set}" = set; then :
6343
  $as_echo_n "(cached) " >&6
6344
else
6345
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434
/* end confdefs.h.  */
6346
/* end confdefs.h.  */
4435
6347
4436
int
6348
int
Lines 4442-4486 Link Here
4442
}
6354
}
4443
_ACEOF
6355
_ACEOF
4444
rm -f conftest.o conftest.obj
6356
rm -f conftest.o conftest.obj
4445
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6357
if { { ac_try="$ac_compile"
4446
  (eval $ac_compile) 2>&5
6358
case "(($ac_try" in
6359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6360
  *) ac_try_echo=$ac_try;;
6361
esac
6362
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6363
$as_echo "$ac_try_echo"; } >&5
6364
  (eval "$ac_compile") 2>&5
4447
  ac_status=$?
6365
  ac_status=$?
4448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449
  (exit $ac_status); }; then
6367
  test $ac_status = 0; }; then :
4450
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6368
  for ac_file in conftest.o conftest.obj conftest.*; do
6369
  test -f "$ac_file" || continue;
4451
  case $ac_file in
6370
  case $ac_file in
4452
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6371
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4453
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6372
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4454
       break;;
6373
       break;;
4455
  esac
6374
  esac
4456
done
6375
done
4457
else
6376
else
4458
  echo "$as_me: failed program was:" >&5
6377
  $as_echo "$as_me: failed program was:" >&5
4459
sed 's/^/| /' conftest.$ac_ext >&5
6378
sed 's/^/| /' conftest.$ac_ext >&5
4460
6379
4461
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
6380
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462
See \`config.log' for more details." >&5
6381
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463
echo "$as_me: error: cannot compute suffix of object files: cannot compile
6382
as_fn_error "cannot compute suffix of object files: cannot compile
4464
See \`config.log' for more details." >&2;}
6383
See \`config.log' for more details." "$LINENO" 5; }
4465
   { (exit 1); exit 1; }; }
6384
fi
4466
fi
4467
4468
rm -f conftest.$ac_cv_objext conftest.$ac_ext
6385
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4469
fi
6386
fi
4470
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4471
echo "${ECHO_T}$ac_cv_objext" >&6
6388
$as_echo "$ac_cv_objext" >&6; }
4472
OBJEXT=$ac_cv_objext
6389
OBJEXT=$ac_cv_objext
4473
ac_objext=$OBJEXT
6390
ac_objext=$OBJEXT
4474
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4475
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6392
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4476
if test "${ac_cv_c_compiler_gnu+set}" = set; then
6393
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4477
  echo $ECHO_N "(cached) $ECHO_C" >&6
6394
  $as_echo_n "(cached) " >&6
4478
else
6395
else
4479
  cat >conftest.$ac_ext <<_ACEOF
6396
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480
/* confdefs.h.  */
4481
_ACEOF
4482
cat confdefs.h >>conftest.$ac_ext
4483
cat >>conftest.$ac_ext <<_ACEOF
4484
/* end confdefs.h.  */
6397
/* end confdefs.h.  */
4485
6398
4486
int
6399
int
Lines 4494-4591 Link Here
4494
  return 0;
6407
  return 0;
4495
}
6408
}
4496
_ACEOF
6409
_ACEOF
4497
rm -f conftest.$ac_objext
6410
if ac_fn_c_try_compile "$LINENO"; then :
4498
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4499
  (eval $ac_compile) 2>conftest.er1
4500
  ac_status=$?
4501
  grep -v '^ *+' conftest.er1 >conftest.err
4502
  rm -f conftest.er1
4503
  cat conftest.err >&5
4504
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505
  (exit $ac_status); } &&
4506
	 { ac_try='test -z "$ac_c_werror_flag"
4507
			 || test ! -s conftest.err'
4508
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509
  (eval $ac_try) 2>&5
4510
  ac_status=$?
4511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512
  (exit $ac_status); }; } &&
4513
	 { ac_try='test -s conftest.$ac_objext'
4514
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515
  (eval $ac_try) 2>&5
4516
  ac_status=$?
4517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
  (exit $ac_status); }; }; then
4519
  ac_compiler_gnu=yes
6411
  ac_compiler_gnu=yes
4520
else
6412
else
4521
  echo "$as_me: failed program was:" >&5
6413
  ac_compiler_gnu=no
4522
sed 's/^/| /' conftest.$ac_ext >&5
6414
fi
4523
6415
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524
ac_compiler_gnu=no
4525
fi
4526
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4527
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6416
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4528
6417
4529
fi
6418
fi
4530
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4531
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6420
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4532
GCC=`test $ac_compiler_gnu = yes && echo yes`
6421
if test $ac_compiler_gnu = yes; then
6422
  GCC=yes
6423
else
6424
  GCC=
6425
fi
4533
ac_test_CFLAGS=${CFLAGS+set}
6426
ac_test_CFLAGS=${CFLAGS+set}
4534
ac_save_CFLAGS=$CFLAGS
6427
ac_save_CFLAGS=$CFLAGS
4535
CFLAGS="-g"
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4536
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6429
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4537
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6430
if test "${ac_cv_prog_cc_g+set}" = set; then :
4538
if test "${ac_cv_prog_cc_g+set}" = set; then
6431
  $as_echo_n "(cached) " >&6
4539
  echo $ECHO_N "(cached) $ECHO_C" >&6
6432
else
4540
else
6433
  ac_save_c_werror_flag=$ac_c_werror_flag
4541
  cat >conftest.$ac_ext <<_ACEOF
6434
   ac_c_werror_flag=yes
4542
/* confdefs.h.  */
6435
   ac_cv_prog_cc_g=no
4543
_ACEOF
6436
   CFLAGS="-g"
4544
cat confdefs.h >>conftest.$ac_ext
6437
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545
cat >>conftest.$ac_ext <<_ACEOF
6438
/* end confdefs.h.  */
4546
/* end confdefs.h.  */
6439
4547
6440
int
4548
int
6441
main ()
4549
main ()
6442
{
4550
{
6443
4551
6444
  ;
4552
  ;
6445
  return 0;
4553
  return 0;
6446
}
4554
}
6447
_ACEOF
4555
_ACEOF
6448
if ac_fn_c_try_compile "$LINENO"; then :
4556
rm -f conftest.$ac_objext
4557
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4558
  (eval $ac_compile) 2>conftest.er1
4559
  ac_status=$?
4560
  grep -v '^ *+' conftest.er1 >conftest.err
4561
  rm -f conftest.er1
4562
  cat conftest.err >&5
4563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564
  (exit $ac_status); } &&
4565
	 { ac_try='test -z "$ac_c_werror_flag"
4566
			 || test ! -s conftest.err'
4567
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568
  (eval $ac_try) 2>&5
4569
  ac_status=$?
4570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571
  (exit $ac_status); }; } &&
4572
	 { ac_try='test -s conftest.$ac_objext'
4573
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574
  (eval $ac_try) 2>&5
4575
  ac_status=$?
4576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
  (exit $ac_status); }; }; then
4578
  ac_cv_prog_cc_g=yes
6449
  ac_cv_prog_cc_g=yes
4579
else
6450
else
4580
  echo "$as_me: failed program was:" >&5
6451
  CFLAGS=""
4581
sed 's/^/| /' conftest.$ac_ext >&5
6452
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582
6453
/* end confdefs.h.  */
4583
ac_cv_prog_cc_g=no
6454
4584
fi
6455
int
4585
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6456
main ()
4586
fi
6457
{
4587
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6458
4588
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6459
  ;
6460
  return 0;
6461
}
6462
_ACEOF
6463
if ac_fn_c_try_compile "$LINENO"; then :
6464
6465
else
6466
  ac_c_werror_flag=$ac_save_c_werror_flag
6467
	 CFLAGS="-g"
6468
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469
/* end confdefs.h.  */
6470
6471
int
6472
main ()
6473
{
6474
6475
  ;
6476
  return 0;
6477
}
6478
_ACEOF
6479
if ac_fn_c_try_compile "$LINENO"; then :
6480
  ac_cv_prog_cc_g=yes
6481
fi
6482
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6483
fi
6484
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485
fi
6486
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6487
   ac_c_werror_flag=$ac_save_c_werror_flag
6488
fi
6489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6490
$as_echo "$ac_cv_prog_cc_g" >&6; }
4589
if test "$ac_test_CFLAGS" = set; then
6491
if test "$ac_test_CFLAGS" = set; then
4590
  CFLAGS=$ac_save_CFLAGS
6492
  CFLAGS=$ac_save_CFLAGS
4591
elif test $ac_cv_prog_cc_g = yes; then
6493
elif test $ac_cv_prog_cc_g = yes; then
Lines 4601-4618 Link Here
4601
    CFLAGS=
6503
    CFLAGS=
4602
  fi
6504
  fi
4603
fi
6505
fi
4604
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4605
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6507
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4606
if test "${ac_cv_prog_cc_stdc+set}" = set; then
6508
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4607
  echo $ECHO_N "(cached) $ECHO_C" >&6
6509
  $as_echo_n "(cached) " >&6
4608
else
6510
else
4609
  ac_cv_prog_cc_stdc=no
6511
  ac_cv_prog_cc_c89=no
4610
ac_save_CC=$CC
6512
ac_save_CC=$CC
4611
cat >conftest.$ac_ext <<_ACEOF
6513
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612
/* confdefs.h.  */
4613
_ACEOF
4614
cat confdefs.h >>conftest.$ac_ext
4615
cat >>conftest.$ac_ext <<_ACEOF
4616
/* end confdefs.h.  */
6514
/* end confdefs.h.  */
4617
#include <stdarg.h>
6515
#include <stdarg.h>
4618
#include <stdio.h>
6516
#include <stdio.h>
Lines 4640-4651 Link Here
4640
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6538
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4641
   function prototypes and stuff, but not '\xHH' hex character constants.
6539
   function prototypes and stuff, but not '\xHH' hex character constants.
4642
   These don't provoke an error unfortunately, instead are silently treated
6540
   These don't provoke an error unfortunately, instead are silently treated
4643
   as 'x'.  The following induces an error, until -std1 is added to get
6541
   as 'x'.  The following induces an error, until -std is added to get
4644
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6542
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4645
   array size at least.  It's necessary to write '\x00'==0 to get something
6543
   array size at least.  It's necessary to write '\x00'==0 to get something
4646
   that's true only with -std1.  */
6544
   that's true only with -std.  */
4647
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6545
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4648
6546
6547
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6548
   inside strings and character constants.  */
6549
#define FOO(x) 'x'
6550
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6551
4649
int test (int i, double x);
6552
int test (int i, double x);
4650
struct s1 {int (*f) (int a);};
6553
struct s1 {int (*f) (int a);};
4651
struct s2 {int (*f) (double a);};
6554
struct s2 {int (*f) (double a);};
Lines 4660-4864 Link Here
4660
  return 0;
6563
  return 0;
4661
}
6564
}
4662
_ACEOF
6565
_ACEOF
4663
# Don't try gcc -ansi; that turns off useful extensions and
6566
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4664
# breaks some systems' header files.
6567
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4665
# AIX			-qlanglvl=ansi
4666
# Ultrix and OSF/1	-std1
4667
# HP-UX 10.20 and later	-Ae
4668
# HP-UX older versions	-Aa -D_HPUX_SOURCE
4669
# SVR4			-Xc -D__EXTENSIONS__
4670
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4671
do
6568
do
4672
  CC="$ac_save_CC $ac_arg"
6569
  CC="$ac_save_CC $ac_arg"
4673
  rm -f conftest.$ac_objext
6570
  if ac_fn_c_try_compile "$LINENO"; then :
4674
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571
  ac_cv_prog_cc_c89=$ac_arg
4675
  (eval $ac_compile) 2>conftest.er1
6572
fi
4676
  ac_status=$?
6573
rm -f core conftest.err conftest.$ac_objext
4677
  grep -v '^ *+' conftest.er1 >conftest.err
6574
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4678
  rm -f conftest.er1
6575
done
4679
  cat conftest.err >&5
6576
rm -f conftest.$ac_ext
4680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
  (exit $ac_status); } &&
4682
	 { ac_try='test -z "$ac_c_werror_flag"
4683
			 || test ! -s conftest.err'
4684
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685
  (eval $ac_try) 2>&5
4686
  ac_status=$?
4687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688
  (exit $ac_status); }; } &&
4689
	 { ac_try='test -s conftest.$ac_objext'
4690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691
  (eval $ac_try) 2>&5
4692
  ac_status=$?
4693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
  (exit $ac_status); }; }; then
4695
  ac_cv_prog_cc_stdc=$ac_arg
4696
break
4697
else
4698
  echo "$as_me: failed program was:" >&5
4699
sed 's/^/| /' conftest.$ac_ext >&5
4700
4701
fi
4702
rm -f conftest.err conftest.$ac_objext
4703
done
4704
rm -f conftest.$ac_ext conftest.$ac_objext
4705
CC=$ac_save_CC
6577
CC=$ac_save_CC
4706
6578
4707
fi
6579
fi
4708
6580
# AC_CACHE_VAL
4709
case "x$ac_cv_prog_cc_stdc" in
6581
case "x$ac_cv_prog_cc_c89" in
4710
  x|xno)
6582
  x)
4711
    echo "$as_me:$LINENO: result: none needed" >&5
6583
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712
echo "${ECHO_T}none needed" >&6 ;;
6584
$as_echo "none needed" >&6; } ;;
4713
  *)
6585
  xno)
4714
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6586
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6587
$as_echo "unsupported" >&6; } ;;
4716
    CC="$CC $ac_cv_prog_cc_stdc" ;;
6588
  *)
4717
esac
6589
    CC="$CC $ac_cv_prog_cc_c89"
4718
6590
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719
# Some people use a C++ compiler to compile C.  Since we use `exit',
6591
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720
# in C++ we need to declare it.  In case someone uses the same compiler
6592
esac
4721
# for both compiling C and C++ we need to have the C++ compiler decide
6593
if test "x$ac_cv_prog_cc_c89" != xno; then :
4722
# the declaration of exit, since it's the most demanding environment.
6594
4723
cat >conftest.$ac_ext <<_ACEOF
6595
fi
4724
#ifndef __cplusplus
6596
4725
  choke me
4726
#endif
4727
_ACEOF
4728
rm -f conftest.$ac_objext
4729
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730
  (eval $ac_compile) 2>conftest.er1
4731
  ac_status=$?
4732
  grep -v '^ *+' conftest.er1 >conftest.err
4733
  rm -f conftest.er1
4734
  cat conftest.err >&5
4735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736
  (exit $ac_status); } &&
4737
	 { ac_try='test -z "$ac_c_werror_flag"
4738
			 || test ! -s conftest.err'
4739
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740
  (eval $ac_try) 2>&5
4741
  ac_status=$?
4742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743
  (exit $ac_status); }; } &&
4744
	 { ac_try='test -s conftest.$ac_objext'
4745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746
  (eval $ac_try) 2>&5
4747
  ac_status=$?
4748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
  (exit $ac_status); }; }; then
4750
  for ac_declaration in \
4751
   '' \
4752
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4753
   'extern "C" void std::exit (int); using std::exit;' \
4754
   'extern "C" void exit (int) throw ();' \
4755
   'extern "C" void exit (int);' \
4756
   'void exit (int);'
4757
do
4758
  cat >conftest.$ac_ext <<_ACEOF
4759
/* confdefs.h.  */
4760
_ACEOF
4761
cat confdefs.h >>conftest.$ac_ext
4762
cat >>conftest.$ac_ext <<_ACEOF
4763
/* end confdefs.h.  */
4764
$ac_declaration
4765
#include <stdlib.h>
4766
int
4767
main ()
4768
{
4769
exit (42);
4770
  ;
4771
  return 0;
4772
}
4773
_ACEOF
4774
rm -f conftest.$ac_objext
4775
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4776
  (eval $ac_compile) 2>conftest.er1
4777
  ac_status=$?
4778
  grep -v '^ *+' conftest.er1 >conftest.err
4779
  rm -f conftest.er1
4780
  cat conftest.err >&5
4781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782
  (exit $ac_status); } &&
4783
	 { ac_try='test -z "$ac_c_werror_flag"
4784
			 || test ! -s conftest.err'
4785
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786
  (eval $ac_try) 2>&5
4787
  ac_status=$?
4788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789
  (exit $ac_status); }; } &&
4790
	 { ac_try='test -s conftest.$ac_objext'
4791
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792
  (eval $ac_try) 2>&5
4793
  ac_status=$?
4794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795
  (exit $ac_status); }; }; then
4796
  :
4797
else
4798
  echo "$as_me: failed program was:" >&5
4799
sed 's/^/| /' conftest.$ac_ext >&5
4800
4801
continue
4802
fi
4803
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4804
  cat >conftest.$ac_ext <<_ACEOF
4805
/* confdefs.h.  */
4806
_ACEOF
4807
cat confdefs.h >>conftest.$ac_ext
4808
cat >>conftest.$ac_ext <<_ACEOF
4809
/* end confdefs.h.  */
4810
$ac_declaration
4811
int
4812
main ()
4813
{
4814
exit (42);
4815
  ;
4816
  return 0;
4817
}
4818
_ACEOF
4819
rm -f conftest.$ac_objext
4820
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821
  (eval $ac_compile) 2>conftest.er1
4822
  ac_status=$?
4823
  grep -v '^ *+' conftest.er1 >conftest.err
4824
  rm -f conftest.er1
4825
  cat conftest.err >&5
4826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827
  (exit $ac_status); } &&
4828
	 { ac_try='test -z "$ac_c_werror_flag"
4829
			 || test ! -s conftest.err'
4830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831
  (eval $ac_try) 2>&5
4832
  ac_status=$?
4833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834
  (exit $ac_status); }; } &&
4835
	 { ac_try='test -s conftest.$ac_objext'
4836
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837
  (eval $ac_try) 2>&5
4838
  ac_status=$?
4839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840
  (exit $ac_status); }; }; then
4841
  break
4842
else
4843
  echo "$as_me: failed program was:" >&5
4844
sed 's/^/| /' conftest.$ac_ext >&5
4845
4846
fi
4847
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4848
done
4849
rm -f conftest*
4850
if test -n "$ac_declaration"; then
4851
  echo '#ifdef __cplusplus' >>confdefs.h
4852
  echo $ac_declaration      >>confdefs.h
4853
  echo '#endif'             >>confdefs.h
4854
fi
4855
4856
else
4857
  echo "$as_me: failed program was:" >&5
4858
sed 's/^/| /' conftest.$ac_ext >&5
4859
4860
fi
4861
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4862
ac_ext=c
6597
ac_ext=c
4863
ac_cpp='$CPP $CPPFLAGS'
6598
ac_cpp='$CPP $CPPFLAGS'
4864
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6599
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lines 4873-4882 Link Here
4873
do
6608
do
4874
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6609
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4875
set dummy $ac_prog; ac_word=$2
6610
set dummy $ac_prog; ac_word=$2
4876
echo "$as_me:$LINENO: checking for $ac_word" >&5
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6612
$as_echo_n "checking for $ac_word... " >&6; }
4878
if test "${ac_cv_path_COMPATH+set}" = set; then
6613
if test "${ac_cv_path_COMPATH+set}" = set; then :
4879
  echo $ECHO_N "(cached) $ECHO_C" >&6
6614
  $as_echo_n "(cached) " >&6
4880
else
6615
else
4881
  case $COMPATH in
6616
  case $COMPATH in
4882
  [\\/]* | ?:[\\/]*)
6617
  [\\/]* | ?:[\\/]*)
Lines 4888-4914 Link Here
4888
do
6623
do
4889
  IFS=$as_save_IFS
6624
  IFS=$as_save_IFS
4890
  test -z "$as_dir" && as_dir=.
6625
  test -z "$as_dir" && as_dir=.
4891
  for ac_exec_ext in '' $ac_executable_extensions; do
6626
    for ac_exec_ext in '' $ac_executable_extensions; do
4892
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893
    ac_cv_path_COMPATH="$as_dir/$ac_word$ac_exec_ext"
6628
    ac_cv_path_COMPATH="$as_dir/$ac_word$ac_exec_ext"
4894
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6629
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895
    break 2
6630
    break 2
4896
  fi
6631
  fi
4897
done
6632
done
4898
done
6633
  done
6634
IFS=$as_save_IFS
4899
6635
4900
  ;;
6636
  ;;
4901
esac
6637
esac
4902
fi
6638
fi
4903
COMPATH=$ac_cv_path_COMPATH
6639
COMPATH=$ac_cv_path_COMPATH
4904
4905
if test -n "$COMPATH"; then
6640
if test -n "$COMPATH"; then
4906
  echo "$as_me:$LINENO: result: $COMPATH" >&5
6641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPATH" >&5
4907
echo "${ECHO_T}$COMPATH" >&6
6642
$as_echo "$COMPATH" >&6; }
4908
else
6643
else
4909
  echo "$as_me:$LINENO: result: no" >&5
6644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910
echo "${ECHO_T}no" >&6
6645
$as_echo "no" >&6; }
4911
fi
6646
fi
6647
4912
6648
4913
  test -n "$COMPATH" && break
6649
  test -n "$COMPATH" && break
4914
done
6650
done
Lines 4919-4972 Link Here
4919
echo $COMPATH
6655
echo $COMPATH
4920
GCCVER=20995
6656
GCCVER=20995
4921
if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; then
6657
if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; then
4922
    echo "$as_me:$LINENO: checking the GNU gcc compiler version" >&5
6658
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GNU gcc compiler version" >&5
4923
echo $ECHO_N "checking the GNU gcc compiler version... $ECHO_C" >&6
6659
$as_echo_n "checking the GNU gcc compiler version... " >&6; }
4924
   _gcc_version=`$CC -dumpversion`
6660
   _gcc_version=`$CC -dumpversion`
4925
   _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
6661
   _gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
4926
   _gcc_longver=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
6662
   _gcc_longver=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
4927
   GCCVER=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
6663
   GCCVER=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
4928
6664
4929
   if test "$_gcc_major" -lt "3"; then
6665
   if test "$_gcc_major" -lt "3"; then
4930
      { { echo "$as_me:$LINENO: error: found version \"$_gcc_version\", use version 3+ of the gcc compiler" >&5
6666
      as_fn_error "found version \"$_gcc_version\", use version 3+ of the gcc compiler" "$LINENO" 5
4931
echo "$as_me: error: found version \"$_gcc_version\", use version 3+ of the gcc compiler" >&2;}
4932
   { (exit 1); exit 1; }; }
4933
   else
6667
   else
4934
      if test "$GCCVER" -eq "030203"; then
6668
      if test "$GCCVER" -eq "030203"; then
4935
	    if test "$ENABLE_SYMBOLS" = "SMALL"; then
6669
	    if test "$ENABLE_SYMBOLS" = "SMALL"; then
4936
           { { echo "$as_me:$LINENO: error: version \"$_gcc_version\" gives internal error with small." >&5
6670
           as_fn_error "version \"$_gcc_version\" gives internal error with small." "$LINENO" 5
4937
echo "$as_me: error: version \"$_gcc_version\" gives internal error with small." >&2;}
4938
   { (exit 1); exit 1; }; }
4939
	    fi
6671
	    fi
4940
      fi
6672
      fi
4941
   fi
6673
   fi
4942
   echo "$as_me:$LINENO: result: checked (gcc $_gcc_version)" >&5
6674
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (gcc $_gcc_version)" >&5
4943
echo "${ECHO_T}checked (gcc $_gcc_version)" >&6
6675
$as_echo "checked (gcc $_gcc_version)" >&6; }
4944
   if test "$_os" = "SunOS"; then
6676
   if test "$_os" = "SunOS"; then
4945
      echo "$as_me:$LINENO: checking gcc linker" >&5
6677
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc linker" >&5
4946
echo $ECHO_N "checking gcc linker... $ECHO_C" >&6
6678
$as_echo_n "checking gcc linker... " >&6; }
4947
      if $CC -Wl,--version 2>&1 |head -n 1| grep -v GNU > /dev/null;then
6679
      if $CC -Wl,--version 2>&1 |head -n 1| grep -v GNU > /dev/null;then
4948
          { { echo "$as_me:$LINENO: error: failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris" >&5
6680
          as_fn_error "failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris" "$LINENO" 5
4949
echo "$as_me: error: failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris" >&2;}
6681
      fi
4950
   { (exit 1); exit 1; }; }
6682
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (GNU ld)" >&5
4951
      fi
6683
$as_echo "ok (GNU ld)" >&6; }
4952
      echo "$as_me:$LINENO: result: ok (GNU ld)" >&5
4953
echo "${ECHO_T}ok (GNU ld)" >&6
4954
   fi
6684
   fi
4955
fi
6685
fi
4956
6686
4957
6687
4958
HAVE_LD_BSYMBOLIC_FUNCTIONS=
6688
HAVE_LD_BSYMBOLIC_FUNCTIONS=
4959
if test "$GCC" = "yes"; then
6689
if test "$GCC" = "yes"; then
4960
   echo "$as_me:$LINENO: checking for -Bsymbolic-functions linker support " >&5
6690
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker support " >&5
4961
echo $ECHO_N "checking for -Bsymbolic-functions linker support ... $ECHO_C" >&6
6691
$as_echo_n "checking for -Bsymbolic-functions linker support ... " >&6; }
4962
   bsymbolic_functions_ldflags_save=$LDFLAGS
6692
   bsymbolic_functions_ldflags_save=$LDFLAGS
4963
   LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo"
6693
   LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo"
4964
6694
4965
cat >conftest.$ac_ext <<_ACEOF
6695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966
/* confdefs.h.  */
4967
_ACEOF
4968
cat confdefs.h >>conftest.$ac_ext
4969
cat >>conftest.$ac_ext <<_ACEOF
4970
/* end confdefs.h.  */
6696
/* end confdefs.h.  */
4971
6697
4972
   #include <stdio.h>
6698
   #include <stdio.h>
Lines 4981-5065 Link Here
4981
  return 0;
6707
  return 0;
4982
}
6708
}
4983
_ACEOF
6709
_ACEOF
4984
rm -f conftest.$ac_objext conftest$ac_exeext
6710
if ac_fn_c_try_link "$LINENO"; then :
4985
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4986
  (eval $ac_link) 2>conftest.er1
4987
  ac_status=$?
4988
  grep -v '^ *+' conftest.er1 >conftest.err
4989
  rm -f conftest.er1
4990
  cat conftest.err >&5
4991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992
  (exit $ac_status); } &&
4993
	 { ac_try='test -z "$ac_c_werror_flag"
4994
			 || test ! -s conftest.err'
4995
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996
  (eval $ac_try) 2>&5
4997
  ac_status=$?
4998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999
  (exit $ac_status); }; } &&
5000
	 { ac_try='test -s conftest$ac_exeext'
5001
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002
  (eval $ac_try) 2>&5
5003
  ac_status=$?
5004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
  (exit $ac_status); }; }; then
5006
  HAVE_LD_BSYMBOLIC_FUNCTIONS=TRUE
6711
  HAVE_LD_BSYMBOLIC_FUNCTIONS=TRUE
5007
else
6712
fi
5008
  echo "$as_me: failed program was:" >&5
6713
rm -f core conftest.err conftest.$ac_objext \
5009
sed 's/^/| /' conftest.$ac_ext >&5
6714
    conftest$ac_exeext conftest.$ac_ext
5010
5011
fi
5012
rm -f conftest.err conftest.$ac_objext \
5013
      conftest$ac_exeext conftest.$ac_ext
5014
   if test "z$HAVE_LD_BSYMBOLIC_FUNCTIONS" = "zTRUE"; then
6715
   if test "z$HAVE_LD_BSYMBOLIC_FUNCTIONS" = "zTRUE"; then
5015
     echo "$as_me:$LINENO: result: found " >&5
6716
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found " >&5
5016
echo "${ECHO_T}found " >&6
6717
$as_echo "found " >&6; }
5017
   else
6718
   else
5018
     echo "$as_me:$LINENO: result: not found " >&5
6719
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found " >&5
5019
echo "${ECHO_T}not found " >&6
6720
$as_echo "not found " >&6; }
5020
   fi
6721
   fi
5021
   LDFLAGS=$bsymbolic_functions_ldflags_save
6722
   LDFLAGS=$bsymbolic_functions_ldflags_save
5022
fi
6723
fi
5023
6724
5024
6725
5025
echo "$as_me:$LINENO: checking whether to enable pch feature" >&5
6726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable pch feature" >&5
5026
echo $ECHO_N "checking whether to enable pch feature... $ECHO_C" >&6
6727
$as_echo_n "checking whether to enable pch feature... " >&6; }
5027
if test -n "$enable_pch" && test "$enable_pch" != "no"; then
6728
if test -n "$enable_pch" && test "$enable_pch" != "no"; then
5028
   if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
6729
   if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
5029
	   ENABLE_PCH="TRUE"
6730
	   ENABLE_PCH="TRUE"
5030
	   echo "$as_me:$LINENO: result: yes" >&5
6731
	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5031
echo "${ECHO_T}yes" >&6
6732
$as_echo "yes" >&6; }
5032
   elif test "$GCC" = "yes" -a "$GCCVER" -gt "030400"; then
6733
   elif test "$GCC" = "yes" -a "$GCCVER" -gt "030400"; then
5033
	   ENABLE_PCH="TRUE"
6734
	   ENABLE_PCH="TRUE"
5034
	   echo "$as_me:$LINENO: result: yes" >&5
6735
	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5035
echo "${ECHO_T}yes" >&6
6736
$as_echo "yes" >&6; }
5036
   else
6737
   else
5037
	   ENABLE_PCH=""
6738
	   ENABLE_PCH=""
5038
	   { echo "$as_me:$LINENO: WARNING: Precompiled header not yet supported for your platform/compiler" >&5
6739
	   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Precompiled header not yet supported for your platform/compiler" >&5
5039
echo "$as_me: WARNING: Precompiled header not yet supported for your platform/compiler" >&2;}
6740
$as_echo "$as_me: WARNING: Precompiled header not yet supported for your platform/compiler" >&2;}
5040
   fi
6741
   fi
5041
else
6742
else
5042
   ENABLE_PCH=""
6743
   ENABLE_PCH=""
5043
   echo "$as_me:$LINENO: result: no" >&5
6744
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044
echo "${ECHO_T}no" >&6
6745
$as_echo "no" >&6; }
5045
fi
6746
fi
5046
6747
5047
6748
5048
echo "$as_me:$LINENO: checking whether to enable hid list feature" >&5
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable hid list feature" >&5
5049
echo $ECHO_N "checking whether to enable hid list feature... $ECHO_C" >&6
6750
$as_echo_n "checking whether to enable hid list feature... " >&6; }
5050
if test -n "$enable_hids" && test "$enable_hids" != "no"; then
6751
if test -n "$enable_hids" && test "$enable_hids" != "no"; then
5051
   NO_HIDS=""
6752
   NO_HIDS=""
5052
   echo "$as_me:$LINENO: result: yes" >&5
6753
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5053
echo "${ECHO_T}yes" >&6
6754
$as_echo "yes" >&6; }
5054
else
6755
else
5055
   NO_HIDS="TRUE"
6756
   NO_HIDS="TRUE"
5056
   echo "$as_me:$LINENO: result: no" >&5
6757
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057
echo "${ECHO_T}no" >&6
6758
$as_echo "no" >&6; }
5058
fi
6759
fi
5059
6760
5060
6761
5061
echo "$as_me:$LINENO: checking for GNU make" >&5
6762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
5062
echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
6763
$as_echo_n "checking for GNU make... " >&6; }
5063
for a in "$MAKE" $GNUMAKE make gmake gnumake; do
6764
for a in "$MAKE" $GNUMAKE make gmake gnumake; do
5064
      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
6765
      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
5065
      if test $? -eq 0;  then
6766
      if test $? -eq 0;  then
Lines 5067-5106 Link Here
5067
           break
6768
           break
5068
      fi
6769
      fi
5069
done
6770
done
5070
echo "$as_me:$LINENO: result: $GNUMAKE" >&5
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUMAKE" >&5
5071
echo "${ECHO_T}$GNUMAKE" >&6
6772
$as_echo "$GNUMAKE" >&6; }
5072
if test -z "$GNUMAKE"; then
6773
if test -z "$GNUMAKE"; then
5073
    { { echo "$as_me:$LINENO: error: not found. install GNU make." >&5
6774
    as_fn_error "not found. install GNU make." "$LINENO" 5
5074
echo "$as_me: error: not found. install GNU make." >&2;}
6775
fi
5075
   { (exit 1); exit 1; }; }
6776
5076
fi
6777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the GNU make version" >&5
5077
6778
$as_echo_n "checking the GNU make version... " >&6; }
5078
echo "$as_me:$LINENO: checking the GNU make version" >&5
5079
echo $ECHO_N "checking the GNU make version... $ECHO_C" >&6
5080
_make_version=`$GNUMAKE --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
6779
_make_version=`$GNUMAKE --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
5081
_make_longver=`echo $_make_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
6780
_make_longver=`echo $_make_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
5082
if test "$_make_longver" -ge "037901" ; then
6781
if test "$_make_longver" -ge "037901" ; then
5083
   echo "$as_me:$LINENO: result: $GNUMAKE $_make_version" >&5
6782
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUMAKE $_make_version" >&5
5084
echo "${ECHO_T}$GNUMAKE $_make_version" >&6
6783
$as_echo "$GNUMAKE $_make_version" >&6; }
5085
else
6784
else
5086
   if test "$_os" = "Darwin"; then
6785
   if test "$_os" = "Darwin"; then
5087
       if test "$_make_longver" -ge "037900" ; then
6786
       if test "$_make_longver" -ge "037900" ; then
5088
		   echo "$as_me:$LINENO: result: $GNUMAKE $_make_version" >&5
6787
		   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUMAKE $_make_version" >&5
5089
echo "${ECHO_T}$GNUMAKE $_make_version" >&6
6788
$as_echo "$GNUMAKE $_make_version" >&6; }
5090
       else
6789
       else
5091
           { echo "$as_me:$LINENO: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&5
6790
           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&5
5092
echo "$as_me: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&2;}
6791
$as_echo "$as_me: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&2;}
5093
       fi
6792
       fi
5094
   else
6793
   else
5095
       { { echo "$as_me:$LINENO: error: failed ($GNUMAKE $_make_version need 3.79.1+)" >&5
6794
       as_fn_error "failed ($GNUMAKE $_make_version need 3.79.1+)" "$LINENO" 5
5096
echo "$as_me: error: failed ($GNUMAKE $_make_version need 3.79.1+)" >&2;}
6795
   fi
5097
   { (exit 1); exit 1; }; }
6796
fi
5098
   fi
6797
5099
fi
6798
5100
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar" >&5
5101
6800
$as_echo_n "checking for GNU tar... " >&6; }
5102
echo "$as_me:$LINENO: checking for GNU tar" >&5
5103
echo $ECHO_N "checking for GNU tar... $ECHO_C" >&6
5104
for a in $GNUTAR gtar gnutar tar; do
6801
for a in $GNUTAR gtar gnutar tar; do
5105
      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
6802
      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
5106
      if test $? -eq 0;  then
6803
      if test $? -eq 0;  then
Lines 5108-5119 Link Here
5108
           break
6805
           break
5109
      fi
6806
      fi
5110
done
6807
done
5111
echo "$as_me:$LINENO: result: $GNUTAR" >&5
6808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
5112
echo "${ECHO_T}$GNUTAR" >&6
6809
$as_echo "$GNUTAR" >&6; }
5113
if test -z "$GNUTAR"; then
6810
if test -z "$GNUTAR"; then
5114
    { { echo "$as_me:$LINENO: error: not found. install GNU tar." >&5
6811
    as_fn_error "not found. install GNU tar." "$LINENO" 5
5115
echo "$as_me: error: not found. install GNU tar." >&2;}
5116
   { (exit 1); exit 1; }; }
5117
fi
6812
fi
5118
6813
5119
6814
Lines 5124-5133 Link Here
5124
do
6819
do
5125
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6820
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5126
set dummy $ac_prog; ac_word=$2
6821
set dummy $ac_prog; ac_word=$2
5127
echo "$as_me:$LINENO: checking for $ac_word" >&5
6822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6823
$as_echo_n "checking for $ac_word... " >&6; }
5129
if test "${ac_cv_path__cc+set}" = set; then
6824
if test "${ac_cv_path__cc+set}" = set; then :
5130
  echo $ECHO_N "(cached) $ECHO_C" >&6
6825
  $as_echo_n "(cached) " >&6
5131
else
6826
else
5132
  case $_cc in
6827
  case $_cc in
5133
  [\\/]* | ?:[\\/]*)
6828
  [\\/]* | ?:[\\/]*)
Lines 5139-5203 Link Here
5139
do
6834
do
5140
  IFS=$as_save_IFS
6835
  IFS=$as_save_IFS
5141
  test -z "$as_dir" && as_dir=.
6836
  test -z "$as_dir" && as_dir=.
5142
  for ac_exec_ext in '' $ac_executable_extensions; do
6837
    for ac_exec_ext in '' $ac_executable_extensions; do
5143
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144
    ac_cv_path__cc="$as_dir/$ac_word$ac_exec_ext"
6839
    ac_cv_path__cc="$as_dir/$ac_word$ac_exec_ext"
5145
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6840
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146
    break 2
6841
    break 2
5147
  fi
6842
  fi
5148
done
6843
done
5149
done
6844
  done
6845
IFS=$as_save_IFS
5150
6846
5151
  ;;
6847
  ;;
5152
esac
6848
esac
5153
fi
6849
fi
5154
_cc=$ac_cv_path__cc
6850
_cc=$ac_cv_path__cc
5155
5156
if test -n "$_cc"; then
6851
if test -n "$_cc"; then
5157
  echo "$as_me:$LINENO: result: $_cc" >&5
6852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cc" >&5
5158
echo "${ECHO_T}$_cc" >&6
6853
$as_echo "$_cc" >&6; }
5159
else
6854
else
5160
  echo "$as_me:$LINENO: result: no" >&5
6855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161
echo "${ECHO_T}no" >&6
6856
$as_echo "no" >&6; }
5162
fi
6857
fi
6858
5163
6859
5164
  test -n "$_cc" && break
6860
  test -n "$_cc" && break
5165
done
6861
done
5166
6862
5167
      COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
6863
      COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
5168
      echo "$as_me:$LINENO: checking the SunStudio C/C++ compiler version" >&5
6864
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking the SunStudio C/C++ compiler version" >&5
5169
echo $ECHO_N "checking the SunStudio C/C++ compiler version... $ECHO_C" >&6
6865
$as_echo_n "checking the SunStudio C/C++ compiler version... " >&6; }
5170
            _sunstudio_string=`$CC -V 2>&1 | grep '^cc' | sed -e 's/.* C //'`
6866
            _sunstudio_string=`$CC -V 2>&1 | grep '^cc' | sed -e 's/.* C //'`
5171
      _sunstudio_version=`echo $_sunstudio_string | $AWK '{ print $1 }'`
6867
      _sunstudio_version=`echo $_sunstudio_string | $AWK '{ print $1 }'`
5172
      _sunstudio_major=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'`
6868
      _sunstudio_major=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'`
5173
      if test "$_sunstudio_major" != "5"; then
6869
      if test "$_sunstudio_major" != "5"; then
5174
         { { echo "$as_me:$LINENO: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&5
6870
         as_fn_error "found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" "$LINENO" 5
5175
echo "$as_me: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&2;}
5176
   { (exit 1); exit 1; }; }
5177
      else
6871
      else
5178
         _sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'`
6872
         _sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'`
5179
         if test "$_sunstudio_minor" = "false"; then
6873
         if test "$_sunstudio_minor" = "false"; then
5180
            { { echo "$as_me:$LINENO: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&5
6874
            as_fn_error "found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" "$LINENO" 5
5181
echo "$as_me: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&2;}
5182
   { (exit 1); exit 1; }; }
5183
         else
6875
         else
5184
                        echo "$as_me:$LINENO: result: checked" >&5
6876
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
5185
echo "${ECHO_T}checked" >&6
6877
$as_echo "checked" >&6; }
5186
         fi
6878
         fi
5187
      fi
6879
      fi
5188
   fi
6880
   fi
5189
fi
6881
fi
5190
6882
5191
if test "$GCC" = "yes"; then
6883
if test "$GCC" = "yes"; then
5192
   echo "$as_me:$LINENO: checking for --hash-style=both linker support " >&5
6884
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style=both linker support " >&5
5193
echo $ECHO_N "checking for --hash-style=both linker support ... $ECHO_C" >&6
6885
$as_echo_n "checking for --hash-style=both linker support ... " >&6; }
5194
   hash_style_ldflags_save=$LDFLAGS
6886
   hash_style_ldflags_save=$LDFLAGS
5195
   LDFLAGS="$LDFLAGS -Wl,--hash-style=both"
6887
   LDFLAGS="$LDFLAGS -Wl,--hash-style=both"
5196
   cat >conftest.$ac_ext <<_ACEOF
6888
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197
/* confdefs.h.  */
5198
_ACEOF
5199
cat confdefs.h >>conftest.$ac_ext
5200
cat >>conftest.$ac_ext <<_ACEOF
5201
/* end confdefs.h.  */
6889
/* end confdefs.h.  */
5202
6890
5203
   #include <stdio.h>
6891
   #include <stdio.h>
Lines 5212-5254 Link Here
5212
  return 0;
6900
  return 0;
5213
}
6901
}
5214
_ACEOF
6902
_ACEOF
5215
rm -f conftest.$ac_objext conftest$ac_exeext
6903
if ac_fn_c_try_link "$LINENO"; then :
5216
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5217
  (eval $ac_link) 2>conftest.er1
5218
  ac_status=$?
5219
  grep -v '^ *+' conftest.er1 >conftest.err
5220
  rm -f conftest.er1
5221
  cat conftest.err >&5
5222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223
  (exit $ac_status); } &&
5224
	 { ac_try='test -z "$ac_c_werror_flag"
5225
			 || test ! -s conftest.err'
5226
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227
  (eval $ac_try) 2>&5
5228
  ac_status=$?
5229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
  (exit $ac_status); }; } &&
5231
	 { ac_try='test -s conftest$ac_exeext'
5232
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233
  (eval $ac_try) 2>&5
5234
  ac_status=$?
5235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236
  (exit $ac_status); }; }; then
5237
  HAVE_LD_HASH_STYLE=TRUE
6904
  HAVE_LD_HASH_STYLE=TRUE
5238
else
6905
else
5239
  echo "$as_me: failed program was:" >&5
6906
  HAVE_LD_HASH_STYLE=FALSE
5240
sed 's/^/| /' conftest.$ac_ext >&5
6907
fi
5241
6908
rm -f core conftest.err conftest.$ac_objext \
5242
HAVE_LD_HASH_STYLE=FALSE
6909
    conftest$ac_exeext conftest.$ac_ext
5243
fi
5244
rm -f conftest.err conftest.$ac_objext \
5245
      conftest$ac_exeext conftest.$ac_ext
5246
   if test "z$HAVE_LD_HASH_STYLE" = "zTRUE"; then
6910
   if test "z$HAVE_LD_HASH_STYLE" = "zTRUE"; then
5247
     echo "$as_me:$LINENO: result: found " >&5
6911
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found " >&5
5248
echo "${ECHO_T}found " >&6
6912
$as_echo "found " >&6; }
5249
   else
6913
   else
5250
     echo "$as_me:$LINENO: result: not found " >&5
6914
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found " >&5
5251
echo "${ECHO_T}not found " >&6
6915
$as_echo "not found " >&6; }
5252
   fi
6916
   fi
5253
   LDFLAGS=$hash_style_ldflags_save
6917
   LDFLAGS=$hash_style_ldflags_save
5254
fi
6918
fi
Lines 5260-5269 Link Here
5260
do
6924
do
5261
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6925
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5262
set dummy $ac_prog; ac_word=$2
6926
set dummy $ac_prog; ac_word=$2
5263
echo "$as_me:$LINENO: checking for $ac_word" >&5
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6928
$as_echo_n "checking for $ac_word... " >&6; }
5265
if test "${ac_cv_path__cc+set}" = set; then
6929
if test "${ac_cv_path__cc+set}" = set; then :
5266
  echo $ECHO_N "(cached) $ECHO_C" >&6
6930
  $as_echo_n "(cached) " >&6
5267
else
6931
else
5268
  case $_cc in
6932
  case $_cc in
5269
  [\\/]* | ?:[\\/]*)
6933
  [\\/]* | ?:[\\/]*)
Lines 5275-5319 Link Here
5275
do
6939
do
5276
  IFS=$as_save_IFS
6940
  IFS=$as_save_IFS
5277
  test -z "$as_dir" && as_dir=.
6941
  test -z "$as_dir" && as_dir=.
5278
  for ac_exec_ext in '' $ac_executable_extensions; do
6942
    for ac_exec_ext in '' $ac_executable_extensions; do
5279
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6943
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280
    ac_cv_path__cc="$as_dir/$ac_word$ac_exec_ext"
6944
    ac_cv_path__cc="$as_dir/$ac_word$ac_exec_ext"
5281
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6945
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282
    break 2
6946
    break 2
5283
  fi
6947
  fi
5284
done
6948
done
5285
done
6949
  done
6950
IFS=$as_save_IFS
5286
6951
5287
  ;;
6952
  ;;
5288
esac
6953
esac
5289
fi
6954
fi
5290
_cc=$ac_cv_path__cc
6955
_cc=$ac_cv_path__cc
5291
5292
if test -n "$_cc"; then
6956
if test -n "$_cc"; then
5293
  echo "$as_me:$LINENO: result: $_cc" >&5
6957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cc" >&5
5294
echo "${ECHO_T}$_cc" >&6
6958
$as_echo "$_cc" >&6; }
5295
else
6959
else
5296
  echo "$as_me:$LINENO: result: no" >&5
6960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297
echo "${ECHO_T}no" >&6
6961
$as_echo "no" >&6; }
5298
fi
6962
fi
6963
5299
6964
5300
  test -n "$_cc" && break
6965
  test -n "$_cc" && break
5301
done
6966
done
5302
6967
5303
      COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
6968
      COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
5304
      { echo "$as_me:$LINENO: WARNING: ******* $_cc , $COMPATH" >&5
6969
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******* $_cc , $COMPATH" >&5
5305
echo "$as_me: WARNING: ******* $_cc , $COMPATH" >&2;}
6970
$as_echo "$as_me: WARNING: ******* $_cc , $COMPATH" >&2;}
5306
      echo "$as_me:$LINENO: checking the Compaq C compiler version" >&5
6971
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking the Compaq C compiler version" >&5
5307
echo $ECHO_N "checking the Compaq C compiler version... $ECHO_C" >&6
6972
$as_echo_n "checking the Compaq C compiler version... " >&6; }
5308
            _compaqc_version=`$CC -V 2>&1 | $AWK '{ print $3 }'`
6973
            _compaqc_version=`$CC -V 2>&1 | $AWK '{ print $3 }'`
5309
      _compaqc_major=`echo $_compaqc_version | $AWK -F. '{ print $1 }'`
6974
      _compaqc_major=`echo $_compaqc_version | $AWK -F. '{ print $1 }'`
5310
      if test "$_compaqc_major" != "T6"; then
6975
      if test "$_compaqc_major" != "T6"; then
5311
         { { echo "$as_me:$LINENO: error: found version \"$_compaqc_version\", use version 6 of the Compaq C compiler" >&5
6976
         as_fn_error "found version \"$_compaqc_version\", use version 6 of the Compaq C compiler" "$LINENO" 5
5312
echo "$as_me: error: found version \"$_compaqc_version\", use version 6 of the Compaq C compiler" >&2;}
6977
      else
5313
   { (exit 1); exit 1; }; }
6978
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
5314
      else
6979
$as_echo "checked" >&6; }
5315
                  echo "$as_me:$LINENO: result: checked" >&5
5316
echo "${ECHO_T}checked" >&6
5317
      fi
6980
      fi
5318
   fi
6981
   fi
5319
fi
6982
fi
Lines 5321-5330 Link Here
5321
if test -z "$with_perl_home"; then
6984
if test -z "$with_perl_home"; then
5322
   # Extract the first word of "perl", so it can be a program name with args.
6985
   # Extract the first word of "perl", so it can be a program name with args.
5323
set dummy perl; ac_word=$2
6986
set dummy perl; ac_word=$2
5324
echo "$as_me:$LINENO: checking for $ac_word" >&5
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6988
$as_echo_n "checking for $ac_word... " >&6; }
5326
if test "${ac_cv_path_PERL+set}" = set; then
6989
if test "${ac_cv_path_PERL+set}" = set; then :
5327
  echo $ECHO_N "(cached) $ECHO_C" >&6
6990
  $as_echo_n "(cached) " >&6
5328
else
6991
else
5329
  case $PERL in
6992
  case $PERL in
5330
  [\\/]* | ?:[\\/]*)
6993
  [\\/]* | ?:[\\/]*)
Lines 5336-5362 Link Here
5336
do
6999
do
5337
  IFS=$as_save_IFS
7000
  IFS=$as_save_IFS
5338
  test -z "$as_dir" && as_dir=.
7001
  test -z "$as_dir" && as_dir=.
5339
  for ac_exec_ext in '' $ac_executable_extensions; do
7002
    for ac_exec_ext in '' $ac_executable_extensions; do
5340
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7004
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5342
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343
    break 2
7006
    break 2
5344
  fi
7007
  fi
5345
done
7008
done
5346
done
7009
  done
7010
IFS=$as_save_IFS
5347
7011
5348
  ;;
7012
  ;;
5349
esac
7013
esac
5350
fi
7014
fi
5351
PERL=$ac_cv_path_PERL
7015
PERL=$ac_cv_path_PERL
5352
5353
if test -n "$PERL"; then
7016
if test -n "$PERL"; then
5354
  echo "$as_me:$LINENO: result: $PERL" >&5
7017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5355
echo "${ECHO_T}$PERL" >&6
7018
$as_echo "$PERL" >&6; }
5356
else
7019
else
5357
  echo "$as_me:$LINENO: result: no" >&5
7020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358
echo "${ECHO_T}no" >&6
7021
$as_echo "no" >&6; }
5359
fi
7022
fi
7023
5360
7024
5361
else
7025
else
5362
   if test "$_os" = "WINNT"; then
7026
   if test "$_os" = "WINNT"; then
Lines 5366-5411 Link Here
5366
   if test -x "$_perl_path"; then
7030
   if test -x "$_perl_path"; then
5367
      PERL=$_perl_path
7031
      PERL=$_perl_path
5368
   else
7032
   else
5369
      { { echo "$as_me:$LINENO: error: $_perl_path not found" >&5
7033
      as_fn_error "$_perl_path not found" "$LINENO" 5
5370
echo "$as_me: error: $_perl_path not found" >&2;}
5371
   { (exit 1); exit 1; }; }
5372
   fi
7034
   fi
5373
fi
7035
fi
5374
7036
5375
if test "$PERL"; then
7037
if test "$PERL"; then
5376
   echo "$as_me:$LINENO: checking the Perl version" >&5
7038
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the Perl version" >&5
5377
echo $ECHO_N "checking the Perl version... $ECHO_C" >&6
7039
$as_echo_n "checking the Perl version... " >&6; }
5378
   ${PERL} -e "exit($]);"
7040
   ${PERL} -e "exit($]);"
5379
   _perl_version=$?
7041
   _perl_version=$?
5380
   if test "$_perl_version" -lt 5; then
7042
   if test "$_perl_version" -lt 5; then
5381
      { { echo "$as_me:$LINENO: error: found Perl version \"$_perl_version\", use version 5 of Perl" >&5
7043
      as_fn_error "found Perl version \"$_perl_version\", use version 5 of Perl" "$LINENO" 5
5382
echo "$as_me: error: found Perl version \"$_perl_version\", use version 5 of Perl" >&2;}
7044
   fi
5383
   { (exit 1); exit 1; }; }
7045
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (perl $_perl_version)" >&5
5384
   fi
7046
$as_echo "checked (perl $_perl_version)" >&6; }
5385
   echo "$as_me:$LINENO: result: checked (perl $_perl_version)" >&5
7047
else
5386
echo "${ECHO_T}checked (perl $_perl_version)" >&6
7048
   as_fn_error "Perl not found, install version 5 of Perl" "$LINENO" 5
5387
else
7049
fi
5388
   { { echo "$as_me:$LINENO: error: Perl not found, install version 5 of Perl" >&5
7050
5389
echo "$as_me: error: Perl not found, install version 5 of Perl" >&2;}
7051
5390
   { (exit 1); exit 1; }; }
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for required Perl modules" >&5
5391
fi
7053
$as_echo_n "checking for required Perl modules... " >&6; }
5392
5393
5394
echo "$as_me:$LINENO: checking for required Perl modules" >&5
5395
echo $ECHO_N "checking for required Perl modules... $ECHO_C" >&6
5396
if `$PERL -e 'use Archive::Zip;'`; then
7054
if `$PERL -e 'use Archive::Zip;'`; then
5397
	echo "$as_me:$LINENO: result: all modules found" >&5
7055
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: all modules found" >&5
5398
echo "${ECHO_T}all modules found" >&6
7056
$as_echo "all modules found" >&6; }
5399
else
7057
else
5400
	{ { echo "$as_me:$LINENO: error: Failed to find some modules" >&5
7058
	as_fn_error "Failed to find some modules" "$LINENO" 5
5401
echo "$as_me: error: Failed to find some modules" >&2;}
5402
   { (exit 1); exit 1; }; }
5403
fi
7059
fi
5404
7060
5405
if test "$_os" = "WINNT"; then
7061
if test "$_os" = "WINNT"; then
5406
	if test "$WITH_MINGWIN" != "yes"; then
7062
	if test "$WITH_MINGWIN" != "yes"; then
5407
		echo "$as_me:$LINENO: checking for friendly registry keys" >&5
7063
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for friendly registry keys" >&5
5408
echo $ECHO_N "checking for friendly registry keys... $ECHO_C" >&6
7064
$as_echo_n "checking for friendly registry keys... " >&6; }
5409
		# VS.Net 2003, VS.Net 2005
7065
		# VS.Net 2003, VS.Net 2005
5410
		if test -z "$with_cl_home"; then
7066
		if test -z "$with_cl_home"; then
5411
			vctest=`./oowintool --msvc-productdir`;
7067
			vctest=`./oowintool --msvc-productdir`;
Lines 5415-5422 Link Here
5415
		else
7071
		else
5416
			with_cl_home=`cygpath -u "$with_cl_home"`
7072
			with_cl_home=`cygpath -u "$with_cl_home"`
5417
		fi
7073
		fi
5418
		echo "$as_me:$LINENO: result: done" >&5
7074
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5419
echo "${ECHO_T}done" >&6
7075
$as_echo "done" >&6; }
5420
7076
5421
										if test -n "$with_mspdb_path";then
7077
										if test -n "$with_mspdb_path";then
5422
			with_mspdb_path=`cygpath -u "$with_mspdb_path"`
7078
			with_mspdb_path=`cygpath -u "$with_mspdb_path"`
Lines 5437-5446 Link Here
5437
		if test -z "$MSPDB_PATH";then
7093
		if test -z "$MSPDB_PATH";then
5438
						# Extract the first word of "mspdb80.dll", so it can be a program name with args.
7094
						# Extract the first word of "mspdb80.dll", so it can be a program name with args.
5439
set dummy mspdb80.dll; ac_word=$2
7095
set dummy mspdb80.dll; ac_word=$2
5440
echo "$as_me:$LINENO: checking for $ac_word" >&5
7096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7097
$as_echo_n "checking for $ac_word... " >&6; }
5442
if test "${ac_cv_path_MSPDB_PATH+set}" = set; then
7098
if test "${ac_cv_path_MSPDB_PATH+set}" = set; then :
5443
  echo $ECHO_N "(cached) $ECHO_C" >&6
7099
  $as_echo_n "(cached) " >&6
5444
else
7100
else
5445
  case $MSPDB_PATH in
7101
  case $MSPDB_PATH in
5446
  [\\/]* | ?:[\\/]*)
7102
  [\\/]* | ?:[\\/]*)
Lines 5452-5485 Link Here
5452
do
7108
do
5453
  IFS=$as_save_IFS
7109
  IFS=$as_save_IFS
5454
  test -z "$as_dir" && as_dir=.
7110
  test -z "$as_dir" && as_dir=.
5455
  for ac_exec_ext in '' $ac_executable_extensions; do
7111
    for ac_exec_ext in '' $ac_executable_extensions; do
5456
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7112
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457
    ac_cv_path_MSPDB_PATH="$as_dir/$ac_word$ac_exec_ext"
7113
    ac_cv_path_MSPDB_PATH="$as_dir/$ac_word$ac_exec_ext"
5458
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7114
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459
    break 2
7115
    break 2
5460
  fi
7116
  fi
5461
done
7117
done
5462
done
7118
  done
7119
IFS=$as_save_IFS
5463
7120
5464
  ;;
7121
  ;;
5465
esac
7122
esac
5466
fi
7123
fi
5467
MSPDB_PATH=$ac_cv_path_MSPDB_PATH
7124
MSPDB_PATH=$ac_cv_path_MSPDB_PATH
5468
5469
if test -n "$MSPDB_PATH"; then
7125
if test -n "$MSPDB_PATH"; then
5470
  echo "$as_me:$LINENO: result: $MSPDB_PATH" >&5
7126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSPDB_PATH" >&5
5471
echo "${ECHO_T}$MSPDB_PATH" >&6
7127
$as_echo "$MSPDB_PATH" >&6; }
5472
else
7128
else
5473
  echo "$as_me:$LINENO: result: no" >&5
7129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474
echo "${ECHO_T}no" >&6
7130
$as_echo "no" >&6; }
5475
fi
7131
fi
7132
5476
7133
5477
			# Extract the first word of "mspdb71.dll", so it can be a program name with args.
7134
			# Extract the first word of "mspdb71.dll", so it can be a program name with args.
5478
set dummy mspdb71.dll; ac_word=$2
7135
set dummy mspdb71.dll; ac_word=$2
5479
echo "$as_me:$LINENO: checking for $ac_word" >&5
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7137
$as_echo_n "checking for $ac_word... " >&6; }
5481
if test "${ac_cv_path_MSPDB_PATH+set}" = set; then
7138
if test "${ac_cv_path_MSPDB_PATH+set}" = set; then :
5482
  echo $ECHO_N "(cached) $ECHO_C" >&6
7139
  $as_echo_n "(cached) " >&6
5483
else
7140
else
5484
  case $MSPDB_PATH in
7141
  case $MSPDB_PATH in
5485
  [\\/]* | ?:[\\/]*)
7142
  [\\/]* | ?:[\\/]*)
Lines 5491-5541 Link Here
5491
do
7148
do
5492
  IFS=$as_save_IFS
7149
  IFS=$as_save_IFS
5493
  test -z "$as_dir" && as_dir=.
7150
  test -z "$as_dir" && as_dir=.
5494
  for ac_exec_ext in '' $ac_executable_extensions; do
7151
    for ac_exec_ext in '' $ac_executable_extensions; do
5495
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496
    ac_cv_path_MSPDB_PATH="$as_dir/$ac_word$ac_exec_ext"
7153
    ac_cv_path_MSPDB_PATH="$as_dir/$ac_word$ac_exec_ext"
5497
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7154
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498
    break 2
7155
    break 2
5499
  fi
7156
  fi
5500
done
7157
done
5501
done
7158
  done
7159
IFS=$as_save_IFS
5502
7160
5503
  ;;
7161
  ;;
5504
esac
7162
esac
5505
fi
7163
fi
5506
MSPDB_PATH=$ac_cv_path_MSPDB_PATH
7164
MSPDB_PATH=$ac_cv_path_MSPDB_PATH
5507
5508
if test -n "$MSPDB_PATH"; then
7165
if test -n "$MSPDB_PATH"; then
5509
  echo "$as_me:$LINENO: result: $MSPDB_PATH" >&5
7166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSPDB_PATH" >&5
5510
echo "${ECHO_T}$MSPDB_PATH" >&6
7167
$as_echo "$MSPDB_PATH" >&6; }
5511
else
7168
else
5512
  echo "$as_me:$LINENO: result: no" >&5
7169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513
echo "${ECHO_T}no" >&6
7170
$as_echo "no" >&6; }
5514
fi
7171
fi
7172
5515
7173
5516
			MSPDB_PATH=`dirname "$MSPDB_PATH"`
7174
			MSPDB_PATH=`dirname "$MSPDB_PATH"`
5517
		fi
7175
		fi
5518
7176
5519
		if test -z "$MSPDB_PATH"; then
7177
		if test -z "$MSPDB_PATH"; then
5520
			{ { echo "$as_me:$LINENO: error: You need a mspdb71.dll/mspdb80.dll, make sure it's in the path or use --with-mspdb-path" >&5
7178
			as_fn_error "You need a mspdb71.dll/mspdb80.dll, make sure it's in the path or use --with-mspdb-path" "$LINENO" 5
5521
echo "$as_me: error: You need a mspdb71.dll/mspdb80.dll, make sure it's in the path or use --with-mspdb-path" >&2;}
5522
   { (exit 1); exit 1; }; }
5523
		fi
7179
		fi
5524
		MSPDB_PATH=`cygpath -d "$MSPDB_PATH"`
7180
		MSPDB_PATH=`cygpath -d "$MSPDB_PATH"`
5525
		MSPDB_PATH=`cygpath -u "$MSPDB_PATH"`
7181
		MSPDB_PATH=`cygpath -u "$MSPDB_PATH"`
5526
				PATH="$MSPDB_PATH:$PATH"
7182
				PATH="$MSPDB_PATH:$PATH"
5527
7183
5528
		echo "$as_me:$LINENO: checking the Microsoft C/C++ Compiler" >&5
7184
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the Microsoft C/C++ Compiler" >&5
5529
echo $ECHO_N "checking the Microsoft C/C++ Compiler... $ECHO_C" >&6
7185
$as_echo_n "checking the Microsoft C/C++ Compiler... " >&6; }
5530
   		if test -x "$with_cl_home/bin/cl.exe"; then
7186
   		if test -x "$with_cl_home/bin/cl.exe"; then
5531
   			CC="$with_cl_home/bin/cl.exe"
7187
   			CC="$with_cl_home/bin/cl.exe"
5532
   		else
7188
   		else
5533
   			# Extract the first word of "cl.exe", so it can be a program name with args.
7189
   			# Extract the first word of "cl.exe", so it can be a program name with args.
5534
set dummy cl.exe; ac_word=$2
7190
set dummy cl.exe; ac_word=$2
5535
echo "$as_me:$LINENO: checking for $ac_word" >&5
7191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7192
$as_echo_n "checking for $ac_word... " >&6; }
5537
if test "${ac_cv_path_CC+set}" = set; then
7193
if test "${ac_cv_path_CC+set}" = set; then :
5538
  echo $ECHO_N "(cached) $ECHO_C" >&6
7194
  $as_echo_n "(cached) " >&6
5539
else
7195
else
5540
  case $CC in
7196
  case $CC in
5541
  [\\/]* | ?:[\\/]*)
7197
  [\\/]* | ?:[\\/]*)
Lines 5547-5573 Link Here
5547
do
7203
do
5548
  IFS=$as_save_IFS
7204
  IFS=$as_save_IFS
5549
  test -z "$as_dir" && as_dir=.
7205
  test -z "$as_dir" && as_dir=.
5550
  for ac_exec_ext in '' $ac_executable_extensions; do
7206
    for ac_exec_ext in '' $ac_executable_extensions; do
5551
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5552
    ac_cv_path_CC="$as_dir/$ac_word$ac_exec_ext"
7208
    ac_cv_path_CC="$as_dir/$ac_word$ac_exec_ext"
5553
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7209
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554
    break 2
7210
    break 2
5555
  fi
7211
  fi
5556
done
7212
done
5557
done
7213
  done
7214
IFS=$as_save_IFS
5558
7215
5559
  ;;
7216
  ;;
5560
esac
7217
esac
5561
fi
7218
fi
5562
CC=$ac_cv_path_CC
7219
CC=$ac_cv_path_CC
5563
5564
if test -n "$CC"; then
7220
if test -n "$CC"; then
5565
  echo "$as_me:$LINENO: result: $CC" >&5
7221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5566
echo "${ECHO_T}$CC" >&6
7222
$as_echo "$CC" >&6; }
5567
else
7223
else
5568
  echo "$as_me:$LINENO: result: no" >&5
7224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569
echo "${ECHO_T}no" >&6
7225
$as_echo "no" >&6; }
5570
fi
7226
fi
7227
5571
7228
5572
   		fi
7229
   		fi
5573
  		if test -e "$CC"; then
7230
  		if test -e "$CC"; then
Lines 5575-5586 Link Here
5575
			CC=`cygpath -d "$CC"`
7232
			CC=`cygpath -d "$CC"`
5576
			CC=`cygpath -u "$CC"`
7233
			CC=`cygpath -u "$CC"`
5577
			# Remove /cl.exe from CC case insensitive
7234
			# Remove /cl.exe from CC case insensitive
5578
			echo "$as_me:$LINENO: result: found ($CC)" >&5
7235
			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found ($CC)" >&5
5579
echo "${ECHO_T}found ($CC)" >&6
7236
$as_echo "found ($CC)" >&6; }
5580
			COMPATH=`echo $CC | $SED 's@\/[Bb][Ii][Nn]\/[cC][lL]\.[eE][xX][eE]@@'`
7237
			COMPATH=`echo $CC | $SED 's@\/[Bb][Ii][Nn]\/[cC][lL]\.[eE][xX][eE]@@'`
5581
			export INCLUDE=`cygpath -d "$COMPATH/Include"`
7238
			export INCLUDE=`cygpath -d "$COMPATH/Include"`
5582
						echo "$as_me:$LINENO: checking the Version of Microsoft C/C++ Compiler" >&5
7239
						{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the Version of Microsoft C/C++ Compiler" >&5
5583
echo $ECHO_N "checking the Version of Microsoft C/C++ Compiler... $ECHO_C" >&6
7240
$as_echo_n "checking the Version of Microsoft C/C++ Compiler... " >&6; }
5584
			CCNUMVER=`$CC 2>&1 | $AWK "/Microsoft/ && /..\\...\\...../ {
7241
			CCNUMVER=`$CC 2>&1 | $AWK "/Microsoft/ && /..\\...\\...../ {
5585
							x = match( \\\$0, /..\\...\\...../ )
7242
							x = match( \\\$0, /..\\...\\...../ )
5586
							CCversion = substr( \\\$0, RSTART, RLENGTH)
7243
							CCversion = substr( \\\$0, RSTART, RLENGTH)
Lines 5589-5636 Link Here
5589
								printf (\"%04d\",vertoken[i] )
7246
								printf (\"%04d\",vertoken[i] )
5590
							}
7247
							}
5591
							}"`
7248
							}"`
5592
			echo "$as_me:$LINENO: result: found Compiler version $CCNUMVER." >&5
7249
			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found Compiler version $CCNUMVER." >&5
5593
echo "${ECHO_T}found Compiler version $CCNUMVER." >&6
7250
$as_echo "found Compiler version $CCNUMVER." >&6; }
5594
			if test "$CCNUMVER" -ge "001500000000"; then
7251
			if test "$CCNUMVER" -ge "001500000000"; then
5595
				COMEX=12
7252
				COMEX=12
5596
				MSVSVER=2008
7253
				MSVSVER=2008
5597
				echo "$as_me:$LINENO: result: found .NET 2008 / VS 9.0." >&5
7254
				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found .NET 2008 / VS 9.0." >&5
5598
echo "${ECHO_T}found .NET 2008 / VS 9.0." >&6
7255
$as_echo "found .NET 2008 / VS 9.0." >&6; }
5599
			elif test "$CCNUMVER" -ge "001400000000"; then
7256
			elif test "$CCNUMVER" -ge "001400000000"; then
5600
				COMEX=11
7257
				COMEX=11
5601
				MSVSVER=2005
7258
				MSVSVER=2005
5602
				echo "$as_me:$LINENO: result: found .NET 2005." >&5
7259
				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found .NET 2005." >&5
5603
echo "${ECHO_T}found .NET 2005." >&6
7260
$as_echo "found .NET 2005." >&6; }
5604
			elif test "$CCNUMVER" -ge "001300102240"; then
7261
			elif test "$CCNUMVER" -ge "001300102240"; then
5605
				COMEX=10
7262
				COMEX=10
5606
				MSVSVER=2003
7263
				MSVSVER=2003
5607
				echo "$as_me:$LINENO: result: found .NET 2003." >&5
7264
				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found .NET 2003." >&5
5608
echo "${ECHO_T}found .NET 2003." >&6
7265
$as_echo "found .NET 2003." >&6; }
5609
			else
7266
			else
5610
				{ { echo "$as_me:$LINENO: error: Compiler too old. Use Microsoft C/C++ .NET 2003/2005 compiler." >&5
7267
				as_fn_error "Compiler too old. Use Microsoft C/C++ .NET 2003/2005 compiler." "$LINENO" 5
5611
echo "$as_me: error: Compiler too old. Use Microsoft C/C++ .NET 2003/2005 compiler." >&2;}
5612
   { (exit 1); exit 1; }; }
5613
			fi
7268
			fi
5614
		else
7269
		else
5615
			{ { echo "$as_me:$LINENO: error: Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe." >&5
7270
			as_fn_error "Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe." "$LINENO" 5
5616
echo "$as_me: error: Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe." >&2;}
5617
   { (exit 1); exit 1; }; }
5618
		fi
7271
		fi
5619
	else
7272
	else
5620
		echo "$as_me:$LINENO: checking the Mingwin32 C++ Compiler" >&5
7273
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the Mingwin32 C++ Compiler" >&5
5621
echo $ECHO_N "checking the Mingwin32 C++ Compiler... $ECHO_C" >&6
7274
$as_echo_n "checking the Mingwin32 C++ Compiler... " >&6; }
5622
		if test `$CC -dumpmachine | $SED -e 's/^.*-//'` = "mingw32"; then
7275
		if test `$CC -dumpmachine | $SED -e 's/^.*-//'` = "mingw32"; then
5623
			echo "$as_me:$LINENO: result: found." >&5
7276
			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
5624
echo "${ECHO_T}found." >&6
7277
$as_echo "found." >&6; }
5625
			if $CC -dumpspecs | grep -q "mno-cygwin"; then
7278
			if $CC -dumpspecs | grep -q "mno-cygwin"; then
5626
				USE_MINGW="cygwin"
7279
				USE_MINGW="cygwin"
5627
			else
7280
			else
5628
				USE_MINGW="pure-mingw"
7281
				USE_MINGW="pure-mingw"
5629
			fi
7282
			fi
5630
		else
7283
		else
5631
			{ { echo "$as_me:$LINENO: error: Mingwin32 C++ Compiler not found." >&5
7284
			as_fn_error "Mingwin32 C++ Compiler not found." "$LINENO" 5
5632
echo "$as_me: error: Mingwin32 C++ Compiler not found." >&2;}
5633
   { (exit 1); exit 1; }; }
5634
		fi
7285
		fi
5635
	fi
7286
	fi
5636
fi
7287
fi
Lines 5642-5651 Link Here
5642
if test "$WITH_MINGWIN" = "yes" || test "$COMEX" -ge "10"; then
7293
if test "$WITH_MINGWIN" = "yes" || test "$COMEX" -ge "10"; then
5643
		# Extract the first word of "midl.exe", so it can be a program name with args.
7294
		# Extract the first word of "midl.exe", so it can be a program name with args.
5644
set dummy midl.exe; ac_word=$2
7295
set dummy midl.exe; ac_word=$2
5645
echo "$as_me:$LINENO: checking for $ac_word" >&5
7296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7297
$as_echo_n "checking for $ac_word... " >&6; }
5647
if test "${ac_cv_path_MIDL_PATH+set}" = set; then
7298
if test "${ac_cv_path_MIDL_PATH+set}" = set; then :
5648
  echo $ECHO_N "(cached) $ECHO_C" >&6
7299
  $as_echo_n "(cached) " >&6
5649
else
7300
else
5650
  case $MIDL_PATH in
7301
  case $MIDL_PATH in
5651
  [\\/]* | ?:[\\/]*)
7302
  [\\/]* | ?:[\\/]*)
Lines 5657-5683 Link Here
5657
do
7308
do
5658
  IFS=$as_save_IFS
7309
  IFS=$as_save_IFS
5659
  test -z "$as_dir" && as_dir=.
7310
  test -z "$as_dir" && as_dir=.
5660
  for ac_exec_ext in '' $ac_executable_extensions; do
7311
    for ac_exec_ext in '' $ac_executable_extensions; do
5661
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662
    ac_cv_path_MIDL_PATH="$as_dir/$ac_word$ac_exec_ext"
7313
    ac_cv_path_MIDL_PATH="$as_dir/$ac_word$ac_exec_ext"
5663
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7314
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664
    break 2
7315
    break 2
5665
  fi
7316
  fi
5666
done
7317
done
5667
done
7318
  done
7319
IFS=$as_save_IFS
5668
7320
5669
  ;;
7321
  ;;
5670
esac
7322
esac
5671
fi
7323
fi
5672
MIDL_PATH=$ac_cv_path_MIDL_PATH
7324
MIDL_PATH=$ac_cv_path_MIDL_PATH
5673
5674
if test -n "$MIDL_PATH"; then
7325
if test -n "$MIDL_PATH"; then
5675
  echo "$as_me:$LINENO: result: $MIDL_PATH" >&5
7326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL_PATH" >&5
5676
echo "${ECHO_T}$MIDL_PATH" >&6
7327
$as_echo "$MIDL_PATH" >&6; }
5677
else
7328
else
5678
  echo "$as_me:$LINENO: result: no" >&5
7329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679
echo "${ECHO_T}no" >&6
7330
$as_echo "no" >&6; }
5680
fi
7331
fi
7332
5681
7333
5682
	if test -n "$MIDL_PATH";then
7334
	if test -n "$MIDL_PATH";then
5683
		MIDL_PATH=`dirname "$MIDL_PATH"`
7335
		MIDL_PATH=`dirname "$MIDL_PATH"`
Lines 5704-5712 Link Here
5704
		fi
7356
		fi
5705
	fi
7357
	fi
5706
	if test ! -x "$MIDL_PATH/midl.exe"; then
7358
	if test ! -x "$MIDL_PATH/midl.exe"; then
5707
		{ { echo "$as_me:$LINENO: error: midl.exe not found. Make sure it's in the path or use --with-midl-path" >&5
7359
		as_fn_error "midl.exe not found. Make sure it's in the path or use --with-midl-path" "$LINENO" 5
5708
echo "$as_me: error: midl.exe not found. Make sure it's in the path or use --with-midl-path" >&2;}
5709
   { (exit 1); exit 1; }; }
5710
	fi
7360
	fi
5711
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
7361
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
5712
	MIDL_PATH=`cygpath -d "$MIDL_PATH"`
7362
	MIDL_PATH=`cygpath -d "$MIDL_PATH"`
Lines 5714-5723 Link Here
5714
7364
5715
		# Extract the first word of "csc.exe", so it can be a program name with args.
7365
		# Extract the first word of "csc.exe", so it can be a program name with args.
5716
set dummy csc.exe; ac_word=$2
7366
set dummy csc.exe; ac_word=$2
5717
echo "$as_me:$LINENO: checking for $ac_word" >&5
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7368
$as_echo_n "checking for $ac_word... " >&6; }
5719
if test "${ac_cv_path_CSC_PATH+set}" = set; then
7369
if test "${ac_cv_path_CSC_PATH+set}" = set; then :
5720
  echo $ECHO_N "(cached) $ECHO_C" >&6
7370
  $as_echo_n "(cached) " >&6
5721
else
7371
else
5722
  case $CSC_PATH in
7372
  case $CSC_PATH in
5723
  [\\/]* | ?:[\\/]*)
7373
  [\\/]* | ?:[\\/]*)
Lines 5729-5755 Link Here
5729
do
7379
do
5730
  IFS=$as_save_IFS
7380
  IFS=$as_save_IFS
5731
  test -z "$as_dir" && as_dir=.
7381
  test -z "$as_dir" && as_dir=.
5732
  for ac_exec_ext in '' $ac_executable_extensions; do
7382
    for ac_exec_ext in '' $ac_executable_extensions; do
5733
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7383
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734
    ac_cv_path_CSC_PATH="$as_dir/$ac_word$ac_exec_ext"
7384
    ac_cv_path_CSC_PATH="$as_dir/$ac_word$ac_exec_ext"
5735
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7385
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736
    break 2
7386
    break 2
5737
  fi
7387
  fi
5738
done
7388
done
5739
done
7389
  done
7390
IFS=$as_save_IFS
5740
7391
5741
  ;;
7392
  ;;
5742
esac
7393
esac
5743
fi
7394
fi
5744
CSC_PATH=$ac_cv_path_CSC_PATH
7395
CSC_PATH=$ac_cv_path_CSC_PATH
5745
5746
if test -n "$CSC_PATH"; then
7396
if test -n "$CSC_PATH"; then
5747
  echo "$as_me:$LINENO: result: $CSC_PATH" >&5
7397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC_PATH" >&5
5748
echo "${ECHO_T}$CSC_PATH" >&6
7398
$as_echo "$CSC_PATH" >&6; }
5749
else
7399
else
5750
  echo "$as_me:$LINENO: result: no" >&5
7400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751
echo "${ECHO_T}no" >&6
7401
$as_echo "no" >&6; }
5752
fi
7402
fi
7403
5753
7404
5754
	if test -n "$CSC_PATH";then
7405
	if test -n "$CSC_PATH";then
5755
		CSC_PATH=`dirname "$CSC_PATH"`
7406
		CSC_PATH=`dirname "$CSC_PATH"`
Lines 5766-5781 Link Here
5766
	   fi
7417
	   fi
5767
	fi
7418
	fi
5768
	if test ! -x "$CSC_PATH/csc.exe"; then
7419
	if test ! -x "$CSC_PATH/csc.exe"; then
5769
		{ { echo "$as_me:$LINENO: error: csc.exe not found. Make sure it's in the path or use --with-csc-path" >&5
7420
		as_fn_error "csc.exe not found. Make sure it's in the path or use --with-csc-path" "$LINENO" 5
5770
echo "$as_me: error: csc.exe not found. Make sure it's in the path or use --with-csc-path" >&2;}
5771
   { (exit 1); exit 1; }; }
5772
	fi
7421
	fi
5773
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
7422
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
5774
	CSC_PATH=`cygpath -d "$CSC_PATH"`
7423
	CSC_PATH=`cygpath -d "$CSC_PATH"`
5775
	CSC_PATH=`cygpath -u "$CSC_PATH"`
7424
	CSC_PATH=`cygpath -u "$CSC_PATH"`
5776
7425
5777
               echo "$as_me:$LINENO: checking .NET Framework" >&5
7426
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking .NET Framework" >&5
5778
echo $ECHO_N "checking .NET Framework... $ECHO_C" >&6
7427
$as_echo_n "checking .NET Framework... " >&6; }
5779
	    if test -n "$with_frame_home"; then
7428
	    if test -n "$with_frame_home"; then
5780
		with_frame_home=`cygpath -u "$with_frame_home"`
7429
		with_frame_home=`cygpath -u "$with_frame_home"`
5781
	    fi
7430
	    fi
Lines 5797-5808 Link Here
5797
          fi
7446
          fi
5798
	    fi
7447
	    fi
5799
	    if test ! -f "$FRAME_HOME/lib/mscoree.lib"; then
7448
	    if test ! -f "$FRAME_HOME/lib/mscoree.lib"; then
5800
		{ { echo "$as_me:$LINENO: error: mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home" >&5
7449
		as_fn_error "mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home" "$LINENO" 5
5801
echo "$as_me: error: mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home" >&2;}
5802
   { (exit 1); exit 1; }; }
5803
	    fi
7450
	    fi
5804
	    echo "$as_me:$LINENO: result: found" >&5
7451
	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
5805
echo "${ECHO_T}found" >&6
7452
$as_echo "found" >&6; }
5806
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
7453
	# Convert to posix path with 8.3 filename restrictions ( No spaces )
5807
	FRAME_HOME=`cygpath -d "$FRAME_HOME"`
7454
	FRAME_HOME=`cygpath -d "$FRAME_HOME"`
5808
	FRAME_HOME=`cygpath -u "$FRAME_HOME"`
7455
	FRAME_HOME=`cygpath -u "$FRAME_HOME"`
Lines 5818-5832 Link Here
5818
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5819
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5820
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7467
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5821
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5822
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7469
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5823
# On Suns, sometimes $CPP names a directory.
7470
# On Suns, sometimes $CPP names a directory.
5824
if test -n "$CPP" && test -d "$CPP"; then
7471
if test -n "$CPP" && test -d "$CPP"; then
5825
  CPP=
7472
  CPP=
5826
fi
7473
fi
5827
if test -z "$CPP"; then
7474
if test -z "$CPP"; then
5828
  if test "${ac_cv_prog_CPP+set}" = set; then
7475
  if test "${ac_cv_prog_CPP+set}" = set; then :
5829
  echo $ECHO_N "(cached) $ECHO_C" >&6
7476
  $as_echo_n "(cached) " >&6
5830
else
7477
else
5831
      # Double quotes because CPP needs to be expanded
7478
      # Double quotes because CPP needs to be expanded
5832
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7479
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
Lines 5840-5850 Link Here
5840
  # <limits.h> exists even on freestanding compilers.
7487
  # <limits.h> exists even on freestanding compilers.
5841
  # On the NeXT, cc -E runs the code through the compiler's parser,
7488
  # On the NeXT, cc -E runs the code through the compiler's parser,
5842
  # not just through cpp. "Syntax error" is here to catch this case.
7489
  # not just through cpp. "Syntax error" is here to catch this case.
5843
  cat >conftest.$ac_ext <<_ACEOF
7490
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844
/* confdefs.h.  */
5845
_ACEOF
5846
cat confdefs.h >>conftest.$ac_ext
5847
cat >>conftest.$ac_ext <<_ACEOF
5848
/* end confdefs.h.  */
7491
/* end confdefs.h.  */
5849
#ifdef __STDC__
7492
#ifdef __STDC__
5850
# include <limits.h>
7493
# include <limits.h>
Lines 5853-5920 Link Here
5853
#endif
7496
#endif
5854
		     Syntax error
7497
		     Syntax error
5855
_ACEOF
7498
_ACEOF
5856
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7499
if ac_fn_c_try_cpp "$LINENO"; then :
5857
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7500
5858
  ac_status=$?
7501
else
5859
  grep -v '^ *+' conftest.er1 >conftest.err
5860
  rm -f conftest.er1
5861
  cat conftest.err >&5
5862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863
  (exit $ac_status); } >/dev/null; then
5864
  if test -s conftest.err; then
5865
    ac_cpp_err=$ac_c_preproc_warn_flag
5866
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5867
  else
5868
    ac_cpp_err=
5869
  fi
5870
else
5871
  ac_cpp_err=yes
5872
fi
5873
if test -z "$ac_cpp_err"; then
5874
  :
5875
else
5876
  echo "$as_me: failed program was:" >&5
5877
sed 's/^/| /' conftest.$ac_ext >&5
5878
5879
  # Broken: fails on valid input.
7502
  # Broken: fails on valid input.
5880
continue
7503
continue
5881
fi
7504
fi
5882
rm -f conftest.err conftest.$ac_ext
7505
rm -f conftest.err conftest.$ac_ext
5883
7506
5884
  # OK, works on sane cases.  Now check whether non-existent headers
7507
  # OK, works on sane cases.  Now check whether nonexistent headers
5885
  # can be detected and how.
7508
  # can be detected and how.
5886
  cat >conftest.$ac_ext <<_ACEOF
7509
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887
/* confdefs.h.  */
5888
_ACEOF
5889
cat confdefs.h >>conftest.$ac_ext
5890
cat >>conftest.$ac_ext <<_ACEOF
5891
/* end confdefs.h.  */
7510
/* end confdefs.h.  */
5892
#include <ac_nonexistent.h>
7511
#include <ac_nonexistent.h>
5893
_ACEOF
7512
_ACEOF
5894
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7513
if ac_fn_c_try_cpp "$LINENO"; then :
5895
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5896
  ac_status=$?
5897
  grep -v '^ *+' conftest.er1 >conftest.err
5898
  rm -f conftest.er1
5899
  cat conftest.err >&5
5900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901
  (exit $ac_status); } >/dev/null; then
5902
  if test -s conftest.err; then
5903
    ac_cpp_err=$ac_c_preproc_warn_flag
5904
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5905
  else
5906
    ac_cpp_err=
5907
  fi
5908
else
5909
  ac_cpp_err=yes
5910
fi
5911
if test -z "$ac_cpp_err"; then
5912
  # Broken: success on invalid input.
7514
  # Broken: success on invalid input.
5913
continue
7515
continue
5914
else
7516
else
5915
  echo "$as_me: failed program was:" >&5
5916
sed 's/^/| /' conftest.$ac_ext >&5
5917
5918
  # Passes both tests.
7517
  # Passes both tests.
5919
ac_preproc_ok=:
7518
ac_preproc_ok=:
5920
break
7519
break
Lines 5924-5930 Link Here
5924
done
7523
done
5925
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7524
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5926
rm -f conftest.err conftest.$ac_ext
7525
rm -f conftest.err conftest.$ac_ext
5927
if $ac_preproc_ok; then
7526
if $ac_preproc_ok; then :
5928
  break
7527
  break
5929
fi
7528
fi
5930
7529
Lines 5936-5943 Link Here
5936
else
7535
else
5937
  ac_cv_prog_CPP=$CPP
7536
  ac_cv_prog_CPP=$CPP
5938
fi
7537
fi
5939
echo "$as_me:$LINENO: result: $CPP" >&5
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5940
echo "${ECHO_T}$CPP" >&6
7539
$as_echo "$CPP" >&6; }
5941
ac_preproc_ok=false
7540
ac_preproc_ok=false
5942
for ac_c_preproc_warn_flag in '' yes
7541
for ac_c_preproc_warn_flag in '' yes
5943
do
7542
do
Lines 5947-5957 Link Here
5947
  # <limits.h> exists even on freestanding compilers.
7546
  # <limits.h> exists even on freestanding compilers.
5948
  # On the NeXT, cc -E runs the code through the compiler's parser,
7547
  # On the NeXT, cc -E runs the code through the compiler's parser,
5949
  # not just through cpp. "Syntax error" is here to catch this case.
7548
  # not just through cpp. "Syntax error" is here to catch this case.
5950
  cat >conftest.$ac_ext <<_ACEOF
7549
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5951
/* confdefs.h.  */
5952
_ACEOF
5953
cat confdefs.h >>conftest.$ac_ext
5954
cat >>conftest.$ac_ext <<_ACEOF
5955
/* end confdefs.h.  */
7550
/* end confdefs.h.  */
5956
#ifdef __STDC__
7551
#ifdef __STDC__
5957
# include <limits.h>
7552
# include <limits.h>
Lines 5960-6027 Link Here
5960
#endif
7555
#endif
5961
		     Syntax error
7556
		     Syntax error
5962
_ACEOF
7557
_ACEOF
5963
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7558
if ac_fn_c_try_cpp "$LINENO"; then :
5964
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7559
5965
  ac_status=$?
7560
else
5966
  grep -v '^ *+' conftest.er1 >conftest.err
5967
  rm -f conftest.er1
5968
  cat conftest.err >&5
5969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970
  (exit $ac_status); } >/dev/null; then
5971
  if test -s conftest.err; then
5972
    ac_cpp_err=$ac_c_preproc_warn_flag
5973
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5974
  else
5975
    ac_cpp_err=
5976
  fi
5977
else
5978
  ac_cpp_err=yes
5979
fi
5980
if test -z "$ac_cpp_err"; then
5981
  :
5982
else
5983
  echo "$as_me: failed program was:" >&5
5984
sed 's/^/| /' conftest.$ac_ext >&5
5985
5986
  # Broken: fails on valid input.
7561
  # Broken: fails on valid input.
5987
continue
7562
continue
5988
fi
7563
fi
5989
rm -f conftest.err conftest.$ac_ext
7564
rm -f conftest.err conftest.$ac_ext
5990
7565
5991
  # OK, works on sane cases.  Now check whether non-existent headers
7566
  # OK, works on sane cases.  Now check whether nonexistent headers
5992
  # can be detected and how.
7567
  # can be detected and how.
5993
  cat >conftest.$ac_ext <<_ACEOF
7568
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5994
/* confdefs.h.  */
5995
_ACEOF
5996
cat confdefs.h >>conftest.$ac_ext
5997
cat >>conftest.$ac_ext <<_ACEOF
5998
/* end confdefs.h.  */
7569
/* end confdefs.h.  */
5999
#include <ac_nonexistent.h>
7570
#include <ac_nonexistent.h>
6000
_ACEOF
7571
_ACEOF
6001
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7572
if ac_fn_c_try_cpp "$LINENO"; then :
6002
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6003
  ac_status=$?
6004
  grep -v '^ *+' conftest.er1 >conftest.err
6005
  rm -f conftest.er1
6006
  cat conftest.err >&5
6007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008
  (exit $ac_status); } >/dev/null; then
6009
  if test -s conftest.err; then
6010
    ac_cpp_err=$ac_c_preproc_warn_flag
6011
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6012
  else
6013
    ac_cpp_err=
6014
  fi
6015
else
6016
  ac_cpp_err=yes
6017
fi
6018
if test -z "$ac_cpp_err"; then
6019
  # Broken: success on invalid input.
7573
  # Broken: success on invalid input.
6020
continue
7574
continue
6021
else
7575
else
6022
  echo "$as_me: failed program was:" >&5
6023
sed 's/^/| /' conftest.$ac_ext >&5
6024
6025
  # Passes both tests.
7576
  # Passes both tests.
6026
ac_preproc_ok=:
7577
ac_preproc_ok=:
6027
break
7578
break
Lines 6031-6044 Link Here
6031
done
7582
done
6032
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7583
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6033
rm -f conftest.err conftest.$ac_ext
7584
rm -f conftest.err conftest.$ac_ext
6034
if $ac_preproc_ok; then
7585
if $ac_preproc_ok; then :
6035
  :
7586
6036
else
7587
else
6037
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7588
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6038
See \`config.log' for more details." >&5
7589
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6039
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7590
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6040
See \`config.log' for more details." >&2;}
7591
See \`config.log' for more details." "$LINENO" 5; }
6041
   { (exit 1); exit 1; }; }
6042
fi
7592
fi
6043
7593
6044
ac_ext=c
7594
ac_ext=c
Lines 6048-6063 Link Here
6048
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7598
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6049
7599
6050
7600
6051
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6052
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7602
$as_echo_n "checking for ANSI C header files... " >&6; }
6053
if test "${ac_cv_header_stdc+set}" = set; then
7603
if test "${ac_cv_header_stdc+set}" = set; then :
6054
  echo $ECHO_N "(cached) $ECHO_C" >&6
7604
  $as_echo_n "(cached) " >&6
6055
else
7605
else
6056
  cat >conftest.$ac_ext <<_ACEOF
7606
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057
/* confdefs.h.  */
6058
_ACEOF
6059
cat confdefs.h >>conftest.$ac_ext
6060
cat >>conftest.$ac_ext <<_ACEOF
6061
/* end confdefs.h.  */
7607
/* end confdefs.h.  */
6062
#include <stdlib.h>
7608
#include <stdlib.h>
6063
#include <stdarg.h>
7609
#include <stdarg.h>
Lines 6072-6122 Link Here
6072
  return 0;
7618
  return 0;
6073
}
7619
}
6074
_ACEOF
7620
_ACEOF
6075
rm -f conftest.$ac_objext
7621
if ac_fn_c_try_compile "$LINENO"; then :
6076
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6077
  (eval $ac_compile) 2>conftest.er1
6078
  ac_status=$?
6079
  grep -v '^ *+' conftest.er1 >conftest.err
6080
  rm -f conftest.er1
6081
  cat conftest.err >&5
6082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083
  (exit $ac_status); } &&
6084
	 { ac_try='test -z "$ac_c_werror_flag"
6085
			 || test ! -s conftest.err'
6086
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087
  (eval $ac_try) 2>&5
6088
  ac_status=$?
6089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090
  (exit $ac_status); }; } &&
6091
	 { ac_try='test -s conftest.$ac_objext'
6092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093
  (eval $ac_try) 2>&5
6094
  ac_status=$?
6095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
  (exit $ac_status); }; }; then
6097
  ac_cv_header_stdc=yes
7622
  ac_cv_header_stdc=yes
6098
else
7623
else
6099
  echo "$as_me: failed program was:" >&5
7624
  ac_cv_header_stdc=no
6100
sed 's/^/| /' conftest.$ac_ext >&5
7625
fi
6101
7626
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102
ac_cv_header_stdc=no
6103
fi
6104
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6105
7627
6106
if test $ac_cv_header_stdc = yes; then
7628
if test $ac_cv_header_stdc = yes; then
6107
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7629
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6108
  cat >conftest.$ac_ext <<_ACEOF
7630
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109
/* confdefs.h.  */
6110
_ACEOF
6111
cat confdefs.h >>conftest.$ac_ext
6112
cat >>conftest.$ac_ext <<_ACEOF
6113
/* end confdefs.h.  */
7631
/* end confdefs.h.  */
6114
#include <string.h>
7632
#include <string.h>
6115
7633
6116
_ACEOF
7634
_ACEOF
6117
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7635
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6118
  $EGREP "memchr" >/dev/null 2>&1; then
7636
  $EGREP "memchr" >/dev/null 2>&1; then :
6119
  :
7637
6120
else
7638
else
6121
  ac_cv_header_stdc=no
7639
  ac_cv_header_stdc=no
6122
fi
7640
fi
Lines 6126-6143 Link Here
6126
7644
6127
if test $ac_cv_header_stdc = yes; then
7645
if test $ac_cv_header_stdc = yes; then
6128
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7646
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6129
  cat >conftest.$ac_ext <<_ACEOF
7647
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130
/* confdefs.h.  */
6131
_ACEOF
6132
cat confdefs.h >>conftest.$ac_ext
6133
cat >>conftest.$ac_ext <<_ACEOF
6134
/* end confdefs.h.  */
7648
/* end confdefs.h.  */
6135
#include <stdlib.h>
7649
#include <stdlib.h>
6136
7650
6137
_ACEOF
7651
_ACEOF
6138
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7652
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6139
  $EGREP "free" >/dev/null 2>&1; then
7653
  $EGREP "free" >/dev/null 2>&1; then :
6140
  :
7654
6141
else
7655
else
6142
  ac_cv_header_stdc=no
7656
  ac_cv_header_stdc=no
6143
fi
7657
fi
Lines 6147-6162 Link Here
6147
7661
6148
if test $ac_cv_header_stdc = yes; then
7662
if test $ac_cv_header_stdc = yes; then
6149
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7663
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6150
  if test "$cross_compiling" = yes; then
7664
  if test "$cross_compiling" = yes; then :
6151
  :
7665
  :
6152
else
7666
else
6153
  cat >conftest.$ac_ext <<_ACEOF
7667
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6154
/* confdefs.h.  */
6155
_ACEOF
6156
cat confdefs.h >>conftest.$ac_ext
6157
cat >>conftest.$ac_ext <<_ACEOF
6158
/* end confdefs.h.  */
7668
/* end confdefs.h.  */
6159
#include <ctype.h>
7669
#include <ctype.h>
7670
#include <stdlib.h>
6160
#if ((' ' & 0x0FF) == 0x020)
7671
#if ((' ' & 0x0FF) == 0x020)
6161
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7672
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6162
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7673
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
Lines 6176-6236 Link Here
6176
  for (i = 0; i < 256; i++)
7687
  for (i = 0; i < 256; i++)
6177
    if (XOR (islower (i), ISLOWER (i))
7688
    if (XOR (islower (i), ISLOWER (i))
6178
	|| toupper (i) != TOUPPER (i))
7689
	|| toupper (i) != TOUPPER (i))
6179
      exit(2);
7690
      return 2;
6180
  exit (0);
7691
  return 0;
6181
}
7692
}
6182
_ACEOF
7693
_ACEOF
6183
rm -f conftest$ac_exeext
7694
if ac_fn_c_try_run "$LINENO"; then :
6184
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7695
6185
  (eval $ac_link) 2>&5
7696
else
6186
  ac_status=$?
7697
  ac_cv_header_stdc=no
6187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
fi
6188
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7699
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6189
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700
  conftest.$ac_objext conftest.beam conftest.$ac_ext
6190
  (eval $ac_try) 2>&5
7701
fi
6191
  ac_status=$?
7702
6192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703
fi
6193
  (exit $ac_status); }; }; then
7704
fi
6194
  :
7705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6195
else
7706
$as_echo "$ac_cv_header_stdc" >&6; }
6196
  echo "$as_me: program exited with status $ac_status" >&5
6197
echo "$as_me: failed program was:" >&5
6198
sed 's/^/| /' conftest.$ac_ext >&5
6199
6200
( exit $ac_status )
6201
ac_cv_header_stdc=no
6202
fi
6203
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6204
fi
6205
fi
6206
fi
6207
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6208
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6209
if test $ac_cv_header_stdc = yes; then
7707
if test $ac_cv_header_stdc = yes; then
6210
7708
6211
cat >>confdefs.h <<\_ACEOF
7709
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6212
#define STDC_HEADERS 1
6213
_ACEOF
6214
7710
6215
fi
7711
fi
6216
7712
6217
fi
7713
fi
6218
7714
6219
if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
7715
if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
6220
   ac_ext=cc
7716
   ac_ext=cpp
6221
ac_cpp='$CXXCPP $CPPFLAGS'
7717
ac_cpp='$CXXCPP $CPPFLAGS'
6222
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7718
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6223
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7719
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6224
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7720
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6225
if test -n "$ac_tool_prefix"; then
7721
if test -z "$CXX"; then
6226
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7722
  if test -n "$CCC"; then
7723
    CXX=$CCC
7724
  else
7725
    if test -n "$ac_tool_prefix"; then
7726
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6227
  do
7727
  do
6228
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7728
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6229
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7729
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6230
echo "$as_me:$LINENO: checking for $ac_word" >&5
7730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7731
$as_echo_n "checking for $ac_word... " >&6; }
6232
if test "${ac_cv_prog_CXX+set}" = set; then
7732
if test "${ac_cv_prog_CXX+set}" = set; then :
6233
  echo $ECHO_N "(cached) $ECHO_C" >&6
7733
  $as_echo_n "(cached) " >&6
6234
else
7734
else
6235
  if test -n "$CXX"; then
7735
  if test -n "$CXX"; then
6236
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7736
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
Lines 6240-6278 Link Here
6240
do
7740
do
6241
  IFS=$as_save_IFS
7741
  IFS=$as_save_IFS
6242
  test -z "$as_dir" && as_dir=.
7742
  test -z "$as_dir" && as_dir=.
6243
  for ac_exec_ext in '' $ac_executable_extensions; do
7743
    for ac_exec_ext in '' $ac_executable_extensions; do
6244
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7744
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6245
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7745
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6246
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7746
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247
    break 2
7747
    break 2
6248
  fi
7748
  fi
6249
done
7749
done
6250
done
7750
  done
7751
IFS=$as_save_IFS
6251
7752
6252
fi
7753
fi
6253
fi
7754
fi
6254
CXX=$ac_cv_prog_CXX
7755
CXX=$ac_cv_prog_CXX
6255
if test -n "$CXX"; then
7756
if test -n "$CXX"; then
6256
  echo "$as_me:$LINENO: result: $CXX" >&5
7757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6257
echo "${ECHO_T}$CXX" >&6
7758
$as_echo "$CXX" >&6; }
6258
else
7759
else
6259
  echo "$as_me:$LINENO: result: no" >&5
7760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260
echo "${ECHO_T}no" >&6
7761
$as_echo "no" >&6; }
6261
fi
7762
fi
7763
6262
7764
6263
    test -n "$CXX" && break
7765
    test -n "$CXX" && break
6264
  done
7766
  done
6265
fi
7767
fi
6266
if test -z "$CXX"; then
7768
if test -z "$CXX"; then
6267
  ac_ct_CXX=$CXX
7769
  ac_ct_CXX=$CXX
6268
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7770
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6269
do
7771
do
6270
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7772
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6271
set dummy $ac_prog; ac_word=$2
7773
set dummy $ac_prog; ac_word=$2
6272
echo "$as_me:$LINENO: checking for $ac_word" >&5
7774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7775
$as_echo_n "checking for $ac_word... " >&6; }
6274
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7776
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6275
  echo $ECHO_N "(cached) $ECHO_C" >&6
7777
  $as_echo_n "(cached) " >&6
6276
else
7778
else
6277
  if test -n "$ac_ct_CXX"; then
7779
  if test -n "$ac_ct_CXX"; then
6278
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7780
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
Lines 6282-6345 Link Here
6282
do
7784
do
6283
  IFS=$as_save_IFS
7785
  IFS=$as_save_IFS
6284
  test -z "$as_dir" && as_dir=.
7786
  test -z "$as_dir" && as_dir=.
6285
  for ac_exec_ext in '' $ac_executable_extensions; do
7787
    for ac_exec_ext in '' $ac_executable_extensions; do
6286
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7789
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6288
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7790
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289
    break 2
7791
    break 2
6290
  fi
7792
  fi
6291
done
7793
done
6292
done
7794
  done
7795
IFS=$as_save_IFS
6293
7796
6294
fi
7797
fi
6295
fi
7798
fi
6296
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7799
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6297
if test -n "$ac_ct_CXX"; then
7800
if test -n "$ac_ct_CXX"; then
6298
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6299
echo "${ECHO_T}$ac_ct_CXX" >&6
7802
$as_echo "$ac_ct_CXX" >&6; }
6300
else
7803
else
6301
  echo "$as_me:$LINENO: result: no" >&5
7804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302
echo "${ECHO_T}no" >&6
7805
$as_echo "no" >&6; }
6303
fi
7806
fi
7807
6304
7808
6305
  test -n "$ac_ct_CXX" && break
7809
  test -n "$ac_ct_CXX" && break
6306
done
7810
done
6307
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7811
6308
7812
  if test "x$ac_ct_CXX" = x; then
6309
  CXX=$ac_ct_CXX
7813
    CXX="g++"
6310
fi
7814
  else
6311
7815
    case $cross_compiling:$ac_tool_warned in
6312
7816
yes:)
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7818
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7819
ac_tool_warned=yes ;;
7820
esac
7821
    CXX=$ac_ct_CXX
7822
  fi
7823
fi
7824
7825
  fi
7826
fi
6313
# Provide some information about the compiler.
7827
# Provide some information about the compiler.
6314
echo "$as_me:$LINENO:" \
7828
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6315
     "checking for C++ compiler version" >&5
7829
set X $ac_compile
6316
ac_compiler=`set X $ac_compile; echo $2`
7830
ac_compiler=$2
6317
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7831
for ac_option in --version -v -V -qversion; do
6318
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7832
  { { ac_try="$ac_compiler $ac_option >&5"
7833
case "(($ac_try" in
7834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7835
  *) ac_try_echo=$ac_try;;
7836
esac
7837
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7838
$as_echo "$ac_try_echo"; } >&5
7839
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6319
  ac_status=$?
7840
  ac_status=$?
6320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841
  if test -s conftest.err; then
6321
  (exit $ac_status); }
7842
    sed '10a\
6322
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7843
... rest of stderr output deleted ...
6323
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7844
         10q' conftest.err >conftest.er1
6324
  ac_status=$?
7845
    cat conftest.er1 >&5
6325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846
  fi
6326
  (exit $ac_status); }
7847
  rm -f conftest.er1 conftest.err
6327
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7848
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6328
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7849
  test $ac_status = 0; }
6329
  ac_status=$?
7850
done
6330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851
6331
  (exit $ac_status); }
7852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6332
7853
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6333
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7854
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6334
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7855
  $as_echo_n "(cached) " >&6
6335
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7856
else
6336
  echo $ECHO_N "(cached) $ECHO_C" >&6
7857
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6337
else
6338
  cat >conftest.$ac_ext <<_ACEOF
6339
/* confdefs.h.  */
6340
_ACEOF
6341
cat confdefs.h >>conftest.$ac_ext
6342
cat >>conftest.$ac_ext <<_ACEOF
6343
/* end confdefs.h.  */
7858
/* end confdefs.h.  */
6344
7859
6345
int
7860
int
Lines 6353-6450 Link Here
6353
  return 0;
7868
  return 0;
6354
}
7869
}
6355
_ACEOF
7870
_ACEOF
6356
rm -f conftest.$ac_objext
7871
if ac_fn_cxx_try_compile "$LINENO"; then :
6357
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6358
  (eval $ac_compile) 2>conftest.er1
6359
  ac_status=$?
6360
  grep -v '^ *+' conftest.er1 >conftest.err
6361
  rm -f conftest.er1
6362
  cat conftest.err >&5
6363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364
  (exit $ac_status); } &&
6365
	 { ac_try='test -z "$ac_cxx_werror_flag"
6366
			 || test ! -s conftest.err'
6367
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368
  (eval $ac_try) 2>&5
6369
  ac_status=$?
6370
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371
  (exit $ac_status); }; } &&
6372
	 { ac_try='test -s conftest.$ac_objext'
6373
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374
  (eval $ac_try) 2>&5
6375
  ac_status=$?
6376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377
  (exit $ac_status); }; }; then
6378
  ac_compiler_gnu=yes
7872
  ac_compiler_gnu=yes
6379
else
7873
else
6380
  echo "$as_me: failed program was:" >&5
7874
  ac_compiler_gnu=no
6381
sed 's/^/| /' conftest.$ac_ext >&5
7875
fi
6382
7876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6383
ac_compiler_gnu=no
6384
fi
6385
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6386
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7877
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6387
7878
6388
fi
7879
fi
6389
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6390
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7881
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6391
GXX=`test $ac_compiler_gnu = yes && echo yes`
7882
if test $ac_compiler_gnu = yes; then
7883
  GXX=yes
7884
else
7885
  GXX=
7886
fi
6392
ac_test_CXXFLAGS=${CXXFLAGS+set}
7887
ac_test_CXXFLAGS=${CXXFLAGS+set}
6393
ac_save_CXXFLAGS=$CXXFLAGS
7888
ac_save_CXXFLAGS=$CXXFLAGS
6394
CXXFLAGS="-g"
7889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6395
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7890
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6396
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7891
if test "${ac_cv_prog_cxx_g+set}" = set; then :
6397
if test "${ac_cv_prog_cxx_g+set}" = set; then
7892
  $as_echo_n "(cached) " >&6
6398
  echo $ECHO_N "(cached) $ECHO_C" >&6
7893
else
6399
else
7894
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6400
  cat >conftest.$ac_ext <<_ACEOF
7895
   ac_cxx_werror_flag=yes
6401
/* confdefs.h.  */
7896
   ac_cv_prog_cxx_g=no
6402
_ACEOF
7897
   CXXFLAGS="-g"
6403
cat confdefs.h >>conftest.$ac_ext
7898
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404
cat >>conftest.$ac_ext <<_ACEOF
7899
/* end confdefs.h.  */
6405
/* end confdefs.h.  */
7900
6406
7901
int
6407
int
7902
main ()
6408
main ()
7903
{
6409
{
7904
6410
7905
  ;
6411
  ;
7906
  return 0;
6412
  return 0;
7907
}
6413
}
7908
_ACEOF
6414
_ACEOF
7909
if ac_fn_cxx_try_compile "$LINENO"; then :
6415
rm -f conftest.$ac_objext
6416
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6417
  (eval $ac_compile) 2>conftest.er1
6418
  ac_status=$?
6419
  grep -v '^ *+' conftest.er1 >conftest.err
6420
  rm -f conftest.er1
6421
  cat conftest.err >&5
6422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423
  (exit $ac_status); } &&
6424
	 { ac_try='test -z "$ac_cxx_werror_flag"
6425
			 || test ! -s conftest.err'
6426
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427
  (eval $ac_try) 2>&5
6428
  ac_status=$?
6429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430
  (exit $ac_status); }; } &&
6431
	 { ac_try='test -s conftest.$ac_objext'
6432
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433
  (eval $ac_try) 2>&5
6434
  ac_status=$?
6435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436
  (exit $ac_status); }; }; then
6437
  ac_cv_prog_cxx_g=yes
7910
  ac_cv_prog_cxx_g=yes
6438
else
7911
else
6439
  echo "$as_me: failed program was:" >&5
7912
  CXXFLAGS=""
6440
sed 's/^/| /' conftest.$ac_ext >&5
7913
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441
7914
/* end confdefs.h.  */
6442
ac_cv_prog_cxx_g=no
7915
6443
fi
7916
int
6444
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7917
main ()
6445
fi
7918
{
6446
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7919
6447
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7920
  ;
7921
  return 0;
7922
}
7923
_ACEOF
7924
if ac_fn_cxx_try_compile "$LINENO"; then :
7925
7926
else
7927
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7928
	 CXXFLAGS="-g"
7929
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930
/* end confdefs.h.  */
7931
7932
int
7933
main ()
7934
{
7935
7936
  ;
7937
  return 0;
7938
}
7939
_ACEOF
7940
if ac_fn_cxx_try_compile "$LINENO"; then :
7941
  ac_cv_prog_cxx_g=yes
7942
fi
7943
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7944
fi
7945
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7946
fi
7947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7948
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7949
fi
7950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7951
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6448
if test "$ac_test_CXXFLAGS" = set; then
7952
if test "$ac_test_CXXFLAGS" = set; then
6449
  CXXFLAGS=$ac_save_CXXFLAGS
7953
  CXXFLAGS=$ac_save_CXXFLAGS
6450
elif test $ac_cv_prog_cxx_g = yes; then
7954
elif test $ac_cv_prog_cxx_g = yes; then
Lines 6460-6587 Link Here
6460
    CXXFLAGS=
7964
    CXXFLAGS=
6461
  fi
7965
  fi
6462
fi
7966
fi
6463
for ac_declaration in \
6464
   '' \
6465
   'extern "C" void std::exit (int) throw (); using std::exit;' \
6466
   'extern "C" void std::exit (int); using std::exit;' \
6467
   'extern "C" void exit (int) throw ();' \
6468
   'extern "C" void exit (int);' \
6469
   'void exit (int);'
6470
do
6471
  cat >conftest.$ac_ext <<_ACEOF
6472
/* confdefs.h.  */
6473
_ACEOF
6474
cat confdefs.h >>conftest.$ac_ext
6475
cat >>conftest.$ac_ext <<_ACEOF
6476
/* end confdefs.h.  */
6477
$ac_declaration
6478
#include <stdlib.h>
6479
int
6480
main ()
6481
{
6482
exit (42);
6483
  ;
6484
  return 0;
6485
}
6486
_ACEOF
6487
rm -f conftest.$ac_objext
6488
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6489
  (eval $ac_compile) 2>conftest.er1
6490
  ac_status=$?
6491
  grep -v '^ *+' conftest.er1 >conftest.err
6492
  rm -f conftest.er1
6493
  cat conftest.err >&5
6494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
  (exit $ac_status); } &&
6496
	 { ac_try='test -z "$ac_cxx_werror_flag"
6497
			 || test ! -s conftest.err'
6498
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499
  (eval $ac_try) 2>&5
6500
  ac_status=$?
6501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502
  (exit $ac_status); }; } &&
6503
	 { ac_try='test -s conftest.$ac_objext'
6504
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505
  (eval $ac_try) 2>&5
6506
  ac_status=$?
6507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508
  (exit $ac_status); }; }; then
6509
  :
6510
else
6511
  echo "$as_me: failed program was:" >&5
6512
sed 's/^/| /' conftest.$ac_ext >&5
6513
6514
continue
6515
fi
6516
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6517
  cat >conftest.$ac_ext <<_ACEOF
6518
/* confdefs.h.  */
6519
_ACEOF
6520
cat confdefs.h >>conftest.$ac_ext
6521
cat >>conftest.$ac_ext <<_ACEOF
6522
/* end confdefs.h.  */
6523
$ac_declaration
6524
int
6525
main ()
6526
{
6527
exit (42);
6528
  ;
6529
  return 0;
6530
}
6531
_ACEOF
6532
rm -f conftest.$ac_objext
6533
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6534
  (eval $ac_compile) 2>conftest.er1
6535
  ac_status=$?
6536
  grep -v '^ *+' conftest.er1 >conftest.err
6537
  rm -f conftest.er1
6538
  cat conftest.err >&5
6539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
  (exit $ac_status); } &&
6541
	 { ac_try='test -z "$ac_cxx_werror_flag"
6542
			 || test ! -s conftest.err'
6543
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544
  (eval $ac_try) 2>&5
6545
  ac_status=$?
6546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547
  (exit $ac_status); }; } &&
6548
	 { ac_try='test -s conftest.$ac_objext'
6549
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550
  (eval $ac_try) 2>&5
6551
  ac_status=$?
6552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553
  (exit $ac_status); }; }; then
6554
  break
6555
else
6556
  echo "$as_me: failed program was:" >&5
6557
sed 's/^/| /' conftest.$ac_ext >&5
6558
6559
fi
6560
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6561
done
6562
rm -f conftest*
6563
if test -n "$ac_declaration"; then
6564
  echo '#ifdef __cplusplus' >>confdefs.h
6565
  echo $ac_declaration      >>confdefs.h
6566
  echo '#endif'             >>confdefs.h
6567
fi
6568
6569
ac_ext=c
7967
ac_ext=c
6570
ac_cpp='$CPP $CPPFLAGS'
7968
ac_cpp='$CPP $CPPFLAGS'
6571
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7969
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6572
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7970
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6573
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7971
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6574
7972
6575
ac_ext=cc
7973
ac_ext=cpp
6576
ac_cpp='$CXXCPP $CPPFLAGS'
7974
ac_cpp='$CXXCPP $CPPFLAGS'
6577
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7975
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6578
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7976
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6579
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7977
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6580
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6581
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7979
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6582
if test -z "$CXXCPP"; then
7980
if test -z "$CXXCPP"; then
6583
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7981
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6584
  echo $ECHO_N "(cached) $ECHO_C" >&6
7982
  $as_echo_n "(cached) " >&6
6585
else
7983
else
6586
      # Double quotes because CXXCPP needs to be expanded
7984
      # Double quotes because CXXCPP needs to be expanded
6587
    for CXXCPP in "$CXX -E" "/lib/cpp"
7985
    for CXXCPP in "$CXX -E" "/lib/cpp"
Lines 6595-6605 Link Here
6595
  # <limits.h> exists even on freestanding compilers.
7993
  # <limits.h> exists even on freestanding compilers.
6596
  # On the NeXT, cc -E runs the code through the compiler's parser,
7994
  # On the NeXT, cc -E runs the code through the compiler's parser,
6597
  # not just through cpp. "Syntax error" is here to catch this case.
7995
  # not just through cpp. "Syntax error" is here to catch this case.
6598
  cat >conftest.$ac_ext <<_ACEOF
7996
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599
/* confdefs.h.  */
6600
_ACEOF
6601
cat confdefs.h >>conftest.$ac_ext
6602
cat >>conftest.$ac_ext <<_ACEOF
6603
/* end confdefs.h.  */
7997
/* end confdefs.h.  */
6604
#ifdef __STDC__
7998
#ifdef __STDC__
6605
# include <limits.h>
7999
# include <limits.h>
Lines 6608-6675 Link Here
6608
#endif
8002
#endif
6609
		     Syntax error
8003
		     Syntax error
6610
_ACEOF
8004
_ACEOF
6611
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8005
if ac_fn_cxx_try_cpp "$LINENO"; then :
6612
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8006
6613
  ac_status=$?
8007
else
6614
  grep -v '^ *+' conftest.er1 >conftest.err
6615
  rm -f conftest.er1
6616
  cat conftest.err >&5
6617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618
  (exit $ac_status); } >/dev/null; then
6619
  if test -s conftest.err; then
6620
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6621
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6622
  else
6623
    ac_cpp_err=
6624
  fi
6625
else
6626
  ac_cpp_err=yes
6627
fi
6628
if test -z "$ac_cpp_err"; then
6629
  :
6630
else
6631
  echo "$as_me: failed program was:" >&5
6632
sed 's/^/| /' conftest.$ac_ext >&5
6633
6634
  # Broken: fails on valid input.
8008
  # Broken: fails on valid input.
6635
continue
8009
continue
6636
fi
8010
fi
6637
rm -f conftest.err conftest.$ac_ext
8011
rm -f conftest.err conftest.$ac_ext
6638
8012
6639
  # OK, works on sane cases.  Now check whether non-existent headers
8013
  # OK, works on sane cases.  Now check whether nonexistent headers
6640
  # can be detected and how.
8014
  # can be detected and how.
6641
  cat >conftest.$ac_ext <<_ACEOF
8015
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642
/* confdefs.h.  */
6643
_ACEOF
6644
cat confdefs.h >>conftest.$ac_ext
6645
cat >>conftest.$ac_ext <<_ACEOF
6646
/* end confdefs.h.  */
8016
/* end confdefs.h.  */
6647
#include <ac_nonexistent.h>
8017
#include <ac_nonexistent.h>
6648
_ACEOF
8018
_ACEOF
6649
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8019
if ac_fn_cxx_try_cpp "$LINENO"; then :
6650
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6651
  ac_status=$?
6652
  grep -v '^ *+' conftest.er1 >conftest.err
6653
  rm -f conftest.er1
6654
  cat conftest.err >&5
6655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656
  (exit $ac_status); } >/dev/null; then
6657
  if test -s conftest.err; then
6658
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6659
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6660
  else
6661
    ac_cpp_err=
6662
  fi
6663
else
6664
  ac_cpp_err=yes
6665
fi
6666
if test -z "$ac_cpp_err"; then
6667
  # Broken: success on invalid input.
8020
  # Broken: success on invalid input.
6668
continue
8021
continue
6669
else
8022
else
6670
  echo "$as_me: failed program was:" >&5
6671
sed 's/^/| /' conftest.$ac_ext >&5
6672
6673
  # Passes both tests.
8023
  # Passes both tests.
6674
ac_preproc_ok=:
8024
ac_preproc_ok=:
6675
break
8025
break
Lines 6679-6685 Link Here
6679
done
8029
done
6680
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8030
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6681
rm -f conftest.err conftest.$ac_ext
8031
rm -f conftest.err conftest.$ac_ext
6682
if $ac_preproc_ok; then
8032
if $ac_preproc_ok; then :
6683
  break
8033
  break
6684
fi
8034
fi
6685
8035
Lines 6691-6698 Link Here
6691
else
8041
else
6692
  ac_cv_prog_CXXCPP=$CXXCPP
8042
  ac_cv_prog_CXXCPP=$CXXCPP
6693
fi
8043
fi
6694
echo "$as_me:$LINENO: result: $CXXCPP" >&5
8044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6695
echo "${ECHO_T}$CXXCPP" >&6
8045
$as_echo "$CXXCPP" >&6; }
6696
ac_preproc_ok=false
8046
ac_preproc_ok=false
6697
for ac_cxx_preproc_warn_flag in '' yes
8047
for ac_cxx_preproc_warn_flag in '' yes
6698
do
8048
do
Lines 6702-6712 Link Here
6702
  # <limits.h> exists even on freestanding compilers.
8052
  # <limits.h> exists even on freestanding compilers.
6703
  # On the NeXT, cc -E runs the code through the compiler's parser,
8053
  # On the NeXT, cc -E runs the code through the compiler's parser,
6704
  # not just through cpp. "Syntax error" is here to catch this case.
8054
  # not just through cpp. "Syntax error" is here to catch this case.
6705
  cat >conftest.$ac_ext <<_ACEOF
8055
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706
/* confdefs.h.  */
6707
_ACEOF
6708
cat confdefs.h >>conftest.$ac_ext
6709
cat >>conftest.$ac_ext <<_ACEOF
6710
/* end confdefs.h.  */
8056
/* end confdefs.h.  */
6711
#ifdef __STDC__
8057
#ifdef __STDC__
6712
# include <limits.h>
8058
# include <limits.h>
Lines 6715-6782 Link Here
6715
#endif
8061
#endif
6716
		     Syntax error
8062
		     Syntax error
6717
_ACEOF
8063
_ACEOF
6718
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8064
if ac_fn_cxx_try_cpp "$LINENO"; then :
6719
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8065
6720
  ac_status=$?
8066
else
6721
  grep -v '^ *+' conftest.er1 >conftest.err
6722
  rm -f conftest.er1
6723
  cat conftest.err >&5
6724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725
  (exit $ac_status); } >/dev/null; then
6726
  if test -s conftest.err; then
6727
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6728
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6729
  else
6730
    ac_cpp_err=
6731
  fi
6732
else
6733
  ac_cpp_err=yes
6734
fi
6735
if test -z "$ac_cpp_err"; then
6736
  :
6737
else
6738
  echo "$as_me: failed program was:" >&5
6739
sed 's/^/| /' conftest.$ac_ext >&5
6740
6741
  # Broken: fails on valid input.
8067
  # Broken: fails on valid input.
6742
continue
8068
continue
6743
fi
8069
fi
6744
rm -f conftest.err conftest.$ac_ext
8070
rm -f conftest.err conftest.$ac_ext
6745
8071
6746
  # OK, works on sane cases.  Now check whether non-existent headers
8072
  # OK, works on sane cases.  Now check whether nonexistent headers
6747
  # can be detected and how.
8073
  # can be detected and how.
6748
  cat >conftest.$ac_ext <<_ACEOF
8074
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6749
/* confdefs.h.  */
6750
_ACEOF
6751
cat confdefs.h >>conftest.$ac_ext
6752
cat >>conftest.$ac_ext <<_ACEOF
6753
/* end confdefs.h.  */
8075
/* end confdefs.h.  */
6754
#include <ac_nonexistent.h>
8076
#include <ac_nonexistent.h>
6755
_ACEOF
8077
_ACEOF
6756
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8078
if ac_fn_cxx_try_cpp "$LINENO"; then :
6757
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6758
  ac_status=$?
6759
  grep -v '^ *+' conftest.er1 >conftest.err
6760
  rm -f conftest.er1
6761
  cat conftest.err >&5
6762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763
  (exit $ac_status); } >/dev/null; then
6764
  if test -s conftest.err; then
6765
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6766
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6767
  else
6768
    ac_cpp_err=
6769
  fi
6770
else
6771
  ac_cpp_err=yes
6772
fi
6773
if test -z "$ac_cpp_err"; then
6774
  # Broken: success on invalid input.
8079
  # Broken: success on invalid input.
6775
continue
8080
continue
6776
else
8081
else
6777
  echo "$as_me: failed program was:" >&5
6778
sed 's/^/| /' conftest.$ac_ext >&5
6779
6780
  # Passes both tests.
8082
  # Passes both tests.
6781
ac_preproc_ok=:
8083
ac_preproc_ok=:
6782
break
8084
break
Lines 6786-6799 Link Here
6786
done
8088
done
6787
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8089
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6788
rm -f conftest.err conftest.$ac_ext
8090
rm -f conftest.err conftest.$ac_ext
6789
if $ac_preproc_ok; then
8091
if $ac_preproc_ok; then :
6790
  :
8092
6791
else
8093
else
6792
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8094
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6793
See \`config.log' for more details." >&5
8095
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6794
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8096
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
6795
See \`config.log' for more details." >&2;}
8097
See \`config.log' for more details." "$LINENO" 5; }
6796
   { (exit 1); exit 1; }; }
6797
fi
8098
fi
6798
8099
6799
ac_ext=c
8100
ac_ext=c
Lines 6811-6825 Link Here
6811
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8112
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8113
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8114
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6815
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
8116
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6816
# On Suns, sometimes $CPP names a directory.
8117
# On Suns, sometimes $CPP names a directory.
6817
if test -n "$CPP" && test -d "$CPP"; then
8118
if test -n "$CPP" && test -d "$CPP"; then
6818
  CPP=
8119
  CPP=
6819
fi
8120
fi
6820
if test -z "$CPP"; then
8121
if test -z "$CPP"; then
6821
  if test "${ac_cv_prog_CPP+set}" = set; then
8122
  if test "${ac_cv_prog_CPP+set}" = set; then :
6822
  echo $ECHO_N "(cached) $ECHO_C" >&6
8123
  $as_echo_n "(cached) " >&6
6823
else
8124
else
6824
      # Double quotes because CPP needs to be expanded
8125
      # Double quotes because CPP needs to be expanded
6825
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8126
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
Lines 6833-6843 Link Here
6833
  # <limits.h> exists even on freestanding compilers.
8134
  # <limits.h> exists even on freestanding compilers.
6834
  # On the NeXT, cc -E runs the code through the compiler's parser,
8135
  # On the NeXT, cc -E runs the code through the compiler's parser,
6835
  # not just through cpp. "Syntax error" is here to catch this case.
8136
  # not just through cpp. "Syntax error" is here to catch this case.
6836
  cat >conftest.$ac_ext <<_ACEOF
8137
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837
/* confdefs.h.  */
6838
_ACEOF
6839
cat confdefs.h >>conftest.$ac_ext
6840
cat >>conftest.$ac_ext <<_ACEOF
6841
/* end confdefs.h.  */
8138
/* end confdefs.h.  */
6842
#ifdef __STDC__
8139
#ifdef __STDC__
6843
# include <limits.h>
8140
# include <limits.h>
Lines 6846-6913 Link Here
6846
#endif
8143
#endif
6847
		     Syntax error
8144
		     Syntax error
6848
_ACEOF
8145
_ACEOF
6849
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8146
if ac_fn_c_try_cpp "$LINENO"; then :
6850
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8147
6851
  ac_status=$?
8148
else
6852
  grep -v '^ *+' conftest.er1 >conftest.err
6853
  rm -f conftest.er1
6854
  cat conftest.err >&5
6855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856
  (exit $ac_status); } >/dev/null; then
6857
  if test -s conftest.err; then
6858
    ac_cpp_err=$ac_c_preproc_warn_flag
6859
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6860
  else
6861
    ac_cpp_err=
6862
  fi
6863
else
6864
  ac_cpp_err=yes
6865
fi
6866
if test -z "$ac_cpp_err"; then
6867
  :
6868
else
6869
  echo "$as_me: failed program was:" >&5
6870
sed 's/^/| /' conftest.$ac_ext >&5
6871
6872
  # Broken: fails on valid input.
8149
  # Broken: fails on valid input.
6873
continue
8150
continue
6874
fi
8151
fi
6875
rm -f conftest.err conftest.$ac_ext
8152
rm -f conftest.err conftest.$ac_ext
6876
8153
6877
  # OK, works on sane cases.  Now check whether non-existent headers
8154
  # OK, works on sane cases.  Now check whether nonexistent headers
6878
  # can be detected and how.
8155
  # can be detected and how.
6879
  cat >conftest.$ac_ext <<_ACEOF
8156
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6880
/* confdefs.h.  */
6881
_ACEOF
6882
cat confdefs.h >>conftest.$ac_ext
6883
cat >>conftest.$ac_ext <<_ACEOF
6884
/* end confdefs.h.  */
8157
/* end confdefs.h.  */
6885
#include <ac_nonexistent.h>
8158
#include <ac_nonexistent.h>
6886
_ACEOF
8159
_ACEOF
6887
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8160
if ac_fn_c_try_cpp "$LINENO"; then :
6888
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6889
  ac_status=$?
6890
  grep -v '^ *+' conftest.er1 >conftest.err
6891
  rm -f conftest.er1
6892
  cat conftest.err >&5
6893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894
  (exit $ac_status); } >/dev/null; then
6895
  if test -s conftest.err; then
6896
    ac_cpp_err=$ac_c_preproc_warn_flag
6897
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6898
  else
6899
    ac_cpp_err=
6900
  fi
6901
else
6902
  ac_cpp_err=yes
6903
fi
6904
if test -z "$ac_cpp_err"; then
6905
  # Broken: success on invalid input.
8161
  # Broken: success on invalid input.
6906
continue
8162
continue
6907
else
8163
else
6908
  echo "$as_me: failed program was:" >&5
6909
sed 's/^/| /' conftest.$ac_ext >&5
6910
6911
  # Passes both tests.
8164
  # Passes both tests.
6912
ac_preproc_ok=:
8165
ac_preproc_ok=:
6913
break
8166
break
Lines 6917-6923 Link Here
6917
done
8170
done
6918
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8171
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6919
rm -f conftest.err conftest.$ac_ext
8172
rm -f conftest.err conftest.$ac_ext
6920
if $ac_preproc_ok; then
8173
if $ac_preproc_ok; then :
6921
  break
8174
  break
6922
fi
8175
fi
6923
8176
Lines 6929-6936 Link Here
6929
else
8182
else
6930
  ac_cv_prog_CPP=$CPP
8183
  ac_cv_prog_CPP=$CPP
6931
fi
8184
fi
6932
echo "$as_me:$LINENO: result: $CPP" >&5
8185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6933
echo "${ECHO_T}$CPP" >&6
8186
$as_echo "$CPP" >&6; }
6934
ac_preproc_ok=false
8187
ac_preproc_ok=false
6935
for ac_c_preproc_warn_flag in '' yes
8188
for ac_c_preproc_warn_flag in '' yes
6936
do
8189
do
Lines 6940-6950 Link Here
6940
  # <limits.h> exists even on freestanding compilers.
8193
  # <limits.h> exists even on freestanding compilers.
6941
  # On the NeXT, cc -E runs the code through the compiler's parser,
8194
  # On the NeXT, cc -E runs the code through the compiler's parser,
6942
  # not just through cpp. "Syntax error" is here to catch this case.
8195
  # not just through cpp. "Syntax error" is here to catch this case.
6943
  cat >conftest.$ac_ext <<_ACEOF
8196
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944
/* confdefs.h.  */
6945
_ACEOF
6946
cat confdefs.h >>conftest.$ac_ext
6947
cat >>conftest.$ac_ext <<_ACEOF
6948
/* end confdefs.h.  */
8197
/* end confdefs.h.  */
6949
#ifdef __STDC__
8198
#ifdef __STDC__
6950
# include <limits.h>
8199
# include <limits.h>
Lines 6953-7020 Link Here
6953
#endif
8202
#endif
6954
		     Syntax error
8203
		     Syntax error
6955
_ACEOF
8204
_ACEOF
6956
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8205
if ac_fn_c_try_cpp "$LINENO"; then :
6957
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8206
6958
  ac_status=$?
8207
else
6959
  grep -v '^ *+' conftest.er1 >conftest.err
6960
  rm -f conftest.er1
6961
  cat conftest.err >&5
6962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963
  (exit $ac_status); } >/dev/null; then
6964
  if test -s conftest.err; then
6965
    ac_cpp_err=$ac_c_preproc_warn_flag
6966
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6967
  else
6968
    ac_cpp_err=
6969
  fi
6970
else
6971
  ac_cpp_err=yes
6972
fi
6973
if test -z "$ac_cpp_err"; then
6974
  :
6975
else
6976
  echo "$as_me: failed program was:" >&5
6977
sed 's/^/| /' conftest.$ac_ext >&5
6978
6979
  # Broken: fails on valid input.
8208
  # Broken: fails on valid input.
6980
continue
8209
continue
6981
fi
8210
fi
6982
rm -f conftest.err conftest.$ac_ext
8211
rm -f conftest.err conftest.$ac_ext
6983
8212
6984
  # OK, works on sane cases.  Now check whether non-existent headers
8213
  # OK, works on sane cases.  Now check whether nonexistent headers
6985
  # can be detected and how.
8214
  # can be detected and how.
6986
  cat >conftest.$ac_ext <<_ACEOF
8215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6987
/* confdefs.h.  */
6988
_ACEOF
6989
cat confdefs.h >>conftest.$ac_ext
6990
cat >>conftest.$ac_ext <<_ACEOF
6991
/* end confdefs.h.  */
8216
/* end confdefs.h.  */
6992
#include <ac_nonexistent.h>
8217
#include <ac_nonexistent.h>
6993
_ACEOF
8218
_ACEOF
6994
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8219
if ac_fn_c_try_cpp "$LINENO"; then :
6995
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6996
  ac_status=$?
6997
  grep -v '^ *+' conftest.er1 >conftest.err
6998
  rm -f conftest.er1
6999
  cat conftest.err >&5
7000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001
  (exit $ac_status); } >/dev/null; then
7002
  if test -s conftest.err; then
7003
    ac_cpp_err=$ac_c_preproc_warn_flag
7004
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7005
  else
7006
    ac_cpp_err=
7007
  fi
7008
else
7009
  ac_cpp_err=yes
7010
fi
7011
if test -z "$ac_cpp_err"; then
7012
  # Broken: success on invalid input.
8220
  # Broken: success on invalid input.
7013
continue
8221
continue
7014
else
8222
else
7015
  echo "$as_me: failed program was:" >&5
7016
sed 's/^/| /' conftest.$ac_ext >&5
7017
7018
  # Passes both tests.
8223
  # Passes both tests.
7019
ac_preproc_ok=:
8224
ac_preproc_ok=:
7020
break
8225
break
Lines 7024-7037 Link Here
7024
done
8229
done
7025
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8230
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7026
rm -f conftest.err conftest.$ac_ext
8231
rm -f conftest.err conftest.$ac_ext
7027
if $ac_preproc_ok; then
8232
if $ac_preproc_ok; then :
7028
  :
8233
7029
else
8234
else
7030
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8235
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7031
See \`config.log' for more details." >&5
8236
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7032
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8237
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7033
See \`config.log' for more details." >&2;}
8238
See \`config.log' for more details." "$LINENO" 5; }
7034
   { (exit 1); exit 1; }; }
7035
fi
8239
fi
7036
8240
7037
ac_ext=c
8241
ac_ext=c
Lines 7044-7529 Link Here
7044
fi
8248
fi
7045
8249
7046
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8250
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8251
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7057
		  inttypes.h stdint.h unistd.h
8252
		  inttypes.h stdint.h unistd.h
7058
do
8253
do :
7059
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8254
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7060
echo "$as_me:$LINENO: checking for $ac_header" >&5
8255
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7061
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8256
"
7062
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8257
eval as_val=\$$as_ac_Header
7063
  echo $ECHO_N "(cached) $ECHO_C" >&6
8258
   if test "x$as_val" = x""yes; then :
7064
else
7065
  cat >conftest.$ac_ext <<_ACEOF
7066
/* confdefs.h.  */
7067
_ACEOF
7068
cat confdefs.h >>conftest.$ac_ext
7069
cat >>conftest.$ac_ext <<_ACEOF
7070
/* end confdefs.h.  */
7071
$ac_includes_default
7072
7073
#include <$ac_header>
7074
_ACEOF
7075
rm -f conftest.$ac_objext
7076
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7077
  (eval $ac_compile) 2>conftest.er1
7078
  ac_status=$?
7079
  grep -v '^ *+' conftest.er1 >conftest.err
7080
  rm -f conftest.er1
7081
  cat conftest.err >&5
7082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083
  (exit $ac_status); } &&
7084
	 { ac_try='test -z "$ac_c_werror_flag"
7085
			 || test ! -s conftest.err'
7086
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087
  (eval $ac_try) 2>&5
7088
  ac_status=$?
7089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090
  (exit $ac_status); }; } &&
7091
	 { ac_try='test -s conftest.$ac_objext'
7092
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093
  (eval $ac_try) 2>&5
7094
  ac_status=$?
7095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096
  (exit $ac_status); }; }; then
7097
  eval "$as_ac_Header=yes"
7098
else
7099
  echo "$as_me: failed program was:" >&5
7100
sed 's/^/| /' conftest.$ac_ext >&5
7101
7102
eval "$as_ac_Header=no"
7103
fi
7104
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7105
fi
7106
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7107
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7108
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7109
  cat >>confdefs.h <<_ACEOF
8259
  cat >>confdefs.h <<_ACEOF
7110
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8260
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111
_ACEOF
8261
_ACEOF
7112
8262
7113
fi
8263
fi
7114
8264
7115
done
8265
done
7116
8266
7117
8267
7118
echo "$as_me:$LINENO: checking for long" >&5
8268
# The cast to long int works around a bug in the HP C Compiler
7119
echo $ECHO_N "checking for long... $ECHO_C" >&6
8269
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7120
if test "${ac_cv_type_long+set}" = set; then
8270
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7121
  echo $ECHO_N "(cached) $ECHO_C" >&6
8271
# This bug is HP SR number 8606223364.
7122
else
8272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
7123
  cat >conftest.$ac_ext <<_ACEOF
8273
$as_echo_n "checking size of long... " >&6; }
7124
/* confdefs.h.  */
8274
if test "${ac_cv_sizeof_long+set}" = set; then :
7125
_ACEOF
8275
  $as_echo_n "(cached) " >&6
7126
cat confdefs.h >>conftest.$ac_ext
8276
else
7127
cat >>conftest.$ac_ext <<_ACEOF
8277
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
7128
/* end confdefs.h.  */
8278
7129
$ac_includes_default
7130
int
7131
main ()
7132
{
7133
if ((long *) 0)
7134
  return 0;
7135
if (sizeof (long))
7136
  return 0;
7137
  ;
7138
  return 0;
7139
}
7140
_ACEOF
7141
rm -f conftest.$ac_objext
7142
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7143
  (eval $ac_compile) 2>conftest.er1
7144
  ac_status=$?
7145
  grep -v '^ *+' conftest.er1 >conftest.err
7146
  rm -f conftest.er1
7147
  cat conftest.err >&5
7148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149
  (exit $ac_status); } &&
7150
	 { ac_try='test -z "$ac_c_werror_flag"
7151
			 || test ! -s conftest.err'
7152
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153
  (eval $ac_try) 2>&5
7154
  ac_status=$?
7155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156
  (exit $ac_status); }; } &&
7157
	 { ac_try='test -s conftest.$ac_objext'
7158
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159
  (eval $ac_try) 2>&5
7160
  ac_status=$?
7161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162
  (exit $ac_status); }; }; then
7163
  ac_cv_type_long=yes
7164
else
7165
  echo "$as_me: failed program was:" >&5
7166
sed 's/^/| /' conftest.$ac_ext >&5
7167
7168
ac_cv_type_long=no
7169
fi
7170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7171
fi
7172
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7173
echo "${ECHO_T}$ac_cv_type_long" >&6
7174
7175
echo "$as_me:$LINENO: checking size of long" >&5
7176
echo $ECHO_N "checking size of long... $ECHO_C" >&6
7177
if test "${ac_cv_sizeof_long+set}" = set; then
7178
  echo $ECHO_N "(cached) $ECHO_C" >&6
7179
else
8279
else
7180
  if test "$ac_cv_type_long" = yes; then
8280
  if test "$ac_cv_type_long" = yes; then
7181
  # The cast to unsigned long works around a bug in the HP C Compiler
8281
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7182
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8282
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7183
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8283
{ as_fn_set_status 77
7184
  # This bug is HP SR number 8606223364.
8284
as_fn_error "cannot compute sizeof (long)
7185
  if test "$cross_compiling" = yes; then
8285
See \`config.log' for more details." "$LINENO" 5; }; }
7186
  # Depending upon the size, compute the lo and hi bounds.
8286
   else
7187
cat >conftest.$ac_ext <<_ACEOF
8287
     ac_cv_sizeof_long=0
7188
/* confdefs.h.  */
8288
   fi
7189
_ACEOF
8289
fi
7190
cat confdefs.h >>conftest.$ac_ext
8290
7191
cat >>conftest.$ac_ext <<_ACEOF
8291
fi
7192
/* end confdefs.h.  */
8292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
7193
$ac_includes_default
8293
$as_echo "$ac_cv_sizeof_long" >&6; }
7194
int
8294
7195
main ()
8295
7196
{
8296
7197
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7198
test_array [0] = 0
7199
7200
  ;
7201
  return 0;
7202
}
7203
_ACEOF
7204
rm -f conftest.$ac_objext
7205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206
  (eval $ac_compile) 2>conftest.er1
7207
  ac_status=$?
7208
  grep -v '^ *+' conftest.er1 >conftest.err
7209
  rm -f conftest.er1
7210
  cat conftest.err >&5
7211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
  (exit $ac_status); } &&
7213
	 { ac_try='test -z "$ac_c_werror_flag"
7214
			 || test ! -s conftest.err'
7215
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216
  (eval $ac_try) 2>&5
7217
  ac_status=$?
7218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219
  (exit $ac_status); }; } &&
7220
	 { ac_try='test -s conftest.$ac_objext'
7221
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222
  (eval $ac_try) 2>&5
7223
  ac_status=$?
7224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225
  (exit $ac_status); }; }; then
7226
  ac_lo=0 ac_mid=0
7227
  while :; do
7228
    cat >conftest.$ac_ext <<_ACEOF
7229
/* confdefs.h.  */
7230
_ACEOF
7231
cat confdefs.h >>conftest.$ac_ext
7232
cat >>conftest.$ac_ext <<_ACEOF
7233
/* end confdefs.h.  */
7234
$ac_includes_default
7235
int
7236
main ()
7237
{
7238
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7239
test_array [0] = 0
7240
7241
  ;
7242
  return 0;
7243
}
7244
_ACEOF
7245
rm -f conftest.$ac_objext
7246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247
  (eval $ac_compile) 2>conftest.er1
7248
  ac_status=$?
7249
  grep -v '^ *+' conftest.er1 >conftest.err
7250
  rm -f conftest.er1
7251
  cat conftest.err >&5
7252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253
  (exit $ac_status); } &&
7254
	 { ac_try='test -z "$ac_c_werror_flag"
7255
			 || test ! -s conftest.err'
7256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257
  (eval $ac_try) 2>&5
7258
  ac_status=$?
7259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260
  (exit $ac_status); }; } &&
7261
	 { ac_try='test -s conftest.$ac_objext'
7262
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263
  (eval $ac_try) 2>&5
7264
  ac_status=$?
7265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266
  (exit $ac_status); }; }; then
7267
  ac_hi=$ac_mid; break
7268
else
7269
  echo "$as_me: failed program was:" >&5
7270
sed 's/^/| /' conftest.$ac_ext >&5
7271
7272
ac_lo=`expr $ac_mid + 1`
7273
		    if test $ac_lo -le $ac_mid; then
7274
		      ac_lo= ac_hi=
7275
		      break
7276
		    fi
7277
		    ac_mid=`expr 2 '*' $ac_mid + 1`
7278
fi
7279
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7280
  done
7281
else
7282
  echo "$as_me: failed program was:" >&5
7283
sed 's/^/| /' conftest.$ac_ext >&5
7284
7285
cat >conftest.$ac_ext <<_ACEOF
7286
/* confdefs.h.  */
7287
_ACEOF
7288
cat confdefs.h >>conftest.$ac_ext
7289
cat >>conftest.$ac_ext <<_ACEOF
7290
/* end confdefs.h.  */
7291
$ac_includes_default
7292
int
7293
main ()
7294
{
7295
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7296
test_array [0] = 0
7297
7298
  ;
7299
  return 0;
7300
}
7301
_ACEOF
7302
rm -f conftest.$ac_objext
7303
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7304
  (eval $ac_compile) 2>conftest.er1
7305
  ac_status=$?
7306
  grep -v '^ *+' conftest.er1 >conftest.err
7307
  rm -f conftest.er1
7308
  cat conftest.err >&5
7309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310
  (exit $ac_status); } &&
7311
	 { ac_try='test -z "$ac_c_werror_flag"
7312
			 || test ! -s conftest.err'
7313
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314
  (eval $ac_try) 2>&5
7315
  ac_status=$?
7316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317
  (exit $ac_status); }; } &&
7318
	 { ac_try='test -s conftest.$ac_objext'
7319
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320
  (eval $ac_try) 2>&5
7321
  ac_status=$?
7322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323
  (exit $ac_status); }; }; then
7324
  ac_hi=-1 ac_mid=-1
7325
  while :; do
7326
    cat >conftest.$ac_ext <<_ACEOF
7327
/* confdefs.h.  */
7328
_ACEOF
7329
cat confdefs.h >>conftest.$ac_ext
7330
cat >>conftest.$ac_ext <<_ACEOF
7331
/* end confdefs.h.  */
7332
$ac_includes_default
7333
int
7334
main ()
7335
{
7336
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7337
test_array [0] = 0
7338
7339
  ;
7340
  return 0;
7341
}
7342
_ACEOF
7343
rm -f conftest.$ac_objext
7344
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7345
  (eval $ac_compile) 2>conftest.er1
7346
  ac_status=$?
7347
  grep -v '^ *+' conftest.er1 >conftest.err
7348
  rm -f conftest.er1
7349
  cat conftest.err >&5
7350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351
  (exit $ac_status); } &&
7352
	 { ac_try='test -z "$ac_c_werror_flag"
7353
			 || test ! -s conftest.err'
7354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355
  (eval $ac_try) 2>&5
7356
  ac_status=$?
7357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358
  (exit $ac_status); }; } &&
7359
	 { ac_try='test -s conftest.$ac_objext'
7360
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361
  (eval $ac_try) 2>&5
7362
  ac_status=$?
7363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364
  (exit $ac_status); }; }; then
7365
  ac_lo=$ac_mid; break
7366
else
7367
  echo "$as_me: failed program was:" >&5
7368
sed 's/^/| /' conftest.$ac_ext >&5
7369
7370
ac_hi=`expr '(' $ac_mid ')' - 1`
7371
		       if test $ac_mid -le $ac_hi; then
7372
			 ac_lo= ac_hi=
7373
			 break
7374
		       fi
7375
		       ac_mid=`expr 2 '*' $ac_mid`
7376
fi
7377
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7378
  done
7379
else
7380
  echo "$as_me: failed program was:" >&5
7381
sed 's/^/| /' conftest.$ac_ext >&5
7382
7383
ac_lo= ac_hi=
7384
fi
7385
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7386
fi
7387
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7388
# Binary search between lo and hi bounds.
7389
while test "x$ac_lo" != "x$ac_hi"; do
7390
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7391
  cat >conftest.$ac_ext <<_ACEOF
7392
/* confdefs.h.  */
7393
_ACEOF
7394
cat confdefs.h >>conftest.$ac_ext
7395
cat >>conftest.$ac_ext <<_ACEOF
7396
/* end confdefs.h.  */
7397
$ac_includes_default
7398
int
7399
main ()
7400
{
7401
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7402
test_array [0] = 0
7403
7404
  ;
7405
  return 0;
7406
}
7407
_ACEOF
7408
rm -f conftest.$ac_objext
7409
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7410
  (eval $ac_compile) 2>conftest.er1
7411
  ac_status=$?
7412
  grep -v '^ *+' conftest.er1 >conftest.err
7413
  rm -f conftest.er1
7414
  cat conftest.err >&5
7415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416
  (exit $ac_status); } &&
7417
	 { ac_try='test -z "$ac_c_werror_flag"
7418
			 || test ! -s conftest.err'
7419
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420
  (eval $ac_try) 2>&5
7421
  ac_status=$?
7422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423
  (exit $ac_status); }; } &&
7424
	 { ac_try='test -s conftest.$ac_objext'
7425
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426
  (eval $ac_try) 2>&5
7427
  ac_status=$?
7428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429
  (exit $ac_status); }; }; then
7430
  ac_hi=$ac_mid
7431
else
7432
  echo "$as_me: failed program was:" >&5
7433
sed 's/^/| /' conftest.$ac_ext >&5
7434
7435
ac_lo=`expr '(' $ac_mid ')' + 1`
7436
fi
7437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7438
done
7439
case $ac_lo in
7440
?*) ac_cv_sizeof_long=$ac_lo;;
7441
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7442
See \`config.log' for more details." >&5
7443
echo "$as_me: error: cannot compute sizeof (long), 77
7444
See \`config.log' for more details." >&2;}
7445
   { (exit 1); exit 1; }; } ;;
7446
esac
7447
else
7448
  if test "$cross_compiling" = yes; then
7449
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7450
See \`config.log' for more details." >&5
7451
echo "$as_me: error: cannot run test program while cross compiling
7452
See \`config.log' for more details." >&2;}
7453
   { (exit 1); exit 1; }; }
7454
else
7455
  cat >conftest.$ac_ext <<_ACEOF
7456
/* confdefs.h.  */
7457
_ACEOF
7458
cat confdefs.h >>conftest.$ac_ext
7459
cat >>conftest.$ac_ext <<_ACEOF
7460
/* end confdefs.h.  */
7461
$ac_includes_default
7462
long longval () { return (long) (sizeof (long)); }
7463
unsigned long ulongval () { return (long) (sizeof (long)); }
7464
#include <stdio.h>
7465
#include <stdlib.h>
7466
int
7467
main ()
7468
{
7469
7470
  FILE *f = fopen ("conftest.val", "w");
7471
  if (! f)
7472
    exit (1);
7473
  if (((long) (sizeof (long))) < 0)
7474
    {
7475
      long i = longval ();
7476
      if (i != ((long) (sizeof (long))))
7477
	exit (1);
7478
      fprintf (f, "%ld\n", i);
7479
    }
7480
  else
7481
    {
7482
      unsigned long i = ulongval ();
7483
      if (i != ((long) (sizeof (long))))
7484
	exit (1);
7485
      fprintf (f, "%lu\n", i);
7486
    }
7487
  exit (ferror (f) || fclose (f) != 0);
7488
7489
  ;
7490
  return 0;
7491
}
7492
_ACEOF
7493
rm -f conftest$ac_exeext
7494
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7495
  (eval $ac_link) 2>&5
7496
  ac_status=$?
7497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500
  (eval $ac_try) 2>&5
7501
  ac_status=$?
7502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503
  (exit $ac_status); }; }; then
7504
  ac_cv_sizeof_long=`cat conftest.val`
7505
else
7506
  echo "$as_me: program exited with status $ac_status" >&5
7507
echo "$as_me: failed program was:" >&5
7508
sed 's/^/| /' conftest.$ac_ext >&5
7509
7510
( exit $ac_status )
7511
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7512
See \`config.log' for more details." >&5
7513
echo "$as_me: error: cannot compute sizeof (long), 77
7514
See \`config.log' for more details." >&2;}
7515
   { (exit 1); exit 1; }; }
7516
fi
7517
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7518
fi
7519
fi
7520
rm -f conftest.val
7521
else
7522
  ac_cv_sizeof_long=0
7523
fi
7524
fi
7525
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7526
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7527
cat >>confdefs.h <<_ACEOF
8297
cat >>confdefs.h <<_ACEOF
7528
#define SIZEOF_LONG $ac_cv_sizeof_long
8298
#define SIZEOF_LONG $ac_cv_sizeof_long
7529
_ACEOF
8299
_ACEOF
Lines 7531-7792 Link Here
7531
8301
7532
SIZEOF_LONG=$ac_cv_sizeof_long
8302
SIZEOF_LONG=$ac_cv_sizeof_long
7533
8303
7534
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8304
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7535
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8305
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7536
if test "${ac_cv_c_bigendian+set}" = set; then
8306
if test "${ac_cv_c_bigendian+set}" = set; then :
7537
  echo $ECHO_N "(cached) $ECHO_C" >&6
8307
  $as_echo_n "(cached) " >&6
7538
else
8308
else
7539
  # See if sys/param.h defines the BYTE_ORDER macro.
8309
  ac_cv_c_bigendian=unknown
7540
cat >conftest.$ac_ext <<_ACEOF
8310
    # See if we're dealing with a universal compiler.
7541
/* confdefs.h.  */
8311
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542
_ACEOF
8312
/* end confdefs.h.  */
7543
cat confdefs.h >>conftest.$ac_ext
8313
#ifndef __APPLE_CC__
7544
cat >>conftest.$ac_ext <<_ACEOF
8314
	       not a universal capable compiler
8315
	     #endif
8316
	     typedef int dummy;
8317
8318
_ACEOF
8319
if ac_fn_c_try_compile "$LINENO"; then :
8320
8321
	# Check for potential -arch flags.  It is not universal unless
8322
	# there are at least two -arch flags with different values.
8323
	ac_arch=
8324
	ac_prev=
8325
	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
8326
	 if test -n "$ac_prev"; then
8327
	   case $ac_word in
8328
	     i?86 | x86_64 | ppc | ppc64)
8329
	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
8330
		 ac_arch=$ac_word
8331
	       else
8332
		 ac_cv_c_bigendian=universal
8333
		 break
8334
	       fi
8335
	       ;;
8336
	   esac
8337
	   ac_prev=
8338
	 elif test "x$ac_word" = "x-arch"; then
8339
	   ac_prev=arch
8340
	 fi
8341
       done
8342
fi
8343
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8344
    if test $ac_cv_c_bigendian = unknown; then
8345
      # See if sys/param.h defines the BYTE_ORDER macro.
8346
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545
/* end confdefs.h.  */
8347
/* end confdefs.h.  */
7546
#include <sys/types.h>
8348
#include <sys/types.h>
7547
#include <sys/param.h>
8349
	     #include <sys/param.h>
7548
8350
7549
int
8351
int
7550
main ()
8352
main ()
7551
{
8353
{
7552
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8354
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
7553
 bogus endian macros
8355
		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
7554
#endif
8356
		     && LITTLE_ENDIAN)
7555
8357
	      bogus endian macros
7556
  ;
8358
	     #endif
7557
  return 0;
8359
7558
}
8360
  ;
7559
_ACEOF
8361
  return 0;
7560
rm -f conftest.$ac_objext
8362
}
7561
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8363
_ACEOF
7562
  (eval $ac_compile) 2>conftest.er1
8364
if ac_fn_c_try_compile "$LINENO"; then :
7563
  ac_status=$?
7564
  grep -v '^ *+' conftest.er1 >conftest.err
7565
  rm -f conftest.er1
7566
  cat conftest.err >&5
7567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568
  (exit $ac_status); } &&
7569
	 { ac_try='test -z "$ac_c_werror_flag"
7570
			 || test ! -s conftest.err'
7571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572
  (eval $ac_try) 2>&5
7573
  ac_status=$?
7574
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575
  (exit $ac_status); }; } &&
7576
	 { ac_try='test -s conftest.$ac_objext'
7577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578
  (eval $ac_try) 2>&5
7579
  ac_status=$?
7580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581
  (exit $ac_status); }; }; then
7582
  # It does; now see whether it defined to BIG_ENDIAN or not.
8365
  # It does; now see whether it defined to BIG_ENDIAN or not.
7583
cat >conftest.$ac_ext <<_ACEOF
8366
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584
/* confdefs.h.  */
7585
_ACEOF
7586
cat confdefs.h >>conftest.$ac_ext
7587
cat >>conftest.$ac_ext <<_ACEOF
7588
/* end confdefs.h.  */
8367
/* end confdefs.h.  */
7589
#include <sys/types.h>
8368
#include <sys/types.h>
7590
#include <sys/param.h>
8369
		#include <sys/param.h>
7591
8370
7592
int
8371
int
7593
main ()
8372
main ()
7594
{
8373
{
7595
#if BYTE_ORDER != BIG_ENDIAN
8374
#if BYTE_ORDER != BIG_ENDIAN
7596
 not big endian
8375
		 not big endian
7597
#endif
8376
		#endif
7598
8377
7599
  ;
8378
  ;
7600
  return 0;
8379
  return 0;
7601
}
8380
}
7602
_ACEOF
8381
_ACEOF
7603
rm -f conftest.$ac_objext
8382
if ac_fn_c_try_compile "$LINENO"; then :
7604
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7605
  (eval $ac_compile) 2>conftest.er1
7606
  ac_status=$?
7607
  grep -v '^ *+' conftest.er1 >conftest.err
7608
  rm -f conftest.er1
7609
  cat conftest.err >&5
7610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611
  (exit $ac_status); } &&
7612
	 { ac_try='test -z "$ac_c_werror_flag"
7613
			 || test ! -s conftest.err'
7614
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615
  (eval $ac_try) 2>&5
7616
  ac_status=$?
7617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618
  (exit $ac_status); }; } &&
7619
	 { ac_try='test -s conftest.$ac_objext'
7620
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621
  (eval $ac_try) 2>&5
7622
  ac_status=$?
7623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624
  (exit $ac_status); }; }; then
7625
  ac_cv_c_bigendian=yes
8383
  ac_cv_c_bigendian=yes
7626
else
8384
else
7627
  echo "$as_me: failed program was:" >&5
8385
  ac_cv_c_bigendian=no
7628
sed 's/^/| /' conftest.$ac_ext >&5
8386
fi
7629
8387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7630
ac_cv_c_bigendian=no
8388
fi
7631
fi
8389
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7632
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8390
    fi
7633
else
8391
    if test $ac_cv_c_bigendian = unknown; then
7634
  echo "$as_me: failed program was:" >&5
8392
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
7635
sed 's/^/| /' conftest.$ac_ext >&5
8393
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636
8394
/* end confdefs.h.  */
7637
# It does not; compile a test program.
8395
#include <limits.h>
7638
if test "$cross_compiling" = yes; then
8396
7639
  # try to guess the endianness by grepping values into an object file
8397
int
7640
  ac_cv_c_bigendian=unknown
8398
main ()
7641
  cat >conftest.$ac_ext <<_ACEOF
8399
{
7642
/* confdefs.h.  */
8400
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
7643
_ACEOF
8401
	      bogus endian macros
7644
cat confdefs.h >>conftest.$ac_ext
8402
	     #endif
7645
cat >>conftest.$ac_ext <<_ACEOF
8403
7646
/* end confdefs.h.  */
8404
  ;
7647
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8405
  return 0;
7648
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8406
}
7649
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8407
_ACEOF
7650
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8408
if ac_fn_c_try_compile "$LINENO"; then :
7651
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8409
  # It does; now see whether it defined to _BIG_ENDIAN or not.
7652
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
8410
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653
int
8411
/* end confdefs.h.  */
7654
main ()
8412
#include <limits.h>
7655
{
8413
7656
 _ascii (); _ebcdic ();
8414
int
7657
  ;
8415
main ()
7658
  return 0;
8416
{
7659
}
8417
#ifndef _BIG_ENDIAN
7660
_ACEOF
8418
		 not big endian
7661
rm -f conftest.$ac_objext
8419
		#endif
7662
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8420
7663
  (eval $ac_compile) 2>conftest.er1
8421
  ;
7664
  ac_status=$?
8422
  return 0;
7665
  grep -v '^ *+' conftest.er1 >conftest.err
8423
}
7666
  rm -f conftest.er1
8424
_ACEOF
7667
  cat conftest.err >&5
8425
if ac_fn_c_try_compile "$LINENO"; then :
7668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669
  (exit $ac_status); } &&
7670
	 { ac_try='test -z "$ac_c_werror_flag"
7671
			 || test ! -s conftest.err'
7672
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673
  (eval $ac_try) 2>&5
7674
  ac_status=$?
7675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676
  (exit $ac_status); }; } &&
7677
	 { ac_try='test -s conftest.$ac_objext'
7678
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679
  (eval $ac_try) 2>&5
7680
  ac_status=$?
7681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682
  (exit $ac_status); }; }; then
7683
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
7684
  ac_cv_c_bigendian=yes
8426
  ac_cv_c_bigendian=yes
7685
fi
8427
else
7686
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
7687
  if test "$ac_cv_c_bigendian" = unknown; then
7688
    ac_cv_c_bigendian=no
7689
  else
7690
    # finding both strings is unlikely to happen, but who knows?
7691
    ac_cv_c_bigendian=unknown
7692
  fi
7693
fi
7694
else
7695
  echo "$as_me: failed program was:" >&5
7696
sed 's/^/| /' conftest.$ac_ext >&5
7697
7698
fi
7699
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7700
else
7701
  cat >conftest.$ac_ext <<_ACEOF
7702
/* confdefs.h.  */
7703
_ACEOF
7704
cat confdefs.h >>conftest.$ac_ext
7705
cat >>conftest.$ac_ext <<_ACEOF
7706
/* end confdefs.h.  */
7707
int
7708
main ()
7709
{
7710
  /* Are we little or big endian?  From Harbison&Steele.  */
7711
  union
7712
  {
7713
    long l;
7714
    char c[sizeof (long)];
7715
  } u;
7716
  u.l = 1;
7717
  exit (u.c[sizeof (long) - 1] == 1);
7718
}
7719
_ACEOF
7720
rm -f conftest$ac_exeext
7721
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722
  (eval $ac_link) 2>&5
7723
  ac_status=$?
7724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7726
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727
  (eval $ac_try) 2>&5
7728
  ac_status=$?
7729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730
  (exit $ac_status); }; }; then
7731
  ac_cv_c_bigendian=no
8428
  ac_cv_c_bigendian=no
7732
else
8429
fi
7733
  echo "$as_me: program exited with status $ac_status" >&5
8430
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734
echo "$as_me: failed program was:" >&5
8431
fi
7735
sed 's/^/| /' conftest.$ac_ext >&5
8432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7736
8433
    fi
7737
( exit $ac_status )
8434
    if test $ac_cv_c_bigendian = unknown; then
7738
ac_cv_c_bigendian=yes
8435
      # Compile a test program.
7739
fi
8436
      if test "$cross_compiling" = yes; then :
7740
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8437
  # Try to guess by grepping values from an object file.
7741
fi
8438
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742
fi
8439
/* end confdefs.h.  */
7743
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8440
short int ascii_mm[] =
7744
fi
8441
		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7745
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8442
		short int ascii_ii[] =
7746
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8443
		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7747
case $ac_cv_c_bigendian in
8444
		int use_ascii (int i) {
7748
  yes)
8445
		  return ascii_mm[i] + ascii_ii[i];
7749
8446
		}
7750
cat >>confdefs.h <<\_ACEOF
8447
		short int ebcdic_ii[] =
7751
#define WORDS_BIGENDIAN 1
8448
		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7752
_ACEOF
8449
		short int ebcdic_mm[] =
7753
 ;;
8450
		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7754
  no)
8451
		int use_ebcdic (int i) {
7755
     ;;
8452
		  return ebcdic_mm[i] + ebcdic_ii[i];
7756
  *)
8453
		}
7757
    { { echo "$as_me:$LINENO: error: unknown endianness
8454
		extern int foo;
7758
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8455
7759
echo "$as_me: error: unknown endianness
8456
int
7760
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8457
main ()
7761
   { (exit 1); exit 1; }; } ;;
8458
{
7762
esac
8459
return use_ascii (foo) == use_ebcdic (foo);
8460
  ;
8461
  return 0;
8462
}
8463
_ACEOF
8464
if ac_fn_c_try_compile "$LINENO"; then :
8465
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
8466
	      ac_cv_c_bigendian=yes
8467
	    fi
8468
	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8469
	      if test "$ac_cv_c_bigendian" = unknown; then
8470
		ac_cv_c_bigendian=no
8471
	      else
8472
		# finding both strings is unlikely to happen, but who knows?
8473
		ac_cv_c_bigendian=unknown
8474
	      fi
8475
	    fi
8476
fi
8477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8478
else
8479
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480
/* end confdefs.h.  */
8481
$ac_includes_default
8482
int
8483
main ()
8484
{
8485
8486
	     /* Are we little or big endian?  From Harbison&Steele.  */
8487
	     union
8488
	     {
8489
	       long int l;
8490
	       char c[sizeof (long int)];
8491
	     } u;
8492
	     u.l = 1;
8493
	     return u.c[sizeof (long int) - 1] == 1;
8494
8495
  ;
8496
  return 0;
8497
}
8498
_ACEOF
8499
if ac_fn_c_try_run "$LINENO"; then :
8500
  ac_cv_c_bigendian=no
8501
else
8502
  ac_cv_c_bigendian=yes
8503
fi
8504
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8505
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8506
fi
8507
8508
    fi
8509
fi
8510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
8511
$as_echo "$ac_cv_c_bigendian" >&6; }
8512
 case $ac_cv_c_bigendian in #(
8513
   yes)
8514
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
8515
;; #(
8516
   no)
8517
      ;; #(
8518
   universal)
8519
8520
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
8521
8522
     ;; #(
8523
   *)
8524
     as_fn_error "unknown endianness
8525
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8526
 esac
7763
8527
7764
WORDS_BIGENDIAN=$ac_cv_c_bigendian
8528
WORDS_BIGENDIAN=$ac_cv_c_bigendian
7765
8529
7766
8530
7767
# Check whether --enable-largefile or --disable-largefile was given.
8531
# Check whether --enable-largefile was given.
7768
if test "${enable_largefile+set}" = set; then
8532
if test "${enable_largefile+set}" = set; then :
7769
  enableval="$enable_largefile"
8533
  enableval=$enable_largefile;
7770
8534
fi
7771
fi;
8535
7772
if test "$enable_largefile" != no; then
8536
if test "$enable_largefile" != no; then
7773
8537
7774
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
8538
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7775
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
8539
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7776
if test "${ac_cv_sys_largefile_CC+set}" = set; then
8540
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
7777
  echo $ECHO_N "(cached) $ECHO_C" >&6
8541
  $as_echo_n "(cached) " >&6
7778
else
8542
else
7779
  ac_cv_sys_largefile_CC=no
8543
  ac_cv_sys_largefile_CC=no
7780
     if test "$GCC" != yes; then
8544
     if test "$GCC" != yes; then
7781
       ac_save_CC=$CC
8545
       ac_save_CC=$CC
7782
       while :; do
8546
       while :; do
7783
     	 # IRIX 6.2 and later do not support large files by default,
8547
	 # IRIX 6.2 and later do not support large files by default,
7784
     	 # so use the C compiler's -n32 option if that helps.
8548
	 # so use the C compiler's -n32 option if that helps.
7785
	 cat >conftest.$ac_ext <<_ACEOF
8549
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7786
/* confdefs.h.  */
7787
_ACEOF
7788
cat confdefs.h >>conftest.$ac_ext
7789
cat >>conftest.$ac_ext <<_ACEOF
7790
/* end confdefs.h.  */
8550
/* end confdefs.h.  */
7791
#include <sys/types.h>
8551
#include <sys/types.h>
7792
 /* Check that off_t can represent 2**63 - 1 correctly.
8552
 /* Check that off_t can represent 2**63 - 1 correctly.
Lines 7805-7893 Link Here
7805
  return 0;
8565
  return 0;
7806
}
8566
}
7807
_ACEOF
8567
_ACEOF
7808
     	 rm -f conftest.$ac_objext
8568
	 if ac_fn_c_try_compile "$LINENO"; then :
7809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7810
  (eval $ac_compile) 2>conftest.er1
7811
  ac_status=$?
7812
  grep -v '^ *+' conftest.er1 >conftest.err
7813
  rm -f conftest.er1
7814
  cat conftest.err >&5
7815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816
  (exit $ac_status); } &&
7817
	 { ac_try='test -z "$ac_c_werror_flag"
7818
			 || test ! -s conftest.err'
7819
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820
  (eval $ac_try) 2>&5
7821
  ac_status=$?
7822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823
  (exit $ac_status); }; } &&
7824
	 { ac_try='test -s conftest.$ac_objext'
7825
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826
  (eval $ac_try) 2>&5
7827
  ac_status=$?
7828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829
  (exit $ac_status); }; }; then
7830
  break
8569
  break
7831
else
8570
fi
7832
  echo "$as_me: failed program was:" >&5
8571
rm -f core conftest.err conftest.$ac_objext
7833
sed 's/^/| /' conftest.$ac_ext >&5
8572
	 CC="$CC -n32"
7834
8573
	 if ac_fn_c_try_compile "$LINENO"; then :
7835
fi
7836
rm -f conftest.err conftest.$ac_objext
7837
     	 CC="$CC -n32"
7838
     	 rm -f conftest.$ac_objext
7839
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7840
  (eval $ac_compile) 2>conftest.er1
7841
  ac_status=$?
7842
  grep -v '^ *+' conftest.er1 >conftest.err
7843
  rm -f conftest.er1
7844
  cat conftest.err >&5
7845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846
  (exit $ac_status); } &&
7847
	 { ac_try='test -z "$ac_c_werror_flag"
7848
			 || test ! -s conftest.err'
7849
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7850
  (eval $ac_try) 2>&5
7851
  ac_status=$?
7852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853
  (exit $ac_status); }; } &&
7854
	 { ac_try='test -s conftest.$ac_objext'
7855
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7856
  (eval $ac_try) 2>&5
7857
  ac_status=$?
7858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859
  (exit $ac_status); }; }; then
7860
  ac_cv_sys_largefile_CC=' -n32'; break
8574
  ac_cv_sys_largefile_CC=' -n32'; break
7861
else
8575
fi
7862
  echo "$as_me: failed program was:" >&5
8576
rm -f core conftest.err conftest.$ac_objext
7863
sed 's/^/| /' conftest.$ac_ext >&5
7864
7865
fi
7866
rm -f conftest.err conftest.$ac_objext
7867
	 break
8577
	 break
7868
       done
8578
       done
7869
       CC=$ac_save_CC
8579
       CC=$ac_save_CC
7870
       rm -f conftest.$ac_ext
8580
       rm -f conftest.$ac_ext
7871
    fi
8581
    fi
7872
fi
8582
fi
7873
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
8583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7874
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
8584
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
7875
  if test "$ac_cv_sys_largefile_CC" != no; then
8585
  if test "$ac_cv_sys_largefile_CC" != no; then
7876
    CC=$CC$ac_cv_sys_largefile_CC
8586
    CC=$CC$ac_cv_sys_largefile_CC
7877
  fi
8587
  fi
7878
8588
7879
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8589
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7880
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
8590
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7881
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
8591
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
7882
  echo $ECHO_N "(cached) $ECHO_C" >&6
8592
  $as_echo_n "(cached) " >&6
7883
else
8593
else
7884
  while :; do
8594
  while :; do
7885
  ac_cv_sys_file_offset_bits=no
8595
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886
  cat >conftest.$ac_ext <<_ACEOF
7887
/* confdefs.h.  */
7888
_ACEOF
7889
cat confdefs.h >>conftest.$ac_ext
7890
cat >>conftest.$ac_ext <<_ACEOF
7891
/* end confdefs.h.  */
8596
/* end confdefs.h.  */
7892
#include <sys/types.h>
8597
#include <sys/types.h>
7893
 /* Check that off_t can represent 2**63 - 1 correctly.
8598
 /* Check that off_t can represent 2**63 - 1 correctly.
Lines 7906-7945 Link Here
7906
  return 0;
8611
  return 0;
7907
}
8612
}
7908
_ACEOF
8613
_ACEOF
7909
rm -f conftest.$ac_objext
8614
if ac_fn_c_try_compile "$LINENO"; then :
7910
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8615
  ac_cv_sys_file_offset_bits=no; break
7911
  (eval $ac_compile) 2>conftest.er1
8616
fi
7912
  ac_status=$?
8617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7913
  grep -v '^ *+' conftest.er1 >conftest.err
8618
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7914
  rm -f conftest.er1
7915
  cat conftest.err >&5
7916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917
  (exit $ac_status); } &&
7918
	 { ac_try='test -z "$ac_c_werror_flag"
7919
			 || test ! -s conftest.err'
7920
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921
  (eval $ac_try) 2>&5
7922
  ac_status=$?
7923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924
  (exit $ac_status); }; } &&
7925
	 { ac_try='test -s conftest.$ac_objext'
7926
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7927
  (eval $ac_try) 2>&5
7928
  ac_status=$?
7929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930
  (exit $ac_status); }; }; then
7931
  break
7932
else
7933
  echo "$as_me: failed program was:" >&5
7934
sed 's/^/| /' conftest.$ac_ext >&5
7935
7936
fi
7937
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7938
  cat >conftest.$ac_ext <<_ACEOF
7939
/* confdefs.h.  */
7940
_ACEOF
7941
cat confdefs.h >>conftest.$ac_ext
7942
cat >>conftest.$ac_ext <<_ACEOF
7943
/* end confdefs.h.  */
8619
/* end confdefs.h.  */
7944
#define _FILE_OFFSET_BITS 64
8620
#define _FILE_OFFSET_BITS 64
7945
#include <sys/types.h>
8621
#include <sys/types.h>
Lines 7959-8018 Link Here
7959
  return 0;
8635
  return 0;
7960
}
8636
}
7961
_ACEOF
8637
_ACEOF
7962
rm -f conftest.$ac_objext
8638
if ac_fn_c_try_compile "$LINENO"; then :
7963
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7964
  (eval $ac_compile) 2>conftest.er1
7965
  ac_status=$?
7966
  grep -v '^ *+' conftest.er1 >conftest.err
7967
  rm -f conftest.er1
7968
  cat conftest.err >&5
7969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970
  (exit $ac_status); } &&
7971
	 { ac_try='test -z "$ac_c_werror_flag"
7972
			 || test ! -s conftest.err'
7973
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974
  (eval $ac_try) 2>&5
7975
  ac_status=$?
7976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977
  (exit $ac_status); }; } &&
7978
	 { ac_try='test -s conftest.$ac_objext'
7979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980
  (eval $ac_try) 2>&5
7981
  ac_status=$?
7982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983
  (exit $ac_status); }; }; then
7984
  ac_cv_sys_file_offset_bits=64; break
8639
  ac_cv_sys_file_offset_bits=64; break
7985
else
8640
fi
7986
  echo "$as_me: failed program was:" >&5
8641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7987
sed 's/^/| /' conftest.$ac_ext >&5
8642
  ac_cv_sys_file_offset_bits=unknown
7988
7989
fi
7990
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7991
  break
8643
  break
7992
done
8644
done
7993
fi
8645
fi
7994
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
8646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7995
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
8647
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7996
if test "$ac_cv_sys_file_offset_bits" != no; then
8648
case $ac_cv_sys_file_offset_bits in #(
7997
8649
  no | unknown) ;;
8650
  *)
7998
cat >>confdefs.h <<_ACEOF
8651
cat >>confdefs.h <<_ACEOF
7999
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8652
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8000
_ACEOF
8653
_ACEOF
8001
8654
;;
8002
fi
8655
esac
8003
rm -f conftest*
8656
rm -rf conftest*
8004
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
8657
  if test $ac_cv_sys_file_offset_bits = unknown; then
8005
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
8658
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8006
if test "${ac_cv_sys_large_files+set}" = set; then
8659
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8007
  echo $ECHO_N "(cached) $ECHO_C" >&6
8660
if test "${ac_cv_sys_large_files+set}" = set; then :
8661
  $as_echo_n "(cached) " >&6
8008
else
8662
else
8009
  while :; do
8663
  while :; do
8010
  ac_cv_sys_large_files=no
8664
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011
  cat >conftest.$ac_ext <<_ACEOF
8012
/* confdefs.h.  */
8013
_ACEOF
8014
cat confdefs.h >>conftest.$ac_ext
8015
cat >>conftest.$ac_ext <<_ACEOF
8016
/* end confdefs.h.  */
8665
/* end confdefs.h.  */
8017
#include <sys/types.h>
8666
#include <sys/types.h>
8018
 /* Check that off_t can represent 2**63 - 1 correctly.
8667
 /* Check that off_t can represent 2**63 - 1 correctly.
Lines 8031-8070 Link Here
8031
  return 0;
8680
  return 0;
8032
}
8681
}
8033
_ACEOF
8682
_ACEOF
8034
rm -f conftest.$ac_objext
8683
if ac_fn_c_try_compile "$LINENO"; then :
8035
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8684
  ac_cv_sys_large_files=no; break
8036
  (eval $ac_compile) 2>conftest.er1
8685
fi
8037
  ac_status=$?
8686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8038
  grep -v '^ *+' conftest.er1 >conftest.err
8687
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8039
  rm -f conftest.er1
8040
  cat conftest.err >&5
8041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042
  (exit $ac_status); } &&
8043
	 { ac_try='test -z "$ac_c_werror_flag"
8044
			 || test ! -s conftest.err'
8045
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046
  (eval $ac_try) 2>&5
8047
  ac_status=$?
8048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049
  (exit $ac_status); }; } &&
8050
	 { ac_try='test -s conftest.$ac_objext'
8051
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8052
  (eval $ac_try) 2>&5
8053
  ac_status=$?
8054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055
  (exit $ac_status); }; }; then
8056
  break
8057
else
8058
  echo "$as_me: failed program was:" >&5
8059
sed 's/^/| /' conftest.$ac_ext >&5
8060
8061
fi
8062
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8063
  cat >conftest.$ac_ext <<_ACEOF
8064
/* confdefs.h.  */
8065
_ACEOF
8066
cat confdefs.h >>conftest.$ac_ext
8067
cat >>conftest.$ac_ext <<_ACEOF
8068
/* end confdefs.h.  */
8688
/* end confdefs.h.  */
8069
#define _LARGE_FILES 1
8689
#define _LARGE_FILES 1
8070
#include <sys/types.h>
8690
#include <sys/types.h>
Lines 8084-8131 Link Here
8084
  return 0;
8704
  return 0;
8085
}
8705
}
8086
_ACEOF
8706
_ACEOF
8087
rm -f conftest.$ac_objext
8707
if ac_fn_c_try_compile "$LINENO"; then :
8088
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089
  (eval $ac_compile) 2>conftest.er1
8090
  ac_status=$?
8091
  grep -v '^ *+' conftest.er1 >conftest.err
8092
  rm -f conftest.er1
8093
  cat conftest.err >&5
8094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095
  (exit $ac_status); } &&
8096
	 { ac_try='test -z "$ac_c_werror_flag"
8097
			 || test ! -s conftest.err'
8098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099
  (eval $ac_try) 2>&5
8100
  ac_status=$?
8101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102
  (exit $ac_status); }; } &&
8103
	 { ac_try='test -s conftest.$ac_objext'
8104
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105
  (eval $ac_try) 2>&5
8106
  ac_status=$?
8107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108
  (exit $ac_status); }; }; then
8109
  ac_cv_sys_large_files=1; break
8708
  ac_cv_sys_large_files=1; break
8110
else
8709
fi
8111
  echo "$as_me: failed program was:" >&5
8710
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112
sed 's/^/| /' conftest.$ac_ext >&5
8711
  ac_cv_sys_large_files=unknown
8113
8114
fi
8115
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8116
  break
8712
  break
8117
done
8713
done
8118
fi
8714
fi
8119
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
8715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8120
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
8716
$as_echo "$ac_cv_sys_large_files" >&6; }
8121
if test "$ac_cv_sys_large_files" != no; then
8717
case $ac_cv_sys_large_files in #(
8122
8718
  no | unknown) ;;
8719
  *)
8123
cat >>confdefs.h <<_ACEOF
8720
cat >>confdefs.h <<_ACEOF
8124
#define _LARGE_FILES $ac_cv_sys_large_files
8721
#define _LARGE_FILES $ac_cv_sys_large_files
8125
_ACEOF
8722
_ACEOF
8126
8723
;;
8127
fi
8724
esac
8128
rm -f conftest*
8725
rm -rf conftest*
8726
  fi
8129
fi
8727
fi
8130
8728
8131
if test -n "$ac_cv_sys_file_offset_bits"; then
8729
if test -n "$ac_cv_sys_file_offset_bits"; then
Lines 8136-8179 Link Here
8136
fi
8734
fi
8137
8735
8138
8736
8139
echo "$as_me:$LINENO: checking whether to disable vba feature" >&5
8737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable vba feature" >&5
8140
echo $ECHO_N "checking whether to disable vba feature... $ECHO_C" >&6
8738
$as_echo_n "checking whether to disable vba feature... " >&6; }
8141
if test -n "$enable_vba" && test "$enable_vba" = "no"; then
8739
if test -n "$enable_vba" && test "$enable_vba" = "no"; then
8142
   echo "$as_me:$LINENO: result: yes" >&5
8740
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8143
echo "${ECHO_T}yes" >&6
8741
$as_echo "yes" >&6; }
8144
   ENABLE_VBA=NO
8742
   ENABLE_VBA=NO
8145
else
8743
else
8146
   echo "$as_me:$LINENO: result: no" >&5
8744
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147
echo "${ECHO_T}no" >&6
8745
$as_echo "no" >&6; }
8148
   ENABLE_VBA=YES
8746
   ENABLE_VBA=YES
8149
fi
8747
fi
8150
8748
8151
8749
8152
if test "$ENABLE_VBA" = "YES"; then
8750
if test "$ENABLE_VBA" = "YES"; then
8153
   echo "$as_me:$LINENO: checking how to package the vba compatibility api" >&5
8751
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to package the vba compatibility api" >&5
8154
echo $ECHO_N "checking how to package the vba compatibility api... $ECHO_C" >&6
8752
$as_echo_n "checking how to package the vba compatibility api... " >&6; }
8155
   if test -n "$with_vba_package_format"; then
8753
   if test -n "$with_vba_package_format"; then
8156
      if test "$with_vba_package_format" = "extn"; then
8754
      if test "$with_vba_package_format" = "extn"; then
8157
         VBA_EXTENSION=YES
8755
         VBA_EXTENSION=YES
8158
         echo "$as_me:$LINENO: result: uno extension" >&5
8756
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: uno extension" >&5
8159
echo "${ECHO_T}uno extension" >&6
8757
$as_echo "uno extension" >&6; }
8160
         { echo "$as_me:$LINENO: WARNING: --with-vba-package-format=extn can cause problems" >&5
8758
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-vba-package-format=extn can cause problems" >&5
8161
echo "$as_me: WARNING: --with-vba-package-format=extn can cause problems" >&2;}
8759
$as_echo "$as_me: WARNING: --with-vba-package-format=extn can cause problems" >&2;}
8162
      else if test "$with_vba_package_format" = "builtin"; then
8760
      else if test "$with_vba_package_format" = "builtin"; then
8163
            VBA_EXTENSION=NO
8761
            VBA_EXTENSION=NO
8164
            echo "$as_me:$LINENO: result: build into installset" >&5
8762
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: build into installset" >&5
8165
echo "${ECHO_T}build into installset" >&6
8763
$as_echo "build into installset" >&6; }
8166
         else
8764
         else
8167
            { { echo "$as_me:$LINENO: error: unknown packaging method" >&5
8765
            as_fn_error "unknown packaging method" "$LINENO" 5
8168
echo "$as_me: error: unknown packaging method" >&2;}
8169
   { (exit 1); exit 1; }; }
8170
         fi
8766
         fi
8171
      fi
8767
      fi
8172
8768
8173
   else
8769
   else
8174
      VBA_EXTENSION=NO
8770
      VBA_EXTENSION=NO
8175
      echo "$as_me:$LINENO: result: defaulting to build into installset" >&5
8771
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaulting to build into installset" >&5
8176
echo "${ECHO_T}defaulting to build into installset" >&6
8772
$as_echo "defaulting to build into installset" >&6; }
8177
   fi
8773
   fi
8178
else
8774
else
8179
      VBA_EXTENSION=NO
8775
      VBA_EXTENSION=NO
Lines 8183-8561 Link Here
8183
8779
8184
8780
8185
if test "$test_cups" = "yes" -a "$ENABLE_CUPS" = "TRUE" ; then
8781
if test "$test_cups" = "yes" -a "$ENABLE_CUPS" = "TRUE" ; then
8186
    if test "${ac_cv_header_cups_cups_h+set}" = set; then
8782
    ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
8187
  echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8783
if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
8188
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8784
8189
if test "${ac_cv_header_cups_cups_h+set}" = set; then
8785
else
8190
  echo $ECHO_N "(cached) $ECHO_C" >&6
8786
  as_fn_error "cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?" "$LINENO" 5
8191
fi
8192
echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8193
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8194
else
8195
  # Is the header compilable?
8196
echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
8197
echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
8198
cat >conftest.$ac_ext <<_ACEOF
8199
/* confdefs.h.  */
8200
_ACEOF
8201
cat confdefs.h >>conftest.$ac_ext
8202
cat >>conftest.$ac_ext <<_ACEOF
8203
/* end confdefs.h.  */
8204
$ac_includes_default
8205
#include <cups/cups.h>
8206
_ACEOF
8207
rm -f conftest.$ac_objext
8208
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8209
  (eval $ac_compile) 2>conftest.er1
8210
  ac_status=$?
8211
  grep -v '^ *+' conftest.er1 >conftest.err
8212
  rm -f conftest.er1
8213
  cat conftest.err >&5
8214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215
  (exit $ac_status); } &&
8216
	 { ac_try='test -z "$ac_c_werror_flag"
8217
			 || test ! -s conftest.err'
8218
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219
  (eval $ac_try) 2>&5
8220
  ac_status=$?
8221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222
  (exit $ac_status); }; } &&
8223
	 { ac_try='test -s conftest.$ac_objext'
8224
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225
  (eval $ac_try) 2>&5
8226
  ac_status=$?
8227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228
  (exit $ac_status); }; }; then
8229
  ac_header_compiler=yes
8230
else
8231
  echo "$as_me: failed program was:" >&5
8232
sed 's/^/| /' conftest.$ac_ext >&5
8233
8234
ac_header_compiler=no
8235
fi
8236
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8237
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8238
echo "${ECHO_T}$ac_header_compiler" >&6
8239
8240
# Is the header present?
8241
echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
8242
echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
8243
cat >conftest.$ac_ext <<_ACEOF
8244
/* confdefs.h.  */
8245
_ACEOF
8246
cat confdefs.h >>conftest.$ac_ext
8247
cat >>conftest.$ac_ext <<_ACEOF
8248
/* end confdefs.h.  */
8249
#include <cups/cups.h>
8250
_ACEOF
8251
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8252
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8253
  ac_status=$?
8254
  grep -v '^ *+' conftest.er1 >conftest.err
8255
  rm -f conftest.er1
8256
  cat conftest.err >&5
8257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258
  (exit $ac_status); } >/dev/null; then
8259
  if test -s conftest.err; then
8260
    ac_cpp_err=$ac_c_preproc_warn_flag
8261
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8262
  else
8263
    ac_cpp_err=
8264
  fi
8265
else
8266
  ac_cpp_err=yes
8267
fi
8268
if test -z "$ac_cpp_err"; then
8269
  ac_header_preproc=yes
8270
else
8271
  echo "$as_me: failed program was:" >&5
8272
sed 's/^/| /' conftest.$ac_ext >&5
8273
8274
  ac_header_preproc=no
8275
fi
8276
rm -f conftest.err conftest.$ac_ext
8277
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8278
echo "${ECHO_T}$ac_header_preproc" >&6
8279
8280
# So?  What about this header?
8281
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8282
  yes:no: )
8283
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
8284
echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8285
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the compiler's result" >&5
8286
echo "$as_me: WARNING: cups/cups.h: proceeding with the compiler's result" >&2;}
8287
    ac_header_preproc=yes
8288
    ;;
8289
  no:yes:* )
8290
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
8291
echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
8292
    { echo "$as_me:$LINENO: WARNING: cups/cups.h:     check for missing prerequisite headers?" >&5
8293
echo "$as_me: WARNING: cups/cups.h:     check for missing prerequisite headers?" >&2;}
8294
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: see the Autoconf documentation" >&5
8295
echo "$as_me: WARNING: cups/cups.h: see the Autoconf documentation" >&2;}
8296
    { echo "$as_me:$LINENO: WARNING: cups/cups.h:     section \"Present But Cannot Be Compiled\"" >&5
8297
echo "$as_me: WARNING: cups/cups.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8298
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8299
echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;}
8300
    { echo "$as_me:$LINENO: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&5
8301
echo "$as_me: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&2;}
8302
    (
8303
      cat <<\_ASBOX
8304
## ------------------------------------------ ##
8305
## Report this to the AC_PACKAGE_NAME lists.  ##
8306
## ------------------------------------------ ##
8307
_ASBOX
8308
    ) |
8309
      sed "s/^/$as_me: WARNING:     /" >&2
8310
    ;;
8311
esac
8312
echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8313
echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8314
if test "${ac_cv_header_cups_cups_h+set}" = set; then
8315
  echo $ECHO_N "(cached) $ECHO_C" >&6
8316
else
8317
  ac_cv_header_cups_cups_h=$ac_header_preproc
8318
fi
8319
echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8320
echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8321
8322
fi
8323
if test $ac_cv_header_cups_cups_h = yes; then
8324
  :
8325
else
8326
  { { echo "$as_me:$LINENO: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?" >&5
8327
echo "$as_me: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?" >&2;}
8328
   { (exit 1); exit 1; }; }
8329
fi
8787
fi
8330
8788
8331
8789
8332
fi
8790
fi
8333
8791
8334
if test "$_os" = "Linux" -o "$_os" = "FreeBSD" -o "$_os" = "GNU"; then
8792
if test "$_os" = "Linux" -o "$_os" = "FreeBSD" -o "$_os" = "GNU"; then
8335
  echo "$as_me:$LINENO: checking whether to enable pam support" >&5
8793
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable pam support" >&5
8336
echo $ECHO_N "checking whether to enable pam support... $ECHO_C" >&6
8794
$as_echo_n "checking whether to enable pam support... " >&6; }
8337
  if test -z "$enable_pam" || test "$enable_pam" != "no"; then
8795
  if test -z "$enable_pam" || test "$enable_pam" != "no"; then
8338
    echo "$as_me:$LINENO: result: yes" >&5
8796
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8339
echo "${ECHO_T}yes" >&6
8797
$as_echo "yes" >&6; }
8340
    PAM=YES
8798
    PAM=YES
8341
    if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8799
    ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
8342
  echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
8800
if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then :
8343
echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
8801
8344
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8802
else
8345
  echo $ECHO_N "(cached) $ECHO_C" >&6
8803
  as_fn_error "pam_appl.h could not be found. libpam-dev or pam-devel missing?" "$LINENO" 5
8346
fi
8804
fi
8347
echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
8805
8348
echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6
8806
8349
else
8807
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link to libpam" >&5
8350
  # Is the header compilable?
8808
$as_echo_n "checking whether to link to libpam... " >&6; }
8351
echo "$as_me:$LINENO: checking security/pam_appl.h usability" >&5
8352
echo $ECHO_N "checking security/pam_appl.h usability... $ECHO_C" >&6
8353
cat >conftest.$ac_ext <<_ACEOF
8354
/* confdefs.h.  */
8355
_ACEOF
8356
cat confdefs.h >>conftest.$ac_ext
8357
cat >>conftest.$ac_ext <<_ACEOF
8358
/* end confdefs.h.  */
8359
$ac_includes_default
8360
#include <security/pam_appl.h>
8361
_ACEOF
8362
rm -f conftest.$ac_objext
8363
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8364
  (eval $ac_compile) 2>conftest.er1
8365
  ac_status=$?
8366
  grep -v '^ *+' conftest.er1 >conftest.err
8367
  rm -f conftest.er1
8368
  cat conftest.err >&5
8369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370
  (exit $ac_status); } &&
8371
	 { ac_try='test -z "$ac_c_werror_flag"
8372
			 || test ! -s conftest.err'
8373
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374
  (eval $ac_try) 2>&5
8375
  ac_status=$?
8376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377
  (exit $ac_status); }; } &&
8378
	 { ac_try='test -s conftest.$ac_objext'
8379
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380
  (eval $ac_try) 2>&5
8381
  ac_status=$?
8382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383
  (exit $ac_status); }; }; then
8384
  ac_header_compiler=yes
8385
else
8386
  echo "$as_me: failed program was:" >&5
8387
sed 's/^/| /' conftest.$ac_ext >&5
8388
8389
ac_header_compiler=no
8390
fi
8391
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8392
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8393
echo "${ECHO_T}$ac_header_compiler" >&6
8394
8395
# Is the header present?
8396
echo "$as_me:$LINENO: checking security/pam_appl.h presence" >&5
8397
echo $ECHO_N "checking security/pam_appl.h presence... $ECHO_C" >&6
8398
cat >conftest.$ac_ext <<_ACEOF
8399
/* confdefs.h.  */
8400
_ACEOF
8401
cat confdefs.h >>conftest.$ac_ext
8402
cat >>conftest.$ac_ext <<_ACEOF
8403
/* end confdefs.h.  */
8404
#include <security/pam_appl.h>
8405
_ACEOF
8406
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8407
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8408
  ac_status=$?
8409
  grep -v '^ *+' conftest.er1 >conftest.err
8410
  rm -f conftest.er1
8411
  cat conftest.err >&5
8412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413
  (exit $ac_status); } >/dev/null; then
8414
  if test -s conftest.err; then
8415
    ac_cpp_err=$ac_c_preproc_warn_flag
8416
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8417
  else
8418
    ac_cpp_err=
8419
  fi
8420
else
8421
  ac_cpp_err=yes
8422
fi
8423
if test -z "$ac_cpp_err"; then
8424
  ac_header_preproc=yes
8425
else
8426
  echo "$as_me: failed program was:" >&5
8427
sed 's/^/| /' conftest.$ac_ext >&5
8428
8429
  ac_header_preproc=no
8430
fi
8431
rm -f conftest.err conftest.$ac_ext
8432
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8433
echo "${ECHO_T}$ac_header_preproc" >&6
8434
8435
# So?  What about this header?
8436
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8437
  yes:no: )
8438
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8439
echo "$as_me: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8440
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&5
8441
echo "$as_me: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&2;}
8442
    ac_header_preproc=yes
8443
    ;;
8444
  no:yes:* )
8445
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: present but cannot be compiled" >&5
8446
echo "$as_me: WARNING: security/pam_appl.h: present but cannot be compiled" >&2;}
8447
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h:     check for missing prerequisite headers?" >&5
8448
echo "$as_me: WARNING: security/pam_appl.h:     check for missing prerequisite headers?" >&2;}
8449
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: see the Autoconf documentation" >&5
8450
echo "$as_me: WARNING: security/pam_appl.h: see the Autoconf documentation" >&2;}
8451
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h:     section \"Present But Cannot Be Compiled\"" >&5
8452
echo "$as_me: WARNING: security/pam_appl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8453
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&5
8454
echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&2;}
8455
    { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&5
8456
echo "$as_me: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&2;}
8457
    (
8458
      cat <<\_ASBOX
8459
## ------------------------------------------ ##
8460
## Report this to the AC_PACKAGE_NAME lists.  ##
8461
## ------------------------------------------ ##
8462
_ASBOX
8463
    ) |
8464
      sed "s/^/$as_me: WARNING:     /" >&2
8465
    ;;
8466
esac
8467
echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
8468
echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
8469
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8470
  echo $ECHO_N "(cached) $ECHO_C" >&6
8471
else
8472
  ac_cv_header_security_pam_appl_h=$ac_header_preproc
8473
fi
8474
echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
8475
echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6
8476
8477
fi
8478
if test $ac_cv_header_security_pam_appl_h = yes; then
8479
  :
8480
else
8481
  { { echo "$as_me:$LINENO: error: pam_appl.h could not be found. libpam-dev or pam-devel missing?" >&5
8482
echo "$as_me: error: pam_appl.h could not be found. libpam-dev or pam-devel missing?" >&2;}
8483
   { (exit 1); exit 1; }; }
8484
fi
8485
8486
8487
    echo "$as_me:$LINENO: checking whether to link to libpam" >&5
8488
echo $ECHO_N "checking whether to link to libpam... $ECHO_C" >&6
8489
    if test -n "$enable_pam_link" -a "$enable_pam_link" != "no"; then
8809
    if test -n "$enable_pam_link" -a "$enable_pam_link" != "no"; then
8490
      echo "$as_me:$LINENO: result: yes" >&5
8810
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8491
echo "${ECHO_T}yes" >&6
8811
$as_echo "yes" >&6; }
8492
      PAM_LINK=YES
8812
      PAM_LINK=YES
8493
8813
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
8494
echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5
8814
$as_echo_n "checking for pam_start in -lpam... " >&6; }
8495
echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6
8815
if test "${ac_cv_lib_pam_pam_start+set}" = set; then :
8496
if test "${ac_cv_lib_pam_pam_start+set}" = set; then
8816
  $as_echo_n "(cached) " >&6
8497
  echo $ECHO_N "(cached) $ECHO_C" >&6
8498
else
8817
else
8499
  ac_check_lib_save_LIBS=$LIBS
8818
  ac_check_lib_save_LIBS=$LIBS
8500
LIBS="-lpam  $LIBS"
8819
LIBS="-lpam  $LIBS"
8501
cat >conftest.$ac_ext <<_ACEOF
8820
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502
/* confdefs.h.  */
8821
/* end confdefs.h.  */
8503
_ACEOF
8822
8504
cat confdefs.h >>conftest.$ac_ext
8823
/* Override any GCC internal prototype to avoid an error.
8505
cat >>conftest.$ac_ext <<_ACEOF
8824
   Use char because int might match the return type of a GCC
8506
/* end confdefs.h.  */
8825
   builtin and then its argument prototype would still apply.  */
8507
8508
/* Override any gcc2 internal prototype to avoid an error.  */
8509
#ifdef __cplusplus
8826
#ifdef __cplusplus
8510
extern "C"
8827
extern "C"
8511
#endif
8828
#endif
8512
/* We use char because int might match the return type of a gcc2
8513
   builtin and then its argument prototype would still apply.  */
8514
char pam_start ();
8829
char pam_start ();
8515
int
8830
int
8516
main ()
8831
main ()
8517
{
8832
{
8518
pam_start ();
8833
return pam_start ();
8519
  ;
8834
  ;
8520
  return 0;
8835
  return 0;
8521
}
8836
}
8522
_ACEOF
8837
_ACEOF
8523
rm -f conftest.$ac_objext conftest$ac_exeext
8838
if ac_fn_c_try_link "$LINENO"; then :
8524
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8525
  (eval $ac_link) 2>conftest.er1
8526
  ac_status=$?
8527
  grep -v '^ *+' conftest.er1 >conftest.err
8528
  rm -f conftest.er1
8529
  cat conftest.err >&5
8530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531
  (exit $ac_status); } &&
8532
	 { ac_try='test -z "$ac_c_werror_flag"
8533
			 || test ! -s conftest.err'
8534
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535
  (eval $ac_try) 2>&5
8536
  ac_status=$?
8537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538
  (exit $ac_status); }; } &&
8539
	 { ac_try='test -s conftest$ac_exeext'
8540
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541
  (eval $ac_try) 2>&5
8542
  ac_status=$?
8543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
  (exit $ac_status); }; }; then
8545
  ac_cv_lib_pam_pam_start=yes
8839
  ac_cv_lib_pam_pam_start=yes
8546
else
8840
else
8547
  echo "$as_me: failed program was:" >&5
8841
  ac_cv_lib_pam_pam_start=no
8548
sed 's/^/| /' conftest.$ac_ext >&5
8842
fi
8549
8843
rm -f core conftest.err conftest.$ac_objext \
8550
ac_cv_lib_pam_pam_start=no
8844
    conftest$ac_exeext conftest.$ac_ext
8551
fi
8552
rm -f conftest.err conftest.$ac_objext \
8553
      conftest$ac_exeext conftest.$ac_ext
8554
LIBS=$ac_check_lib_save_LIBS
8845
LIBS=$ac_check_lib_save_LIBS
8555
fi
8846
fi
8556
echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_start" >&5
8847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
8557
echo "${ECHO_T}$ac_cv_lib_pam_pam_start" >&6
8848
$as_echo "$ac_cv_lib_pam_pam_start" >&6; }
8558
if test $ac_cv_lib_pam_pam_start = yes; then
8849
if test "x$ac_cv_lib_pam_pam_start" = x""yes; then :
8559
  cat >>confdefs.h <<_ACEOF
8850
  cat >>confdefs.h <<_ACEOF
8560
#define HAVE_LIBPAM 1
8851
#define HAVE_LIBPAM 1
8561
_ACEOF
8852
_ACEOF
Lines 8563-8581 Link Here
8563
  LIBS="-lpam $LIBS"
8854
  LIBS="-lpam $LIBS"
8564
8855
8565
else
8856
else
8566
  { { echo "$as_me:$LINENO: error: libpam not found or functional" >&5
8857
  as_fn_error "libpam not found or functional" "$LINENO" 5
8567
echo "$as_me: error: libpam not found or functional" >&2;}
8568
   { (exit 1); exit 1; }; }
8569
fi
8858
fi
8570
8859
8571
    else
8860
    else
8572
      echo "$as_me:$LINENO: result: no, dynamically open it" >&5
8861
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, dynamically open it" >&5
8573
echo "${ECHO_T}no, dynamically open it" >&6
8862
$as_echo "no, dynamically open it" >&6; }
8574
      PAM_LINK=NO
8863
      PAM_LINK=NO
8575
    fi
8864
    fi
8576
  else
8865
  else
8577
    echo "$as_me:$LINENO: result: no" >&5
8866
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578
echo "${ECHO_T}no" >&6
8867
$as_echo "no" >&6; }
8579
    PAM=NO
8868
    PAM=NO
8580
    PAM_LINK=NO
8869
    PAM_LINK=NO
8581
8870
Lines 8586-8596 Link Here
8586
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8875
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8876
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8588
8877
8589
    echo "$as_me:$LINENO: checking how many arguments getspnam_r() takes" >&5
8878
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getspnam_r() takes" >&5
8590
echo $ECHO_N "checking how many arguments getspnam_r() takes... $ECHO_C" >&6
8879
$as_echo_n "checking how many arguments getspnam_r() takes... " >&6; }
8591
8880
8592
    if test "${ac_cv_func_which_getspnam_r+set}" = set; then
8881
    if test "${ac_cv_func_which_getspnam_r+set}" = set; then :
8593
  echo $ECHO_N "(cached) $ECHO_C" >&6
8882
  $as_echo_n "(cached) " >&6
8594
else
8883
else
8595
8884
8596
8885
Lines 8607-8617 Link Here
8607
# netdb.h is not declaring the function, and the compiler is thereby
8896
# netdb.h is not declaring the function, and the compiler is thereby
8608
# assuming an implicit prototype. In which case, we're out of luck.
8897
# assuming an implicit prototype. In which case, we're out of luck.
8609
#
8898
#
8610
cat >conftest.$ac_ext <<_ACEOF
8899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611
/* confdefs.h.  */
8612
_ACEOF
8613
cat confdefs.h >>conftest.$ac_ext
8614
cat >>conftest.$ac_ext <<_ACEOF
8615
/* end confdefs.h.  */
8900
/* end confdefs.h.  */
8616
8901
8617
	    #include <sys/types.h>
8902
	    #include <sys/types.h>
Lines 8628-8662 Link Here
8628
  return 0;
8913
  return 0;
8629
}
8914
}
8630
_ACEOF
8915
_ACEOF
8631
rm -f conftest.$ac_objext
8916
if ac_fn_c_try_compile "$LINENO"; then :
8632
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8633
  (eval $ac_compile) 2>conftest.er1
8634
  ac_status=$?
8635
  grep -v '^ *+' conftest.er1 >conftest.err
8636
  rm -f conftest.er1
8637
  cat conftest.err >&5
8638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639
  (exit $ac_status); } &&
8640
	 { ac_try='test -z "$ac_c_werror_flag"
8641
			 || test ! -s conftest.err'
8642
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643
  (eval $ac_try) 2>&5
8644
  ac_status=$?
8645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646
  (exit $ac_status); }; } &&
8647
	 { ac_try='test -s conftest.$ac_objext'
8648
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649
  (eval $ac_try) 2>&5
8650
  ac_status=$?
8651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652
  (exit $ac_status); }; }; then
8653
  ac_cv_func_which_getspnam_r=no
8917
  ac_cv_func_which_getspnam_r=no
8654
else
8918
fi
8655
  echo "$as_me: failed program was:" >&5
8919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8656
sed 's/^/| /' conftest.$ac_ext >&5
8657
8658
fi
8659
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8660
8920
8661
#
8921
#
8662
# FIVE ARGUMENTS
8922
# FIVE ARGUMENTS
Lines 8664-8674 Link Here
8664
8924
8665
if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8925
if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8666
8926
8667
cat >conftest.$ac_ext <<_ACEOF
8927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668
/* confdefs.h.  */
8669
_ACEOF
8670
cat confdefs.h >>conftest.$ac_ext
8671
cat >>conftest.$ac_ext <<_ACEOF
8672
/* end confdefs.h.  */
8928
/* end confdefs.h.  */
8673
8929
8674
	    #include <sys/types.h>
8930
	    #include <sys/types.h>
Lines 8687-8721 Link Here
8687
  return 0;
8943
  return 0;
8688
}
8944
}
8689
_ACEOF
8945
_ACEOF
8690
rm -f conftest.$ac_objext
8946
if ac_fn_c_try_compile "$LINENO"; then :
8691
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8692
  (eval $ac_compile) 2>conftest.er1
8693
  ac_status=$?
8694
  grep -v '^ *+' conftest.er1 >conftest.err
8695
  rm -f conftest.er1
8696
  cat conftest.err >&5
8697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
  (exit $ac_status); } &&
8699
	 { ac_try='test -z "$ac_c_werror_flag"
8700
			 || test ! -s conftest.err'
8701
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702
  (eval $ac_try) 2>&5
8703
  ac_status=$?
8704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705
  (exit $ac_status); }; } &&
8706
	 { ac_try='test -s conftest.$ac_objext'
8707
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708
  (eval $ac_try) 2>&5
8709
  ac_status=$?
8710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711
  (exit $ac_status); }; }; then
8712
  ac_cv_func_which_getspnam_r=five
8947
  ac_cv_func_which_getspnam_r=five
8713
else
8948
fi
8714
  echo "$as_me: failed program was:" >&5
8949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8715
sed 's/^/| /' conftest.$ac_ext >&5
8716
8717
fi
8718
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8719
8950
8720
fi
8951
fi
8721
8952
Lines 8725-8735 Link Here
8725
8956
8726
if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8957
if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8727
8958
8728
cat >conftest.$ac_ext <<_ACEOF
8959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729
/* confdefs.h.  */
8730
_ACEOF
8731
cat confdefs.h >>conftest.$ac_ext
8732
cat >>conftest.$ac_ext <<_ACEOF
8733
/* end confdefs.h.  */
8960
/* end confdefs.h.  */
8734
8961
8735
	    #include <sys/types.h>
8962
	    #include <sys/types.h>
Lines 8748-8782 Link Here
8748
  return 0;
8975
  return 0;
8749
}
8976
}
8750
_ACEOF
8977
_ACEOF
8751
rm -f conftest.$ac_objext
8978
if ac_fn_c_try_compile "$LINENO"; then :
8752
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753
  (eval $ac_compile) 2>conftest.er1
8754
  ac_status=$?
8755
  grep -v '^ *+' conftest.er1 >conftest.err
8756
  rm -f conftest.er1
8757
  cat conftest.err >&5
8758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
  (exit $ac_status); } &&
8760
	 { ac_try='test -z "$ac_c_werror_flag"
8761
			 || test ! -s conftest.err'
8762
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763
  (eval $ac_try) 2>&5
8764
  ac_status=$?
8765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766
  (exit $ac_status); }; } &&
8767
	 { ac_try='test -s conftest.$ac_objext'
8768
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769
  (eval $ac_try) 2>&5
8770
  ac_status=$?
8771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772
  (exit $ac_status); }; }; then
8773
  ac_cv_func_which_getspnam_r=four
8979
  ac_cv_func_which_getspnam_r=four
8774
else
8980
fi
8775
  echo "$as_me: failed program was:" >&5
8981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8776
sed 's/^/| /' conftest.$ac_ext >&5
8777
8778
fi
8779
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780
8982
8781
fi
8983
fi
8782
8984
Lines 8787-8816 Link Here
8787
8989
8788
case "$ac_cv_func_which_getspnam_r" in
8990
case "$ac_cv_func_which_getspnam_r" in
8789
    five)
8991
    five)
8790
    echo "$as_me:$LINENO: result: five" >&5
8992
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
8791
echo "${ECHO_T}five" >&6
8993
$as_echo "five" >&6; }
8792
    NEW_SHADOW_API=YES
8994
    NEW_SHADOW_API=YES
8793
    ;;
8995
    ;;
8794
8996
8795
    four)
8997
    four)
8796
    echo "$as_me:$LINENO: result: four" >&5
8998
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: four" >&5
8797
echo "${ECHO_T}four" >&6
8999
$as_echo "four" >&6; }
8798
    ;;
9000
    ;;
8799
9001
8800
    no)
9002
    no)
8801
    echo "$as_me:$LINENO: result: cannot find function declaration in shadow.h" >&5
9003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in shadow.h" >&5
8802
echo "${ECHO_T}cannot find function declaration in shadow.h" >&6
9004
$as_echo "cannot find function declaration in shadow.h" >&6; }
8803
    ;;
9005
    ;;
8804
9006
8805
    unknown)
9007
    unknown)
8806
    echo "$as_me:$LINENO: result: can't tell" >&5
9008
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
8807
echo "${ECHO_T}can't tell" >&6
9009
$as_echo "can't tell" >&6; }
8808
    ;;
9010
    ;;
8809
9011
8810
    *)
9012
    *)
8811
    { { echo "$as_me:$LINENO: error: internal error" >&5
9013
    as_fn_error "internal error" "$LINENO" 5
8812
echo "$as_me: error: internal error" >&2;}
8813
   { (exit 1); exit 1; }; }
8814
    ;;
9014
    ;;
8815
esac
9015
esac
8816
9016
Lines 8829-8906 Link Here
8829
9029
8830
9030
8831
if test "$_os" = "Linux"; then
9031
if test "$_os" = "Linux"; then
8832
    echo "$as_me:$LINENO: checking whether to link to libcrypt" >&5
9032
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link to libcrypt" >&5
8833
echo $ECHO_N "checking whether to link to libcrypt... $ECHO_C" >&6
9033
$as_echo_n "checking whether to link to libcrypt... " >&6; }
8834
    if test -n "$enable_crypt_link" -a "$enable_crypt_link" != "no"; then
9034
    if test -n "$enable_crypt_link" -a "$enable_crypt_link" != "no"; then
8835
        echo "$as_me:$LINENO: result: yes" >&5
9035
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8836
echo "${ECHO_T}yes" >&6
9036
$as_echo "yes" >&6; }
8837
        CRYPT_LINK=YES
9037
        CRYPT_LINK=YES
8838
9038
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
8839
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9039
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
8840
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9040
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
8841
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9041
  $as_echo_n "(cached) " >&6
8842
  echo $ECHO_N "(cached) $ECHO_C" >&6
8843
else
9042
else
8844
  ac_check_lib_save_LIBS=$LIBS
9043
  ac_check_lib_save_LIBS=$LIBS
8845
LIBS="-lcrypt  $LIBS"
9044
LIBS="-lcrypt  $LIBS"
8846
cat >conftest.$ac_ext <<_ACEOF
9045
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847
/* confdefs.h.  */
9046
/* end confdefs.h.  */
8848
_ACEOF
9047
8849
cat confdefs.h >>conftest.$ac_ext
9048
/* Override any GCC internal prototype to avoid an error.
8850
cat >>conftest.$ac_ext <<_ACEOF
9049
   Use char because int might match the return type of a GCC
8851
/* end confdefs.h.  */
9050
   builtin and then its argument prototype would still apply.  */
8852
8853
/* Override any gcc2 internal prototype to avoid an error.  */
8854
#ifdef __cplusplus
9051
#ifdef __cplusplus
8855
extern "C"
9052
extern "C"
8856
#endif
9053
#endif
8857
/* We use char because int might match the return type of a gcc2
8858
   builtin and then its argument prototype would still apply.  */
8859
char crypt ();
9054
char crypt ();
8860
int
9055
int
8861
main ()
9056
main ()
8862
{
9057
{
8863
crypt ();
9058
return crypt ();
8864
  ;
9059
  ;
8865
  return 0;
9060
  return 0;
8866
}
9061
}
8867
_ACEOF
9062
_ACEOF
8868
rm -f conftest.$ac_objext conftest$ac_exeext
9063
if ac_fn_c_try_link "$LINENO"; then :
8869
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8870
  (eval $ac_link) 2>conftest.er1
8871
  ac_status=$?
8872
  grep -v '^ *+' conftest.er1 >conftest.err
8873
  rm -f conftest.er1
8874
  cat conftest.err >&5
8875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876
  (exit $ac_status); } &&
8877
	 { ac_try='test -z "$ac_c_werror_flag"
8878
			 || test ! -s conftest.err'
8879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880
  (eval $ac_try) 2>&5
8881
  ac_status=$?
8882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883
  (exit $ac_status); }; } &&
8884
	 { ac_try='test -s conftest$ac_exeext'
8885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886
  (eval $ac_try) 2>&5
8887
  ac_status=$?
8888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
  (exit $ac_status); }; }; then
8890
  ac_cv_lib_crypt_crypt=yes
9064
  ac_cv_lib_crypt_crypt=yes
8891
else
9065
else
8892
  echo "$as_me: failed program was:" >&5
9066
  ac_cv_lib_crypt_crypt=no
8893
sed 's/^/| /' conftest.$ac_ext >&5
9067
fi
8894
9068
rm -f core conftest.err conftest.$ac_objext \
8895
ac_cv_lib_crypt_crypt=no
9069
    conftest$ac_exeext conftest.$ac_ext
8896
fi
8897
rm -f conftest.err conftest.$ac_objext \
8898
      conftest$ac_exeext conftest.$ac_ext
8899
LIBS=$ac_check_lib_save_LIBS
9070
LIBS=$ac_check_lib_save_LIBS
8900
fi
9071
fi
8901
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
8902
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9073
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
8903
if test $ac_cv_lib_crypt_crypt = yes; then
9074
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
8904
  cat >>confdefs.h <<_ACEOF
9075
  cat >>confdefs.h <<_ACEOF
8905
#define HAVE_LIBCRYPT 1
9076
#define HAVE_LIBCRYPT 1
8906
_ACEOF
9077
_ACEOF
Lines 8908-8921 Link Here
8908
  LIBS="-lcrypt $LIBS"
9079
  LIBS="-lcrypt $LIBS"
8909
9080
8910
else
9081
else
8911
  { { echo "$as_me:$LINENO: error: libcrypt not found or functional" >&5
9082
  as_fn_error "libcrypt not found or functional" "$LINENO" 5
8912
echo "$as_me: error: libcrypt not found or functional" >&2;}
8913
   { (exit 1); exit 1; }; }
8914
fi
9083
fi
8915
9084
8916
    else
9085
    else
8917
        echo "$as_me:$LINENO: result: no, dynamically open it" >&5
9086
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, dynamically open it" >&5
8918
echo "${ECHO_T}no, dynamically open it" >&6
9087
$as_echo "no, dynamically open it" >&6; }
8919
        CRYPT_LINK=NO
9088
        CRYPT_LINK=NO
8920
    fi
9089
    fi
8921
fi
9090
fi
Lines 8934-8953 Link Here
8934
fi
9103
fi
8935
9104
8936
if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9105
if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
8937
   ac_ext=cc
9106
   ac_ext=cpp
8938
ac_cpp='$CXXCPP $CPPFLAGS'
9107
ac_cpp='$CXXCPP $CPPFLAGS'
8939
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9108
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8940
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9109
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8941
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9110
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8942
if test -n "$ac_tool_prefix"; then
9111
if test -z "$CXX"; then
8943
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
9112
  if test -n "$CCC"; then
9113
    CXX=$CCC
9114
  else
9115
    if test -n "$ac_tool_prefix"; then
9116
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8944
  do
9117
  do
8945
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9118
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8946
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9119
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8947
echo "$as_me:$LINENO: checking for $ac_word" >&5
9120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9121
$as_echo_n "checking for $ac_word... " >&6; }
8949
if test "${ac_cv_prog_CXX+set}" = set; then
9122
if test "${ac_cv_prog_CXX+set}" = set; then :
8950
  echo $ECHO_N "(cached) $ECHO_C" >&6
9123
  $as_echo_n "(cached) " >&6
8951
else
9124
else
8952
  if test -n "$CXX"; then
9125
  if test -n "$CXX"; then
8953
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
9126
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
Lines 8957-8995 Link Here
8957
do
9130
do
8958
  IFS=$as_save_IFS
9131
  IFS=$as_save_IFS
8959
  test -z "$as_dir" && as_dir=.
9132
  test -z "$as_dir" && as_dir=.
8960
  for ac_exec_ext in '' $ac_executable_extensions; do
9133
    for ac_exec_ext in '' $ac_executable_extensions; do
8961
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8962
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9135
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8963
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9136
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8964
    break 2
9137
    break 2
8965
  fi
9138
  fi
8966
done
9139
done
8967
done
9140
  done
9141
IFS=$as_save_IFS
8968
9142
8969
fi
9143
fi
8970
fi
9144
fi
8971
CXX=$ac_cv_prog_CXX
9145
CXX=$ac_cv_prog_CXX
8972
if test -n "$CXX"; then
9146
if test -n "$CXX"; then
8973
  echo "$as_me:$LINENO: result: $CXX" >&5
9147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8974
echo "${ECHO_T}$CXX" >&6
9148
$as_echo "$CXX" >&6; }
8975
else
9149
else
8976
  echo "$as_me:$LINENO: result: no" >&5
9150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977
echo "${ECHO_T}no" >&6
9151
$as_echo "no" >&6; }
8978
fi
9152
fi
9153
8979
9154
8980
    test -n "$CXX" && break
9155
    test -n "$CXX" && break
8981
  done
9156
  done
8982
fi
9157
fi
8983
if test -z "$CXX"; then
9158
if test -z "$CXX"; then
8984
  ac_ct_CXX=$CXX
9159
  ac_ct_CXX=$CXX
8985
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
9160
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8986
do
9161
do
8987
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9162
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8988
set dummy $ac_prog; ac_word=$2
9163
set dummy $ac_prog; ac_word=$2
8989
echo "$as_me:$LINENO: checking for $ac_word" >&5
9164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8990
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9165
$as_echo_n "checking for $ac_word... " >&6; }
8991
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9166
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8992
  echo $ECHO_N "(cached) $ECHO_C" >&6
9167
  $as_echo_n "(cached) " >&6
8993
else
9168
else
8994
  if test -n "$ac_ct_CXX"; then
9169
  if test -n "$ac_ct_CXX"; then
8995
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9170
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
Lines 8999-9062 Link Here
8999
do
9174
do
9000
  IFS=$as_save_IFS
9175
  IFS=$as_save_IFS
9001
  test -z "$as_dir" && as_dir=.
9176
  test -z "$as_dir" && as_dir=.
9002
  for ac_exec_ext in '' $ac_executable_extensions; do
9177
    for ac_exec_ext in '' $ac_executable_extensions; do
9003
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9004
    ac_cv_prog_ac_ct_CXX="$ac_prog"
9179
    ac_cv_prog_ac_ct_CXX="$ac_prog"
9005
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9180
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006
    break 2
9181
    break 2
9007
  fi
9182
  fi
9008
done
9183
done
9009
done
9184
  done
9185
IFS=$as_save_IFS
9010
9186
9011
fi
9187
fi
9012
fi
9188
fi
9013
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9189
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9014
if test -n "$ac_ct_CXX"; then
9190
if test -n "$ac_ct_CXX"; then
9015
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9016
echo "${ECHO_T}$ac_ct_CXX" >&6
9192
$as_echo "$ac_ct_CXX" >&6; }
9017
else
9193
else
9018
  echo "$as_me:$LINENO: result: no" >&5
9194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019
echo "${ECHO_T}no" >&6
9195
$as_echo "no" >&6; }
9020
fi
9196
fi
9197
9021
9198
9022
  test -n "$ac_ct_CXX" && break
9199
  test -n "$ac_ct_CXX" && break
9023
done
9200
done
9024
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
9201
9025
9202
  if test "x$ac_ct_CXX" = x; then
9026
  CXX=$ac_ct_CXX
9203
    CXX="g++"
9027
fi
9204
  else
9028
9205
    case $cross_compiling:$ac_tool_warned in
9029
9206
yes:)
9207
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9208
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9209
ac_tool_warned=yes ;;
9210
esac
9211
    CXX=$ac_ct_CXX
9212
  fi
9213
fi
9214
9215
  fi
9216
fi
9030
# Provide some information about the compiler.
9217
# Provide some information about the compiler.
9031
echo "$as_me:$LINENO:" \
9218
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9032
     "checking for C++ compiler version" >&5
9219
set X $ac_compile
9033
ac_compiler=`set X $ac_compile; echo $2`
9220
ac_compiler=$2
9034
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9221
for ac_option in --version -v -V -qversion; do
9035
  (eval $ac_compiler --version </dev/null >&5) 2>&5
9222
  { { ac_try="$ac_compiler $ac_option >&5"
9223
case "(($ac_try" in
9224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9225
  *) ac_try_echo=$ac_try;;
9226
esac
9227
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9228
$as_echo "$ac_try_echo"; } >&5
9229
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9036
  ac_status=$?
9230
  ac_status=$?
9037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231
  if test -s conftest.err; then
9038
  (exit $ac_status); }
9232
    sed '10a\
9039
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9233
... rest of stderr output deleted ...
9040
  (eval $ac_compiler -v </dev/null >&5) 2>&5
9234
         10q' conftest.err >conftest.er1
9041
  ac_status=$?
9235
    cat conftest.er1 >&5
9042
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236
  fi
9043
  (exit $ac_status); }
9237
  rm -f conftest.er1 conftest.err
9044
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9238
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9045
  (eval $ac_compiler -V </dev/null >&5) 2>&5
9239
  test $ac_status = 0; }
9046
  ac_status=$?
9240
done
9047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241
9048
  (exit $ac_status); }
9242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9049
9243
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9050
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9244
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9051
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
9245
  $as_echo_n "(cached) " >&6
9052
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9246
else
9053
  echo $ECHO_N "(cached) $ECHO_C" >&6
9247
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9054
else
9055
  cat >conftest.$ac_ext <<_ACEOF
9056
/* confdefs.h.  */
9057
_ACEOF
9058
cat confdefs.h >>conftest.$ac_ext
9059
cat >>conftest.$ac_ext <<_ACEOF
9060
/* end confdefs.h.  */
9248
/* end confdefs.h.  */
9061
9249
9062
int
9250
int
Lines 9070-9167 Link Here
9070
  return 0;
9258
  return 0;
9071
}
9259
}
9072
_ACEOF
9260
_ACEOF
9073
rm -f conftest.$ac_objext
9261
if ac_fn_cxx_try_compile "$LINENO"; then :
9074
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075
  (eval $ac_compile) 2>conftest.er1
9076
  ac_status=$?
9077
  grep -v '^ *+' conftest.er1 >conftest.err
9078
  rm -f conftest.er1
9079
  cat conftest.err >&5
9080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081
  (exit $ac_status); } &&
9082
	 { ac_try='test -z "$ac_cxx_werror_flag"
9083
			 || test ! -s conftest.err'
9084
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085
  (eval $ac_try) 2>&5
9086
  ac_status=$?
9087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088
  (exit $ac_status); }; } &&
9089
	 { ac_try='test -s conftest.$ac_objext'
9090
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091
  (eval $ac_try) 2>&5
9092
  ac_status=$?
9093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094
  (exit $ac_status); }; }; then
9095
  ac_compiler_gnu=yes
9262
  ac_compiler_gnu=yes
9096
else
9263
else
9097
  echo "$as_me: failed program was:" >&5
9264
  ac_compiler_gnu=no
9098
sed 's/^/| /' conftest.$ac_ext >&5
9265
fi
9099
9266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9100
ac_compiler_gnu=no
9101
fi
9102
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9103
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9267
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9104
9268
9105
fi
9269
fi
9106
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9107
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
9271
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9108
GXX=`test $ac_compiler_gnu = yes && echo yes`
9272
if test $ac_compiler_gnu = yes; then
9273
  GXX=yes
9274
else
9275
  GXX=
9276
fi
9109
ac_test_CXXFLAGS=${CXXFLAGS+set}
9277
ac_test_CXXFLAGS=${CXXFLAGS+set}
9110
ac_save_CXXFLAGS=$CXXFLAGS
9278
ac_save_CXXFLAGS=$CXXFLAGS
9111
CXXFLAGS="-g"
9279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9112
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9280
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
9113
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
9281
if test "${ac_cv_prog_cxx_g+set}" = set; then :
9114
if test "${ac_cv_prog_cxx_g+set}" = set; then
9282
  $as_echo_n "(cached) " >&6
9115
  echo $ECHO_N "(cached) $ECHO_C" >&6
9283
else
9116
else
9284
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9117
  cat >conftest.$ac_ext <<_ACEOF
9285
   ac_cxx_werror_flag=yes
9118
/* confdefs.h.  */
9286
   ac_cv_prog_cxx_g=no
9119
_ACEOF
9287
   CXXFLAGS="-g"
9120
cat confdefs.h >>conftest.$ac_ext
9288
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121
cat >>conftest.$ac_ext <<_ACEOF
9289
/* end confdefs.h.  */
9122
/* end confdefs.h.  */
9290
9123
9291
int
9124
int
9292
main ()
9125
main ()
9293
{
9126
{
9294
9127
9295
  ;
9128
  ;
9296
  return 0;
9129
  return 0;
9297
}
9130
}
9298
_ACEOF
9131
_ACEOF
9299
if ac_fn_cxx_try_compile "$LINENO"; then :
9132
rm -f conftest.$ac_objext
9133
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9134
  (eval $ac_compile) 2>conftest.er1
9135
  ac_status=$?
9136
  grep -v '^ *+' conftest.er1 >conftest.err
9137
  rm -f conftest.er1
9138
  cat conftest.err >&5
9139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140
  (exit $ac_status); } &&
9141
	 { ac_try='test -z "$ac_cxx_werror_flag"
9142
			 || test ! -s conftest.err'
9143
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144
  (eval $ac_try) 2>&5
9145
  ac_status=$?
9146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147
  (exit $ac_status); }; } &&
9148
	 { ac_try='test -s conftest.$ac_objext'
9149
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150
  (eval $ac_try) 2>&5
9151
  ac_status=$?
9152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153
  (exit $ac_status); }; }; then
9154
  ac_cv_prog_cxx_g=yes
9300
  ac_cv_prog_cxx_g=yes
9155
else
9301
else
9156
  echo "$as_me: failed program was:" >&5
9302
  CXXFLAGS=""
9157
sed 's/^/| /' conftest.$ac_ext >&5
9303
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158
9304
/* end confdefs.h.  */
9159
ac_cv_prog_cxx_g=no
9305
9160
fi
9306
int
9161
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9307
main ()
9162
fi
9308
{
9163
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9309
9164
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
9310
  ;
9311
  return 0;
9312
}
9313
_ACEOF
9314
if ac_fn_cxx_try_compile "$LINENO"; then :
9315
9316
else
9317
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9318
	 CXXFLAGS="-g"
9319
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320
/* end confdefs.h.  */
9321
9322
int
9323
main ()
9324
{
9325
9326
  ;
9327
  return 0;
9328
}
9329
_ACEOF
9330
if ac_fn_cxx_try_compile "$LINENO"; then :
9331
  ac_cv_prog_cxx_g=yes
9332
fi
9333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334
fi
9335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9336
fi
9337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9339
fi
9340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9341
$as_echo "$ac_cv_prog_cxx_g" >&6; }
9165
if test "$ac_test_CXXFLAGS" = set; then
9342
if test "$ac_test_CXXFLAGS" = set; then
9166
  CXXFLAGS=$ac_save_CXXFLAGS
9343
  CXXFLAGS=$ac_save_CXXFLAGS
9167
elif test $ac_cv_prog_cxx_g = yes; then
9344
elif test $ac_cv_prog_cxx_g = yes; then
Lines 9177-9288 Link Here
9177
    CXXFLAGS=
9354
    CXXFLAGS=
9178
  fi
9355
  fi
9179
fi
9356
fi
9180
for ac_declaration in \
9181
   '' \
9182
   'extern "C" void std::exit (int) throw (); using std::exit;' \
9183
   'extern "C" void std::exit (int); using std::exit;' \
9184
   'extern "C" void exit (int) throw ();' \
9185
   'extern "C" void exit (int);' \
9186
   'void exit (int);'
9187
do
9188
  cat >conftest.$ac_ext <<_ACEOF
9189
/* confdefs.h.  */
9190
_ACEOF
9191
cat confdefs.h >>conftest.$ac_ext
9192
cat >>conftest.$ac_ext <<_ACEOF
9193
/* end confdefs.h.  */
9194
$ac_declaration
9195
#include <stdlib.h>
9196
int
9197
main ()
9198
{
9199
exit (42);
9200
  ;
9201
  return 0;
9202
}
9203
_ACEOF
9204
rm -f conftest.$ac_objext
9205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9206
  (eval $ac_compile) 2>conftest.er1
9207
  ac_status=$?
9208
  grep -v '^ *+' conftest.er1 >conftest.err
9209
  rm -f conftest.er1
9210
  cat conftest.err >&5
9211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212
  (exit $ac_status); } &&
9213
	 { ac_try='test -z "$ac_cxx_werror_flag"
9214
			 || test ! -s conftest.err'
9215
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216
  (eval $ac_try) 2>&5
9217
  ac_status=$?
9218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219
  (exit $ac_status); }; } &&
9220
	 { ac_try='test -s conftest.$ac_objext'
9221
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222
  (eval $ac_try) 2>&5
9223
  ac_status=$?
9224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225
  (exit $ac_status); }; }; then
9226
  :
9227
else
9228
  echo "$as_me: failed program was:" >&5
9229
sed 's/^/| /' conftest.$ac_ext >&5
9230
9231
continue
9232
fi
9233
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9234
  cat >conftest.$ac_ext <<_ACEOF
9235
/* confdefs.h.  */
9236
_ACEOF
9237
cat confdefs.h >>conftest.$ac_ext
9238
cat >>conftest.$ac_ext <<_ACEOF
9239
/* end confdefs.h.  */
9240
$ac_declaration
9241
int
9242
main ()
9243
{
9244
exit (42);
9245
  ;
9246
  return 0;
9247
}
9248
_ACEOF
9249
rm -f conftest.$ac_objext
9250
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9251
  (eval $ac_compile) 2>conftest.er1
9252
  ac_status=$?
9253
  grep -v '^ *+' conftest.er1 >conftest.err
9254
  rm -f conftest.er1
9255
  cat conftest.err >&5
9256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257
  (exit $ac_status); } &&
9258
	 { ac_try='test -z "$ac_cxx_werror_flag"
9259
			 || test ! -s conftest.err'
9260
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261
  (eval $ac_try) 2>&5
9262
  ac_status=$?
9263
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264
  (exit $ac_status); }; } &&
9265
	 { ac_try='test -s conftest.$ac_objext'
9266
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267
  (eval $ac_try) 2>&5
9268
  ac_status=$?
9269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270
  (exit $ac_status); }; }; then
9271
  break
9272
else
9273
  echo "$as_me: failed program was:" >&5
9274
sed 's/^/| /' conftest.$ac_ext >&5
9275
9276
fi
9277
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9278
done
9279
rm -f conftest*
9280
if test -n "$ac_declaration"; then
9281
  echo '#ifdef __cplusplus' >>confdefs.h
9282
  echo $ac_declaration      >>confdefs.h
9283
  echo '#endif'             >>confdefs.h
9284
fi
9285
9286
ac_ext=c
9357
ac_ext=c
9287
ac_cpp='$CPP $CPPFLAGS'
9358
ac_cpp='$CPP $CPPFLAGS'
9288
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9359
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lines 9292-9323 Link Here
9292
fi
9363
fi
9293
9364
9294
if test "$GXX" = "yes"; then
9365
if test "$GXX" = "yes"; then
9295
   echo "$as_me:$LINENO: checking the GNU C++ compiler version" >&5
9366
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GNU C++ compiler version" >&5
9296
echo $ECHO_N "checking the GNU C++ compiler version... $ECHO_C" >&6
9367
$as_echo_n "checking the GNU C++ compiler version... " >&6; }
9297
9368
9298
   _gpp_version=`$CXX -dumpversion`
9369
   _gpp_version=`$CXX -dumpversion`
9299
   _gpp_major=`echo $_gpp_version | $AWK -F. '{ print \$1 }'`
9370
   _gpp_major=`echo $_gpp_version | $AWK -F. '{ print \$1 }'`
9300
   _gpp_minor=`echo $_gpp_version | $AWK -F. '{ print \$2 }'`
9371
   _gpp_minor=`echo $_gpp_version | $AWK -F. '{ print \$2 }'`
9301
9372
9302
   echo "$as_me:$LINENO: result: checked (g++ $_gpp_version)" >&5
9373
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (g++ $_gpp_version)" >&5
9303
echo "${ECHO_T}checked (g++ $_gpp_version)" >&6
9374
$as_echo "checked (g++ $_gpp_version)" >&6; }
9304
9375
9305
   if test "$_gpp_major" = "3"; then
9376
   if test "$_gpp_major" = "3"; then
9306
      if test "$_gpp_minor" = "4"; then
9377
      if test "$_gpp_minor" = "4"; then
9307
         echo "$as_me:$LINENO: checking whether $CXX has the enum bug" >&5
9378
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX has the enum bug" >&5
9308
echo $ECHO_N "checking whether $CXX has the enum bug... $ECHO_C" >&6
9379
$as_echo_n "checking whether $CXX has the enum bug... " >&6; }
9309
if test "$cross_compiling" = yes; then
9380
if test "$cross_compiling" = yes; then :
9310
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9381
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9311
See \`config.log' for more details." >&5
9382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9312
echo "$as_me: error: cannot run test program while cross compiling
9383
as_fn_error "cannot run test program while cross compiling
9313
See \`config.log' for more details." >&2;}
9384
See \`config.log' for more details." "$LINENO" 5; }
9314
   { (exit 1); exit 1; }; }
9385
else
9315
else
9386
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316
  cat >conftest.$ac_ext <<_ACEOF
9317
/* confdefs.h.  */
9318
_ACEOF
9319
cat confdefs.h >>conftest.$ac_ext
9320
cat >>conftest.$ac_ext <<_ACEOF
9321
/* end confdefs.h.  */
9387
/* end confdefs.h.  */
9322
9388
9323
extern "C" void abort (void);
9389
extern "C" void abort (void);
Lines 9342-9372 Link Here
9342
}
9408
}
9343
9409
9344
_ACEOF
9410
_ACEOF
9345
rm -f conftest$ac_exeext
9411
if ac_fn_c_try_run "$LINENO"; then :
9346
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9412
  as_fn_error "your version of the GNU C++ compile has a bug which prevents OpenOffice.org from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details." "$LINENO" 5
9347
  (eval $ac_link) 2>&5
9413
else
9348
  ac_status=$?
9414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415
$as_echo "no" >&6; }
9350
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9416
fi
9351
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9352
  (eval $ac_try) 2>&5
9418
  conftest.$ac_objext conftest.beam conftest.$ac_ext
9353
  ac_status=$?
9419
fi
9354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420
9355
  (exit $ac_status); }; }; then
9356
  { { echo "$as_me:$LINENO: error: your version of the GNU C++ compile has a bug which prevents OpenOffice.org from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details." >&5
9357
echo "$as_me: error: your version of the GNU C++ compile has a bug which prevents OpenOffice.org from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details." >&2;}
9358
   { (exit 1); exit 1; }; }
9359
else
9360
  echo "$as_me: program exited with status $ac_status" >&5
9361
echo "$as_me: failed program was:" >&5
9362
sed 's/^/| /' conftest.$ac_ext >&5
9363
9364
( exit $ac_status )
9365
echo "$as_me:$LINENO: result: no" >&5
9366
echo "${ECHO_T}no" >&6
9367
fi
9368
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9369
fi
9370
      fi
9421
      fi
9371
   fi
9422
   fi
9372
fi
9423
fi
Lines 9374-9381 Link Here
9374
# Removed the special FreeBSD treatment. The problem was that with_gxx_include_path
9425
# Removed the special FreeBSD treatment. The problem was that with_gxx_include_path
9375
# often contains an i386 which is expanded as a macro. Solved in stlport.
9426
# often contains an i386 which is expanded as a macro. Solved in stlport.
9376
if test "$GXX" = "yes"; then
9427
if test "$GXX" = "yes"; then
9377
   echo "$as_me:$LINENO: checking for g++ include path" >&5
9428
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ include path" >&5
9378
echo $ECHO_N "checking for g++ include path... $ECHO_C" >&6
9429
$as_echo_n "checking for g++ include path... " >&6; }
9379
   if test -z "$with_gxx_include_path"; then
9430
   if test -z "$with_gxx_include_path"; then
9380
      with_gxx_include_path=`echo "#include <cstring>" | $CXX -E -xc++ - | $SED -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
9431
      with_gxx_include_path=`echo "#include <cstring>" | $CXX -E -xc++ - | $SED -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
9381
      if test "$with_gxx_include_path" = "/usr/libexec/(null)/include"; then
9432
      if test "$with_gxx_include_path" = "/usr/libexec/(null)/include"; then
Lines 9393-9410 Link Here
9393
fi
9444
fi
9394
if test -z "$with_gxx_include_path"; then
9445
if test -z "$with_gxx_include_path"; then
9395
   with_gxx_include_path="NO_GXX_INCLUDE"
9446
   with_gxx_include_path="NO_GXX_INCLUDE"
9396
   echo "$as_me:$LINENO: result: no g++ includes" >&5
9447
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no g++ includes" >&5
9397
echo "${ECHO_T}no g++ includes" >&6
9448
$as_echo "no g++ includes" >&6; }
9398
else
9449
else
9399
   echo "$as_me:$LINENO: result: $with_gxx_include_path" >&5
9450
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gxx_include_path" >&5
9400
echo "${ECHO_T}$with_gxx_include_path" >&6
9451
$as_echo "$with_gxx_include_path" >&6; }
9401
fi
9452
fi
9402
GXX_INCLUDE_PATH="$with_gxx_include_path"
9453
GXX_INCLUDE_PATH="$with_gxx_include_path"
9403
9454
9404
9455
9405
if test "$WITH_MINGWIN" = "yes"; then
9456
if test "$WITH_MINGWIN" = "yes"; then
9406
   echo "$as_me:$LINENO: checking for mingwin runtime include path" >&5
9457
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mingwin runtime include path" >&5
9407
echo $ECHO_N "checking for mingwin runtime include path... $ECHO_C" >&6
9458
$as_echo_n "checking for mingwin runtime include path... " >&6; }
9408
   cat >conftest.$ac_ext <<_ACEOF
9459
   cat >conftest.$ac_ext <<_ACEOF
9409
#include <stddef.h>
9460
#include <stddef.h>
9410
#include <bits/c++config.h>
9461
#include <bits/c++config.h>
Lines 9422-9437 Link Here
9422
   fi
9473
   fi
9423
   if test -z "$_mingw_lib_include_path"; then
9474
   if test -z "$_mingw_lib_include_path"; then
9424
      _mingw_lib_include_path="NO_LIB_INCLUDE"
9475
      _mingw_lib_include_path="NO_LIB_INCLUDE"
9425
      echo "$as_me:$LINENO: result: no mingwin runtime includes" >&5
9476
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no mingwin runtime includes" >&5
9426
echo "${ECHO_T}no mingwin runtime includes" >&6
9477
$as_echo "no mingwin runtime includes" >&6; }
9427
   else
9478
   else
9428
      echo "$as_me:$LINENO: result: $_mingw_lib_include_path" >&5
9479
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_mingw_lib_include_path" >&5
9429
echo "${ECHO_T}$_mingw_lib_include_path" >&6
9480
$as_echo "$_mingw_lib_include_path" >&6; }
9430
   fi
9481
   fi
9431
  MINGW_LIB_INCLUDE_PATH="$_mingw_lib_include_path"
9482
  MINGW_LIB_INCLUDE_PATH="$_mingw_lib_include_path"
9432
9483
9433
   echo "$as_me:$LINENO: checking for mingwin c++ backward include path" >&5
9484
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mingwin c++ backward include path" >&5
9434
echo $ECHO_N "checking for mingwin c++ backward include path... $ECHO_C" >&6
9485
$as_echo_n "checking for mingwin c++ backward include path... " >&6; }
9435
   cat >conftest.$ac_ext <<_ACEOF
9486
   cat >conftest.$ac_ext <<_ACEOF
9436
#include <hash_set>
9487
#include <hash_set>
9437
_ACEOF
9488
_ACEOF
Lines 9440-9496 Link Here
9440
   if test -n "$_mingw_backward_include_path"; then
9491
   if test -n "$_mingw_backward_include_path"; then
9441
      _mingw_backward_include_path=`cygpath -d $_mingw_backward_include_path`
9492
      _mingw_backward_include_path=`cygpath -d $_mingw_backward_include_path`
9442
      _mingw_backward_include_path=`cygpath -u $_mingw_backward_include_path`
9493
      _mingw_backward_include_path=`cygpath -u $_mingw_backward_include_path`
9443
      echo "$as_me:$LINENO: result: $_mingw_backward_include_path" >&5
9494
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_mingw_backward_include_path" >&5
9444
echo "${ECHO_T}$_mingw_backward_include_path" >&6
9495
$as_echo "$_mingw_backward_include_path" >&6; }
9445
   else
9496
   else
9446
      _mingw_backward_include_path="NO_BACKWARD_INCLUDE"
9497
      _mingw_backward_include_path="NO_BACKWARD_INCLUDE"
9447
      echo "$as_me:$LINENO: result: no mingwin c++ backward includes" >&5
9498
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no mingwin c++ backward includes" >&5
9448
echo "${ECHO_T}no mingwin c++ backward includes" >&6
9499
$as_echo "no mingwin c++ backward includes" >&6; }
9449
   fi
9500
   fi
9450
  MINGW_BACKWARD_INCLUDE_PATH="$_mingw_backward_include_path"
9501
  MINGW_BACKWARD_INCLUDE_PATH="$_mingw_backward_include_path"
9451
9502
9452
  mingw_crtbegin=`$CC -print-file-name=crtbegin.o`
9503
  mingw_crtbegin=`$CC -print-file-name=crtbegin.o`
9453
  MINGW_CLIB_DIR=`dirname $mingw_crtbegin`
9504
  MINGW_CLIB_DIR=`dirname $mingw_crtbegin`
9454
  echo "$as_me:$LINENO: checking whether to use dynamic libgcc" >&5
9505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use dynamic libgcc" >&5
9455
echo $ECHO_N "checking whether to use dynamic libgcc... $ECHO_C" >&6
9506
$as_echo_n "checking whether to use dynamic libgcc... " >&6; }
9456
  if test -e "$MINGW_CLIB_DIR/libgcc_s.a"; then
9507
  if test -e "$MINGW_CLIB_DIR/libgcc_s.a"; then
9457
    echo "$as_me:$LINENO: checking dynamic libgcc name" >&5
9508
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic libgcc name" >&5
9458
echo $ECHO_N "checking dynamic libgcc name... $ECHO_C" >&6
9509
$as_echo_n "checking dynamic libgcc name... " >&6; }
9459
    MINGW_GCCDLL_pattern=`nm $MINGW_CLIB_DIR/libgcc_s.a | sed -ne 's@.* _libgcc\(.*\)_dll_iname@libgcc\1.dll@p' | uniq | sed -e 's@_@?@g'`
9510
    MINGW_GCCDLL_pattern=`nm $MINGW_CLIB_DIR/libgcc_s.a | sed -ne 's@.* _libgcc\(.*\)_dll_iname@libgcc\1.dll@p' | uniq | sed -e 's@_@?@g'`
9460
    MINGW_GCCDLL=`cd $COMPATH/bin && ls $MINGW_GCCDLL_pattern 2>/dev/null`
9511
    MINGW_GCCDLL=`cd $COMPATH/bin && ls $MINGW_GCCDLL_pattern 2>/dev/null`
9461
    if test -n "$MINGW_GCCDLL"; then
9512
    if test -n "$MINGW_GCCDLL"; then
9462
        MINGW_SHARED_GCCLIB=YES
9513
        MINGW_SHARED_GCCLIB=YES
9463
        echo "$as_me:$LINENO: result: use $MINGW_GCCDLL" >&5
9514
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: use $MINGW_GCCDLL" >&5
9464
echo "${ECHO_T}use $MINGW_GCCDLL" >&6
9515
$as_echo "use $MINGW_GCCDLL" >&6; }
9465
    else
9516
    else
9466
        echo "$as_me:$LINENO: result: no" >&5
9517
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9467
echo "${ECHO_T}no" >&6
9518
$as_echo "no" >&6; }
9468
    fi
9519
    fi
9469
  else
9520
  else
9470
    echo "$as_me:$LINENO: result: no" >&5
9521
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9471
echo "${ECHO_T}no" >&6
9522
$as_echo "no" >&6; }
9472
  fi
9523
  fi
9473
  if test -e "$MINGW_CLIB_DIR/libgcc_eh.a"; then
9524
  if test -e "$MINGW_CLIB_DIR/libgcc_eh.a"; then
9474
      MINGW_GCCLIB_EH=YES
9525
      MINGW_GCCLIB_EH=YES
9475
  fi
9526
  fi
9476
  echo "$as_me:$LINENO: checking whether to use dynamic libstdc++" >&5
9527
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use dynamic libstdc++" >&5
9477
echo $ECHO_N "checking whether to use dynamic libstdc++... $ECHO_C" >&6
9528
$as_echo_n "checking whether to use dynamic libstdc++... " >&6; }
9478
  if test -e "$MINGW_CLIB_DIR/libstdc++_s.a" ; then
9529
  if test -e "$MINGW_CLIB_DIR/libstdc++_s.a" ; then
9479
    echo "$as_me:$LINENO: checking dynamic libstdc++ name" >&5
9530
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic libstdc++ name" >&5
9480
echo $ECHO_N "checking dynamic libstdc++ name... $ECHO_C" >&6
9531
$as_echo_n "checking dynamic libstdc++ name... " >&6; }
9481
    MINGW_GXXDLL_pattern=`nm $MINGW_CLIB_DIR/libstdc++_s.a | sed -ne 's@.* _libstdc__\(.*\)_dll_iname@libstdc++\1.dll@p' | uniq | sed -e 's@_@?@g'`
9532
    MINGW_GXXDLL_pattern=`nm $MINGW_CLIB_DIR/libstdc++_s.a | sed -ne 's@.* _libstdc__\(.*\)_dll_iname@libstdc++\1.dll@p' | uniq | sed -e 's@_@?@g'`
9482
    MINGW_GXXDLL=`cd $COMPATH/bin && ls $MINGW_GXXDLL_pattern 2>/dev/null`
9533
    MINGW_GXXDLL=`cd $COMPATH/bin && ls $MINGW_GXXDLL_pattern 2>/dev/null`
9483
    if test -n "$MINGW_GXXDLL"; then
9534
    if test -n "$MINGW_GXXDLL"; then
9484
        MINGW_SHARED_GXXLIB=YES
9535
        MINGW_SHARED_GXXLIB=YES
9485
        echo "$as_me:$LINENO: result: use $MINGW_GXXDLL" >&5
9536
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: use $MINGW_GXXDLL" >&5
9486
echo "${ECHO_T}use $MINGW_GXXDLL" >&6
9537
$as_echo "use $MINGW_GXXDLL" >&6; }
9487
    else
9538
    else
9488
        echo "$as_me:$LINENO: result: no" >&5
9539
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9489
echo "${ECHO_T}no" >&6
9540
$as_echo "no" >&6; }
9490
    fi
9541
    fi
9491
  else
9542
  else
9492
    echo "$as_me:$LINENO: result: no" >&5
9543
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493
echo "${ECHO_T}no" >&6
9544
$as_echo "no" >&6; }
9494
  fi
9545
  fi
9495
  MINGW_CLIB_DIR=`cygpath $MINGW_CLIB_DIR`
9546
  MINGW_CLIB_DIR=`cygpath $MINGW_CLIB_DIR`
9496
9547
Lines 9503-9552 Link Here
9503
9554
9504
if test "$_os" = "SunOS"; then
9555
if test "$_os" = "SunOS"; then
9505
      if test "$CC" = "cc"; then
9556
      if test "$CC" = "cc"; then
9506
   echo "$as_me:$LINENO: checking SunStudio C++ Compiler" >&5
9557
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking SunStudio C++ Compiler" >&5
9507
echo $ECHO_N "checking SunStudio C++ Compiler... $ECHO_C" >&6
9558
$as_echo_n "checking SunStudio C++ Compiler... " >&6; }
9508
      if test "$CXX" != "CC"; then
9559
      if test "$CXX" != "CC"; then
9509
         { echo "$as_me:$LINENO: WARNING: SunStudio C++ was not found" >&5
9560
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SunStudio C++ was not found" >&5
9510
echo "$as_me: WARNING: SunStudio C++ was not found" >&2;}
9561
$as_echo "$as_me: WARNING: SunStudio C++ was not found" >&2;}
9511
         echo "SunStudio C++ was not found" >> warn
9562
         echo "SunStudio C++ was not found" >> warn
9512
      else
9563
      else
9513
         echo "$as_me:$LINENO: result: checked" >&5
9564
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9514
echo "${ECHO_T}checked" >&6
9565
$as_echo "checked" >&6; }
9515
      fi
9566
      fi
9516
   fi
9567
   fi
9517
fi
9568
fi
9518
if test "$_os" = "Darwin"; then
9569
if test "$_os" = "Darwin"; then
9519
      if test "$CC" = "cc"; then
9570
      if test "$CC" = "cc"; then
9520
      echo "$as_me:$LINENO: checking Macosx c++ Compiler" >&5
9571
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking Macosx c++ Compiler" >&5
9521
echo $ECHO_N "checking Macosx c++ Compiler... $ECHO_C" >&6
9572
$as_echo_n "checking Macosx c++ Compiler... " >&6; }
9522
      if test "$CXX" != "c++"; then
9573
      if test "$CXX" != "c++"; then
9523
         { echo "$as_me:$LINENO: WARNING: Macosx C++ was not found" >&5
9574
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Macosx C++ was not found" >&5
9524
echo "$as_me: WARNING: Macosx C++ was not found" >&2;}
9575
$as_echo "$as_me: WARNING: Macosx C++ was not found" >&2;}
9525
         echo "Macosx C++ was not found" >> warn
9576
         echo "Macosx C++ was not found" >> warn
9526
      else
9577
      else
9527
         echo "$as_me:$LINENO: result: checked" >&5
9578
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9528
echo "${ECHO_T}checked" >&6
9579
$as_echo "checked" >&6; }
9529
      fi
9580
      fi
9530
   fi
9581
   fi
9531
fi
9582
fi
9532
if test "$_os" = "OSF1"; then
9583
if test "$_os" = "OSF1"; then
9533
   echo "$as_me:$LINENO: checking Compaq C++ compiler version" >&5
9584
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Compaq C++ compiler version" >&5
9534
echo $ECHO_N "checking Compaq C++ compiler version... $ECHO_C" >&6
9585
$as_echo_n "checking Compaq C++ compiler version... " >&6; }
9535
      _compaqcxx_version=`$CXX -V 2>&1 | $AWK '{ print $3 }'`
9586
      _compaqcxx_version=`$CXX -V 2>&1 | $AWK '{ print $3 }'`
9536
   _compaqcxx_major=`echo $_compaqcxx_version | $AWK -F. '{ print $1 }'`
9587
   _compaqcxx_major=`echo $_compaqcxx_version | $AWK -F. '{ print $1 }'`
9537
   if test "$_compaqcxx_major" != "V6"; then
9588
   if test "$_compaqcxx_major" != "V6"; then
9538
      { echo "$as_me:$LINENO: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&5
9589
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&5
9539
echo "$as_me: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&2;}
9590
$as_echo "$as_me: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&2;}
9540
      echo "found version $_compaqc_version, use version 6 of the Compaq C++ compiler" >> warn
9591
      echo "found version $_compaqc_version, use version 6 of the Compaq C++ compiler" >> warn
9541
   else
9592
   else
9542
            echo "$as_me:$LINENO: result: checked" >&5
9593
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9543
echo "${ECHO_T}checked" >&6
9594
$as_echo "checked" >&6; }
9544
   fi
9595
   fi
9545
fi
9596
fi
9546
9597
9547
echo "$as_me:$LINENO: checking exception type" >&5
9598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking exception type" >&5
9548
echo $ECHO_N "checking exception type... $ECHO_C" >&6
9599
$as_echo_n "checking exception type... " >&6; }
9549
ac_ext=cc
9600
ac_ext=cpp
9550
ac_cpp='$CXXCPP $CPPFLAGS'
9601
ac_cpp='$CXXCPP $CPPFLAGS'
9551
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9602
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9552
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9603
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 9554-9564 Link Here
9554
9605
9555
if test "$WITH_MINGWIN" = "yes"; then
9606
if test "$WITH_MINGWIN" = "yes"; then
9556
9607
9557
cat >conftest.$ac_ext <<_ACEOF
9608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558
/* confdefs.h.  */
9559
_ACEOF
9560
cat confdefs.h >>conftest.$ac_ext
9561
cat >>conftest.$ac_ext <<_ACEOF
9562
/* end confdefs.h.  */
9609
/* end confdefs.h.  */
9563
#include <iostream>
9610
#include <iostream>
9564
9611
Lines 9573-9614 Link Here
9573
  return 0;
9620
  return 0;
9574
}
9621
}
9575
_ACEOF
9622
_ACEOF
9576
rm -f conftest.$ac_objext conftest$ac_exeext
9623
if ac_fn_cxx_try_link "$LINENO"; then :
9577
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9578
  (eval $ac_link) 2>conftest.er1
9579
  ac_status=$?
9580
  grep -v '^ *+' conftest.er1 >conftest.err
9581
  rm -f conftest.er1
9582
  cat conftest.err >&5
9583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584
  (exit $ac_status); } &&
9585
	 { ac_try='test -z "$ac_cxx_werror_flag"
9586
			 || test ! -s conftest.err'
9587
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588
  (eval $ac_try) 2>&5
9589
  ac_status=$?
9590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591
  (exit $ac_status); }; } &&
9592
	 { ac_try='test -s conftest$ac_exeext'
9593
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9594
  (eval $ac_try) 2>&5
9595
  ac_status=$?
9596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597
  (exit $ac_status); }; }; then
9598
  exceptions_type="sjlj"
9624
  exceptions_type="sjlj"
9599
else
9625
else
9600
  echo "$as_me: failed program was:" >&5
9626
  exceptions_type="dwarf2"
9601
sed 's/^/| /' conftest.$ac_ext >&5
9627
9602
9628
fi
9603
exceptions_type="dwarf2"
9629
rm -f core conftest.err conftest.$ac_objext \
9604
9630
    conftest$ac_exeext conftest.$ac_ext
9605
fi
9631
fi
9606
rm -f conftest.err conftest.$ac_objext \
9632
9607
      conftest$ac_exeext conftest.$ac_ext
9633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $exceptions_type" >&5
9608
fi
9634
$as_echo "$exceptions_type" >&6; }
9609
9610
echo "$as_me:$LINENO: result: $exceptions_type" >&5
9611
echo "${ECHO_T}$exceptions_type" >&6
9612
ac_ext=c
9635
ac_ext=c
9613
ac_cpp='$CPP $CPPFLAGS'
9636
ac_cpp='$CPP $CPPFLAGS'
9614
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9637
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lines 9621-9628 Link Here
9621
if test "$_os" = "SunOS"; then
9644
if test "$_os" = "SunOS"; then
9622
   _temp=`showrev -p | $AWK -F" " '{ print $2 }'`
9645
   _temp=`showrev -p | $AWK -F" " '{ print $2 }'`
9623
   if test "$_os_release" = "7"; then
9646
   if test "$_os_release" = "7"; then
9624
                        echo "$as_me:$LINENO: checking for patch 106327-06 or greater" >&5
9647
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for patch 106327-06 or greater" >&5
9625
echo $ECHO_N "checking for patch 106327-06 or greater... $ECHO_C" >&6
9648
$as_echo_n "checking for patch 106327-06 or greater... " >&6; }
9626
      _patch=`echo $_temp | $AWK '/106327-06/ { print "found" }'`
9649
      _patch=`echo $_temp | $AWK '/106327-06/ { print "found" }'`
9627
      _patch="false"
9650
      _patch="false"
9628
      for i in $_temp
9651
      for i in $_temp
Lines 9636-9650 Link Here
9636
        fi
9659
        fi
9637
      done
9660
      done
9638
      if test "$_patch" = "found"; then
9661
      if test "$_patch" = "found"; then
9639
         echo "$as_me:$LINENO: result: found" >&5
9662
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
9640
echo "${ECHO_T}found" >&6
9663
$as_echo "found" >&6; }
9641
      else
9664
      else
9642
         { echo "$as_me:$LINENO: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&5
9665
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&5
9643
echo "$as_me: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&2;}
9666
$as_echo "$as_me: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&2;}
9644
         echo "patch 106327-06 not found, please install compiler patch 106327-06 or greater" >> warn
9667
         echo "patch 106327-06 not found, please install compiler patch 106327-06 or greater" >> warn
9645
      fi
9668
      fi
9646
                        echo "$as_me:$LINENO: checking for patch 106950-11 or greater" >&5
9669
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for patch 106950-11 or greater" >&5
9647
echo $ECHO_N "checking for patch 106950-11 or greater... $ECHO_C" >&6
9670
$as_echo_n "checking for patch 106950-11 or greater... " >&6; }
9648
      _patch=`echo $_temp | $AWK '/106950-11/ { print "found" }'`
9671
      _patch=`echo $_temp | $AWK '/106950-11/ { print "found" }'`
9649
      _patch="false"
9672
      _patch="false"
9650
      for i in $_temp
9673
      for i in $_temp
Lines 9658-9674 Link Here
9658
         fi
9681
         fi
9659
      done
9682
      done
9660
      if test "$_patch" = "found"; then
9683
      if test "$_patch" = "found"; then
9661
         echo "$as_me:$LINENO: result: found" >&5
9684
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
9662
echo "${ECHO_T}found" >&6
9685
$as_echo "found" >&6; }
9663
      else
9686
      else
9664
         { echo "$as_me:$LINENO: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&5
9687
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&5
9665
echo "$as_me: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&2;}
9688
$as_echo "$as_me: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&2;}
9666
         echo "patch 106950-11 not found, please install linker patch 106950-11 or greater" >> warn
9689
         echo "patch 106950-11 not found, please install linker patch 106950-11 or greater" >> warn
9667
      fi
9690
      fi
9668
   else
9691
   else
9669
      if test "$_os_release" = "6"; then
9692
      if test "$_os_release" = "6"; then
9670
                                    echo "$as_me:$LINENO: checking for patch 105591-09 or greater" >&5
9693
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for patch 105591-09 or greater" >&5
9671
echo $ECHO_N "checking for patch 105591-09 or greater... $ECHO_C" >&6
9694
$as_echo_n "checking for patch 105591-09 or greater... " >&6; }
9672
         _patch=`echo $_temp | $AWK '/105591-09/ { print "found" }'`
9695
         _patch=`echo $_temp | $AWK '/105591-09/ { print "found" }'`
9673
         _patch="false"
9696
         _patch="false"
9674
         for i in $_temp
9697
         for i in $_temp
Lines 9682-9696 Link Here
9682
           fi
9705
           fi
9683
         done
9706
         done
9684
         if test "$_patch" = "found"; then
9707
         if test "$_patch" = "found"; then
9685
            echo "$as_me:$LINENO: result: found" >&5
9708
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
9686
echo "${ECHO_T}found" >&6
9709
$as_echo "found" >&6; }
9687
         else
9710
         else
9688
            { echo "$as_me:$LINENO: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&5
9711
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&5
9689
echo "$as_me: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&2;}
9712
$as_echo "$as_me: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&2;}
9690
            echo "patch 105591-09 not found, please install compiler patch 105591-09 or greater" >> warn
9713
            echo "patch 105591-09 not found, please install compiler patch 105591-09 or greater" >> warn
9691
         fi
9714
         fi
9692
                                    echo "$as_me:$LINENO: checking for patch 107733-08 or greater" >&5
9715
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for patch 107733-08 or greater" >&5
9693
echo $ECHO_N "checking for patch 107733-08 or greater... $ECHO_C" >&6
9716
$as_echo_n "checking for patch 107733-08 or greater... " >&6; }
9694
         _patch=`echo $_temp | $AWK '/107733-08/ { print "found" }'`
9717
         _patch=`echo $_temp | $AWK '/107733-08/ { print "found" }'`
9695
         _patch="false"
9718
         _patch="false"
9696
         for i in $_temp
9719
         for i in $_temp
Lines 9704-9722 Link Here
9704
           fi
9727
           fi
9705
         done
9728
         done
9706
         if test "$_patch" = "found"; then
9729
         if test "$_patch" = "found"; then
9707
            echo "$as_me:$LINENO: result: found" >&5
9730
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
9708
echo "${ECHO_T}found" >&6
9731
$as_echo "found" >&6; }
9709
         else
9732
         else
9710
            { echo "$as_me:$LINENO: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&5
9733
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&5
9711
echo "$as_me: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&2;}
9734
$as_echo "$as_me: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&2;}
9712
            echo "patch 107733-06 not found, please install linker patch 107733-08 or greater" >> warn
9735
            echo "patch 107733-06 not found, please install linker patch 107733-08 or greater" >> warn
9713
         fi
9736
         fi
9714
      fi
9737
      fi
9715
   fi
9738
   fi
9716
fi
9739
fi
9717
9740
9718
   echo "$as_me:$LINENO: checking what the default STL should be" >&5
9741
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what the default STL should be" >&5
9719
echo $ECHO_N "checking what the default STL should be... $ECHO_C" >&6
9742
$as_echo_n "checking what the default STL should be... " >&6; }
9720
   DEFAULT_TO_STLPORT="no"
9743
   DEFAULT_TO_STLPORT="no"
9721
   if test "$_os" = "Linux"; then
9744
   if test "$_os" = "Linux"; then
9722
     case "$build_cpu" in
9745
     case "$build_cpu" in
Lines 9737-9870 Link Here
9737
      DEFAULT_TO_STLPORT="yes"
9760
      DEFAULT_TO_STLPORT="yes"
9738
   fi
9761
   fi
9739
   if test "$DEFAULT_TO_STLPORT" = "yes"; then
9762
   if test "$DEFAULT_TO_STLPORT" = "yes"; then
9740
      echo "$as_me:$LINENO: result: stlport" >&5
9763
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stlport" >&5
9741
echo "${ECHO_T}stlport" >&6
9764
$as_echo "stlport" >&6; }
9742
   else
9765
   else
9743
      echo "$as_me:$LINENO: result: system" >&5
9766
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
9744
echo "${ECHO_T}system" >&6
9767
$as_echo "system" >&6; }
9745
   fi
9768
   fi
9746
   if test "$WITH_STLPORT" = "auto"; then
9769
   if test "$WITH_STLPORT" = "auto"; then
9747
      WITH_STLPORT=$DEFAULT_TO_STLPORT
9770
      WITH_STLPORT=$DEFAULT_TO_STLPORT
9748
   fi
9771
   fi
9749
9772
9750
   echo "$as_me:$LINENO: checking for STL providing headers" >&5
9773
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for STL providing headers" >&5
9751
echo $ECHO_N "checking for STL providing headers... $ECHO_C" >&6
9774
$as_echo_n "checking for STL providing headers... " >&6; }
9752
   STLPORT4=""
9775
   STLPORT4=""
9753
   USE_SYSTEM_STL=""
9776
   USE_SYSTEM_STL=""
9754
   if test "$WITH_STLPORT" = "yes"; then
9777
   if test "$WITH_STLPORT" = "yes"; then
9755
      echo "$as_me:$LINENO: result: using internal stlport." >&5
9778
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: using internal stlport." >&5
9756
echo "${ECHO_T}using internal stlport." >&6
9779
$as_echo "using internal stlport." >&6; }
9757
      if test "$DEFAULT_TO_STLPORT" != "yes"; then
9780
      if test "$DEFAULT_TO_STLPORT" != "yes"; then
9758
         { echo "$as_me:$LINENO: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9781
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9759
echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9782
$as_echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9760
         echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9783
         echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9761
      fi
9784
      fi
9762
   elif test "$WITH_STLPORT" = "no"; then
9785
   elif test "$WITH_STLPORT" = "no"; then
9763
      echo "$as_me:$LINENO: result: using system STL" >&5
9786
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: using system STL" >&5
9764
echo "${ECHO_T}using system STL" >&6
9787
$as_echo "using system STL" >&6; }
9765
      USE_SYSTEM_STL="YES"
9788
      USE_SYSTEM_STL="YES"
9766
      if test "$DEFAULT_TO_STLPORT" != "no"; then
9789
      if test "$DEFAULT_TO_STLPORT" != "no"; then
9767
         { echo "$as_me:$LINENO: WARNING: using system STL. Warning, breaks your ABI compatability!" >&5
9790
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using system STL. Warning, breaks your ABI compatability!" >&5
9768
echo "$as_me: WARNING: using system STL. Warning, breaks your ABI compatability!" >&2;}
9791
$as_echo "$as_me: WARNING: using system STL. Warning, breaks your ABI compatability!" >&2;}
9769
         echo "using system STL. Warning, breaks your ABI compatability!" >>warn
9792
         echo "using system STL. Warning, breaks your ABI compatability!" >>warn
9770
      fi
9793
      fi
9771
   else
9794
   else
9772
      STLPORT4=$WITH_STLPORT
9795
      STLPORT4=$WITH_STLPORT
9773
      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9796
      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9774
         cat >conftest.$ac_ext <<_ACEOF
9797
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775
/* confdefs.h.  */
9776
_ACEOF
9777
cat confdefs.h >>conftest.$ac_ext
9778
cat >>conftest.$ac_ext <<_ACEOF
9779
/* end confdefs.h.  */
9798
/* end confdefs.h.  */
9780
$STLPORT4/stlport/hash_map
9799
$STLPORT4/stlport/hash_map
9781
_ACEOF
9800
_ACEOF
9782
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9801
if ac_fn_c_try_cpp "$LINENO"; then :
9783
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked." >&5
9784
  ac_status=$?
9803
$as_echo "checked." >&6; }
9785
  grep -v '^ *+' conftest.er1 >conftest.err
9804
else
9786
  rm -f conftest.er1
9805
  as_fn_error "STLport headers not found." "$LINENO" 5
9787
  cat conftest.err >&5
9788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789
  (exit $ac_status); } >/dev/null; then
9790
  if test -s conftest.err; then
9791
    ac_cpp_err=$ac_c_preproc_warn_flag
9792
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9793
  else
9794
    ac_cpp_err=
9795
  fi
9796
else
9797
  ac_cpp_err=yes
9798
fi
9799
if test -z "$ac_cpp_err"; then
9800
  echo "$as_me:$LINENO: result: checked." >&5
9801
echo "${ECHO_T}checked." >&6
9802
else
9803
  echo "$as_me: failed program was:" >&5
9804
sed 's/^/| /' conftest.$ac_ext >&5
9805
9806
  { { echo "$as_me:$LINENO: error: STLport headers not found." >&5
9807
echo "$as_me: error: STLport headers not found." >&2;}
9808
   { (exit 1); exit 1; }; }
9809
fi
9806
fi
9810
rm -f conftest.err conftest.$ac_ext
9807
rm -f conftest.err conftest.$ac_ext
9811
      else
9808
      else
9812
                  if test -f "$STLPORT4/stlport/hash_map"; then
9809
                  if test -f "$STLPORT4/stlport/hash_map"; then
9813
            echo "$as_me:$LINENO: result: checked." >&5
9810
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked." >&5
9814
echo "${ECHO_T}checked." >&6
9811
$as_echo "checked." >&6; }
9815
         else
9812
         else
9816
            { { echo "$as_me:$LINENO: error: STLport headers not found." >&5
9813
            as_fn_error "STLport headers not found." "$LINENO" 5
9817
echo "$as_me: error: STLport headers not found." >&2;}
9818
   { (exit 1); exit 1; }; }
9819
         fi
9814
         fi
9820
      fi
9815
      fi
9821
      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9816
      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9822
         echo "$as_me:$LINENO: checking for STLport libraries" >&5
9817
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for STLport libraries" >&5
9823
echo $ECHO_N "checking for STLport libraries... $ECHO_C" >&6
9818
$as_echo_n "checking for STLport libraries... " >&6; }
9824
         if test "$_os" = "SunOS"; then
9819
         if test "$_os" = "SunOS"; then
9825
		      if test -f "$STLPORT4/lib/libstlport_sunpro.so"; then
9820
		      if test -f "$STLPORT4/lib/libstlport_sunpro.so"; then
9826
			      echo "$as_me:$LINENO: result: checked" >&5
9821
			      { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9827
echo "${ECHO_T}checked" >&6
9822
$as_echo "checked" >&6; }
9828
		      elif test -f "$STLPORT4/lib/libstlport.so"; then
9823
		      elif test -f "$STLPORT4/lib/libstlport.so"; then
9829
			      echo "$as_me:$LINENO: result: checked" >&5
9824
			      { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9830
echo "${ECHO_T}checked" >&6
9825
$as_echo "checked" >&6; }
9831
			      STLPORT_VER=500
9826
			      STLPORT_VER=500
9832
		      else
9827
		      else
9833
			      { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9828
			      as_fn_error "STLport libraries not found" "$LINENO" 5
9834
echo "$as_me: error: STLport libraries not found" >&2;}
9835
   { (exit 1); exit 1; }; }
9836
		      fi
9829
		      fi
9837
	      elif test "$_os" = "Darwin"; then
9830
	      elif test "$_os" = "Darwin"; then
9838
		      if test -f "$STLPORT4/lib/libstlport_gcc.dylib"; then
9831
		      if test -f "$STLPORT4/lib/libstlport_gcc.dylib"; then
9839
			      echo "$as_me:$LINENO: result: checked" >&5
9832
			      { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9840
echo "${ECHO_T}checked" >&6
9833
$as_echo "checked" >&6; }
9841
		      elif test -f "$STLPORT4/lib/libstlport.dylib"; then
9834
		      elif test -f "$STLPORT4/lib/libstlport.dylib"; then
9842
			      echo "$as_me:$LINENO: result: checked" >&5
9835
			      { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9843
echo "${ECHO_T}checked" >&6
9836
$as_echo "checked" >&6; }
9844
			      STLPORT_VER=500
9837
			      STLPORT_VER=500
9845
		      else
9838
		      else
9846
			      { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9839
			      as_fn_error "STLport libraries not found" "$LINENO" 5
9847
echo "$as_me: error: STLport libraries not found" >&2;}
9848
   { (exit 1); exit 1; }; }
9849
		      fi
9840
		      fi
9850
		   else
9841
		   else
9851
			   if test -f "$STLPORT4/lib/libstlport_gcc.so"; then
9842
			   if test -f "$STLPORT4/lib/libstlport_gcc.so"; then
9852
				   echo "$as_me:$LINENO: result: checked" >&5
9843
				   { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9853
echo "${ECHO_T}checked" >&6
9844
$as_echo "checked" >&6; }
9854
			   elif test -f "$STLPORT4/lib/libstlport.so"; then
9845
			   elif test -f "$STLPORT4/lib/libstlport.so"; then
9855
				   echo "$as_me:$LINENO: result: checked" >&5
9846
				   { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked" >&5
9856
echo "${ECHO_T}checked" >&6
9847
$as_echo "checked" >&6; }
9857
				   STLPORT_VER=500
9848
				   STLPORT_VER=500
9858
			   else
9849
			   else
9859
				   { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9850
				   as_fn_error "STLport libraries not found" "$LINENO" 5
9860
echo "$as_me: error: STLport libraries not found" >&2;}
9861
   { (exit 1); exit 1; }; }
9862
			   fi
9851
			   fi
9863
		   fi
9852
		   fi
9864
	   fi
9853
	   fi
9865
      if test "$DEFAULT_TO_STLPORT" != "yes"; then
9854
      if test "$DEFAULT_TO_STLPORT" != "yes"; then
9866
         { echo "$as_me:$LINENO: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9855
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9867
echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9856
$as_echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9868
         echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9857
         echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9869
      fi
9858
      fi
9870
   fi
9859
   fi
Lines 9880-9894 Link Here
9880
9869
9881
9870
9882
if test "$GCC" = "yes"; then
9871
if test "$GCC" = "yes"; then
9883
   echo "$as_me:$LINENO: checking whether $CC supports -fvisibility=hidden" >&5
9872
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fvisibility=hidden" >&5
9884
echo $ECHO_N "checking whether $CC supports -fvisibility=hidden... $ECHO_C" >&6
9873
$as_echo_n "checking whether $CC supports -fvisibility=hidden... " >&6; }
9885
   save_CFLAGS=$CFLAGS
9874
   save_CFLAGS=$CFLAGS
9886
   CFLAGS="$CFLAGS -fvisibility=hidden"
9875
   CFLAGS="$CFLAGS -fvisibility=hidden"
9887
   cat >conftest.$ac_ext <<_ACEOF
9876
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888
/* confdefs.h.  */
9889
_ACEOF
9890
cat confdefs.h >>conftest.$ac_ext
9891
cat >>conftest.$ac_ext <<_ACEOF
9892
/* end confdefs.h.  */
9877
/* end confdefs.h.  */
9893
9878
9894
int
9879
int
Lines 9899-9970 Link Here
9899
  return 0;
9884
  return 0;
9900
}
9885
}
9901
_ACEOF
9886
_ACEOF
9902
rm -f conftest.$ac_objext conftest$ac_exeext
9887
if ac_fn_c_try_link "$LINENO"; then :
9903
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9904
  (eval $ac_link) 2>conftest.er1
9905
  ac_status=$?
9906
  grep -v '^ *+' conftest.er1 >conftest.err
9907
  rm -f conftest.er1
9908
  cat conftest.err >&5
9909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910
  (exit $ac_status); } &&
9911
	 { ac_try='test -z "$ac_c_werror_flag"
9912
			 || test ! -s conftest.err'
9913
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914
  (eval $ac_try) 2>&5
9915
  ac_status=$?
9916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917
  (exit $ac_status); }; } &&
9918
	 { ac_try='test -s conftest$ac_exeext'
9919
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9920
  (eval $ac_try) 2>&5
9921
  ac_status=$?
9922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923
  (exit $ac_status); }; }; then
9924
   HAVE_GCC_VISIBILITY_FEATURE=TRUE
9888
   HAVE_GCC_VISIBILITY_FEATURE=TRUE
9925
else
9889
fi
9926
  echo "$as_me: failed program was:" >&5
9890
rm -f core conftest.err conftest.$ac_objext \
9927
sed 's/^/| /' conftest.$ac_ext >&5
9891
    conftest$ac_exeext conftest.$ac_ext
9928
9929
fi
9930
rm -f conftest.err conftest.$ac_objext \
9931
      conftest$ac_exeext conftest.$ac_ext
9932
   CFLAGS=$save_CFLAGS
9892
   CFLAGS=$save_CFLAGS
9933
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
9893
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
9934
      echo "$as_me:$LINENO: result: yes" >&5
9894
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9935
echo "${ECHO_T}yes" >&6
9895
$as_echo "yes" >&6; }
9936
   else
9896
   else
9937
      echo "$as_me:$LINENO: result: no" >&5
9897
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9938
echo "${ECHO_T}no" >&6
9898
$as_echo "no" >&6; }
9939
   fi
9899
   fi
9940
fi
9900
fi
9941
9901
9942
# ===================================================================
9902
# ===================================================================
9943
# use --ccache-skip?
9903
# use --ccache-skip?
9944
# ===================================================================
9904
# ===================================================================
9945
echo "$as_me:$LINENO: checking whether we are allowed and able to use --ccache-skip" >&5
9905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are allowed and able to use --ccache-skip" >&5
9946
echo $ECHO_N "checking whether we are allowed and able to use --ccache-skip... $ECHO_C" >&6
9906
$as_echo_n "checking whether we are allowed and able to use --ccache-skip... " >&6; }
9947
if test "$_os" != "Darwin" ; then
9907
if test "$_os" != "Darwin" ; then
9948
   echo "$as_me:$LINENO: result: only used on Mac currently, skipping" >&5
9908
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: only used on Mac currently, skipping" >&5
9949
echo "${ECHO_T}only used on Mac currently, skipping" >&6
9909
$as_echo "only used on Mac currently, skipping" >&6; }
9950
elif test "$enable_ccache_skip" = "no" ; then
9910
elif test "$enable_ccache_skip" = "no" ; then
9951
   echo "$as_me:$LINENO: result: no - diabled explicitly" >&5
9911
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - diabled explicitly" >&5
9952
echo "${ECHO_T}no - diabled explicitly" >&6
9912
$as_echo "no - diabled explicitly" >&6; }
9953
elif test "$enable_ccache_skip" = "yes" ; then
9913
elif test "$enable_ccache_skip" = "yes" ; then
9954
   echo "$as_me:$LINENO: result: yes - enabled explicitly, skipping checks" >&5
9914
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - enabled explicitly, skipping checks" >&5
9955
echo "${ECHO_T}yes - enabled explicitly, skipping checks" >&6
9915
$as_echo "yes - enabled explicitly, skipping checks" >&6; }
9956
   USE_CCACHE=YES
9916
   USE_CCACHE=YES
9957
9917
9958
elif test "$enable_ccache_skip" = "auto" ; then
9918
elif test "$enable_ccache_skip" = "auto" ; then
9959
   # checking for ccache presence/version
9919
   # checking for ccache presence/version
9960
   echo "$as_me:$LINENO: result: probing..." >&5
9920
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: probing..." >&5
9961
echo "${ECHO_T}probing..." >&6
9921
$as_echo "probing..." >&6; }
9962
   # Extract the first word of "ccache", so it can be a program name with args.
9922
   # Extract the first word of "ccache", so it can be a program name with args.
9963
set dummy ccache; ac_word=$2
9923
set dummy ccache; ac_word=$2
9964
echo "$as_me:$LINENO: checking for $ac_word" >&5
9924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9965
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9925
$as_echo_n "checking for $ac_word... " >&6; }
9966
if test "${ac_cv_path_CCACHE+set}" = set; then
9926
if test "${ac_cv_path_CCACHE+set}" = set; then :
9967
  echo $ECHO_N "(cached) $ECHO_C" >&6
9927
  $as_echo_n "(cached) " >&6
9968
else
9928
else
9969
  case $CCACHE in
9929
  case $CCACHE in
9970
  [\\/]* | ?:[\\/]*)
9930
  [\\/]* | ?:[\\/]*)
Lines 9976-10018 Link Here
9976
do
9936
do
9977
  IFS=$as_save_IFS
9937
  IFS=$as_save_IFS
9978
  test -z "$as_dir" && as_dir=.
9938
  test -z "$as_dir" && as_dir=.
9979
  for ac_exec_ext in '' $ac_executable_extensions; do
9939
    for ac_exec_ext in '' $ac_executable_extensions; do
9980
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9981
    ac_cv_path_CCACHE="$as_dir/$ac_word$ac_exec_ext"
9941
    ac_cv_path_CCACHE="$as_dir/$ac_word$ac_exec_ext"
9982
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9942
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9983
    break 2
9943
    break 2
9984
  fi
9944
  fi
9985
done
9945
done
9986
done
9946
  done
9947
IFS=$as_save_IFS
9987
9948
9988
  test -z "$ac_cv_path_CCACHE" && ac_cv_path_CCACHE="not_found"
9949
  test -z "$ac_cv_path_CCACHE" && ac_cv_path_CCACHE="not_found"
9989
  ;;
9950
  ;;
9990
esac
9951
esac
9991
fi
9952
fi
9992
CCACHE=$ac_cv_path_CCACHE
9953
CCACHE=$ac_cv_path_CCACHE
9993
9994
if test -n "$CCACHE"; then
9954
if test -n "$CCACHE"; then
9995
  echo "$as_me:$LINENO: result: $CCACHE" >&5
9955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
9996
echo "${ECHO_T}$CCACHE" >&6
9956
$as_echo "$CCACHE" >&6; }
9997
else
9957
else
9998
  echo "$as_me:$LINENO: result: no" >&5
9958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999
echo "${ECHO_T}no" >&6
9959
$as_echo "no" >&6; }
10000
fi
9960
fi
9961
10001
9962
10002
   if test "$CCACHE" = "not_found" ; then
9963
   if test "$CCACHE" = "not_found" ; then
10003
      { echo "$as_me:$LINENO: not enabling --ccache-skip (ccache not found)" >&5
9964
      { $as_echo "$as_me:${as_lineno-$LINENO}: not enabling --ccache-skip (ccache not found)" >&5
10004
echo "$as_me: not enabling --ccache-skip (ccache not found)" >&6;}
9965
$as_echo "$as_me: not enabling --ccache-skip (ccache not found)" >&6;}
10005
   else
9966
   else
10006
      # check ccache version
9967
      # check ccache version
10007
      echo "$as_me:$LINENO: checking whether version of ccache is suitable" >&5
9968
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether version of ccache is suitable" >&5
10008
echo $ECHO_N "checking whether version of ccache is suitable... $ECHO_C" >&6
9969
$as_echo_n "checking whether version of ccache is suitable... " >&6; }
10009
      CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'`
9970
      CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'`
10010
      if test "$CCACHE_VERSION" = "2.4_OOo"; then
9971
      if test "$CCACHE_VERSION" = "2.4_OOo"; then
10011
         echo "$as_me:$LINENO: result: yes" >&5
9972
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10012
echo "${ECHO_T}yes" >&6
9973
$as_echo "yes" >&6; }
10013
         echo "$as_me:$LINENO: checking whether ccache is actually used for the build" >&5
9974
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache is actually used for the build" >&5
10014
echo $ECHO_N "checking whether ccache is actually used for the build... $ECHO_C" >&6
9975
$as_echo_n "checking whether ccache is actually used for the build... " >&6; }
10015
         ac_ext=cc
9976
         ac_ext=cpp
10016
ac_cpp='$CXXCPP $CPPFLAGS'
9977
ac_cpp='$CXXCPP $CPPFLAGS'
10017
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9978
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10018
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9979
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 10020-10078 Link Here
10020
9981
10021
         save_CXXFLAGS=$CXXFLAGS
9982
         save_CXXFLAGS=$CXXFLAGS
10022
         CXXFLAGS="$CXXFLAGS --ccache-skip -O2"
9983
         CXXFLAGS="$CXXFLAGS --ccache-skip -O2"
10023
                  cat >conftest.$ac_ext <<_ACEOF
9984
                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024
/* confdefs.h.  */
9985
/* end confdefs.h.  */
10025
_ACEOF
9986
10026
cat confdefs.h >>conftest.$ac_ext
9987
int
10027
cat >>conftest.$ac_ext <<_ACEOF
9988
main ()
10028
/* end confdefs.h.  */
9989
{
10029
9990
10030
int
9991
  ;
10031
main ()
9992
  return 0;
10032
{
9993
}
10033
9994
_ACEOF
10034
  ;
9995
if ac_fn_cxx_try_compile "$LINENO"; then :
10035
  return 0;
10036
}
10037
_ACEOF
10038
rm -f conftest.$ac_objext
10039
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10040
  (eval $ac_compile) 2>conftest.er1
10041
  ac_status=$?
10042
  grep -v '^ *+' conftest.er1 >conftest.err
10043
  rm -f conftest.er1
10044
  cat conftest.err >&5
10045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046
  (exit $ac_status); } &&
10047
	 { ac_try='test -z "$ac_cxx_werror_flag"
10048
			 || test ! -s conftest.err'
10049
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050
  (eval $ac_try) 2>&5
10051
  ac_status=$?
10052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053
  (exit $ac_status); }; } &&
10054
	 { ac_try='test -s conftest.$ac_objext'
10055
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056
  (eval $ac_try) 2>&5
10057
  ac_status=$?
10058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059
  (exit $ac_status); }; }; then
10060
  use_ccache=yes
9996
  use_ccache=yes
10061
else
9997
else
10062
  echo "$as_me: failed program was:" >&5
9998
  use_ccache=no
10063
sed 's/^/| /' conftest.$ac_ext >&5
9999
fi
10064
10000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10065
use_ccache=no
10066
fi
10067
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10068
         if test $use_ccache = yes ; then
10001
         if test $use_ccache = yes ; then
10069
            echo "$as_me:$LINENO: result: yes, will enable --ccache-skip" >&5
10002
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, will enable --ccache-skip" >&5
10070
echo "${ECHO_T}yes, will enable --ccache-skip" >&6
10003
$as_echo "yes, will enable --ccache-skip" >&6; }
10071
            USE_CCACHE=YES
10004
            USE_CCACHE=YES
10072
10005
10073
         else
10006
         else
10074
            echo "$as_me:$LINENO: result: no, will not enable --ccache-skip" >&5
10007
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, will not enable --ccache-skip" >&5
10075
echo "${ECHO_T}no, will not enable --ccache-skip" >&6
10008
$as_echo "no, will not enable --ccache-skip" >&6; }
10076
         fi
10009
         fi
10077
         CXXFLAGS=$save_CXXFLAGS
10010
         CXXFLAGS=$save_CXXFLAGS
10078
         ac_ext=c
10011
         ac_ext=c
Lines 10082-10114 Link Here
10082
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10015
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10083
10016
10084
      else
10017
      else
10085
         echo "$as_me:$LINENO: result: no" >&5
10018
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086
echo "${ECHO_T}no" >&6
10019
$as_echo "no" >&6; }
10087
         { echo "$as_me:$LINENO: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&5
10020
         { $as_echo "$as_me:${as_lineno-$LINENO}: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&5
10088
echo "$as_me: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&6;}
10021
$as_echo "$as_me: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&6;}
10089
      fi
10022
      fi
10090
   fi
10023
   fi
10091
else
10024
else
10092
   { { echo "$as_me:$LINENO: error: invalid option to --enable-ccache-skip. Valid values are \"auto\", \"yes\" and \"no\"" >&5
10025
   as_fn_error "invalid option to --enable-ccache-skip. Valid values are \"auto\", \"yes\" and \"no\"" "$LINENO" 5
10093
echo "$as_me: error: invalid option to --enable-ccache-skip. Valid values are \"auto\", \"yes\" and \"no\"" >&2;}
10094
   { (exit 1); exit 1; }; }
10095
fi
10026
fi
10096
10027
10097
if test "$USE_SYSTEM_STL" = "YES"; then
10028
if test "$USE_SYSTEM_STL" = "YES"; then
10098
   echo "$as_me:$LINENO: checking if hash_map will be in __gnu_cxx namespace" >&5
10029
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if hash_map will be in __gnu_cxx namespace" >&5
10099
echo $ECHO_N "checking if hash_map will be in __gnu_cxx namespace... $ECHO_C" >&6
10030
$as_echo_n "checking if hash_map will be in __gnu_cxx namespace... " >&6; }
10100
   ac_ext=cc
10031
   ac_ext=cpp
10101
ac_cpp='$CXXCPP $CPPFLAGS'
10032
ac_cpp='$CXXCPP $CPPFLAGS'
10102
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10033
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10103
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10034
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10104
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10035
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10105
10036
10106
10037
10107
   cat >conftest.$ac_ext <<_ACEOF
10038
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108
/* confdefs.h.  */
10109
_ACEOF
10110
cat confdefs.h >>conftest.$ac_ext
10111
cat >>conftest.$ac_ext <<_ACEOF
10112
/* end confdefs.h.  */
10039
/* end confdefs.h.  */
10113
#include <ext/hash_map>
10040
#include <ext/hash_map>
10114
using namespace __gnu_cxx;
10041
using namespace __gnu_cxx;
Lines 10121-10192 Link Here
10121
  return 0;
10048
  return 0;
10122
}
10049
}
10123
_ACEOF
10050
_ACEOF
10124
rm -f conftest.$ac_objext
10051
if ac_fn_cxx_try_compile "$LINENO"; then :
10125
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10126
  (eval $ac_compile) 2>conftest.er1
10127
  ac_status=$?
10128
  grep -v '^ *+' conftest.er1 >conftest.err
10129
  rm -f conftest.er1
10130
  cat conftest.err >&5
10131
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132
  (exit $ac_status); } &&
10133
	 { ac_try='test -z "$ac_cxx_werror_flag"
10134
			 || test ! -s conftest.err'
10135
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136
  (eval $ac_try) 2>&5
10137
  ac_status=$?
10138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139
  (exit $ac_status); }; } &&
10140
	 { ac_try='test -s conftest.$ac_objext'
10141
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142
  (eval $ac_try) 2>&5
10143
  ac_status=$?
10144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145
  (exit $ac_status); }; }; then
10146
  ac_cv_cxx_have_ext_hash_map=yes
10052
  ac_cv_cxx_have_ext_hash_map=yes
10147
else
10053
else
10148
  echo "$as_me: failed program was:" >&5
10054
  ac_cv_cxx_have_ext_hash_map=no
10149
sed 's/^/| /' conftest.$ac_ext >&5
10055
fi
10150
10056
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10151
ac_cv_cxx_have_ext_hash_map=no
10152
fi
10153
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10154
10057
10155
   if test "$ac_cv_cxx_have_ext_hash_map" = "no"; then
10058
   if test "$ac_cv_cxx_have_ext_hash_map" = "no"; then
10156
      { { echo "$as_me:$LINENO: error: Can't find hash_map. Try with --with-stlport" >&5
10059
      as_fn_error "Can't find hash_map. Try with --with-stlport" "$LINENO" 5
10157
echo "$as_me: error: Can't find hash_map. Try with --with-stlport" >&2;}
10060
   else
10158
   { (exit 1); exit 1; }; }
10061
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_ext_hash_map" >&5
10159
   else
10062
$as_echo "$ac_cv_cxx_have_ext_hash_map" >&6; }
10160
      echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
10161
echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
10162
   fi
10063
   fi
10163
10064
10164
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10065
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10165
      echo "$as_me:$LINENO: checking if STL headers are visibility safe" >&5
10066
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if STL headers are visibility safe" >&5
10166
echo $ECHO_N "checking if STL headers are visibility safe... $ECHO_C" >&6
10067
$as_echo_n "checking if STL headers are visibility safe... " >&6; }
10167
10068
10168
cat >conftest.$ac_ext <<_ACEOF
10069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169
/* confdefs.h.  */
10170
_ACEOF
10171
cat confdefs.h >>conftest.$ac_ext
10172
cat >>conftest.$ac_ext <<_ACEOF
10173
/* end confdefs.h.  */
10070
/* end confdefs.h.  */
10174
#include <string>
10071
#include <string>
10175
10072
10176
_ACEOF
10073
_ACEOF
10177
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10074
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10178
  $EGREP "visibility push" >/dev/null 2>&1; then
10075
  $EGREP "visibility push" >/dev/null 2>&1; then :
10179
  stlvisok=yes
10076
  stlvisok=yes
10180
else
10077
else
10181
  stlvisok=no
10078
  stlvisok=no
10182
fi
10079
fi
10183
rm -f conftest*
10080
rm -f conftest*
10184
10081
10185
      echo "$as_me:$LINENO: result: $stlvisok" >&5
10082
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stlvisok" >&5
10186
echo "${ECHO_T}$stlvisok" >&6
10083
$as_echo "$stlvisok" >&6; }
10187
      if test "$stlvisok" = "no"; then
10084
      if test "$stlvisok" = "no"; then
10188
         { echo "$as_me:$LINENO: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&5
10085
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&5
10189
echo "$as_me: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&2;}
10086
$as_echo "$as_me: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&2;}
10190
         echo "Your gcc STL headers are not visibility safe. Disabling visibility" >> warn
10087
         echo "Your gcc STL headers are not visibility safe. Disabling visibility" >> warn
10191
         unset HAVE_GCC_VISIBILITY_FEATURE
10088
         unset HAVE_GCC_VISIBILITY_FEATURE
10192
      fi
10089
      fi
Lines 10196-10208 Link Here
10196
      sharedlink_ldflags_save=$LDFLAGS
10093
      sharedlink_ldflags_save=$LDFLAGS
10197
      LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared"
10094
      LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared"
10198
10095
10199
      echo "$as_me:$LINENO: checking if gcc is -fvisibility-inlines-hidden safe with STL headers" >&5
10096
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc is -fvisibility-inlines-hidden safe with STL headers" >&5
10200
echo $ECHO_N "checking if gcc is -fvisibility-inlines-hidden safe with STL headers... $ECHO_C" >&6
10097
$as_echo_n "checking if gcc is -fvisibility-inlines-hidden safe with STL headers... " >&6; }
10201
      cat >conftest.$ac_ext <<_ACEOF
10098
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202
/* confdefs.h.  */
10203
_ACEOF
10204
cat confdefs.h >>conftest.$ac_ext
10205
cat >>conftest.$ac_ext <<_ACEOF
10206
/* end confdefs.h.  */
10099
/* end confdefs.h.  */
10207
#include <sstream>
10100
#include <sstream>
10208
using namespace std;
10101
using namespace std;
Lines 10215-10257 Link Here
10215
  return 0;
10108
  return 0;
10216
}
10109
}
10217
_ACEOF
10110
_ACEOF
10218
rm -f conftest.$ac_objext conftest$ac_exeext
10111
if ac_fn_cxx_try_link "$LINENO"; then :
10219
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10220
  (eval $ac_link) 2>conftest.er1
10221
  ac_status=$?
10222
  grep -v '^ *+' conftest.er1 >conftest.err
10223
  rm -f conftest.er1
10224
  cat conftest.err >&5
10225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226
  (exit $ac_status); } &&
10227
	 { ac_try='test -z "$ac_cxx_werror_flag"
10228
			 || test ! -s conftest.err'
10229
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230
  (eval $ac_try) 2>&5
10231
  ac_status=$?
10232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233
  (exit $ac_status); }; } &&
10234
	 { ac_try='test -s conftest$ac_exeext'
10235
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236
  (eval $ac_try) 2>&5
10237
  ac_status=$?
10238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239
  (exit $ac_status); }; }; then
10240
  $EGREP -q  unresolvable conftest.err;
10112
  $EGREP -q  unresolvable conftest.err;
10241
      if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi
10113
      if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi
10242
else
10114
else
10243
  echo "$as_me: failed program was:" >&5
10115
  gccvisok=no
10244
sed 's/^/| /' conftest.$ac_ext >&5
10116
fi
10245
10117
rm -f core conftest.err conftest.$ac_objext \
10246
gccvisok=no
10118
    conftest$ac_exeext conftest.$ac_ext
10247
fi
10119
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gccvisok" >&5
10248
rm -f conftest.err conftest.$ac_objext \
10120
$as_echo "$gccvisok" >&6; }
10249
      conftest$ac_exeext conftest.$ac_ext
10250
      echo "$as_me:$LINENO: result: $gccvisok" >&5
10251
echo "${ECHO_T}$gccvisok" >&6
10252
      if test "$gccvisok" = "no"; then
10121
      if test "$gccvisok" = "no"; then
10253
         { echo "$as_me:$LINENO: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&5
10122
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&5
10254
echo "$as_me: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&2;}
10123
$as_echo "$as_me: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&2;}
10255
         echo "Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >> warn
10124
         echo "Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >> warn
10256
         unset HAVE_GCC_VISIBILITY_FEATURE
10125
         unset HAVE_GCC_VISIBILITY_FEATURE
10257
      fi
10126
      fi
Lines 10260-10267 Link Here
10260
   fi
10129
   fi
10261
10130
10262
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10131
   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10263
      echo "$as_me:$LINENO: checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)" >&5
10132
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)" >&5
10264
echo $ECHO_N "checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)... $ECHO_C" >&6
10133
$as_echo_n "checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)... " >&6; }
10265
      cat >visibility.cxx <<_ACEOF
10134
      cat >visibility.cxx <<_ACEOF
10266
#pragma GCC visibility push(hidden)
10135
#pragma GCC visibility push(hidden)
10267
struct __attribute__ ((visibility ("default"))) TestStruct {
10136
struct __attribute__ ((visibility ("default"))) TestStruct {
Lines 10289-10299 Link Here
10289
      fi
10158
      fi
10290
      rm -f visibility.s
10159
      rm -f visibility.s
10291
10160
10292
      echo "$as_me:$LINENO: result: $gccvisbroken" >&5
10161
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gccvisbroken" >&5
10293
echo "${ECHO_T}$gccvisbroken" >&6
10162
$as_echo "$gccvisbroken" >&6; }
10294
      if test "$gccvisbroken" = "yes"; then
10163
      if test "$gccvisbroken" = "yes"; then
10295
         { echo "$as_me:$LINENO: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&5
10164
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&5
10296
echo "$as_me: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&2;}
10165
$as_echo "$as_me: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&2;}
10297
         echo "Your gcc is not -fvisibility=hidden safe. Disabling visibility" >> warn
10166
         echo "Your gcc is not -fvisibility=hidden safe. Disabling visibility" >> warn
10298
         unset HAVE_GCC_VISIBILITY_FEATURE
10167
         unset HAVE_GCC_VISIBILITY_FEATURE
10299
      fi
10168
      fi
Lines 10309-10500 Link Here
10309
10178
10310
10179
10311
10180
10312
echo "$as_me:$LINENO: checking which memory allocator to use" >&5
10181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which memory allocator to use" >&5
10313
echo $ECHO_N "checking which memory allocator to use... $ECHO_C" >&6
10182
$as_echo_n "checking which memory allocator to use... " >&6; }
10314
if test "$with_alloc" = "system"; then
10183
if test "$with_alloc" = "system"; then
10315
    echo "$as_me:$LINENO: result: system" >&5
10184
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
10316
echo "${ECHO_T}system" >&6
10185
$as_echo "system" >&6; }
10317
    ALLOC="SYS_ALLOC";
10186
    ALLOC="SYS_ALLOC";
10318
10187
    for ac_func in malloc realloc calloc free
10319
10188
do :
10320
10189
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10321
10190
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10322
for ac_func in malloc realloc calloc free
10191
eval as_val=\$$as_ac_var
10323
do
10192
   if test "x$as_val" = x""yes; then :
10324
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10193
  cat >>confdefs.h <<_ACEOF
10325
echo "$as_me:$LINENO: checking for $ac_func" >&5
10194
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10326
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10195
_ACEOF
10327
if eval "test \"\${$as_ac_var+set}\" = set"; then
10196
10328
  echo $ECHO_N "(cached) $ECHO_C" >&6
10197
fi
10329
else
10198
done
10330
  cat >conftest.$ac_ext <<_ACEOF
10199
10331
/* confdefs.h.  */
10200
fi
10332
_ACEOF
10201
if test "$with_alloc" = "tcmalloc"; then
10333
cat confdefs.h >>conftest.$ac_ext
10202
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: tcmalloc" >&5
10334
cat >>conftest.$ac_ext <<_ACEOF
10203
$as_echo "tcmalloc" >&6; }
10335
/* end confdefs.h.  */
10204
    if ! echo $build_cpu | grep -E 'i[3456]86' 2>/dev/null >/dev/null; then
10336
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10205
        as_fn_error "tcmalloc only available/usable on ix86" "$LINENO" 5
10337
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10206
    fi
10338
#define $ac_func innocuous_$ac_func
10207
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc" >&5
10339
10208
$as_echo_n "checking for malloc in -ltcmalloc... " >&6; }
10340
/* System header to define __stub macros and hopefully few prototypes,
10209
if test "${ac_cv_lib_tcmalloc_malloc+set}" = set; then :
10341
    which can conflict with char $ac_func (); below.
10210
  $as_echo_n "(cached) " >&6
10342
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10211
else
10343
    <limits.h> exists even on freestanding compilers.  */
10212
  ac_check_lib_save_LIBS=$LIBS
10344
10213
LIBS="-ltcmalloc  $LIBS"
10345
#ifdef __STDC__
10214
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346
# include <limits.h>
10215
/* end confdefs.h.  */
10347
#else
10216
10348
# include <assert.h>
10217
/* Override any GCC internal prototype to avoid an error.
10349
#endif
10218
   Use char because int might match the return type of a GCC
10350
10219
   builtin and then its argument prototype would still apply.  */
10351
#undef $ac_func
10352
10353
/* Override any gcc2 internal prototype to avoid an error.  */
10354
#ifdef __cplusplus
10220
#ifdef __cplusplus
10355
extern "C"
10221
extern "C"
10356
{
10222
#endif
10357
#endif
10358
/* We use char because int might match the return type of a gcc2
10359
   builtin and then its argument prototype would still apply.  */
10360
char $ac_func ();
10361
/* The GNU C library defines this for functions which it implements
10362
    to always fail with ENOSYS.  Some functions are actually named
10363
    something starting with __ and the normal name is an alias.  */
10364
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10365
choke me
10366
#else
10367
char (*f) () = $ac_func;
10368
#endif
10369
#ifdef __cplusplus
10370
}
10371
#endif
10372
10373
int
10374
main ()
10375
{
10376
return f != $ac_func;
10377
  ;
10378
  return 0;
10379
}
10380
_ACEOF
10381
rm -f conftest.$ac_objext conftest$ac_exeext
10382
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10383
  (eval $ac_link) 2>conftest.er1
10384
  ac_status=$?
10385
  grep -v '^ *+' conftest.er1 >conftest.err
10386
  rm -f conftest.er1
10387
  cat conftest.err >&5
10388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389
  (exit $ac_status); } &&
10390
	 { ac_try='test -z "$ac_c_werror_flag"
10391
			 || test ! -s conftest.err'
10392
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393
  (eval $ac_try) 2>&5
10394
  ac_status=$?
10395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396
  (exit $ac_status); }; } &&
10397
	 { ac_try='test -s conftest$ac_exeext'
10398
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399
  (eval $ac_try) 2>&5
10400
  ac_status=$?
10401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402
  (exit $ac_status); }; }; then
10403
  eval "$as_ac_var=yes"
10404
else
10405
  echo "$as_me: failed program was:" >&5
10406
sed 's/^/| /' conftest.$ac_ext >&5
10407
10408
eval "$as_ac_var=no"
10409
fi
10410
rm -f conftest.err conftest.$ac_objext \
10411
      conftest$ac_exeext conftest.$ac_ext
10412
fi
10413
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10414
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10415
if test `eval echo '${'$as_ac_var'}'` = yes; then
10416
  cat >>confdefs.h <<_ACEOF
10417
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10418
_ACEOF
10419
10420
fi
10421
done
10422
10423
fi
10424
if test "$with_alloc" = "tcmalloc"; then
10425
    echo "$as_me:$LINENO: result: tcmalloc" >&5
10426
echo "${ECHO_T}tcmalloc" >&6
10427
    if ! echo $build_cpu | grep -E 'i[3456]86' 2>/dev/null >/dev/null; then
10428
        { { echo "$as_me:$LINENO: error: tcmalloc only available/usable on ix86" >&5
10429
echo "$as_me: error: tcmalloc only available/usable on ix86" >&2;}
10430
   { (exit 1); exit 1; }; }
10431
    fi
10432
10433
echo "$as_me:$LINENO: checking for malloc in -ltcmalloc" >&5
10434
echo $ECHO_N "checking for malloc in -ltcmalloc... $ECHO_C" >&6
10435
if test "${ac_cv_lib_tcmalloc_malloc+set}" = set; then
10436
  echo $ECHO_N "(cached) $ECHO_C" >&6
10437
else
10438
  ac_check_lib_save_LIBS=$LIBS
10439
LIBS="-ltcmalloc  $LIBS"
10440
cat >conftest.$ac_ext <<_ACEOF
10441
/* confdefs.h.  */
10442
_ACEOF
10443
cat confdefs.h >>conftest.$ac_ext
10444
cat >>conftest.$ac_ext <<_ACEOF
10445
/* end confdefs.h.  */
10446
10447
/* Override any gcc2 internal prototype to avoid an error.  */
10448
#ifdef __cplusplus
10449
extern "C"
10450
#endif
10451
/* We use char because int might match the return type of a gcc2
10452
   builtin and then its argument prototype would still apply.  */
10453
char malloc ();
10223
char malloc ();
10454
int
10224
int
10455
main ()
10225
main ()
10456
{
10226
{
10457
malloc ();
10227
return malloc ();
10458
  ;
10228
  ;
10459
  return 0;
10229
  return 0;
10460
}
10230
}
10461
_ACEOF
10231
_ACEOF
10462
rm -f conftest.$ac_objext conftest$ac_exeext
10232
if ac_fn_c_try_link "$LINENO"; then :
10463
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10464
  (eval $ac_link) 2>conftest.er1
10465
  ac_status=$?
10466
  grep -v '^ *+' conftest.er1 >conftest.err
10467
  rm -f conftest.er1
10468
  cat conftest.err >&5
10469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470
  (exit $ac_status); } &&
10471
	 { ac_try='test -z "$ac_c_werror_flag"
10472
			 || test ! -s conftest.err'
10473
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474
  (eval $ac_try) 2>&5
10475
  ac_status=$?
10476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477
  (exit $ac_status); }; } &&
10478
	 { ac_try='test -s conftest$ac_exeext'
10479
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480
  (eval $ac_try) 2>&5
10481
  ac_status=$?
10482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483
  (exit $ac_status); }; }; then
10484
  ac_cv_lib_tcmalloc_malloc=yes
10233
  ac_cv_lib_tcmalloc_malloc=yes
10485
else
10234
else
10486
  echo "$as_me: failed program was:" >&5
10235
  ac_cv_lib_tcmalloc_malloc=no
10487
sed 's/^/| /' conftest.$ac_ext >&5
10236
fi
10488
10237
rm -f core conftest.err conftest.$ac_objext \
10489
ac_cv_lib_tcmalloc_malloc=no
10238
    conftest$ac_exeext conftest.$ac_ext
10490
fi
10491
rm -f conftest.err conftest.$ac_objext \
10492
      conftest$ac_exeext conftest.$ac_ext
10493
LIBS=$ac_check_lib_save_LIBS
10239
LIBS=$ac_check_lib_save_LIBS
10494
fi
10240
fi
10495
echo "$as_me:$LINENO: result: $ac_cv_lib_tcmalloc_malloc" >&5
10241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5
10496
echo "${ECHO_T}$ac_cv_lib_tcmalloc_malloc" >&6
10242
$as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; }
10497
if test $ac_cv_lib_tcmalloc_malloc = yes; then
10243
if test "x$ac_cv_lib_tcmalloc_malloc" = x""yes; then :
10498
  cat >>confdefs.h <<_ACEOF
10244
  cat >>confdefs.h <<_ACEOF
10499
#define HAVE_LIBTCMALLOC 1
10245
#define HAVE_LIBTCMALLOC 1
10500
_ACEOF
10246
_ACEOF
Lines 10502-10547 Link Here
10502
  LIBS="-ltcmalloc $LIBS"
10248
  LIBS="-ltcmalloc $LIBS"
10503
10249
10504
else
10250
else
10505
  { { echo "$as_me:$LINENO: error: tcmalloc not found or functional. Install the Google Profiling Tools" >&5
10251
  as_fn_error "tcmalloc not found or functional. Install the Google Profiling Tools" "$LINENO" 5
10506
echo "$as_me: error: tcmalloc not found or functional. Install the Google Profiling Tools" >&2;}
10507
   { (exit 1); exit 1; }; }
10508
fi
10252
fi
10509
10253
10510
    ALLOC="TCMALLOC";
10254
    ALLOC="TCMALLOC";
10511
fi
10255
fi
10512
if test "$with_alloc" = "internal" -o -z "$with_alloc"; then
10256
if test "$with_alloc" = "internal" -o -z "$with_alloc"; then
10513
   echo "$as_me:$LINENO: result: internal" >&5
10257
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
10514
echo "${ECHO_T}internal" >&6
10258
$as_echo "internal" >&6; }
10515
fi
10259
fi
10516
10260
10517
10261
10518
10262
10519
echo "$as_me:$LINENO: checking whether to add custom build version" >&5
10263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to add custom build version" >&5
10520
echo $ECHO_N "checking whether to add custom build version... $ECHO_C" >&6
10264
$as_echo_n "checking whether to add custom build version... " >&6; }
10521
if test "z$with_build_version" != "z"; then
10265
if test "z$with_build_version" != "z"; then
10522
   BUILD_VER_STRING=$with_build_version
10266
   BUILD_VER_STRING=$with_build_version
10523
   echo "$as_me:$LINENO: result: yes, $BUILD_VER_STRING" >&5
10267
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, $BUILD_VER_STRING" >&5
10524
echo "${ECHO_T}yes, $BUILD_VER_STRING" >&6
10268
$as_echo "yes, $BUILD_VER_STRING" >&6; }
10525
else
10269
else
10526
   BUILD_VER_STRING=
10270
   BUILD_VER_STRING=
10527
   echo "$as_me:$LINENO: result: no" >&5
10271
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528
echo "${ECHO_T}no" >&6
10272
$as_echo "no" >&6; }
10529
fi
10273
fi
10530
10274
10531
10275
10532
echo "$as_me:$LINENO: checking whether to build with Java support" >&5
10276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with Java support" >&5
10533
echo $ECHO_N "checking whether to build with Java support... $ECHO_C" >&6
10277
$as_echo_n "checking whether to build with Java support... " >&6; }
10534
if test "$WITH_JAVA" != "no"; then
10278
if test "$WITH_JAVA" != "no"; then
10535
   echo "$as_me:$LINENO: result: yes" >&5
10279
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10536
echo "${ECHO_T}yes" >&6
10280
$as_echo "yes" >&6; }
10537
   SOLAR_JAVA="TRUE"
10281
   SOLAR_JAVA="TRUE"
10538
else
10282
else
10539
   echo "$as_me:$LINENO: result: no" >&5
10283
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540
echo "${ECHO_T}no" >&6
10284
$as_echo "no" >&6; }
10541
   SOLAR_JAVA=""
10285
   SOLAR_JAVA=""
10542
10286
10543
   { echo "$as_me:$LINENO: WARNING: building without java will mean some features will not be available" >&5
10287
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building without java will mean some features will not be available" >&5
10544
echo "$as_me: WARNING: building without java will mean some features will not be available" >&2;}
10288
$as_echo "$as_me: WARNING: building without java will mean some features will not be available" >&2;}
10545
   echo "building without java will mean some features will not be available" >>warn
10289
   echo "building without java will mean some features will not be available" >>warn
10546
fi
10290
fi
10547
10291
Lines 10568-10577 Link Here
10568
   if test -z "$with_jdk_home"; then
10312
   if test -z "$with_jdk_home"; then
10569
      # Extract the first word of "$WITH_JAVA", so it can be a program name with args.
10313
      # Extract the first word of "$WITH_JAVA", so it can be a program name with args.
10570
set dummy $WITH_JAVA; ac_word=$2
10314
set dummy $WITH_JAVA; ac_word=$2
10571
echo "$as_me:$LINENO: checking for $ac_word" >&5
10315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10572
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316
$as_echo_n "checking for $ac_word... " >&6; }
10573
if test "${ac_cv_path_JAVAINTERPRETER+set}" = set; then
10317
if test "${ac_cv_path_JAVAINTERPRETER+set}" = set; then :
10574
  echo $ECHO_N "(cached) $ECHO_C" >&6
10318
  $as_echo_n "(cached) " >&6
10575
else
10319
else
10576
  case $JAVAINTERPRETER in
10320
  case $JAVAINTERPRETER in
10577
  [\\/]* | ?:[\\/]*)
10321
  [\\/]* | ?:[\\/]*)
Lines 10583-10618 Link Here
10583
do
10327
do
10584
  IFS=$as_save_IFS
10328
  IFS=$as_save_IFS
10585
  test -z "$as_dir" && as_dir=.
10329
  test -z "$as_dir" && as_dir=.
10586
  for ac_exec_ext in '' $ac_executable_extensions; do
10330
    for ac_exec_ext in '' $ac_executable_extensions; do
10587
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10588
    ac_cv_path_JAVAINTERPRETER="$as_dir/$ac_word$ac_exec_ext"
10332
    ac_cv_path_JAVAINTERPRETER="$as_dir/$ac_word$ac_exec_ext"
10589
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10333
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10590
    break 2
10334
    break 2
10591
  fi
10335
  fi
10592
done
10336
done
10593
done
10337
  done
10338
IFS=$as_save_IFS
10594
10339
10595
  ;;
10340
  ;;
10596
esac
10341
esac
10597
fi
10342
fi
10598
JAVAINTERPRETER=$ac_cv_path_JAVAINTERPRETER
10343
JAVAINTERPRETER=$ac_cv_path_JAVAINTERPRETER
10599
10600
if test -n "$JAVAINTERPRETER"; then
10344
if test -n "$JAVAINTERPRETER"; then
10601
  echo "$as_me:$LINENO: result: $JAVAINTERPRETER" >&5
10345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAINTERPRETER" >&5
10602
echo "${ECHO_T}$JAVAINTERPRETER" >&6
10346
$as_echo "$JAVAINTERPRETER" >&6; }
10603
else
10347
else
10604
  echo "$as_me:$LINENO: result: no" >&5
10348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605
echo "${ECHO_T}no" >&6
10349
$as_echo "no" >&6; }
10606
fi
10350
fi
10351
10607
10352
10608
   else
10353
   else
10609
      _java_path="$with_jdk_home/bin/$WITH_JAVA"
10354
      _java_path="$with_jdk_home/bin/$WITH_JAVA"
10610
            if test -x "$_java_path"; then
10355
            if test -x "$_java_path"; then
10611
         JAVAINTERPRETER=$_java_path
10356
         JAVAINTERPRETER=$_java_path
10612
      else
10357
      else
10613
         { { echo "$as_me:$LINENO: error: $_java_path not found set with_jdk_home" >&5
10358
         as_fn_error "$_java_path not found set with_jdk_home" "$LINENO" 5
10614
echo "$as_me: error: $_java_path not found set with_jdk_home" >&2;}
10615
   { (exit 1); exit 1; }; }
10616
      fi
10359
      fi
10617
   fi
10360
   fi
10618
   if test "$_os" = "WINNT"; then
10361
   if test "$_os" = "WINNT"; then
Lines 10626-10638 Link Here
10626
10369
10627
if test "$SOLAR_JAVA" != ""; then
10370
if test "$SOLAR_JAVA" != ""; then
10628
   _gij_longver=0
10371
   _gij_longver=0
10629
   echo "$as_me:$LINENO: checking the installed JDK" >&5
10372
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the installed JDK" >&5
10630
echo $ECHO_N "checking the installed JDK... $ECHO_C" >&6
10373
$as_echo_n "checking the installed JDK... " >&6; }
10631
   if test -n "$JAVAINTERPRETER"; then
10374
   if test -n "$JAVAINTERPRETER"; then
10632
            if test `$JAVAINTERPRETER -version 2>&1 | grep -c "Kaffe"` -gt 0; then
10375
            if test `$JAVAINTERPRETER -version 2>&1 | grep -c "Kaffe"` -gt 0; then
10633
         { { echo "$as_me:$LINENO: error: No valid check available. Please check the block for your desired java in configure.in" >&5
10376
         as_fn_error "No valid check available. Please check the block for your desired java in configure.in" "$LINENO" 5
10634
echo "$as_me: error: No valid check available. Please check the block for your desired java in configure.in" >&2;}
10635
   { (exit 1); exit 1; }; }
10636
#        dnl Kaffe specific tests
10377
#        dnl Kaffe specific tests
10637
#        KAFFE_VER=`$JAVAINTERPRETER -version 2>&1 | $EGREP "  Version:" | $SED -r "s/.*  Version: ([[0-9\.]]*).*/\1/"`
10378
#        KAFFE_VER=`$JAVAINTERPRETER -version 2>&1 | $EGREP "  Version:" | $SED -r "s/.*  Version: ([[0-9\.]]*).*/\1/"`
10638
#        if test -z "$KAFFE_VER"; then
10379
#        if test -z "$KAFFE_VER"; then
Lines 10652-10666 Link Here
10652
#        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10393
#        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10653
      elif test `$JAVAINTERPRETER --version 2>&1 | grep -c "GNU libgcj"` -gt 0; then
10394
      elif test `$JAVAINTERPRETER --version 2>&1 | grep -c "GNU libgcj"` -gt 0; then
10654
        JDK=gcj
10395
        JDK=gcj
10655
        echo "$as_me:$LINENO: result: checked (gcj)" >&5
10396
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (gcj)" >&5
10656
echo "${ECHO_T}checked (gcj)" >&6
10397
$as_echo "checked (gcj)" >&6; }
10657
        _gij_version=`$JAVAINTERPRETER --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
10398
        _gij_version=`$JAVAINTERPRETER --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
10658
        _gij_longver=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
10399
        _gij_longver=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
10659
10400
10660
      elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | grep -c "BEA"` -gt 0; then
10401
      elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | grep -c "BEA"` -gt 0; then
10661
         { { echo "$as_me:$LINENO: error: No valid check available. Please check the block for your desired java in configure.in" >&5
10402
         as_fn_error "No valid check available. Please check the block for your desired java in configure.in" "$LINENO" 5
10662
echo "$as_me: error: No valid check available. Please check the block for your desired java in configure.in" >&2;}
10663
   { (exit 1); exit 1; }; }
10664
#        JDK=bea
10403
#        JDK=bea
10665
#
10404
#
10666
#        dnl BEA JDK specific tests
10405
#        dnl BEA JDK specific tests
Lines 10690-10709 Link Here
10690
        _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10429
        _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10691
10430
10692
        if test "$_jdk_ver" -lt 10500; then
10431
        if test "$_jdk_ver" -lt 10500; then
10693
             { { echo "$as_me:$LINENO: error: IBM JDK is too old, you need at least 1.5" >&5
10432
             as_fn_error "IBM JDK is too old, you need at least 1.5" "$LINENO" 5
10694
echo "$as_me: error: IBM JDK is too old, you need at least 1.5" >&2;}
10433
        fi
10695
   { (exit 1); exit 1; }; }
10434
10696
        fi
10435
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (IBM JDK $_jdk)" >&5
10697
10436
$as_echo "checked (IBM JDK $_jdk)" >&6; }
10698
        echo "$as_me:$LINENO: result: checked (IBM JDK $_jdk)" >&5
10699
echo "${ECHO_T}checked (IBM JDK $_jdk)" >&6
10700
10437
10701
        if test "$with_jdk_home" = ""; then
10438
        if test "$with_jdk_home" = ""; then
10702
             { { echo "$as_me:$LINENO: error: In order to successfully build OpenOffice.org using the IBM JDK,
10439
             as_fn_error "In order to successfully build OpenOffice.org using the IBM JDK,
10703
you must use the \"--with-jdk-home\" configure option explicitly" >&5
10440
you must use the \"--with-jdk-home\" configure option explicitly" "$LINENO" 5
10704
echo "$as_me: error: In order to successfully build OpenOffice.org using the IBM JDK,
10705
you must use the \"--with-jdk-home\" configure option explicitly" >&2;}
10706
   { (exit 1); exit 1; }; }
10707
        fi
10441
        fi
10708
10442
10709
        JAVA_HOME=$with_jdk_home
10443
        JAVA_HOME=$with_jdk_home
Lines 10715-10726 Link Here
10715
        _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10449
        _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10716
10450
10717
        if test "$_jdk_ver" -lt 10500; then
10451
        if test "$_jdk_ver" -lt 10500; then
10718
             { { echo "$as_me:$LINENO: error: JDK is too old, you need at least 1.5" >&5
10452
             as_fn_error "JDK is too old, you need at least 1.5" "$LINENO" 5
10719
echo "$as_me: error: JDK is too old, you need at least 1.5" >&2;}
10453
        fi
10720
   { (exit 1); exit 1; }; }
10454
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (JDK $_jdk)" >&5
10721
        fi
10455
$as_echo "checked (JDK $_jdk)" >&6; }
10722
        echo "$as_me:$LINENO: result: checked (JDK $_jdk)" >&5
10723
echo "${ECHO_T}checked (JDK $_jdk)" >&6
10724
        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10456
        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10725
        if test "$_os" = "WINNT"; then
10457
        if test "$_os" = "WINNT"; then
10726
          JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[eE][xX][eE]$,,"`
10458
          JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[eE][xX][eE]$,,"`
Lines 10730-10738 Link Here
10730
        fi
10462
        fi
10731
      fi
10463
      fi
10732
   else
10464
   else
10733
      { { echo "$as_me:$LINENO: error: JAVA not found. You need at least jdk-1.5, or gcj-4" >&5
10465
      as_fn_error "JAVA not found. You need at least jdk-1.5, or gcj-4" "$LINENO" 5
10734
echo "$as_me: error: JAVA not found. You need at least jdk-1.5, or gcj-4" >&2;}
10735
   { (exit 1); exit 1; }; }
10736
   fi
10466
   fi
10737
else
10467
else
10738
      JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
10468
      JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
Lines 10752-10761 Link Here
10752
    if test -z "$with_jdk_home"; then
10482
    if test -z "$with_jdk_home"; then
10753
        # Extract the first word of "$javacompiler", so it can be a program name with args.
10483
        # Extract the first word of "$javacompiler", so it can be a program name with args.
10754
set dummy $javacompiler; ac_word=$2
10484
set dummy $javacompiler; ac_word=$2
10755
echo "$as_me:$LINENO: checking for $ac_word" >&5
10485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10756
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10486
$as_echo_n "checking for $ac_word... " >&6; }
10757
if test "${ac_cv_path_JAVACOMPILER+set}" = set; then
10487
if test "${ac_cv_path_JAVACOMPILER+set}" = set; then :
10758
  echo $ECHO_N "(cached) $ECHO_C" >&6
10488
  $as_echo_n "(cached) " >&6
10759
else
10489
else
10760
  case $JAVACOMPILER in
10490
  case $JAVACOMPILER in
10761
  [\\/]* | ?:[\\/]*)
10491
  [\\/]* | ?:[\\/]*)
Lines 10767-10793 Link Here
10767
do
10497
do
10768
  IFS=$as_save_IFS
10498
  IFS=$as_save_IFS
10769
  test -z "$as_dir" && as_dir=.
10499
  test -z "$as_dir" && as_dir=.
10770
  for ac_exec_ext in '' $ac_executable_extensions; do
10500
    for ac_exec_ext in '' $ac_executable_extensions; do
10771
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10772
    ac_cv_path_JAVACOMPILER="$as_dir/$ac_word$ac_exec_ext"
10502
    ac_cv_path_JAVACOMPILER="$as_dir/$ac_word$ac_exec_ext"
10773
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10774
    break 2
10504
    break 2
10775
  fi
10505
  fi
10776
done
10506
done
10777
done
10507
  done
10508
IFS=$as_save_IFS
10778
10509
10779
  ;;
10510
  ;;
10780
esac
10511
esac
10781
fi
10512
fi
10782
JAVACOMPILER=$ac_cv_path_JAVACOMPILER
10513
JAVACOMPILER=$ac_cv_path_JAVACOMPILER
10783
10784
if test -n "$JAVACOMPILER"; then
10514
if test -n "$JAVACOMPILER"; then
10785
  echo "$as_me:$LINENO: result: $JAVACOMPILER" >&5
10515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVACOMPILER" >&5
10786
echo "${ECHO_T}$JAVACOMPILER" >&6
10516
$as_echo "$JAVACOMPILER" >&6; }
10787
else
10517
else
10788
  echo "$as_me:$LINENO: result: no" >&5
10518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10789
echo "${ECHO_T}no" >&6
10519
$as_echo "no" >&6; }
10790
fi
10520
fi
10521
10791
10522
10792
    else
10523
    else
10793
        _javac_path="$with_jdk_home/bin/$javacompiler"
10524
        _javac_path="$with_jdk_home/bin/$javacompiler"
Lines 10796-10804 Link Here
10796
        fi
10527
        fi
10797
    fi
10528
    fi
10798
    if test -z "$JAVACOMPILER"; then
10529
    if test -z "$JAVACOMPILER"; then
10799
      { { echo "$as_me:$LINENO: error: $javacompiler not found set with_jdk_home" >&5
10530
      as_fn_error "$javacompiler not found set with_jdk_home" "$LINENO" 5
10800
echo "$as_me: error: $javacompiler not found set with_jdk_home" >&2;}
10801
   { (exit 1); exit 1; }; }
10802
    fi
10531
    fi
10803
    if test "$_os" = "WINNT"; then
10532
    if test "$_os" = "WINNT"; then
10804
       if test x`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x; then
10533
       if test x`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x; then
Lines 10814-10824 Link Here
10814
    fi
10543
    fi
10815
10544
10816
    if test `$JAVACOMPILER -version 2>&1 | grep -c "Eclipse Java Compiler"` -gt 0; then
10545
    if test `$JAVACOMPILER -version 2>&1 | grep -c "Eclipse Java Compiler"` -gt 0; then
10817
        echo "$as_me:$LINENO: checking re-checking JDK" >&5
10546
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking re-checking JDK" >&5
10818
echo $ECHO_N "checking re-checking JDK... $ECHO_C" >&6
10547
$as_echo_n "checking re-checking JDK... " >&6; }
10819
        JDK=gcj
10548
        JDK=gcj
10820
        echo "$as_me:$LINENO: result: checked (ecj)" >&5
10549
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked (ecj)" >&5
10821
echo "${ECHO_T}checked (ecj)" >&6
10550
$as_echo "checked (ecj)" >&6; }
10822
        #TODO: what's to do here? some switch to do 1.5 compiling?
10551
        #TODO: what's to do here? some switch to do 1.5 compiling?
10823
        JAVAFLAGS="-source 1.5 -target 1.5"
10552
        JAVAFLAGS="-source 1.5 -target 1.5"
10824
        _gij_longver="40200"
10553
        _gij_longver="40200"
Lines 10837-10846 Link Here
10837
    if test -z "$with_jdk_home"; then
10566
    if test -z "$with_jdk_home"; then
10838
        # Extract the first word of "javadoc", so it can be a program name with args.
10567
        # Extract the first word of "javadoc", so it can be a program name with args.
10839
set dummy javadoc; ac_word=$2
10568
set dummy javadoc; ac_word=$2
10840
echo "$as_me:$LINENO: checking for $ac_word" >&5
10569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10841
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10570
$as_echo_n "checking for $ac_word... " >&6; }
10842
if test "${ac_cv_path_JAVADOC+set}" = set; then
10571
if test "${ac_cv_path_JAVADOC+set}" = set; then :
10843
  echo $ECHO_N "(cached) $ECHO_C" >&6
10572
  $as_echo_n "(cached) " >&6
10844
else
10573
else
10845
  case $JAVADOC in
10574
  case $JAVADOC in
10846
  [\\/]* | ?:[\\/]*)
10575
  [\\/]* | ?:[\\/]*)
Lines 10852-10878 Link Here
10852
do
10581
do
10853
  IFS=$as_save_IFS
10582
  IFS=$as_save_IFS
10854
  test -z "$as_dir" && as_dir=.
10583
  test -z "$as_dir" && as_dir=.
10855
  for ac_exec_ext in '' $ac_executable_extensions; do
10584
    for ac_exec_ext in '' $ac_executable_extensions; do
10856
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10857
    ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
10586
    ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
10858
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10859
    break 2
10588
    break 2
10860
  fi
10589
  fi
10861
done
10590
done
10862
done
10591
  done
10592
IFS=$as_save_IFS
10863
10593
10864
  ;;
10594
  ;;
10865
esac
10595
esac
10866
fi
10596
fi
10867
JAVADOC=$ac_cv_path_JAVADOC
10597
JAVADOC=$ac_cv_path_JAVADOC
10868
10869
if test -n "$JAVADOC"; then
10598
if test -n "$JAVADOC"; then
10870
  echo "$as_me:$LINENO: result: $JAVADOC" >&5
10599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
10871
echo "${ECHO_T}$JAVADOC" >&6
10600
$as_echo "$JAVADOC" >&6; }
10872
else
10601
else
10873
  echo "$as_me:$LINENO: result: no" >&5
10602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10874
echo "${ECHO_T}no" >&6
10603
$as_echo "no" >&6; }
10875
fi
10604
fi
10605
10876
10606
10877
    else
10607
    else
10878
        _javadoc_path="$with_jdk_home/bin/javadoc"
10608
        _javadoc_path="$with_jdk_home/bin/javadoc"
Lines 10886-10895 Link Here
10886
        else
10616
        else
10887
            # Extract the first word of "javadoc", so it can be a program name with args.
10617
            # Extract the first word of "javadoc", so it can be a program name with args.
10888
set dummy javadoc; ac_word=$2
10618
set dummy javadoc; ac_word=$2
10889
echo "$as_me:$LINENO: checking for $ac_word" >&5
10619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10890
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620
$as_echo_n "checking for $ac_word... " >&6; }
10891
if test "${ac_cv_path_JAVADOC+set}" = set; then
10621
if test "${ac_cv_path_JAVADOC+set}" = set; then :
10892
  echo $ECHO_N "(cached) $ECHO_C" >&6
10622
  $as_echo_n "(cached) " >&6
10893
else
10623
else
10894
  case $JAVADOC in
10624
  case $JAVADOC in
10895
  [\\/]* | ?:[\\/]*)
10625
  [\\/]* | ?:[\\/]*)
Lines 10901-10934 Link Here
10901
do
10631
do
10902
  IFS=$as_save_IFS
10632
  IFS=$as_save_IFS
10903
  test -z "$as_dir" && as_dir=.
10633
  test -z "$as_dir" && as_dir=.
10904
  for ac_exec_ext in '' $ac_executable_extensions; do
10634
    for ac_exec_ext in '' $ac_executable_extensions; do
10905
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10635
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10906
    ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
10636
    ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
10907
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10908
    break 2
10638
    break 2
10909
  fi
10639
  fi
10910
done
10640
done
10911
done
10641
  done
10642
IFS=$as_save_IFS
10912
10643
10913
  ;;
10644
  ;;
10914
esac
10645
esac
10915
fi
10646
fi
10916
JAVADOC=$ac_cv_path_JAVADOC
10647
JAVADOC=$ac_cv_path_JAVADOC
10917
10918
if test -n "$JAVADOC"; then
10648
if test -n "$JAVADOC"; then
10919
  echo "$as_me:$LINENO: result: $JAVADOC" >&5
10649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
10920
echo "${ECHO_T}$JAVADOC" >&6
10650
$as_echo "$JAVADOC" >&6; }
10921
else
10651
else
10922
  echo "$as_me:$LINENO: result: no" >&5
10652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10923
echo "${ECHO_T}no" >&6
10653
$as_echo "no" >&6; }
10924
fi
10654
fi
10655
10925
10656
10926
        fi
10657
        fi
10927
    fi
10658
    fi
10928
    if test -z "$JAVADOC"; then
10659
    if test -z "$JAVADOC"; then
10929
      { { echo "$as_me:$LINENO: error: $_javadoc_path not found set with_jdk_home" >&5
10660
      as_fn_error "$_javadoc_path not found set with_jdk_home" "$LINENO" 5
10930
echo "$as_me: error: $_javadoc_path not found set with_jdk_home" >&2;}
10931
   { (exit 1); exit 1; }; }
10932
    fi
10661
    fi
10933
    if test "$_os" = "WINNT"; then
10662
    if test "$_os" = "WINNT"; then
10934
        if test x`echo "$JAVADOC" | grep -i '\.exe$'` = x; then
10663
        if test x`echo "$JAVADOC" | grep -i '\.exe$'` = x; then
Lines 10960-10996 Link Here
10960
    }
10689
    }
10961
}
10690
}
10962
_ACEOF
10691
_ACEOF
10963
        echo "$as_me:$LINENO: checking if javac works" >&5
10692
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if javac works" >&5
10964
echo $ECHO_N "checking if javac works... $ECHO_C" >&6
10693
$as_echo_n "checking if javac works... " >&6; }
10965
        javac_cmd="$JAVACOMPILER findhome.java 1>&2"
10694
        javac_cmd="$JAVACOMPILER findhome.java 1>&2"
10966
        { (eval echo "$as_me:$LINENO: \"$javac_cmd\"") >&5
10695
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$javac_cmd\""; } >&5
10967
  (eval $javac_cmd) 2>&5
10696
  (eval $javac_cmd) 2>&5
10968
  ac_status=$?
10697
  ac_status=$?
10969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970
  (exit $ac_status); }
10699
  test $ac_status = 0; }
10971
        if test $? = 0 && test -f ./findhome.class ; then
10700
        if test $? = 0 && test -f ./findhome.class ; then
10972
          echo "$as_me:$LINENO: result: javac works" >&5
10701
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: javac works" >&5
10973
echo "${ECHO_T}javac works" >&6
10702
$as_echo "javac works" >&6; }
10974
        else
10703
        else
10975
          echo "configure: javac test failed" >&5
10704
          echo "configure: javac test failed" >&5
10976
          cat findhome.java >&5
10705
          cat findhome.java >&5
10977
          { { echo "$as_me:$LINENO: error: javac does not work - java projects will not build!" >&5
10706
          as_fn_error "javac does not work - java projects will not build!" "$LINENO" 5
10978
echo "$as_me: error: javac does not work - java projects will not build!" >&2;}
10707
        fi
10979
   { (exit 1); exit 1; }; }
10708
10980
        fi
10709
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gij knows its java.home" >&5
10981
10710
$as_echo_n "checking if gij knows its java.home... " >&6; }
10982
        echo "$as_me:$LINENO: checking if gij knows its java.home" >&5
10983
echo $ECHO_N "checking if gij knows its java.home... $ECHO_C" >&6
10984
        JAVA_HOME=`$JAVAINTERPRETER findhome`
10711
        JAVA_HOME=`$JAVAINTERPRETER findhome`
10985
        if test $? = 0 && test "$JAVA_HOME" != "" ; then
10712
        if test $? = 0 && test "$JAVA_HOME" != "" ; then
10986
          echo "$as_me:$LINENO: result: $JAVA_HOME" >&5
10713
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA_HOME" >&5
10987
echo "${ECHO_T}$JAVA_HOME" >&6
10714
$as_echo "$JAVA_HOME" >&6; }
10988
        else
10715
        else
10989
          echo "configure: java test failed" >&5
10716
          echo "configure: java test failed" >&5
10990
          cat findhome.java >&5
10717
          cat findhome.java >&5
10991
          { { echo "$as_me:$LINENO: error: gij does not know its java.home - use --with-jdk-home" >&5
10718
          as_fn_error "gij does not know its java.home - use --with-jdk-home" "$LINENO" 5
10992
echo "$as_me: error: gij does not know its java.home - use --with-jdk-home" >&2;}
10993
   { (exit 1); exit 1; }; }
10994
        fi
10719
        fi
10995
      else
10720
      else
10996
        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$WITH_JAVA,,p"`
10721
        JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$WITH_JAVA,,p"`
Lines 11012-11021 Link Here
11012
            JAVA_HOME=$(readlink $JAVACOMPILER)
10737
            JAVA_HOME=$(readlink $JAVACOMPILER)
11013
         else
10738
         else
11014
          # else warn
10739
          # else warn
11015
          { echo "$as_me:$LINENO: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&5
10740
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&5
11016
echo "$as_me: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&2;}
10741
$as_echo "$as_me: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&2;}
11017
          { echo "$as_me:$LINENO: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&5
10742
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&5
11018
echo "$as_me: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&2;}
10743
$as_echo "$as_me: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&2;}
11019
          echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
10744
          echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
11020
          echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
10745
          echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
11021
          fi
10746
          fi
Lines 11037-11048 Link Here
11037
         JAVA_HOME_OK="NO"
10762
         JAVA_HOME_OK="NO"
11038
      fi
10763
      fi
11039
      if test "$JAVA_HOME_OK" = "NO"; then
10764
      if test "$JAVA_HOME_OK" = "NO"; then
11040
         { echo "$as_me:$LINENO: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&5
10765
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&5
11041
echo "$as_me: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&2;}
10766
$as_echo "$as_me: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&2;}
11042
         { echo "$as_me:$LINENO: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&5
10767
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&5
11043
echo "$as_me: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&2;}
10768
$as_echo "$as_me: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&2;}
11044
         { echo "$as_me:$LINENO: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&5
10769
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&5
11045
echo "$as_me: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&2;}
10770
$as_echo "$as_me: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&2;}
11046
         echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
10771
         echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
11047
         echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
10772
         echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
11048
         echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
10773
         echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
Lines 11055-11279 Link Here
11055
10780
11056
AWTLIB=
10781
AWTLIB=
11057
if test "$SOLAR_JAVA" != ""; then
10782
if test "$SOLAR_JAVA" != ""; then
11058
   echo "$as_me:$LINENO: checking for jawt lib name" >&5
10783
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jawt lib name" >&5
11059
echo $ECHO_N "checking for jawt lib name... $ECHO_C" >&6
10784
$as_echo_n "checking for jawt lib name... " >&6; }
11060
   if test "$JDK" = "gcj"; then
10785
   if test "$JDK" = "gcj"; then
11061
      save_CFLAGS=$CFLAGS
10786
      save_CFLAGS=$CFLAGS
11062
      save_LDFLAGS=$LDFLAGS
10787
      save_LDFLAGS=$LDFLAGS
11063
      CFLAGS="$CFLAGS -I$JAVA_HOME/include"
10788
      CFLAGS="$CFLAGS -I$JAVA_HOME/include"
11064
      LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
10789
      LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
11065
      exec 6>/dev/null # no output
10790
      exec 6>/dev/null # no output
11066
      if test "${ac_cv_header_jni_h+set}" = set; then
10791
      ac_fn_c_check_header_mongrel "$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
11067
  echo "$as_me:$LINENO: checking for jni.h" >&5
10792
if test "x$ac_cv_header_jni_h" = x""yes; then :
11068
echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
10793
11069
if test "${ac_cv_header_jni_h+set}" = set; then
10794
else
11070
  echo $ECHO_N "(cached) $ECHO_C" >&6
10795
  as_fn_error "jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?" "$LINENO" 5
11071
fi
10796
fi
11072
echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
10797
11073
echo "${ECHO_T}$ac_cv_header_jni_h" >&6
10798
11074
else
10799
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JAWT_GetAWT in -lgcjawt" >&5
11075
  # Is the header compilable?
10800
$as_echo_n "checking for JAWT_GetAWT in -lgcjawt... " >&6; }
11076
echo "$as_me:$LINENO: checking jni.h usability" >&5
10801
if test "${ac_cv_lib_gcjawt_JAWT_GetAWT+set}" = set; then :
11077
echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
10802
  $as_echo_n "(cached) " >&6
11078
cat >conftest.$ac_ext <<_ACEOF
11079
/* confdefs.h.  */
11080
_ACEOF
11081
cat confdefs.h >>conftest.$ac_ext
11082
cat >>conftest.$ac_ext <<_ACEOF
11083
/* end confdefs.h.  */
11084
$ac_includes_default
11085
#include <jni.h>
11086
_ACEOF
11087
rm -f conftest.$ac_objext
11088
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11089
  (eval $ac_compile) 2>conftest.er1
11090
  ac_status=$?
11091
  grep -v '^ *+' conftest.er1 >conftest.err
11092
  rm -f conftest.er1
11093
  cat conftest.err >&5
11094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095
  (exit $ac_status); } &&
11096
	 { ac_try='test -z "$ac_c_werror_flag"
11097
			 || test ! -s conftest.err'
11098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099
  (eval $ac_try) 2>&5
11100
  ac_status=$?
11101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102
  (exit $ac_status); }; } &&
11103
	 { ac_try='test -s conftest.$ac_objext'
11104
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105
  (eval $ac_try) 2>&5
11106
  ac_status=$?
11107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108
  (exit $ac_status); }; }; then
11109
  ac_header_compiler=yes
11110
else
11111
  echo "$as_me: failed program was:" >&5
11112
sed 's/^/| /' conftest.$ac_ext >&5
11113
11114
ac_header_compiler=no
11115
fi
11116
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11117
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11118
echo "${ECHO_T}$ac_header_compiler" >&6
11119
11120
# Is the header present?
11121
echo "$as_me:$LINENO: checking jni.h presence" >&5
11122
echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
11123
cat >conftest.$ac_ext <<_ACEOF
11124
/* confdefs.h.  */
11125
_ACEOF
11126
cat confdefs.h >>conftest.$ac_ext
11127
cat >>conftest.$ac_ext <<_ACEOF
11128
/* end confdefs.h.  */
11129
#include <jni.h>
11130
_ACEOF
11131
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11132
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11133
  ac_status=$?
11134
  grep -v '^ *+' conftest.er1 >conftest.err
11135
  rm -f conftest.er1
11136
  cat conftest.err >&5
11137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138
  (exit $ac_status); } >/dev/null; then
11139
  if test -s conftest.err; then
11140
    ac_cpp_err=$ac_c_preproc_warn_flag
11141
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11142
  else
11143
    ac_cpp_err=
11144
  fi
11145
else
11146
  ac_cpp_err=yes
11147
fi
11148
if test -z "$ac_cpp_err"; then
11149
  ac_header_preproc=yes
11150
else
11151
  echo "$as_me: failed program was:" >&5
11152
sed 's/^/| /' conftest.$ac_ext >&5
11153
11154
  ac_header_preproc=no
11155
fi
11156
rm -f conftest.err conftest.$ac_ext
11157
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11158
echo "${ECHO_T}$ac_header_preproc" >&6
11159
11160
# So?  What about this header?
11161
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11162
  yes:no: )
11163
    { echo "$as_me:$LINENO: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&5
11164
echo "$as_me: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11165
    { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the compiler's result" >&5
11166
echo "$as_me: WARNING: jni.h: proceeding with the compiler's result" >&2;}
11167
    ac_header_preproc=yes
11168
    ;;
11169
  no:yes:* )
11170
    { echo "$as_me:$LINENO: WARNING: jni.h: present but cannot be compiled" >&5
11171
echo "$as_me: WARNING: jni.h: present but cannot be compiled" >&2;}
11172
    { echo "$as_me:$LINENO: WARNING: jni.h:     check for missing prerequisite headers?" >&5
11173
echo "$as_me: WARNING: jni.h:     check for missing prerequisite headers?" >&2;}
11174
    { echo "$as_me:$LINENO: WARNING: jni.h: see the Autoconf documentation" >&5
11175
echo "$as_me: WARNING: jni.h: see the Autoconf documentation" >&2;}
11176
    { echo "$as_me:$LINENO: WARNING: jni.h:     section \"Present But Cannot Be Compiled\"" >&5
11177
echo "$as_me: WARNING: jni.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11178
    { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the preprocessor's result" >&5
11179
echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
11180
    { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
11181
echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
11182
    (
11183
      cat <<\_ASBOX
11184
## ------------------------------------------ ##
11185
## Report this to the AC_PACKAGE_NAME lists.  ##
11186
## ------------------------------------------ ##
11187
_ASBOX
11188
    ) |
11189
      sed "s/^/$as_me: WARNING:     /" >&2
11190
    ;;
11191
esac
11192
echo "$as_me:$LINENO: checking for jni.h" >&5
11193
echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11194
if test "${ac_cv_header_jni_h+set}" = set; then
11195
  echo $ECHO_N "(cached) $ECHO_C" >&6
11196
else
11197
  ac_cv_header_jni_h=$ac_header_preproc
11198
fi
11199
echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11200
echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11201
11202
fi
11203
if test $ac_cv_header_jni_h = yes; then
11204
  :
11205
else
11206
  { { echo "$as_me:$LINENO: error: jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?" >&5
11207
echo "$as_me: error: jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?" >&2;}
11208
   { (exit 1); exit 1; }; }
11209
fi
11210
11211
11212
      echo "$as_me:$LINENO: checking for JAWT_GetAWT in -lgcjawt" >&5
11213
echo $ECHO_N "checking for JAWT_GetAWT in -lgcjawt... $ECHO_C" >&6
11214
if test "${ac_cv_lib_gcjawt_JAWT_GetAWT+set}" = set; then
11215
  echo $ECHO_N "(cached) $ECHO_C" >&6
11216
else
10803
else
11217
  ac_check_lib_save_LIBS=$LIBS
10804
  ac_check_lib_save_LIBS=$LIBS
11218
LIBS="-lgcjawt  $LIBS"
10805
LIBS="-lgcjawt  $LIBS"
11219
cat >conftest.$ac_ext <<_ACEOF
10806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220
/* confdefs.h.  */
10807
/* end confdefs.h.  */
11221
_ACEOF
10808
11222
cat confdefs.h >>conftest.$ac_ext
10809
/* Override any GCC internal prototype to avoid an error.
11223
cat >>conftest.$ac_ext <<_ACEOF
10810
   Use char because int might match the return type of a GCC
11224
/* end confdefs.h.  */
10811
   builtin and then its argument prototype would still apply.  */
11225
11226
/* Override any gcc2 internal prototype to avoid an error.  */
11227
#ifdef __cplusplus
10812
#ifdef __cplusplus
11228
extern "C"
10813
extern "C"
11229
#endif
10814
#endif
11230
/* We use char because int might match the return type of a gcc2
11231
   builtin and then its argument prototype would still apply.  */
11232
char JAWT_GetAWT ();
10815
char JAWT_GetAWT ();
11233
int
10816
int
11234
main ()
10817
main ()
11235
{
10818
{
11236
JAWT_GetAWT ();
10819
return JAWT_GetAWT ();
11237
  ;
10820
  ;
11238
  return 0;
10821
  return 0;
11239
}
10822
}
11240
_ACEOF
10823
_ACEOF
11241
rm -f conftest.$ac_objext conftest$ac_exeext
10824
if ac_fn_c_try_link "$LINENO"; then :
11242
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11243
  (eval $ac_link) 2>conftest.er1
11244
  ac_status=$?
11245
  grep -v '^ *+' conftest.er1 >conftest.err
11246
  rm -f conftest.er1
11247
  cat conftest.err >&5
11248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249
  (exit $ac_status); } &&
11250
	 { ac_try='test -z "$ac_c_werror_flag"
11251
			 || test ! -s conftest.err'
11252
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11253
  (eval $ac_try) 2>&5
11254
  ac_status=$?
11255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256
  (exit $ac_status); }; } &&
11257
	 { ac_try='test -s conftest$ac_exeext'
11258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259
  (eval $ac_try) 2>&5
11260
  ac_status=$?
11261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262
  (exit $ac_status); }; }; then
11263
  ac_cv_lib_gcjawt_JAWT_GetAWT=yes
10825
  ac_cv_lib_gcjawt_JAWT_GetAWT=yes
11264
else
10826
else
11265
  echo "$as_me: failed program was:" >&5
10827
  ac_cv_lib_gcjawt_JAWT_GetAWT=no
11266
sed 's/^/| /' conftest.$ac_ext >&5
10828
fi
11267
10829
rm -f core conftest.err conftest.$ac_objext \
11268
ac_cv_lib_gcjawt_JAWT_GetAWT=no
10830
    conftest$ac_exeext conftest.$ac_ext
11269
fi
11270
rm -f conftest.err conftest.$ac_objext \
11271
      conftest$ac_exeext conftest.$ac_ext
11272
LIBS=$ac_check_lib_save_LIBS
10831
LIBS=$ac_check_lib_save_LIBS
11273
fi
10832
fi
11274
echo "$as_me:$LINENO: result: $ac_cv_lib_gcjawt_JAWT_GetAWT" >&5
10833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcjawt_JAWT_GetAWT" >&5
11275
echo "${ECHO_T}$ac_cv_lib_gcjawt_JAWT_GetAWT" >&6
10834
$as_echo "$ac_cv_lib_gcjawt_JAWT_GetAWT" >&6; }
11276
if test $ac_cv_lib_gcjawt_JAWT_GetAWT = yes; then
10835
if test "x$ac_cv_lib_gcjawt_JAWT_GetAWT" = x""yes; then :
11277
   AWTLIB="-lgcjawt -lgcj"
10836
   AWTLIB="-lgcjawt -lgcj"
11278
fi
10837
fi
11279
10838
Lines 11292-11578 Link Here
11292
      LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:$JAVA_HOME/jre/bin/xawt:$LD_LIBRARY_PATH
10851
      LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:$JAVA_HOME/jre/bin/xawt:$LD_LIBRARY_PATH
11293
      export LD_LIBRARY_PATH
10852
      export LD_LIBRARY_PATH
11294
      exec 6>/dev/null # no output
10853
      exec 6>/dev/null # no output
11295
      if test "${ac_cv_header_jni_h+set}" = set; then
10854
      ac_fn_c_check_header_mongrel "$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
11296
  echo "$as_me:$LINENO: checking for jni.h" >&5
10855
if test "x$ac_cv_header_jni_h" = x""yes; then :
11297
echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
10856
11298
if test "${ac_cv_header_jni_h+set}" = set; then
10857
else
11299
  echo $ECHO_N "(cached) $ECHO_C" >&6
10858
  as_fn_error "jni.h could not be found." "$LINENO" 5
11300
fi
10859
fi
11301
echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
10860
11302
echo "${ECHO_T}$ac_cv_header_jni_h" >&6
10861
11303
else
10862
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JAWT_GetAWT in -ljawt" >&5
11304
  # Is the header compilable?
10863
$as_echo_n "checking for JAWT_GetAWT in -ljawt... " >&6; }
11305
echo "$as_me:$LINENO: checking jni.h usability" >&5
10864
if test "${ac_cv_lib_jawt_JAWT_GetAWT+set}" = set; then :
11306
echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
10865
  $as_echo_n "(cached) " >&6
11307
cat >conftest.$ac_ext <<_ACEOF
11308
/* confdefs.h.  */
11309
_ACEOF
11310
cat confdefs.h >>conftest.$ac_ext
11311
cat >>conftest.$ac_ext <<_ACEOF
11312
/* end confdefs.h.  */
11313
$ac_includes_default
11314
#include <jni.h>
11315
_ACEOF
11316
rm -f conftest.$ac_objext
11317
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11318
  (eval $ac_compile) 2>conftest.er1
11319
  ac_status=$?
11320
  grep -v '^ *+' conftest.er1 >conftest.err
11321
  rm -f conftest.er1
11322
  cat conftest.err >&5
11323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324
  (exit $ac_status); } &&
11325
	 { ac_try='test -z "$ac_c_werror_flag"
11326
			 || test ! -s conftest.err'
11327
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328
  (eval $ac_try) 2>&5
11329
  ac_status=$?
11330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331
  (exit $ac_status); }; } &&
11332
	 { ac_try='test -s conftest.$ac_objext'
11333
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334
  (eval $ac_try) 2>&5
11335
  ac_status=$?
11336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337
  (exit $ac_status); }; }; then
11338
  ac_header_compiler=yes
11339
else
11340
  echo "$as_me: failed program was:" >&5
11341
sed 's/^/| /' conftest.$ac_ext >&5
11342
11343
ac_header_compiler=no
11344
fi
11345
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11346
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11347
echo "${ECHO_T}$ac_header_compiler" >&6
11348
11349
# Is the header present?
11350
echo "$as_me:$LINENO: checking jni.h presence" >&5
11351
echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
11352
cat >conftest.$ac_ext <<_ACEOF
11353
/* confdefs.h.  */
11354
_ACEOF
11355
cat confdefs.h >>conftest.$ac_ext
11356
cat >>conftest.$ac_ext <<_ACEOF
11357
/* end confdefs.h.  */
11358
#include <jni.h>
11359
_ACEOF
11360
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11361
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11362
  ac_status=$?
11363
  grep -v '^ *+' conftest.er1 >conftest.err
11364
  rm -f conftest.er1
11365
  cat conftest.err >&5
11366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367
  (exit $ac_status); } >/dev/null; then
11368
  if test -s conftest.err; then
11369
    ac_cpp_err=$ac_c_preproc_warn_flag
11370
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11371
  else
11372
    ac_cpp_err=
11373
  fi
11374
else
11375
  ac_cpp_err=yes
11376
fi
11377
if test -z "$ac_cpp_err"; then
11378
  ac_header_preproc=yes
11379
else
11380
  echo "$as_me: failed program was:" >&5
11381
sed 's/^/| /' conftest.$ac_ext >&5
11382
11383
  ac_header_preproc=no
11384
fi
11385
rm -f conftest.err conftest.$ac_ext
11386
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11387
echo "${ECHO_T}$ac_header_preproc" >&6
11388
11389
# So?  What about this header?
11390
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11391
  yes:no: )
11392
    { echo "$as_me:$LINENO: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&5
11393
echo "$as_me: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11394
    { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the compiler's result" >&5
11395
echo "$as_me: WARNING: jni.h: proceeding with the compiler's result" >&2;}
11396
    ac_header_preproc=yes
11397
    ;;
11398
  no:yes:* )
11399
    { echo "$as_me:$LINENO: WARNING: jni.h: present but cannot be compiled" >&5
11400
echo "$as_me: WARNING: jni.h: present but cannot be compiled" >&2;}
11401
    { echo "$as_me:$LINENO: WARNING: jni.h:     check for missing prerequisite headers?" >&5
11402
echo "$as_me: WARNING: jni.h:     check for missing prerequisite headers?" >&2;}
11403
    { echo "$as_me:$LINENO: WARNING: jni.h: see the Autoconf documentation" >&5
11404
echo "$as_me: WARNING: jni.h: see the Autoconf documentation" >&2;}
11405
    { echo "$as_me:$LINENO: WARNING: jni.h:     section \"Present But Cannot Be Compiled\"" >&5
11406
echo "$as_me: WARNING: jni.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11407
    { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the preprocessor's result" >&5
11408
echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
11409
    { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
11410
echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
11411
    (
11412
      cat <<\_ASBOX
11413
## ------------------------------------------ ##
11414
## Report this to the AC_PACKAGE_NAME lists.  ##
11415
## ------------------------------------------ ##
11416
_ASBOX
11417
    ) |
11418
      sed "s/^/$as_me: WARNING:     /" >&2
11419
    ;;
11420
esac
11421
echo "$as_me:$LINENO: checking for jni.h" >&5
11422
echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11423
if test "${ac_cv_header_jni_h+set}" = set; then
11424
  echo $ECHO_N "(cached) $ECHO_C" >&6
11425
else
11426
  ac_cv_header_jni_h=$ac_header_preproc
11427
fi
11428
echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11429
echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11430
11431
fi
11432
if test $ac_cv_header_jni_h = yes; then
11433
  :
11434
else
11435
  { { echo "$as_me:$LINENO: error: jni.h could not be found." >&5
11436
echo "$as_me: error: jni.h could not be found." >&2;}
11437
   { (exit 1); exit 1; }; }
11438
fi
11439
11440
11441
      echo "$as_me:$LINENO: checking for JAWT_GetAWT in -ljawt" >&5
11442
echo $ECHO_N "checking for JAWT_GetAWT in -ljawt... $ECHO_C" >&6
11443
if test "${ac_cv_lib_jawt_JAWT_GetAWT+set}" = set; then
11444
  echo $ECHO_N "(cached) $ECHO_C" >&6
11445
else
10866
else
11446
  ac_check_lib_save_LIBS=$LIBS
10867
  ac_check_lib_save_LIBS=$LIBS
11447
LIBS="-ljawt  $LIBS"
10868
LIBS="-ljawt  $LIBS"
11448
cat >conftest.$ac_ext <<_ACEOF
10869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449
/* confdefs.h.  */
10870
/* end confdefs.h.  */
11450
_ACEOF
10871
11451
cat confdefs.h >>conftest.$ac_ext
10872
/* Override any GCC internal prototype to avoid an error.
11452
cat >>conftest.$ac_ext <<_ACEOF
10873
   Use char because int might match the return type of a GCC
11453
/* end confdefs.h.  */
10874
   builtin and then its argument prototype would still apply.  */
11454
11455
/* Override any gcc2 internal prototype to avoid an error.  */
11456
#ifdef __cplusplus
10875
#ifdef __cplusplus
11457
extern "C"
10876
extern "C"
11458
#endif
10877
#endif
11459
/* We use char because int might match the return type of a gcc2
11460
   builtin and then its argument prototype would still apply.  */
11461
char JAWT_GetAWT ();
10878
char JAWT_GetAWT ();
11462
int
10879
int
11463
main ()
10880
main ()
11464
{
10881
{
11465
JAWT_GetAWT ();
10882
return JAWT_GetAWT ();
11466
  ;
10883
  ;
11467
  return 0;
10884
  return 0;
11468
}
10885
}
11469
_ACEOF
10886
_ACEOF
11470
rm -f conftest.$ac_objext conftest$ac_exeext
10887
if ac_fn_c_try_link "$LINENO"; then :
11471
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11472
  (eval $ac_link) 2>conftest.er1
11473
  ac_status=$?
11474
  grep -v '^ *+' conftest.er1 >conftest.err
11475
  rm -f conftest.er1
11476
  cat conftest.err >&5
11477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478
  (exit $ac_status); } &&
11479
	 { ac_try='test -z "$ac_c_werror_flag"
11480
			 || test ! -s conftest.err'
11481
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482
  (eval $ac_try) 2>&5
11483
  ac_status=$?
11484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485
  (exit $ac_status); }; } &&
11486
	 { ac_try='test -s conftest$ac_exeext'
11487
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11488
  (eval $ac_try) 2>&5
11489
  ac_status=$?
11490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491
  (exit $ac_status); }; }; then
11492
  ac_cv_lib_jawt_JAWT_GetAWT=yes
10888
  ac_cv_lib_jawt_JAWT_GetAWT=yes
11493
else
10889
else
11494
  echo "$as_me: failed program was:" >&5
10890
  ac_cv_lib_jawt_JAWT_GetAWT=no
11495
sed 's/^/| /' conftest.$ac_ext >&5
10891
fi
11496
10892
rm -f core conftest.err conftest.$ac_objext \
11497
ac_cv_lib_jawt_JAWT_GetAWT=no
10893
    conftest$ac_exeext conftest.$ac_ext
11498
fi
11499
rm -f conftest.err conftest.$ac_objext \
11500
      conftest$ac_exeext conftest.$ac_ext
11501
LIBS=$ac_check_lib_save_LIBS
10894
LIBS=$ac_check_lib_save_LIBS
11502
fi
10895
fi
11503
echo "$as_me:$LINENO: result: $ac_cv_lib_jawt_JAWT_GetAWT" >&5
10896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jawt_JAWT_GetAWT" >&5
11504
echo "${ECHO_T}$ac_cv_lib_jawt_JAWT_GetAWT" >&6
10897
$as_echo "$ac_cv_lib_jawt_JAWT_GetAWT" >&6; }
11505
if test $ac_cv_lib_jawt_JAWT_GetAWT = yes; then
10898
if test "x$ac_cv_lib_jawt_JAWT_GetAWT" = x""yes; then :
11506
   AWTLIB="-ljawt"
10899
   AWTLIB="-ljawt"
11507
fi
10900
fi
11508
10901
11509
      if test -z "$AWTLIB"; then
10902
      if test -z "$AWTLIB"; then
11510
         LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
10903
         LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
11511
         echo "$as_me:$LINENO: checking for JAWT_GetAWT in -lmawt" >&5
10904
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JAWT_GetAWT in -lmawt" >&5
11512
echo $ECHO_N "checking for JAWT_GetAWT in -lmawt... $ECHO_C" >&6
10905
$as_echo_n "checking for JAWT_GetAWT in -lmawt... " >&6; }
11513
if test "${ac_cv_lib_mawt_JAWT_GetAWT+set}" = set; then
10906
if test "${ac_cv_lib_mawt_JAWT_GetAWT+set}" = set; then :
11514
  echo $ECHO_N "(cached) $ECHO_C" >&6
10907
  $as_echo_n "(cached) " >&6
11515
else
10908
else
11516
  ac_check_lib_save_LIBS=$LIBS
10909
  ac_check_lib_save_LIBS=$LIBS
11517
LIBS="-lmawt  $LIBS"
10910
LIBS="-lmawt  $LIBS"
11518
cat >conftest.$ac_ext <<_ACEOF
10911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519
/* confdefs.h.  */
10912
/* end confdefs.h.  */
11520
_ACEOF
10913
11521
cat confdefs.h >>conftest.$ac_ext
10914
/* Override any GCC internal prototype to avoid an error.
11522
cat >>conftest.$ac_ext <<_ACEOF
10915
   Use char because int might match the return type of a GCC
11523
/* end confdefs.h.  */
10916
   builtin and then its argument prototype would still apply.  */
11524
11525
/* Override any gcc2 internal prototype to avoid an error.  */
11526
#ifdef __cplusplus
10917
#ifdef __cplusplus
11527
extern "C"
10918
extern "C"
11528
#endif
10919
#endif
11529
/* We use char because int might match the return type of a gcc2
11530
   builtin and then its argument prototype would still apply.  */
11531
char JAWT_GetAWT ();
10920
char JAWT_GetAWT ();
11532
int
10921
int
11533
main ()
10922
main ()
11534
{
10923
{
11535
JAWT_GetAWT ();
10924
return JAWT_GetAWT ();
11536
  ;
10925
  ;
11537
  return 0;
10926
  return 0;
11538
}
10927
}
11539
_ACEOF
10928
_ACEOF
11540
rm -f conftest.$ac_objext conftest$ac_exeext
10929
if ac_fn_c_try_link "$LINENO"; then :
11541
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11542
  (eval $ac_link) 2>conftest.er1
11543
  ac_status=$?
11544
  grep -v '^ *+' conftest.er1 >conftest.err
11545
  rm -f conftest.er1
11546
  cat conftest.err >&5
11547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548
  (exit $ac_status); } &&
11549
	 { ac_try='test -z "$ac_c_werror_flag"
11550
			 || test ! -s conftest.err'
11551
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552
  (eval $ac_try) 2>&5
11553
  ac_status=$?
11554
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555
  (exit $ac_status); }; } &&
11556
	 { ac_try='test -s conftest$ac_exeext'
11557
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11558
  (eval $ac_try) 2>&5
11559
  ac_status=$?
11560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561
  (exit $ac_status); }; }; then
11562
  ac_cv_lib_mawt_JAWT_GetAWT=yes
10930
  ac_cv_lib_mawt_JAWT_GetAWT=yes
11563
else
10931
else
11564
  echo "$as_me: failed program was:" >&5
10932
  ac_cv_lib_mawt_JAWT_GetAWT=no
11565
sed 's/^/| /' conftest.$ac_ext >&5
10933
fi
11566
10934
rm -f core conftest.err conftest.$ac_objext \
11567
ac_cv_lib_mawt_JAWT_GetAWT=no
10935
    conftest$ac_exeext conftest.$ac_ext
11568
fi
11569
rm -f conftest.err conftest.$ac_objext \
11570
      conftest$ac_exeext conftest.$ac_ext
11571
LIBS=$ac_check_lib_save_LIBS
10936
LIBS=$ac_check_lib_save_LIBS
11572
fi
10937
fi
11573
echo "$as_me:$LINENO: result: $ac_cv_lib_mawt_JAWT_GetAWT" >&5
10938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mawt_JAWT_GetAWT" >&5
11574
echo "${ECHO_T}$ac_cv_lib_mawt_JAWT_GetAWT" >&6
10939
$as_echo "$ac_cv_lib_mawt_JAWT_GetAWT" >&6; }
11575
if test $ac_cv_lib_mawt_JAWT_GetAWT = yes; then
10940
if test "x$ac_cv_lib_mawt_JAWT_GetAWT" = x""yes; then :
11576
   AWTLIB="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"
10941
   AWTLIB="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"
11577
fi
10942
fi
11578
10943
Lines 11585-11608 Link Here
11585
   if test -z "$AWTLIB"; then
10950
   if test -z "$AWTLIB"; then
11586
      AWTLIB=-ljawt
10951
      AWTLIB=-ljawt
11587
   fi
10952
   fi
11588
   echo "$as_me:$LINENO: result: $AWTLIB" >&5
10953
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWTLIB" >&5
11589
echo "${ECHO_T}$AWTLIB" >&6
10954
$as_echo "$AWTLIB" >&6; }
11590
10955
11591
fi
10956
fi
11592
10957
11593
if test "$SOLAR_JAVA" != ""; then
10958
if test "$SOLAR_JAVA" != ""; then
11594
  echo "$as_me:$LINENO: checking whether to enable gcj aot compilation" >&5
10959
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable gcj aot compilation" >&5
11595
echo $ECHO_N "checking whether to enable gcj aot compilation... $ECHO_C" >&6
10960
$as_echo_n "checking whether to enable gcj aot compilation... " >&6; }
11596
  if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
10961
  if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
11597
     echo "$as_me:$LINENO: result: yes" >&5
10962
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11598
echo "${ECHO_T}yes" >&6
10963
$as_echo "yes" >&6; }
11599
     if test `echo $WITH_JAVA | grep -c "gij"` -eq 0; then
10964
     if test `echo $WITH_JAVA | grep -c "gij"` -eq 0; then
11600
        gcjaot="gcj"
10965
        gcjaot="gcj"
11601
     else
10966
     else
11602
        gcjaot=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g"`
10967
        gcjaot=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g"`
11603
     fi
10968
     fi
11604
     echo "$as_me:$LINENO: result: $gcjaot" >&5
10969
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcjaot" >&5
11605
echo "${ECHO_T}$gcjaot" >&6
10970
$as_echo "$gcjaot" >&6; }
11606
     if test -n "$with_jdk_home"; then
10971
     if test -n "$with_jdk_home"; then
11607
        _javac_path="$with_jdk_home/bin/$gcjaot"
10972
        _javac_path="$with_jdk_home/bin/$gcjaot"
11608
                if test -x "$_javac_path"; then
10973
                if test -x "$_javac_path"; then
Lines 11612-11621 Link Here
11612
     if test -z "$JAVAAOTCOMPILER"; then
10977
     if test -z "$JAVAAOTCOMPILER"; then
11613
        # Extract the first word of "$gcjaot", so it can be a program name with args.
10978
        # Extract the first word of "$gcjaot", so it can be a program name with args.
11614
set dummy $gcjaot; ac_word=$2
10979
set dummy $gcjaot; ac_word=$2
11615
echo "$as_me:$LINENO: checking for $ac_word" >&5
10980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11616
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10981
$as_echo_n "checking for $ac_word... " >&6; }
11617
if test "${ac_cv_path_JAVAAOTCOMPILER+set}" = set; then
10982
if test "${ac_cv_path_JAVAAOTCOMPILER+set}" = set; then :
11618
  echo $ECHO_N "(cached) $ECHO_C" >&6
10983
  $as_echo_n "(cached) " >&6
11619
else
10984
else
11620
  case $JAVAAOTCOMPILER in
10985
  case $JAVAAOTCOMPILER in
11621
  [\\/]* | ?:[\\/]*)
10986
  [\\/]* | ?:[\\/]*)
Lines 11627-11662 Link Here
11627
do
10992
do
11628
  IFS=$as_save_IFS
10993
  IFS=$as_save_IFS
11629
  test -z "$as_dir" && as_dir=.
10994
  test -z "$as_dir" && as_dir=.
11630
  for ac_exec_ext in '' $ac_executable_extensions; do
10995
    for ac_exec_ext in '' $ac_executable_extensions; do
11631
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10996
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11632
    ac_cv_path_JAVAAOTCOMPILER="$as_dir/$ac_word$ac_exec_ext"
10997
    ac_cv_path_JAVAAOTCOMPILER="$as_dir/$ac_word$ac_exec_ext"
11633
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10998
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11634
    break 2
10999
    break 2
11635
  fi
11000
  fi
11636
done
11001
done
11637
done
11002
  done
11003
IFS=$as_save_IFS
11638
11004
11639
  ;;
11005
  ;;
11640
esac
11006
esac
11641
fi
11007
fi
11642
JAVAAOTCOMPILER=$ac_cv_path_JAVAAOTCOMPILER
11008
JAVAAOTCOMPILER=$ac_cv_path_JAVAAOTCOMPILER
11643
11644
if test -n "$JAVAAOTCOMPILER"; then
11009
if test -n "$JAVAAOTCOMPILER"; then
11645
  echo "$as_me:$LINENO: result: $JAVAAOTCOMPILER" >&5
11010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAAOTCOMPILER" >&5
11646
echo "${ECHO_T}$JAVAAOTCOMPILER" >&6
11011
$as_echo "$JAVAAOTCOMPILER" >&6; }
11647
else
11012
else
11648
  echo "$as_me:$LINENO: result: no" >&5
11013
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11649
echo "${ECHO_T}no" >&6
11014
$as_echo "no" >&6; }
11650
fi
11015
fi
11016
11651
11017
11652
     fi
11018
     fi
11653
     if test -z "$JAVAAOTCOMPILER"; then
11019
     if test -z "$JAVAAOTCOMPILER"; then
11654
        { echo "$as_me:$LINENO: WARNING: $gcjaot not found, set with_jdk_home" >&5
11020
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $gcjaot not found, set with_jdk_home" >&5
11655
echo "$as_me: WARNING: $gcjaot not found, set with_jdk_home" >&2;}
11021
$as_echo "$as_me: WARNING: $gcjaot not found, set with_jdk_home" >&2;}
11656
     fi
11022
     fi
11657
  else
11023
  else
11658
     echo "$as_me:$LINENO: result: no" >&5
11024
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659
echo "${ECHO_T}no" >&6
11025
$as_echo "no" >&6; }
11660
  fi
11026
  fi
11661
fi
11027
fi
11662
11028
Lines 11672-11681 Link Here
11672
11038
11673
# Extract the first word of "dmake", so it can be a program name with args.
11039
# Extract the first word of "dmake", so it can be a program name with args.
11674
set dummy dmake; ac_word=$2
11040
set dummy dmake; ac_word=$2
11675
echo "$as_me:$LINENO: checking for $ac_word" >&5
11041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11042
$as_echo_n "checking for $ac_word... " >&6; }
11677
if test "${ac_cv_path_DMAKE+set}" = set; then
11043
if test "${ac_cv_path_DMAKE+set}" = set; then :
11678
  echo $ECHO_N "(cached) $ECHO_C" >&6
11044
  $as_echo_n "(cached) " >&6
11679
else
11045
else
11680
  case $DMAKE in
11046
  case $DMAKE in
11681
  [\\/]* | ?:[\\/]*)
11047
  [\\/]* | ?:[\\/]*)
Lines 11687-11721 Link Here
11687
do
11053
do
11688
  IFS=$as_save_IFS
11054
  IFS=$as_save_IFS
11689
  test -z "$as_dir" && as_dir=.
11055
  test -z "$as_dir" && as_dir=.
11690
  for ac_exec_ext in '' $ac_executable_extensions; do
11056
    for ac_exec_ext in '' $ac_executable_extensions; do
11691
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11692
    ac_cv_path_DMAKE="$as_dir/$ac_word$ac_exec_ext"
11058
    ac_cv_path_DMAKE="$as_dir/$ac_word$ac_exec_ext"
11693
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11694
    break 2
11060
    break 2
11695
  fi
11061
  fi
11696
done
11062
done
11697
done
11063
  done
11064
IFS=$as_save_IFS
11698
11065
11699
  test -z "$ac_cv_path_DMAKE" && ac_cv_path_DMAKE="no"
11066
  test -z "$ac_cv_path_DMAKE" && ac_cv_path_DMAKE="no"
11700
  ;;
11067
  ;;
11701
esac
11068
esac
11702
fi
11069
fi
11703
DMAKE=$ac_cv_path_DMAKE
11070
DMAKE=$ac_cv_path_DMAKE
11704
11705
if test -n "$DMAKE"; then
11071
if test -n "$DMAKE"; then
11706
  echo "$as_me:$LINENO: result: $DMAKE" >&5
11072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DMAKE" >&5
11707
echo "${ECHO_T}$DMAKE" >&6
11073
$as_echo "$DMAKE" >&6; }
11708
else
11074
else
11709
  echo "$as_me:$LINENO: result: no" >&5
11075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710
echo "${ECHO_T}no" >&6
11076
$as_echo "no" >&6; }
11711
fi
11077
fi
11078
11712
11079
11713
if test "$DMAKE" = "no"; then
11080
if test "$DMAKE" = "no"; then
11714
    BUILD_DMAKE=YES
11081
    BUILD_DMAKE=YES
11715
    echo "dmake will be built on ./bootstrap"
11082
    echo "dmake will be built on ./bootstrap"
11716
else
11083
else
11717
    echo "$as_me:$LINENO: checking whether the found dmake is the right dmake" >&5
11084
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the found dmake is the right dmake" >&5
11718
echo $ECHO_N "checking whether the found dmake is the right dmake... $ECHO_C" >&6
11085
$as_echo_n "checking whether the found dmake is the right dmake... " >&6; }
11719
    # we need to find out whether that dmake we found is "our" dmake
11086
    # we need to find out whether that dmake we found is "our" dmake
11720
    # or the dmake from Sun's SunStudio Compiler which is something
11087
    # or the dmake from Sun's SunStudio Compiler which is something
11721
    # different
11088
    # different
Lines 11724-11771 Link Here
11724
    $DMAKE -V 2>/dev/null | grep 'dmake .* Version .*' >/dev/null
11091
    $DMAKE -V 2>/dev/null | grep 'dmake .* Version .*' >/dev/null
11725
    if test $? -eq 0; then
11092
    if test $? -eq 0; then
11726
       BUILD_DMAKE=NO
11093
       BUILD_DMAKE=NO
11727
       echo "$as_me:$LINENO: result: yes" >&5
11094
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11728
echo "${ECHO_T}yes" >&6
11095
$as_echo "yes" >&6; }
11729
       echo "$as_me:$LINENO: checking the dmake version" >&5
11096
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking the dmake version" >&5
11730
echo $ECHO_N "checking the dmake version... $ECHO_C" >&6
11097
$as_echo_n "checking the dmake version... " >&6; }
11731
       DMAKE_VERSION=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'`
11098
       DMAKE_VERSION=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'`
11732
       if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then
11099
       if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then
11733
	 echo "$as_me:$LINENO: result: OK, >= 4.11" >&5
11100
	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK, >= 4.11" >&5
11734
echo "${ECHO_T}OK, >= 4.11" >&6
11101
$as_echo "OK, >= 4.11" >&6; }
11735
       elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \
11102
       elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \
11736
	    test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then
11103
	    test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then
11737
	 echo "$as_me:$LINENO: result: OK, >= 4.11" >&5
11104
	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK, >= 4.11" >&5
11738
echo "${ECHO_T}OK, >= 4.11" >&6
11105
$as_echo "OK, >= 4.11" >&6; }
11739
       else
11106
       else
11740
	 echo "$as_me:$LINENO: result: too old. >= 4.11 is needed" >&5
11107
	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old. >= 4.11 is needed" >&5
11741
echo "${ECHO_T}too old. >= 4.11 is needed" >&6
11108
$as_echo "too old. >= 4.11 is needed" >&6; }
11742
	 echo "A newer dmake will be built on ./bootstrap"
11109
	 echo "A newer dmake will be built on ./bootstrap"
11743
	 BUILD_DMAKE=YES
11110
	 BUILD_DMAKE=YES
11744
       fi
11111
       fi
11745
    else
11112
    else
11746
       echo "$as_me:$LINENO: result: no" >&5
11113
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747
echo "${ECHO_T}no" >&6
11114
$as_echo "no" >&6; }
11748
       echo "dmake will be built on ./bootstrap"
11115
       echo "dmake will be built on ./bootstrap"
11749
       BUILD_DMAKE=YES
11116
       BUILD_DMAKE=YES
11750
    fi
11117
    fi
11751
fi
11118
fi
11752
11119
11753
11120
11754
echo "$as_me:$LINENO: checking whether to enable EPM for packing" >&5
11121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable EPM for packing" >&5
11755
echo $ECHO_N "checking whether to enable EPM for packing... $ECHO_C" >&6
11122
$as_echo_n "checking whether to enable EPM for packing... " >&6; }
11756
if test "$_os" != "WINNT" -a \( "z$enable_epm" = "z" -o "$enable_epm" != "no" \) ; then
11123
if test "$_os" != "WINNT" -a \( "z$enable_epm" = "z" -o "$enable_epm" != "no" \) ; then
11757
   echo "$as_me:$LINENO: result: yes" >&5
11124
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758
echo "${ECHO_T}yes" >&6
11125
$as_echo "yes" >&6; }
11759
            if test "$_os" != "WINNT"; then
11126
            if test "$_os" != "WINNT"; then
11760
      if test -n "$with_epm"; then
11127
      if test -n "$with_epm"; then
11761
	      EPM=$with_epm
11128
	      EPM=$with_epm
11762
      else
11129
      else
11763
         # Extract the first word of "epm", so it can be a program name with args.
11130
         # Extract the first word of "epm", so it can be a program name with args.
11764
set dummy epm; ac_word=$2
11131
set dummy epm; ac_word=$2
11765
echo "$as_me:$LINENO: checking for $ac_word" >&5
11132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11133
$as_echo_n "checking for $ac_word... " >&6; }
11767
if test "${ac_cv_path_EPM+set}" = set; then
11134
if test "${ac_cv_path_EPM+set}" = set; then :
11768
  echo $ECHO_N "(cached) $ECHO_C" >&6
11135
  $as_echo_n "(cached) " >&6
11769
else
11136
else
11770
  case $EPM in
11137
  case $EPM in
11771
  [\\/]* | ?:[\\/]*)
11138
  [\\/]* | ?:[\\/]*)
Lines 11777-11804 Link Here
11777
do
11144
do
11778
  IFS=$as_save_IFS
11145
  IFS=$as_save_IFS
11779
  test -z "$as_dir" && as_dir=.
11146
  test -z "$as_dir" && as_dir=.
11780
  for ac_exec_ext in '' $ac_executable_extensions; do
11147
    for ac_exec_ext in '' $ac_executable_extensions; do
11781
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11782
    ac_cv_path_EPM="$as_dir/$ac_word$ac_exec_ext"
11149
    ac_cv_path_EPM="$as_dir/$ac_word$ac_exec_ext"
11783
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784
    break 2
11151
    break 2
11785
  fi
11152
  fi
11786
done
11153
done
11787
done
11154
  done
11155
IFS=$as_save_IFS
11788
11156
11789
  test -z "$ac_cv_path_EPM" && ac_cv_path_EPM="no"
11157
  test -z "$ac_cv_path_EPM" && ac_cv_path_EPM="no"
11790
  ;;
11158
  ;;
11791
esac
11159
esac
11792
fi
11160
fi
11793
EPM=$ac_cv_path_EPM
11161
EPM=$ac_cv_path_EPM
11794
11795
if test -n "$EPM"; then
11162
if test -n "$EPM"; then
11796
  echo "$as_me:$LINENO: result: $EPM" >&5
11163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPM" >&5
11797
echo "${ECHO_T}$EPM" >&6
11164
$as_echo "$EPM" >&6; }
11798
else
11165
else
11799
  echo "$as_me:$LINENO: result: no" >&5
11166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800
echo "${ECHO_T}no" >&6
11167
$as_echo "no" >&6; }
11801
fi
11168
fi
11169
11802
11170
11803
      fi
11171
      fi
11804
      if test "$EPM" = "no" || test "$EPM" = "internal"; then
11172
      if test "$EPM" = "no" || test "$EPM" = "internal"; then
Lines 11807-11850 Link Here
11807
         BUILD_TYPE="$BUILD_TYPE EPM"
11175
         BUILD_TYPE="$BUILD_TYPE EPM"
11808
      else
11176
      else
11809
         # Gentoo has some epm which is something different...
11177
         # Gentoo has some epm which is something different...
11810
         echo "$as_me:$LINENO: checking whether the found epm is the right epm" >&5
11178
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the found epm is the right epm" >&5
11811
echo $ECHO_N "checking whether the found epm is the right epm... $ECHO_C" >&6
11179
$as_echo_n "checking whether the found epm is the right epm... " >&6; }
11812
         if $EPM | grep "ESP Package Manager" >/dev/null 2>/dev/null; then
11180
         if $EPM | grep "ESP Package Manager" >/dev/null 2>/dev/null; then
11813
            echo "$as_me:$LINENO: result: yes" >&5
11181
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11814
echo "${ECHO_T}yes" >&6
11182
$as_echo "yes" >&6; }
11815
         else
11183
         else
11816
            { { echo "$as_me:$LINENO: error: no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm" >&5
11184
            as_fn_error "no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm" "$LINENO" 5
11817
echo "$as_me: error: no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm" >&2;}
11818
   { (exit 1); exit 1; }; }
11819
         fi
11185
         fi
11820
         echo "$as_me:$LINENO: checking epm version" >&5
11186
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking epm version" >&5
11821
echo $ECHO_N "checking epm version... $ECHO_C" >&6
11187
$as_echo_n "checking epm version... " >&6; }
11822
         EPM_VERSION=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
11188
         EPM_VERSION=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
11823
	 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
11189
	 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
11824
	       test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
11190
	       test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
11825
           echo "$as_me:$LINENO: result: OK, >= 3.7" >&5
11191
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK, >= 3.7" >&5
11826
echo "${ECHO_T}OK, >= 3.7" >&6
11192
$as_echo "OK, >= 3.7" >&6; }
11827
           BUILD_EPM=NO
11193
           BUILD_EPM=NO
11828
	        if test "$_os" = "Darwin"; then
11194
	        if test "$_os" = "Darwin"; then
11829
               echo "$as_me:$LINENO: checking which PackageMaker EPM thinks to use" >&5
11195
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking which PackageMaker EPM thinks to use" >&5
11830
echo $ECHO_N "checking which PackageMaker EPM thinks to use... $ECHO_C" >&6
11196
$as_echo_n "checking which PackageMaker EPM thinks to use... " >&6; }
11831
        	      _pm=`strings $EPM | grep PackageMaker | cut -d" " -f1`
11197
        	      _pm=`strings $EPM | grep PackageMaker | cut -d" " -f1`
11832
        	      if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then
11198
        	      if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then
11833
          		      { { echo "$as_me:$LINENO: error: $_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&5
11199
          		      as_fn_error "$_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" "$LINENO" 5
11834
echo "$as_me: error: $_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&2;}
11835
   { (exit 1); exit 1; }; }
11836
        	      elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then
11200
        	      elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then
11837
          		    echo "$as_me:$LINENO: result: $_pm, ok" >&5
11201
          		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_pm, ok" >&5
11838
echo "${ECHO_T}$_pm, ok" >&6
11202
$as_echo "$_pm, ok" >&6; }
11839
        	      else # we never should get here, but go safe
11203
        	      else # we never should get here, but go safe
11840
			          { { echo "$as_me:$LINENO: error: $_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&5
11204
			          as_fn_error "$_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" "$LINENO" 5
11841
echo "$as_me: error: $_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&2;}
11842
   { (exit 1); exit 1; }; }
11843
		          fi
11205
		          fi
11844
	       fi
11206
	       fi
11845
	 else
11207
	 else
11846
           echo "$as_me:$LINENO: result: too old. epm >= 3.7 is required." >&5
11208
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old. epm >= 3.7 is required." >&5
11847
echo "${ECHO_T}too old. epm >= 3.7 is required." >&6
11209
$as_echo "too old. epm >= 3.7 is required." >&6; }
11848
           echo "EPM will be built."
11210
           echo "EPM will be built."
11849
           BUILD_EPM=YES
11211
           BUILD_EPM=YES
11850
           BUILD_TYPE="$BUILD_TYPE EPM"
11212
           BUILD_TYPE="$BUILD_TYPE EPM"
Lines 11853-11860 Link Here
11853
   fi
11215
   fi
11854
11216
11855
   # test which package format to use
11217
   # test which package format to use
11856
   echo "$as_me:$LINENO: checking which package format to use" >&5
11218
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which package format to use" >&5
11857
echo $ECHO_N "checking which package format to use... $ECHO_C" >&6
11219
$as_echo_n "checking which package format to use... " >&6; }
11858
   # epm supports the following formats:
11220
   # epm supports the following formats:
11859
   # aix - AIX software distribution
11221
   # aix - AIX software distribution
11860
   # bsd - FreeBSD, NetBSD, or OpenBSD software distribution
11222
   # bsd - FreeBSD, NetBSD, or OpenBSD software distribution
Lines 11899-11907 Link Here
11899
	# we never should get here since we check the arciecture/os at the beginning,
11261
	# we never should get here since we check the arciecture/os at the beginning,
11900
	# but go sure...
11262
	# but go sure...
11901
	*)
11263
	*)
11902
		{ { echo "$as_me:$LINENO: error: unknown system" >&5
11264
		as_fn_error "unknown system" "$LINENO" 5
11903
echo "$as_me: error: unknown system" >&2;}
11904
   { (exit 1); exit 1; }; }
11905
   esac
11265
   esac
11906
   if test -n "$with_package_format"; then
11266
   if test -n "$with_package_format"; then
11907
	for i in $with_package_format; do
11267
	for i in $with_package_format; do
Lines 11909-11915 Link Here
11909
			aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable)
11269
			aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable)
11910
			;;
11270
			;;
11911
		*)
11271
		*)
11912
			{ { echo "$as_me:$LINENO: error: unsupported format $i. Supported by EPM are:
11272
			as_fn_error "unsupported format $i. Supported by EPM are:
11913
aix - AIX software distribution
11273
aix - AIX software distribution
11914
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
11274
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
11915
depot or swinstall - HP-UX software distribution
11275
depot or swinstall - HP-UX software distribution
Lines 11921-11951 Link Here
11921
setld - Tru64 (setld) software distribution
11281
setld - Tru64 (setld) software distribution
11922
native - \"Native\" software distribution for the platform
11282
native - \"Native\" software distribution for the platform
11923
portable - Portable software distribution
11283
portable - Portable software distribution
11924
			" >&5
11284
			" "$LINENO" 5
11925
echo "$as_me: error: unsupported format $i. Supported by EPM are:
11926
aix - AIX software distribution
11927
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
11928
depot or swinstall - HP-UX software distribution
11929
deb - Debian software distribution
11930
inst or tardist - IRIX software distribution
11931
osx - MacOS X software distribution
11932
pkg - Solaris software distribution
11933
rpm - RedHat software distribution
11934
setld - Tru64 (setld) software distribution
11935
native - \"Native\" software distribution for the platform
11936
portable - Portable software distribution
11937
			" >&2;}
11938
   { (exit 1); exit 1; }; }
11939
			;;
11285
			;;
11940
		esac
11286
		esac
11941
	done
11287
	done
11942
	PKGFORMAT="$with_package_format"
11288
	PKGFORMAT="$with_package_format"
11943
   fi
11289
   fi
11944
   echo "$as_me:$LINENO: result: $PKGFORMAT" >&5
11290
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGFORMAT" >&5
11945
echo "${ECHO_T}$PKGFORMAT" >&6
11291
$as_echo "$PKGFORMAT" >&6; }
11946
   if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then
11292
   if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then
11947
      echo "$as_me:$LINENO: checking for rpm" >&5
11293
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpm" >&5
11948
echo $ECHO_N "checking for rpm... $ECHO_C" >&6
11294
$as_echo_n "checking for rpm... " >&6; }
11949
      for a in "$RPM" rpmbuild rpm; do
11295
      for a in "$RPM" rpmbuild rpm; do
11950
         $a --usage >/dev/null 2> /dev/null
11296
         $a --usage >/dev/null 2> /dev/null
11951
         if test $? -eq 0; then
11297
         if test $? -eq 0; then
Lines 11960-11981 Link Here
11960
         fi
11306
         fi
11961
       done
11307
       done
11962
       if test -z "$RPM" ; then
11308
       if test -z "$RPM" ; then
11963
          { { echo "$as_me:$LINENO: error: not found" >&5
11309
          as_fn_error "not found" "$LINENO" 5
11964
echo "$as_me: error: not found" >&2;}
11965
   { (exit 1); exit 1; }; }
11966
       else
11310
       else
11967
	  RPM_PATH=`which $RPM`
11311
	  RPM_PATH=`which $RPM`
11968
          echo "$as_me:$LINENO: result: $RPM_PATH" >&5
11312
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM_PATH" >&5
11969
echo "${ECHO_T}$RPM_PATH" >&6
11313
$as_echo "$RPM_PATH" >&6; }
11970
       fi
11314
       fi
11971
   fi
11315
   fi
11972
   if echo "$PKGFORMAT" | $EGREP deb 2>&1 >/dev/null; then
11316
   if echo "$PKGFORMAT" | $EGREP deb 2>&1 >/dev/null; then
11973
      # Extract the first word of "dpkg", so it can be a program name with args.
11317
      # Extract the first word of "dpkg", so it can be a program name with args.
11974
set dummy dpkg; ac_word=$2
11318
set dummy dpkg; ac_word=$2
11975
echo "$as_me:$LINENO: checking for $ac_word" >&5
11319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11976
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11320
$as_echo_n "checking for $ac_word... " >&6; }
11977
if test "${ac_cv_path_DPKG+set}" = set; then
11321
if test "${ac_cv_path_DPKG+set}" = set; then :
11978
  echo $ECHO_N "(cached) $ECHO_C" >&6
11322
  $as_echo_n "(cached) " >&6
11979
else
11323
else
11980
  case $DPKG in
11324
  case $DPKG in
11981
  [\\/]* | ?:[\\/]*)
11325
  [\\/]* | ?:[\\/]*)
Lines 11987-12067 Link Here
11987
do
11331
do
11988
  IFS=$as_save_IFS
11332
  IFS=$as_save_IFS
11989
  test -z "$as_dir" && as_dir=.
11333
  test -z "$as_dir" && as_dir=.
11990
  for ac_exec_ext in '' $ac_executable_extensions; do
11334
    for ac_exec_ext in '' $ac_executable_extensions; do
11991
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992
    ac_cv_path_DPKG="$as_dir/$ac_word$ac_exec_ext"
11336
    ac_cv_path_DPKG="$as_dir/$ac_word$ac_exec_ext"
11993
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11994
    break 2
11338
    break 2
11995
  fi
11339
  fi
11996
done
11340
done
11997
done
11341
  done
11342
IFS=$as_save_IFS
11998
11343
11999
  test -z "$ac_cv_path_DPKG" && ac_cv_path_DPKG="no"
11344
  test -z "$ac_cv_path_DPKG" && ac_cv_path_DPKG="no"
12000
  ;;
11345
  ;;
12001
esac
11346
esac
12002
fi
11347
fi
12003
DPKG=$ac_cv_path_DPKG
11348
DPKG=$ac_cv_path_DPKG
12004
12005
if test -n "$DPKG"; then
11349
if test -n "$DPKG"; then
12006
  echo "$as_me:$LINENO: result: $DPKG" >&5
11350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5
12007
echo "${ECHO_T}$DPKG" >&6
11351
$as_echo "$DPKG" >&6; }
12008
else
11352
else
12009
  echo "$as_me:$LINENO: result: no" >&5
11353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010
echo "${ECHO_T}no" >&6
11354
$as_echo "no" >&6; }
12011
fi
11355
fi
11356
12012
11357
12013
      if test "$DPKG" = "no"; then
11358
      if test "$DPKG" = "no"; then
12014
         { { echo "$as_me:$LINENO: error: dpkg needed for deb creation. Install dpkg." >&5
11359
         as_fn_error "dpkg needed for deb creation. Install dpkg." "$LINENO" 5
12015
echo "$as_me: error: dpkg needed for deb creation. Install dpkg." >&2;}
12016
   { (exit 1); exit 1; }; }
12017
      fi
11360
      fi
12018
   fi
11361
   fi
12019
   if echo "PKGFORMAT" | $EGREP osx 2>&1 >/dev/null; then
11362
   if echo "PKGFORMAT" | $EGREP osx 2>&1 >/dev/null; then
12020
      if test "$_os" = "Darwin"; then
11363
      if test "$_os" = "Darwin"; then
12021
         echo "$as_me:$LINENO: checking for PackageMaker availability" >&5
11364
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PackageMaker availability" >&5
12022
echo $ECHO_N "checking for PackageMaker availability... $ECHO_C" >&6
11365
$as_echo_n "checking for PackageMaker availability... " >&6; }
12023
         if ! test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then
11366
         if ! test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then
12024
            { { echo "$as_me:$LINENO: error: not installed. Please install Apples Dev Tools" >&5
11367
            as_fn_error "not installed. Please install Apples Dev Tools" "$LINENO" 5
12025
echo "$as_me: error: not installed. Please install Apples Dev Tools" >&2;}
12026
   { (exit 1); exit 1; }; }
12027
         else
11368
         else
12028
            echo "$as_me:$LINENO: result: ok" >&5
11369
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12029
echo "${ECHO_T}ok" >&6
11370
$as_echo "ok" >&6; }
12030
         fi
11371
         fi
12031
      else
11372
      else
12032
         { { echo "$as_me:$LINENO: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&5
11373
         as_fn_error "PackageMaker needed to build OSX packages and you are not on OSX..." "$LINENO" 5
12033
echo "$as_me: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&2;}
12034
   { (exit 1); exit 1; }; }
12035
       fi
11374
       fi
12036
   fi
11375
   fi
12037
   if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null || \
11376
   if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null || \
12038
      echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
11377
      echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
12039
      	if test "$EPM" != "no" && test "$EPM" != "internal"; then
11378
      	if test "$EPM" != "no" && test "$EPM" != "internal"; then
12040
           if test "`echo $EPM_VERSION | cut -d'.' -f1`" -lt "4"; then
11379
           if test "`echo $EPM_VERSION | cut -d'.' -f1`" -lt "4"; then
12041
               echo "$as_me:$LINENO: checking whether epm is patched for OOos needs" >&5
11380
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether epm is patched for OOos needs" >&5
12042
echo $ECHO_N "checking whether epm is patched for OOos needs... $ECHO_C" >&6
11381
$as_echo_n "checking whether epm is patched for OOos needs... " >&6; }
12043
               if grep "Patched for OpenOffice.org" $EPM >/dev/null 2>/dev/null; then
11382
               if grep "Patched for OpenOffice.org" $EPM >/dev/null 2>/dev/null; then
12044
                  echo "$as_me:$LINENO: result: yes" >&5
11383
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12045
echo "${ECHO_T}yes" >&6
11384
$as_echo "yes" >&6; }
12046
               else
11385
               else
12047
                  echo "$as_me:$LINENO: result: no" >&5
11386
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12048
echo "${ECHO_T}no" >&6
11387
$as_echo "no" >&6; }
12049
                  if echo "$PKGFORMAT" | grep -q rpm; then
11388
                  if echo "$PKGFORMAT" | grep -q rpm; then
12050
                      _pt="rpm"
11389
                      _pt="rpm"
12051
                      { echo "$as_me:$LINENO: WARNING: the rpms will need to be installed with --nodeps" >&5
11390
                      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the rpms will need to be installed with --nodeps" >&5
12052
echo "$as_me: WARNING: the rpms will need to be installed with --nodeps" >&2;}
11391
$as_echo "$as_me: WARNING: the rpms will need to be installed with --nodeps" >&2;}
12053
                      echo "the rpms will need to be installed with --nodeps" >> warn
11392
                      echo "the rpms will need to be installed with --nodeps" >> warn
12054
                  else
11393
                  else
12055
                      _pt="pkg"
11394
                      _pt="pkg"
12056
                  fi
11395
                  fi
12057
                  { echo "$as_me:$LINENO: WARNING: the ${_pt}s will not be relocateable" >&5
11396
                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the ${_pt}s will not be relocateable" >&5
12058
echo "$as_me: WARNING: the ${_pt}s will not be relocateable" >&2;}
11397
$as_echo "$as_me: WARNING: the ${_pt}s will not be relocateable" >&2;}
12059
                  echo "the ${_pt}s will not be relocateable" >> warn
11398
                  echo "the ${_pt}s will not be relocateable" >> warn
12060
                  { echo "$as_me:$LINENO: WARNING: if you want to make sure installation without --nodeps and
11399
                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you want to make sure installation without --nodeps and
12061
                  relocation will work, you need to patch your epm with the
11400
                  relocation will work, you need to patch your epm with the
12062
                  patch in epm/epm-3.7.patch or build with
11401
                  patch in epm/epm-3.7.patch or build with
12063
                  --with-epm=internal which will build a suitable epm" >&5
11402
                  --with-epm=internal which will build a suitable epm" >&5
12064
echo "$as_me: WARNING: if you want to make sure installation without --nodeps and
11403
$as_echo "$as_me: WARNING: if you want to make sure installation without --nodeps and
12065
                  relocation will work, you need to patch your epm with the
11404
                  relocation will work, you need to patch your epm with the
12066
                  patch in epm/epm-3.7.patch or build with
11405
                  patch in epm/epm-3.7.patch or build with
12067
                  --with-epm=internal which will build a suitable epm" >&2;}
11406
                  --with-epm=internal which will build a suitable epm" >&2;}
Lines 12072-12081 Link Here
12072
   if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
11411
   if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
12073
      # Extract the first word of "pkgmk", so it can be a program name with args.
11412
      # Extract the first word of "pkgmk", so it can be a program name with args.
12074
set dummy pkgmk; ac_word=$2
11413
set dummy pkgmk; ac_word=$2
12075
echo "$as_me:$LINENO: checking for $ac_word" >&5
11414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12076
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11415
$as_echo_n "checking for $ac_word... " >&6; }
12077
if test "${ac_cv_path_PKGMK+set}" = set; then
11416
if test "${ac_cv_path_PKGMK+set}" = set; then :
12078
  echo $ECHO_N "(cached) $ECHO_C" >&6
11417
  $as_echo_n "(cached) " >&6
12079
else
11418
else
12080
  case $PKGMK in
11419
  case $PKGMK in
12081
  [\\/]* | ?:[\\/]*)
11420
  [\\/]* | ?:[\\/]*)
Lines 12087-12139 Link Here
12087
do
11426
do
12088
  IFS=$as_save_IFS
11427
  IFS=$as_save_IFS
12089
  test -z "$as_dir" && as_dir=.
11428
  test -z "$as_dir" && as_dir=.
12090
  for ac_exec_ext in '' $ac_executable_extensions; do
11429
    for ac_exec_ext in '' $ac_executable_extensions; do
12091
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092
    ac_cv_path_PKGMK="$as_dir/$ac_word$ac_exec_ext"
11431
    ac_cv_path_PKGMK="$as_dir/$ac_word$ac_exec_ext"
12093
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11432
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12094
    break 2
11433
    break 2
12095
  fi
11434
  fi
12096
done
11435
done
12097
done
11436
  done
11437
IFS=$as_save_IFS
12098
11438
12099
  test -z "$ac_cv_path_PKGMK" && ac_cv_path_PKGMK="no"
11439
  test -z "$ac_cv_path_PKGMK" && ac_cv_path_PKGMK="no"
12100
  ;;
11440
  ;;
12101
esac
11441
esac
12102
fi
11442
fi
12103
PKGMK=$ac_cv_path_PKGMK
11443
PKGMK=$ac_cv_path_PKGMK
12104
12105
if test -n "$PKGMK"; then
11444
if test -n "$PKGMK"; then
12106
  echo "$as_me:$LINENO: result: $PKGMK" >&5
11445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5
12107
echo "${ECHO_T}$PKGMK" >&6
11446
$as_echo "$PKGMK" >&6; }
12108
else
11447
else
12109
  echo "$as_me:$LINENO: result: no" >&5
11448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110
echo "${ECHO_T}no" >&6
11449
$as_echo "no" >&6; }
12111
fi
11450
fi
11451
12112
11452
12113
      if test "$PKGMK" = "no"; then
11453
      if test "$PKGMK" = "no"; then
12114
         { { echo "$as_me:$LINENO: error: pkgmk needed for Solaris pkg creation. Install it." >&5
11454
         as_fn_error "pkgmk needed for Solaris pkg creation. Install it." "$LINENO" 5
12115
echo "$as_me: error: pkgmk needed for Solaris pkg creation. Install it." >&2;}
11455
      fi
12116
   { (exit 1); exit 1; }; }
11456
   fi
12117
      fi
11457
12118
   fi
11458
12119
11459
12120
11460
12121
11461
12122
11462
else
12123
11463
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124
else
11464
$as_echo "no" >&6; }
12125
   echo "$as_me:$LINENO: result: no" >&5
12126
echo "${ECHO_T}no" >&6
12127
   EPM=NO
11465
   EPM=NO
12128
fi
11466
fi
12129
11467
12130
11468
12131
# Extract the first word of "gperf", so it can be a program name with args.
11469
# Extract the first word of "gperf", so it can be a program name with args.
12132
set dummy gperf; ac_word=$2
11470
set dummy gperf; ac_word=$2
12133
echo "$as_me:$LINENO: checking for $ac_word" >&5
11471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12134
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11472
$as_echo_n "checking for $ac_word... " >&6; }
12135
if test "${ac_cv_path_GPERF+set}" = set; then
11473
if test "${ac_cv_path_GPERF+set}" = set; then :
12136
  echo $ECHO_N "(cached) $ECHO_C" >&6
11474
  $as_echo_n "(cached) " >&6
12137
else
11475
else
12138
  case $GPERF in
11476
  case $GPERF in
12139
  [\\/]* | ?:[\\/]*)
11477
  [\\/]* | ?:[\\/]*)
Lines 12145-12226 Link Here
12145
do
11483
do
12146
  IFS=$as_save_IFS
11484
  IFS=$as_save_IFS
12147
  test -z "$as_dir" && as_dir=.
11485
  test -z "$as_dir" && as_dir=.
12148
  for ac_exec_ext in '' $ac_executable_extensions; do
11486
    for ac_exec_ext in '' $ac_executable_extensions; do
12149
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150
    ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
11488
    ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
12151
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11489
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152
    break 2
11490
    break 2
12153
  fi
11491
  fi
12154
done
11492
done
12155
done
11493
  done
11494
IFS=$as_save_IFS
12156
11495
12157
  ;;
11496
  ;;
12158
esac
11497
esac
12159
fi
11498
fi
12160
GPERF=$ac_cv_path_GPERF
11499
GPERF=$ac_cv_path_GPERF
12161
12162
if test -n "$GPERF"; then
11500
if test -n "$GPERF"; then
12163
  echo "$as_me:$LINENO: result: $GPERF" >&5
11501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
12164
echo "${ECHO_T}$GPERF" >&6
11502
$as_echo "$GPERF" >&6; }
12165
else
11503
else
12166
  echo "$as_me:$LINENO: result: no" >&5
11504
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12167
echo "${ECHO_T}no" >&6
11505
$as_echo "no" >&6; }
12168
fi
11506
fi
11507
12169
11508
12170
if test -z "$GPERF"; then
11509
if test -z "$GPERF"; then
12171
	{ { echo "$as_me:$LINENO: error: gperf not found but needed. Install it." >&5
11510
	as_fn_error "gperf not found but needed. Install it." "$LINENO" 5
12172
echo "$as_me: error: gperf not found but needed. Install it." >&2;}
11511
fi
12173
   { (exit 1); exit 1; }; }
11512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gperf version" >&5
12174
fi
11513
$as_echo_n "checking gperf version... " >&6; }
12175
echo "$as_me:$LINENO: checking gperf version" >&5
12176
echo $ECHO_N "checking gperf version... $ECHO_C" >&6
12177
if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
11514
if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
12178
	echo "$as_me:$LINENO: result: OK" >&5
11515
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
12179
echo "${ECHO_T}OK" >&6
11516
$as_echo "OK" >&6; }
12180
else
11517
else
12181
	{ { echo "$as_me:$LINENO: error: too old, you need at least 3.0.0" >&5
11518
	as_fn_error "too old, you need at least 3.0.0" "$LINENO" 5
12182
echo "$as_me: error: too old, you need at least 3.0.0" >&2;}
11519
fi
12183
   { (exit 1); exit 1; }; }
11520
12184
fi
11521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODK" >&5
12185
11522
$as_echo_n "checking whether to build the ODK... " >&6; }
12186
echo "$as_me:$LINENO: checking whether to build the ODK" >&5
12187
echo $ECHO_N "checking whether to build the ODK... $ECHO_C" >&6
12188
if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
11523
if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
12189
   echo "$as_me:$LINENO: result: yes" >&5
11524
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12190
echo "${ECHO_T}yes" >&6
11525
$as_echo "yes" >&6; }
12191
   if test "$WITH_JAVA" != "no"; then
11526
   if test "$WITH_JAVA" != "no"; then
12192
   echo "$as_me:$LINENO: checking for external/unowinreg/unowinreg.dll" >&5
11527
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for external/unowinreg/unowinreg.dll" >&5
12193
echo $ECHO_N "checking for external/unowinreg/unowinreg.dll... $ECHO_C" >&6
11528
$as_echo_n "checking for external/unowinreg/unowinreg.dll... " >&6; }
12194
   if ! test -f "./external/unowinreg/unowinreg.dll"; then
11529
   if ! test -f "./external/unowinreg/unowinreg.dll"; then
12195
      HAVE_UNOWINREG_DLL=no
11530
      HAVE_UNOWINREG_DLL=no
12196
   else
11531
   else
12197
      HAVE_UNOWINREG_DLL=yes
11532
      HAVE_UNOWINREG_DLL=yes
12198
   fi
11533
   fi
12199
   if test "$HAVE_UNOWINREG_DLL" = "yes"; then
11534
   if test "$HAVE_UNOWINREG_DLL" = "yes"; then
12200
      echo "$as_me:$LINENO: result: found" >&5
11535
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12201
echo "${ECHO_T}found" >&6
11536
$as_echo "found" >&6; }
12202
      BUILD_UNOWINREG=NO
11537
      BUILD_UNOWINREG=NO
12203
   else
11538
   else
12204
      if test "$_os" = "WINNT"; then
11539
      if test "$_os" = "WINNT"; then
12205
         echo "$as_me:$LINENO: result: not found, will be built" >&5
11540
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, will be built" >&5
12206
echo "${ECHO_T}not found, will be built" >&6
11541
$as_echo "not found, will be built" >&6; }
12207
      else
11542
      else
12208
         { echo "$as_me:$LINENO: WARNING: not found, will be cross-built using mingw32" >&5
11543
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not found, will be cross-built using mingw32" >&5
12209
echo "$as_me: WARNING: not found, will be cross-built using mingw32" >&2;}
11544
$as_echo "$as_me: WARNING: not found, will be cross-built using mingw32" >&2;}
12210
      fi
11545
      fi
12211
      BUILD_UNOWINREG=YES
11546
      BUILD_UNOWINREG=YES
12212
   fi
11547
   fi
12213
   if test "$_os" != "WINNT" && test "$BUILD_UNOWINREG" = "YES"; then
11548
   if test "$_os" != "WINNT" && test "$BUILD_UNOWINREG" = "YES"; then
12214
      if test -z "$WITH_MINGWIN" || test "$WITH_MINGWIN" = "0"; then
11549
      if test -z "$WITH_MINGWIN" || test "$WITH_MINGWIN" = "0"; then
12215
         { { echo "$as_me:$LINENO: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
11550
         as_fn_error "for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
12216
         Specify mingw32 g++ executable name with --with-mingwin.
11551
         Specify mingw32 g++ executable name with --with-mingwin.
12217
         Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
11552
         Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
12218
         put it into external/unowinreg" >&5
11553
         put it into external/unowinreg" "$LINENO" 5
12219
echo "$as_me: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
12220
         Specify mingw32 g++ executable name with --with-mingwin.
12221
         Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
12222
         put it into external/unowinreg" >&2;}
12223
   { (exit 1); exit 1; }; }
12224
      fi
11554
      fi
12225
      if echo "$WITH_MINGWIN" | $EGREP -q "/"; then
11555
      if echo "$WITH_MINGWIN" | $EGREP -q "/"; then
12226
         if ! test -x "$WITH_MINGWIN"; then MINGWCXX=false; else MINGWCXX=`basename $WITH_MINGWIN`; fi
11556
         if ! test -x "$WITH_MINGWIN"; then MINGWCXX=false; else MINGWCXX=`basename $WITH_MINGWIN`; fi
Lines 12228-12237 Link Here
12228
         if test -n "$ac_tool_prefix"; then
11558
         if test -n "$ac_tool_prefix"; then
12229
  # Extract the first word of "${ac_tool_prefix}$WITH_MINGWIN", so it can be a program name with args.
11559
  # Extract the first word of "${ac_tool_prefix}$WITH_MINGWIN", so it can be a program name with args.
12230
set dummy ${ac_tool_prefix}$WITH_MINGWIN; ac_word=$2
11560
set dummy ${ac_tool_prefix}$WITH_MINGWIN; ac_word=$2
12231
echo "$as_me:$LINENO: checking for $ac_word" >&5
11561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12232
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11562
$as_echo_n "checking for $ac_word... " >&6; }
12233
if test "${ac_cv_prog_MINGWCXX+set}" = set; then
11563
if test "${ac_cv_prog_MINGWCXX+set}" = set; then :
12234
  echo $ECHO_N "(cached) $ECHO_C" >&6
11564
  $as_echo_n "(cached) " >&6
12235
else
11565
else
12236
  if test -n "$MINGWCXX"; then
11566
  if test -n "$MINGWCXX"; then
12237
  ac_cv_prog_MINGWCXX="$MINGWCXX" # Let the user override the test.
11567
  ac_cv_prog_MINGWCXX="$MINGWCXX" # Let the user override the test.
Lines 12241-12275 Link Here
12241
do
11571
do
12242
  IFS=$as_save_IFS
11572
  IFS=$as_save_IFS
12243
  test -z "$as_dir" && as_dir=.
11573
  test -z "$as_dir" && as_dir=.
12244
  for ac_exec_ext in '' $ac_executable_extensions; do
11574
    for ac_exec_ext in '' $ac_executable_extensions; do
12245
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12246
    ac_cv_prog_MINGWCXX="${ac_tool_prefix}$WITH_MINGWIN"
11576
    ac_cv_prog_MINGWCXX="${ac_tool_prefix}$WITH_MINGWIN"
12247
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12248
    break 2
11578
    break 2
12249
  fi
11579
  fi
12250
done
11580
done
12251
done
11581
  done
11582
IFS=$as_save_IFS
12252
11583
12253
fi
11584
fi
12254
fi
11585
fi
12255
MINGWCXX=$ac_cv_prog_MINGWCXX
11586
MINGWCXX=$ac_cv_prog_MINGWCXX
12256
if test -n "$MINGWCXX"; then
11587
if test -n "$MINGWCXX"; then
12257
  echo "$as_me:$LINENO: result: $MINGWCXX" >&5
11588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGWCXX" >&5
12258
echo "${ECHO_T}$MINGWCXX" >&6
11589
$as_echo "$MINGWCXX" >&6; }
12259
else
11590
else
12260
  echo "$as_me:$LINENO: result: no" >&5
11591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12261
echo "${ECHO_T}no" >&6
11592
$as_echo "no" >&6; }
12262
fi
11593
fi
11594
12263
11595
12264
fi
11596
fi
12265
if test -z "$ac_cv_prog_MINGWCXX"; then
11597
if test -z "$ac_cv_prog_MINGWCXX"; then
12266
  ac_ct_MINGWCXX=$MINGWCXX
11598
  ac_ct_MINGWCXX=$MINGWCXX
12267
  # Extract the first word of "$WITH_MINGWIN", so it can be a program name with args.
11599
  # Extract the first word of "$WITH_MINGWIN", so it can be a program name with args.
12268
set dummy $WITH_MINGWIN; ac_word=$2
11600
set dummy $WITH_MINGWIN; ac_word=$2
12269
echo "$as_me:$LINENO: checking for $ac_word" >&5
11601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12270
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11602
$as_echo_n "checking for $ac_word... " >&6; }
12271
if test "${ac_cv_prog_ac_ct_MINGWCXX+set}" = set; then
11603
if test "${ac_cv_prog_ac_ct_MINGWCXX+set}" = set; then :
12272
  echo $ECHO_N "(cached) $ECHO_C" >&6
11604
  $as_echo_n "(cached) " >&6
12273
else
11605
else
12274
  if test -n "$ac_ct_MINGWCXX"; then
11606
  if test -n "$ac_ct_MINGWCXX"; then
12275
  ac_cv_prog_ac_ct_MINGWCXX="$ac_ct_MINGWCXX" # Let the user override the test.
11607
  ac_cv_prog_ac_ct_MINGWCXX="$ac_ct_MINGWCXX" # Let the user override the test.
Lines 12279-12325 Link Here
12279
do
11611
do
12280
  IFS=$as_save_IFS
11612
  IFS=$as_save_IFS
12281
  test -z "$as_dir" && as_dir=.
11613
  test -z "$as_dir" && as_dir=.
12282
  for ac_exec_ext in '' $ac_executable_extensions; do
11614
    for ac_exec_ext in '' $ac_executable_extensions; do
12283
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11615
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12284
    ac_cv_prog_ac_ct_MINGWCXX="$WITH_MINGWIN"
11616
    ac_cv_prog_ac_ct_MINGWCXX="$WITH_MINGWIN"
12285
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11617
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286
    break 2
11618
    break 2
12287
  fi
11619
  fi
12288
done
11620
done
12289
done
11621
  done
12290
11622
IFS=$as_save_IFS
12291
  test -z "$ac_cv_prog_ac_ct_MINGWCXX" && ac_cv_prog_ac_ct_MINGWCXX="false"
11623
12292
fi
11624
fi
12293
fi
11625
fi
12294
ac_ct_MINGWCXX=$ac_cv_prog_ac_ct_MINGWCXX
11626
ac_ct_MINGWCXX=$ac_cv_prog_ac_ct_MINGWCXX
12295
if test -n "$ac_ct_MINGWCXX"; then
11627
if test -n "$ac_ct_MINGWCXX"; then
12296
  echo "$as_me:$LINENO: result: $ac_ct_MINGWCXX" >&5
11628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MINGWCXX" >&5
12297
echo "${ECHO_T}$ac_ct_MINGWCXX" >&6
11629
$as_echo "$ac_ct_MINGWCXX" >&6; }
12298
else
11630
else
12299
  echo "$as_me:$LINENO: result: no" >&5
11631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300
echo "${ECHO_T}no" >&6
11632
$as_echo "no" >&6; }
12301
fi
11633
fi
12302
11634
12303
  MINGWCXX=$ac_ct_MINGWCXX
11635
  if test "x$ac_ct_MINGWCXX" = x; then
11636
    MINGWCXX="false"
11637
  else
11638
    case $cross_compiling:$ac_tool_warned in
11639
yes:)
11640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11641
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11642
ac_tool_warned=yes ;;
11643
esac
11644
    MINGWCXX=$ac_ct_MINGWCXX
11645
  fi
12304
else
11646
else
12305
  MINGWCXX="$ac_cv_prog_MINGWCXX"
11647
  MINGWCXX="$ac_cv_prog_MINGWCXX"
12306
fi
11648
fi
12307
11649
12308
      fi
11650
      fi
12309
      if test "$MINGWCXX" = "false"; then
11651
      if test "$MINGWCXX" = "false"; then
12310
         { { echo "$as_me:$LINENO: error: specified MinGW32 C++ cross-compiler not found. Install it or correct name." >&5
11652
         as_fn_error "specified MinGW32 C++ cross-compiler not found. Install it or correct name." "$LINENO" 5
12311
echo "$as_me: error: specified MinGW32 C++ cross-compiler not found. Install it or correct name." >&2;}
11653
      fi
12312
   { (exit 1); exit 1; }; }
11654
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the MinGW32 cross C++ compiler" >&5
12313
      fi
11655
$as_echo_n "checking whether we are using the MinGW32 cross C++ compiler... " >&6; }
12314
      echo "$as_me:$LINENO: checking whether we are using the MinGW32 cross C++ compiler" >&5
12315
echo $ECHO_N "checking whether we are using the MinGW32 cross C++ compiler... $ECHO_C" >&6
12316
      if ! echo "`$MINGWCXX -dumpmachine`" | grep -q mingw32; then
11656
      if ! echo "`$MINGWCXX -dumpmachine`" | grep -q mingw32; then
12317
         { { echo "$as_me:$LINENO: error: no" >&5
11657
         as_fn_error "no" "$LINENO" 5
12318
echo "$as_me: error: no" >&2;}
11658
      else
12319
   { (exit 1); exit 1; }; }
11659
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12320
      else
11660
$as_echo "yes" >&6; }
12321
         echo "$as_me:$LINENO: result: yes" >&5
12322
echo "${ECHO_T}yes" >&6
12323
      fi
11661
      fi
12324
      if echo "$WITH_MINGWIN" | $EGREP -q "/"; then
11662
      if echo "$WITH_MINGWIN" | $EGREP -q "/"; then
12325
         if ! test -x "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"; then MINGSTRIP=false; else MINGWSTRIP=$(basename $(echo $WITH_MINGWIN | $SED -e s/g++/strip/)); fi
11663
         if ! test -x "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"; then MINGSTRIP=false; else MINGWSTRIP=$(basename $(echo $WITH_MINGWIN | $SED -e s/g++/strip/)); fi
Lines 12327-12336 Link Here
12327
         if test -n "$ac_tool_prefix"; then
11665
         if test -n "$ac_tool_prefix"; then
12328
  # Extract the first word of "${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
11666
  # Extract the first word of "${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
12329
set dummy ${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word=$2
11667
set dummy ${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word=$2
12330
echo "$as_me:$LINENO: checking for $ac_word" >&5
11668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12331
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11669
$as_echo_n "checking for $ac_word... " >&6; }
12332
if test "${ac_cv_prog_MINGWSTRIP+set}" = set; then
11670
if test "${ac_cv_prog_MINGWSTRIP+set}" = set; then :
12333
  echo $ECHO_N "(cached) $ECHO_C" >&6
11671
  $as_echo_n "(cached) " >&6
12334
else
11672
else
12335
  if test -n "$MINGWSTRIP"; then
11673
  if test -n "$MINGWSTRIP"; then
12336
  ac_cv_prog_MINGWSTRIP="$MINGWSTRIP" # Let the user override the test.
11674
  ac_cv_prog_MINGWSTRIP="$MINGWSTRIP" # Let the user override the test.
Lines 12340-12374 Link Here
12340
do
11678
do
12341
  IFS=$as_save_IFS
11679
  IFS=$as_save_IFS
12342
  test -z "$as_dir" && as_dir=.
11680
  test -z "$as_dir" && as_dir=.
12343
  for ac_exec_ext in '' $ac_executable_extensions; do
11681
    for ac_exec_ext in '' $ac_executable_extensions; do
12344
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12345
    ac_cv_prog_MINGWSTRIP="${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
11683
    ac_cv_prog_MINGWSTRIP="${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
12346
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11684
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12347
    break 2
11685
    break 2
12348
  fi
11686
  fi
12349
done
11687
done
12350
done
11688
  done
11689
IFS=$as_save_IFS
12351
11690
12352
fi
11691
fi
12353
fi
11692
fi
12354
MINGWSTRIP=$ac_cv_prog_MINGWSTRIP
11693
MINGWSTRIP=$ac_cv_prog_MINGWSTRIP
12355
if test -n "$MINGWSTRIP"; then
11694
if test -n "$MINGWSTRIP"; then
12356
  echo "$as_me:$LINENO: result: $MINGWSTRIP" >&5
11695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGWSTRIP" >&5
12357
echo "${ECHO_T}$MINGWSTRIP" >&6
11696
$as_echo "$MINGWSTRIP" >&6; }
12358
else
11697
else
12359
  echo "$as_me:$LINENO: result: no" >&5
11698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12360
echo "${ECHO_T}no" >&6
11699
$as_echo "no" >&6; }
12361
fi
11700
fi
11701
12362
11702
12363
fi
11703
fi
12364
if test -z "$ac_cv_prog_MINGWSTRIP"; then
11704
if test -z "$ac_cv_prog_MINGWSTRIP"; then
12365
  ac_ct_MINGWSTRIP=$MINGWSTRIP
11705
  ac_ct_MINGWSTRIP=$MINGWSTRIP
12366
  # Extract the first word of "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
11706
  # Extract the first word of "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
12367
set dummy `echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word=$2
11707
set dummy `echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word=$2
12368
echo "$as_me:$LINENO: checking for $ac_word" >&5
11708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12369
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11709
$as_echo_n "checking for $ac_word... " >&6; }
12370
if test "${ac_cv_prog_ac_ct_MINGWSTRIP+set}" = set; then
11710
if test "${ac_cv_prog_ac_ct_MINGWSTRIP+set}" = set; then :
12371
  echo $ECHO_N "(cached) $ECHO_C" >&6
11711
  $as_echo_n "(cached) " >&6
12372
else
11712
else
12373
  if test -n "$ac_ct_MINGWSTRIP"; then
11713
  if test -n "$ac_ct_MINGWSTRIP"; then
12374
  ac_cv_prog_ac_ct_MINGWSTRIP="$ac_ct_MINGWSTRIP" # Let the user override the test.
11714
  ac_cv_prog_ac_ct_MINGWSTRIP="$ac_ct_MINGWSTRIP" # Let the user override the test.
Lines 12378-12416 Link Here
12378
do
11718
do
12379
  IFS=$as_save_IFS
11719
  IFS=$as_save_IFS
12380
  test -z "$as_dir" && as_dir=.
11720
  test -z "$as_dir" && as_dir=.
12381
  for ac_exec_ext in '' $ac_executable_extensions; do
11721
    for ac_exec_ext in '' $ac_executable_extensions; do
12382
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11722
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12383
    ac_cv_prog_ac_ct_MINGWSTRIP="`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
11723
    ac_cv_prog_ac_ct_MINGWSTRIP="`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
12384
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11724
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12385
    break 2
11725
    break 2
12386
  fi
11726
  fi
12387
done
11727
done
12388
done
11728
  done
12389
11729
IFS=$as_save_IFS
12390
  test -z "$ac_cv_prog_ac_ct_MINGWSTRIP" && ac_cv_prog_ac_ct_MINGWSTRIP="false"
11730
12391
fi
11731
fi
12392
fi
11732
fi
12393
ac_ct_MINGWSTRIP=$ac_cv_prog_ac_ct_MINGWSTRIP
11733
ac_ct_MINGWSTRIP=$ac_cv_prog_ac_ct_MINGWSTRIP
12394
if test -n "$ac_ct_MINGWSTRIP"; then
11734
if test -n "$ac_ct_MINGWSTRIP"; then
12395
  echo "$as_me:$LINENO: result: $ac_ct_MINGWSTRIP" >&5
11735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MINGWSTRIP" >&5
12396
echo "${ECHO_T}$ac_ct_MINGWSTRIP" >&6
11736
$as_echo "$ac_ct_MINGWSTRIP" >&6; }
12397
else
11737
else
12398
  echo "$as_me:$LINENO: result: no" >&5
11738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399
echo "${ECHO_T}no" >&6
11739
$as_echo "no" >&6; }
12400
fi
11740
fi
12401
11741
12402
  MINGWSTRIP=$ac_ct_MINGWSTRIP
11742
  if test "x$ac_ct_MINGWSTRIP" = x; then
11743
    MINGWSTRIP="false"
11744
  else
11745
    case $cross_compiling:$ac_tool_warned in
11746
yes:)
11747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11749
ac_tool_warned=yes ;;
11750
esac
11751
    MINGWSTRIP=$ac_ct_MINGWSTRIP
11752
  fi
12403
else
11753
else
12404
  MINGWSTRIP="$ac_cv_prog_MINGWSTRIP"
11754
  MINGWSTRIP="$ac_cv_prog_MINGWSTRIP"
12405
fi
11755
fi
12406
11756
12407
      fi
11757
      fi
12408
      if test "$MINGWSTRIP" = "false"; then
11758
      if test "$MINGWSTRIP" = "false"; then
12409
         { { echo "$as_me:$LINENO: error: MinGW32 binutils needed. Install them." >&5
11759
         as_fn_error "MinGW32 binutils needed. Install them." "$LINENO" 5
12410
echo "$as_me: error: MinGW32 binutils needed. Install them." >&2;}
11760
      fi
12411
   { (exit 1); exit 1; }; }
11761
      ac_ext=cpp
12412
      fi
12413
      ac_ext=cc
12414
ac_cpp='$CXXCPP $CPPFLAGS'
11762
ac_cpp='$CXXCPP $CPPFLAGS'
12415
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12416
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 12428-12493 Link Here
12428
      # do not make sense here (and 'd make the check fail)
11776
      # do not make sense here (and 'd make the check fail)
12429
      save_LIBS=$LIBS
11777
      save_LIBS=$LIBS
12430
      LIBS=""
11778
      LIBS=""
12431
11779
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkernel32" >&5
12432
echo "$as_me:$LINENO: checking for main in -lkernel32" >&5
11780
$as_echo_n "checking for main in -lkernel32... " >&6; }
12433
echo $ECHO_N "checking for main in -lkernel32... $ECHO_C" >&6
11781
if test "${ac_cv_lib_kernel32_main+set}" = set; then :
12434
if test "${ac_cv_lib_kernel32_main+set}" = set; then
11782
  $as_echo_n "(cached) " >&6
12435
  echo $ECHO_N "(cached) $ECHO_C" >&6
12436
else
11783
else
12437
  ac_check_lib_save_LIBS=$LIBS
11784
  ac_check_lib_save_LIBS=$LIBS
12438
LIBS="-lkernel32  $LIBS"
11785
LIBS="-lkernel32  $LIBS"
12439
cat >conftest.$ac_ext <<_ACEOF
11786
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440
/* confdefs.h.  */
11787
/* end confdefs.h.  */
12441
_ACEOF
11788
12442
cat confdefs.h >>conftest.$ac_ext
11789
12443
cat >>conftest.$ac_ext <<_ACEOF
11790
int
12444
/* end confdefs.h.  */
11791
main ()
12445
11792
{
12446
11793
return main ();
12447
int
11794
  ;
12448
main ()
11795
  return 0;
12449
{
11796
}
12450
main ();
11797
_ACEOF
12451
  ;
11798
if ac_fn_cxx_try_link "$LINENO"; then :
12452
  return 0;
12453
}
12454
_ACEOF
12455
rm -f conftest.$ac_objext conftest$ac_exeext
12456
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12457
  (eval $ac_link) 2>conftest.er1
12458
  ac_status=$?
12459
  grep -v '^ *+' conftest.er1 >conftest.err
12460
  rm -f conftest.er1
12461
  cat conftest.err >&5
12462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463
  (exit $ac_status); } &&
12464
	 { ac_try='test -z "$ac_cxx_werror_flag"
12465
			 || test ! -s conftest.err'
12466
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467
  (eval $ac_try) 2>&5
12468
  ac_status=$?
12469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470
  (exit $ac_status); }; } &&
12471
	 { ac_try='test -s conftest$ac_exeext'
12472
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473
  (eval $ac_try) 2>&5
12474
  ac_status=$?
12475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476
  (exit $ac_status); }; }; then
12477
  ac_cv_lib_kernel32_main=yes
11799
  ac_cv_lib_kernel32_main=yes
12478
else
11800
else
12479
  echo "$as_me: failed program was:" >&5
11801
  ac_cv_lib_kernel32_main=no
12480
sed 's/^/| /' conftest.$ac_ext >&5
11802
fi
12481
11803
rm -f core conftest.err conftest.$ac_objext \
12482
ac_cv_lib_kernel32_main=no
11804
    conftest$ac_exeext conftest.$ac_ext
12483
fi
12484
rm -f conftest.err conftest.$ac_objext \
12485
      conftest$ac_exeext conftest.$ac_ext
12486
LIBS=$ac_check_lib_save_LIBS
11805
LIBS=$ac_check_lib_save_LIBS
12487
fi
11806
fi
12488
echo "$as_me:$LINENO: result: $ac_cv_lib_kernel32_main" >&5
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kernel32_main" >&5
12489
echo "${ECHO_T}$ac_cv_lib_kernel32_main" >&6
11808
$as_echo "$ac_cv_lib_kernel32_main" >&6; }
12490
if test $ac_cv_lib_kernel32_main = yes; then
11809
if test "x$ac_cv_lib_kernel32_main" = x""yes; then :
12491
  cat >>confdefs.h <<_ACEOF
11810
  cat >>confdefs.h <<_ACEOF
12492
#define HAVE_LIBKERNEL32 1
11811
#define HAVE_LIBKERNEL32 1
12493
_ACEOF
11812
_ACEOF
Lines 12497-12562 Link Here
12497
fi
11816
fi
12498
ac_cv_lib_kernel32=ac_cv_lib_kernel32_main
11817
ac_cv_lib_kernel32=ac_cv_lib_kernel32_main
12499
11818
12500
11819
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ladvapi32" >&5
12501
echo "$as_me:$LINENO: checking for main in -ladvapi32" >&5
11820
$as_echo_n "checking for main in -ladvapi32... " >&6; }
12502
echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
11821
if test "${ac_cv_lib_advapi32_main+set}" = set; then :
12503
if test "${ac_cv_lib_advapi32_main+set}" = set; then
11822
  $as_echo_n "(cached) " >&6
12504
  echo $ECHO_N "(cached) $ECHO_C" >&6
12505
else
11823
else
12506
  ac_check_lib_save_LIBS=$LIBS
11824
  ac_check_lib_save_LIBS=$LIBS
12507
LIBS="-ladvapi32  $LIBS"
11825
LIBS="-ladvapi32  $LIBS"
12508
cat >conftest.$ac_ext <<_ACEOF
11826
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509
/* confdefs.h.  */
11827
/* end confdefs.h.  */
12510
_ACEOF
11828
12511
cat confdefs.h >>conftest.$ac_ext
11829
12512
cat >>conftest.$ac_ext <<_ACEOF
11830
int
12513
/* end confdefs.h.  */
11831
main ()
12514
11832
{
12515
11833
return main ();
12516
int
11834
  ;
12517
main ()
11835
  return 0;
12518
{
11836
}
12519
main ();
11837
_ACEOF
12520
  ;
11838
if ac_fn_cxx_try_link "$LINENO"; then :
12521
  return 0;
12522
}
12523
_ACEOF
12524
rm -f conftest.$ac_objext conftest$ac_exeext
12525
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526
  (eval $ac_link) 2>conftest.er1
12527
  ac_status=$?
12528
  grep -v '^ *+' conftest.er1 >conftest.err
12529
  rm -f conftest.er1
12530
  cat conftest.err >&5
12531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532
  (exit $ac_status); } &&
12533
	 { ac_try='test -z "$ac_cxx_werror_flag"
12534
			 || test ! -s conftest.err'
12535
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536
  (eval $ac_try) 2>&5
12537
  ac_status=$?
12538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539
  (exit $ac_status); }; } &&
12540
	 { ac_try='test -s conftest$ac_exeext'
12541
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542
  (eval $ac_try) 2>&5
12543
  ac_status=$?
12544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545
  (exit $ac_status); }; }; then
12546
  ac_cv_lib_advapi32_main=yes
11839
  ac_cv_lib_advapi32_main=yes
12547
else
11840
else
12548
  echo "$as_me: failed program was:" >&5
11841
  ac_cv_lib_advapi32_main=no
12549
sed 's/^/| /' conftest.$ac_ext >&5
11842
fi
12550
11843
rm -f core conftest.err conftest.$ac_objext \
12551
ac_cv_lib_advapi32_main=no
11844
    conftest$ac_exeext conftest.$ac_ext
12552
fi
12553
rm -f conftest.err conftest.$ac_objext \
12554
      conftest$ac_exeext conftest.$ac_ext
12555
LIBS=$ac_check_lib_save_LIBS
11845
LIBS=$ac_check_lib_save_LIBS
12556
fi
11846
fi
12557
echo "$as_me:$LINENO: result: $ac_cv_lib_advapi32_main" >&5
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_advapi32_main" >&5
12558
echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
11848
$as_echo "$ac_cv_lib_advapi32_main" >&6; }
12559
if test $ac_cv_lib_advapi32_main = yes; then
11849
if test "x$ac_cv_lib_advapi32_main" = x""yes; then :
12560
  cat >>confdefs.h <<_ACEOF
11850
  cat >>confdefs.h <<_ACEOF
12561
#define HAVE_LIBADVAPI32 1
11851
#define HAVE_LIBADVAPI32 1
12562
_ACEOF
11852
_ACEOF
Lines 12566-12714 Link Here
12566
fi
11856
fi
12567
ac_cv_lib_advapi32=ac_cv_lib_advapi32_main
11857
ac_cv_lib_advapi32=ac_cv_lib_advapi32_main
12568
11858
12569
      if test "${ac_cv_header_windows_h+set}" = set; then
11859
      ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
12570
  echo "$as_me:$LINENO: checking for windows.h" >&5
11860
if test "x$ac_cv_header_windows_h" = x""yes; then :
12571
echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
11861
12572
if test "${ac_cv_header_windows_h+set}" = set; then
11862
else
12573
  echo $ECHO_N "(cached) $ECHO_C" >&6
11863
  as_fn_error "windows.h missing" "$LINENO" 5
12574
fi
12575
echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
12576
echo "${ECHO_T}$ac_cv_header_windows_h" >&6
12577
else
12578
  # Is the header compilable?
12579
echo "$as_me:$LINENO: checking windows.h usability" >&5
12580
echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
12581
cat >conftest.$ac_ext <<_ACEOF
12582
/* confdefs.h.  */
12583
_ACEOF
12584
cat confdefs.h >>conftest.$ac_ext
12585
cat >>conftest.$ac_ext <<_ACEOF
12586
/* end confdefs.h.  */
12587
$ac_includes_default
12588
#include <windows.h>
12589
_ACEOF
12590
rm -f conftest.$ac_objext
12591
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12592
  (eval $ac_compile) 2>conftest.er1
12593
  ac_status=$?
12594
  grep -v '^ *+' conftest.er1 >conftest.err
12595
  rm -f conftest.er1
12596
  cat conftest.err >&5
12597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598
  (exit $ac_status); } &&
12599
	 { ac_try='test -z "$ac_cxx_werror_flag"
12600
			 || test ! -s conftest.err'
12601
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602
  (eval $ac_try) 2>&5
12603
  ac_status=$?
12604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605
  (exit $ac_status); }; } &&
12606
	 { ac_try='test -s conftest.$ac_objext'
12607
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608
  (eval $ac_try) 2>&5
12609
  ac_status=$?
12610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611
  (exit $ac_status); }; }; then
12612
  ac_header_compiler=yes
12613
else
12614
  echo "$as_me: failed program was:" >&5
12615
sed 's/^/| /' conftest.$ac_ext >&5
12616
12617
ac_header_compiler=no
12618
fi
12619
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12620
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12621
echo "${ECHO_T}$ac_header_compiler" >&6
12622
12623
# Is the header present?
12624
echo "$as_me:$LINENO: checking windows.h presence" >&5
12625
echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
12626
cat >conftest.$ac_ext <<_ACEOF
12627
/* confdefs.h.  */
12628
_ACEOF
12629
cat confdefs.h >>conftest.$ac_ext
12630
cat >>conftest.$ac_ext <<_ACEOF
12631
/* end confdefs.h.  */
12632
#include <windows.h>
12633
_ACEOF
12634
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12635
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12636
  ac_status=$?
12637
  grep -v '^ *+' conftest.er1 >conftest.err
12638
  rm -f conftest.er1
12639
  cat conftest.err >&5
12640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641
  (exit $ac_status); } >/dev/null; then
12642
  if test -s conftest.err; then
12643
    ac_cpp_err=$ac_cxx_preproc_warn_flag
12644
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12645
  else
12646
    ac_cpp_err=
12647
  fi
12648
else
12649
  ac_cpp_err=yes
12650
fi
12651
if test -z "$ac_cpp_err"; then
12652
  ac_header_preproc=yes
12653
else
12654
  echo "$as_me: failed program was:" >&5
12655
sed 's/^/| /' conftest.$ac_ext >&5
12656
12657
  ac_header_preproc=no
12658
fi
12659
rm -f conftest.err conftest.$ac_ext
12660
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12661
echo "${ECHO_T}$ac_header_preproc" >&6
12662
12663
# So?  What about this header?
12664
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12665
  yes:no: )
12666
    { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
12667
echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12668
    { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
12669
echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
12670
    ac_header_preproc=yes
12671
    ;;
12672
  no:yes:* )
12673
    { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
12674
echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
12675
    { echo "$as_me:$LINENO: WARNING: windows.h:     check for missing prerequisite headers?" >&5
12676
echo "$as_me: WARNING: windows.h:     check for missing prerequisite headers?" >&2;}
12677
    { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
12678
echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
12679
    { echo "$as_me:$LINENO: WARNING: windows.h:     section \"Present But Cannot Be Compiled\"" >&5
12680
echo "$as_me: WARNING: windows.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12681
    { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
12682
echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
12683
    { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
12684
echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
12685
    (
12686
      cat <<\_ASBOX
12687
## ------------------------------------------ ##
12688
## Report this to the AC_PACKAGE_NAME lists.  ##
12689
## ------------------------------------------ ##
12690
_ASBOX
12691
    ) |
12692
      sed "s/^/$as_me: WARNING:     /" >&2
12693
    ;;
12694
esac
12695
echo "$as_me:$LINENO: checking for windows.h" >&5
12696
echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
12697
if test "${ac_cv_header_windows_h+set}" = set; then
12698
  echo $ECHO_N "(cached) $ECHO_C" >&6
12699
else
12700
  ac_cv_header_windows_h=$ac_header_preproc
12701
fi
12702
echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
12703
echo "${ECHO_T}$ac_cv_header_windows_h" >&6
12704
12705
fi
12706
if test $ac_cv_header_windows_h = yes; then
12707
  :
12708
else
12709
  { { echo "$as_me:$LINENO: error: windows.h missing" >&5
12710
echo "$as_me: error: windows.h missing" >&2;}
12711
   { (exit 1); exit 1; }; }
12712
fi
11864
fi
12713
11865
12714
11866
Lines 12727-12751 Link Here
12727
   fi
11879
   fi
12728
   BUILD_TYPE="$BUILD_TYPE ODK"
11880
   BUILD_TYPE="$BUILD_TYPE ODK"
12729
else
11881
else
12730
   echo "$as_me:$LINENO: result: no" >&5
11882
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731
echo "${ECHO_T}no" >&6
11883
$as_echo "no" >&6; }
12732
   BUILD_UNOWINREG=NO
11884
   BUILD_UNOWINREG=NO
12733
fi
11885
fi
12734
11886
12735
11887
12736
11888
12737
11889
12738
echo "$as_me:$LINENO: checking whether to build qadevOOo" >&5
11890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build qadevOOo" >&5
12739
echo $ECHO_N "checking whether to build qadevOOo... $ECHO_C" >&6
11891
$as_echo_n "checking whether to build qadevOOo... " >&6; }
12740
if test "z$enable_qadevooo" = "z" -o "$enable_qadevooo" != "no"; then
11892
if test "z$enable_qadevooo" = "z" -o "$enable_qadevooo" != "no"; then
12741
   echo "$as_me:$LINENO: result: yes" >&5
11893
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12742
echo "${ECHO_T}yes" >&6
11894
$as_echo "yes" >&6; }
12743
   BUILD_QADEVOOO="YES"
11895
   BUILD_QADEVOOO="YES"
12744
   BUILD_TYPE="$BUILD_TYPE QADEVOOO"
11896
   BUILD_TYPE="$BUILD_TYPE QADEVOOO"
12745
else
11897
else
12746
   BUILD_QADEVOOO="NO"
11898
   BUILD_QADEVOOO="NO"
12747
   echo "$as_me:$LINENO: result: no" >&5
11899
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12748
echo "${ECHO_T}no" >&6
11900
$as_echo "no" >&6; }
12749
fi
11901
fi
12750
11902
12751
11903
Lines 12753-12780 Link Here
12753
  if test -n "$checkforstdlibproblems"; then
11905
  if test -n "$checkforstdlibproblems"; then
12754
    if test -f /etc/rpm/macros.prelink; then
11906
    if test -f /etc/rpm/macros.prelink; then
12755
      with_system_stdlibs=yes
11907
      with_system_stdlibs=yes
12756
      { echo "$as_me:$LINENO: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&5
11908
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&5
12757
echo "$as_me: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&2;}
11909
$as_echo "$as_me: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&2;}
12758
      echo "prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >> warn
11910
      echo "prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >> warn
12759
    elif test "$GCC" = "yes" -a ! -e `$CC -print-file-name=libgcc_s.so.1`; then
11911
    elif test "$GCC" = "yes" -a ! -e `$CC -print-file-name=libgcc_s.so.1`; then
12760
      with_system_stdlibs=yes
11912
      with_system_stdlibs=yes
12761
      { echo "$as_me:$LINENO: WARNING: platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&5
11913
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&5
12762
echo "$as_me: WARNING: platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&2;}
11914
$as_echo "$as_me: WARNING: platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >&2;}
12763
      echo "platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >> warn
11915
      echo "platform doesn't have a libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override" >> warn
12764
    fi
11916
    fi
12765
  fi
11917
  fi
12766
fi
11918
fi
12767
11919
12768
echo "$as_me:$LINENO: checking whether to provide libstdc++/libgcc_s in the installset" >&5
11920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide libstdc++/libgcc_s in the installset" >&5
12769
echo $ECHO_N "checking whether to provide libstdc++/libgcc_s in the installset... $ECHO_C" >&6
11921
$as_echo_n "checking whether to provide libstdc++/libgcc_s in the installset... " >&6; }
12770
if test -n "$with_system_stdlibs" -o -n "$with_system_libs" && \
11922
if test -n "$with_system_stdlibs" -o -n "$with_system_libs" && \
12771
   test "$with_system_stdlibs" != "no"; then
11923
   test "$with_system_stdlibs" != "no"; then
12772
   echo "$as_me:$LINENO: result: no" >&5
11924
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773
echo "${ECHO_T}no" >&6
11925
$as_echo "no" >&6; }
12774
   SYSTEM_STDLIBS=YES
11926
   SYSTEM_STDLIBS=YES
12775
else
11927
else
12776
   echo "$as_me:$LINENO: result: yes" >&5
11928
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12777
echo "${ECHO_T}yes" >&6
11929
$as_echo "yes" >&6; }
12778
   SYSTEM_STDLIBS=NO
11930
   SYSTEM_STDLIBS=NO
12779
fi
11931
fi
12780
11932
Lines 12782-13471 Link Here
12782
if test "$_os" = "Darwin" && test "$with_system_zlib" != "no"; then
11934
if test "$_os" = "Darwin" && test "$with_system_zlib" != "no"; then
12783
   with_system_zlib=yes
11935
   with_system_zlib=yes
12784
fi
11936
fi
12785
echo "$as_me:$LINENO: checking which zlib to use" >&5
11937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which zlib to use" >&5
12786
echo $ECHO_N "checking which zlib to use... $ECHO_C" >&6
11938
$as_echo_n "checking which zlib to use... " >&6; }
12787
if test -n "$with_system_zlib" -o -n "$with_system_libs" && \
11939
if test -n "$with_system_zlib" -o -n "$with_system_libs" && \
12788
	test "$with_system_zlib" != "no"; then
11940
	test "$with_system_zlib" != "no"; then
12789
    echo "$as_me:$LINENO: result: external" >&5
11941
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
12790
echo "${ECHO_T}external" >&6
11942
$as_echo "external" >&6; }
12791
    SYSTEM_ZLIB=YES
11943
    SYSTEM_ZLIB=YES
12792
    if test "${ac_cv_header_zlib_h+set}" = set; then
11944
    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12793
  echo "$as_me:$LINENO: checking for zlib.h" >&5
11945
if test "x$ac_cv_header_zlib_h" = x""yes; then :
12794
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
11946
12795
if test "${ac_cv_header_zlib_h+set}" = set; then
11947
else
12796
  echo $ECHO_N "(cached) $ECHO_C" >&6
11948
  as_fn_error "zlib.h not found. install zlib" "$LINENO" 5
12797
fi
11949
fi
12798
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
11950
12799
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
11951
12800
else
11952
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
12801
  # Is the header compilable?
11953
$as_echo_n "checking for deflate in -lz... " >&6; }
12802
echo "$as_me:$LINENO: checking zlib.h usability" >&5
11954
if test "${ac_cv_lib_z_deflate+set}" = set; then :
12803
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
11955
  $as_echo_n "(cached) " >&6
12804
cat >conftest.$ac_ext <<_ACEOF
12805
/* confdefs.h.  */
12806
_ACEOF
12807
cat confdefs.h >>conftest.$ac_ext
12808
cat >>conftest.$ac_ext <<_ACEOF
12809
/* end confdefs.h.  */
12810
$ac_includes_default
12811
#include <zlib.h>
12812
_ACEOF
12813
rm -f conftest.$ac_objext
12814
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12815
  (eval $ac_compile) 2>conftest.er1
12816
  ac_status=$?
12817
  grep -v '^ *+' conftest.er1 >conftest.err
12818
  rm -f conftest.er1
12819
  cat conftest.err >&5
12820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821
  (exit $ac_status); } &&
12822
	 { ac_try='test -z "$ac_c_werror_flag"
12823
			 || test ! -s conftest.err'
12824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825
  (eval $ac_try) 2>&5
12826
  ac_status=$?
12827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828
  (exit $ac_status); }; } &&
12829
	 { ac_try='test -s conftest.$ac_objext'
12830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831
  (eval $ac_try) 2>&5
12832
  ac_status=$?
12833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834
  (exit $ac_status); }; }; then
12835
  ac_header_compiler=yes
12836
else
12837
  echo "$as_me: failed program was:" >&5
12838
sed 's/^/| /' conftest.$ac_ext >&5
12839
12840
ac_header_compiler=no
12841
fi
12842
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12843
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12844
echo "${ECHO_T}$ac_header_compiler" >&6
12845
12846
# Is the header present?
12847
echo "$as_me:$LINENO: checking zlib.h presence" >&5
12848
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
12849
cat >conftest.$ac_ext <<_ACEOF
12850
/* confdefs.h.  */
12851
_ACEOF
12852
cat confdefs.h >>conftest.$ac_ext
12853
cat >>conftest.$ac_ext <<_ACEOF
12854
/* end confdefs.h.  */
12855
#include <zlib.h>
12856
_ACEOF
12857
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12859
  ac_status=$?
12860
  grep -v '^ *+' conftest.er1 >conftest.err
12861
  rm -f conftest.er1
12862
  cat conftest.err >&5
12863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864
  (exit $ac_status); } >/dev/null; then
12865
  if test -s conftest.err; then
12866
    ac_cpp_err=$ac_c_preproc_warn_flag
12867
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12868
  else
12869
    ac_cpp_err=
12870
  fi
12871
else
12872
  ac_cpp_err=yes
12873
fi
12874
if test -z "$ac_cpp_err"; then
12875
  ac_header_preproc=yes
12876
else
12877
  echo "$as_me: failed program was:" >&5
12878
sed 's/^/| /' conftest.$ac_ext >&5
12879
12880
  ac_header_preproc=no
12881
fi
12882
rm -f conftest.err conftest.$ac_ext
12883
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12884
echo "${ECHO_T}$ac_header_preproc" >&6
12885
12886
# So?  What about this header?
12887
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12888
  yes:no: )
12889
    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12890
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12891
    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
12892
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
12893
    ac_header_preproc=yes
12894
    ;;
12895
  no:yes:* )
12896
    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
12897
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
12898
    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
12899
echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
12900
    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
12901
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
12902
    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
12903
echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12904
    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
12905
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
12906
    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
12907
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
12908
    (
12909
      cat <<\_ASBOX
12910
## ------------------------------------------ ##
12911
## Report this to the AC_PACKAGE_NAME lists.  ##
12912
## ------------------------------------------ ##
12913
_ASBOX
12914
    ) |
12915
      sed "s/^/$as_me: WARNING:     /" >&2
12916
    ;;
12917
esac
12918
echo "$as_me:$LINENO: checking for zlib.h" >&5
12919
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
12920
if test "${ac_cv_header_zlib_h+set}" = set; then
12921
  echo $ECHO_N "(cached) $ECHO_C" >&6
12922
else
12923
  ac_cv_header_zlib_h=$ac_header_preproc
12924
fi
12925
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
12926
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
12927
12928
fi
12929
if test $ac_cv_header_zlib_h = yes; then
12930
  :
12931
else
12932
  { { echo "$as_me:$LINENO: error: zlib.h not found. install zlib" >&5
12933
echo "$as_me: error: zlib.h not found. install zlib" >&2;}
12934
   { (exit 1); exit 1; }; }
12935
fi
12936
12937
12938
    echo "$as_me:$LINENO: checking for deflate in -lz" >&5
12939
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
12940
if test "${ac_cv_lib_z_deflate+set}" = set; then
12941
  echo $ECHO_N "(cached) $ECHO_C" >&6
12942
else
11956
else
12943
  ac_check_lib_save_LIBS=$LIBS
11957
  ac_check_lib_save_LIBS=$LIBS
12944
LIBS="-lz  $LIBS"
11958
LIBS="-lz  $LIBS"
12945
cat >conftest.$ac_ext <<_ACEOF
11959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946
/* confdefs.h.  */
11960
/* end confdefs.h.  */
12947
_ACEOF
11961
12948
cat confdefs.h >>conftest.$ac_ext
11962
/* Override any GCC internal prototype to avoid an error.
12949
cat >>conftest.$ac_ext <<_ACEOF
11963
   Use char because int might match the return type of a GCC
12950
/* end confdefs.h.  */
11964
   builtin and then its argument prototype would still apply.  */
12951
12952
/* Override any gcc2 internal prototype to avoid an error.  */
12953
#ifdef __cplusplus
11965
#ifdef __cplusplus
12954
extern "C"
11966
extern "C"
12955
#endif
11967
#endif
12956
/* We use char because int might match the return type of a gcc2
12957
   builtin and then its argument prototype would still apply.  */
12958
char deflate ();
11968
char deflate ();
12959
int
11969
int
12960
main ()
11970
main ()
12961
{
11971
{
12962
deflate ();
11972
return deflate ();
12963
  ;
11973
  ;
12964
  return 0;
11974
  return 0;
12965
}
11975
}
12966
_ACEOF
11976
_ACEOF
12967
rm -f conftest.$ac_objext conftest$ac_exeext
11977
if ac_fn_c_try_link "$LINENO"; then :
12968
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12969
  (eval $ac_link) 2>conftest.er1
12970
  ac_status=$?
12971
  grep -v '^ *+' conftest.er1 >conftest.err
12972
  rm -f conftest.er1
12973
  cat conftest.err >&5
12974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975
  (exit $ac_status); } &&
12976
	 { ac_try='test -z "$ac_c_werror_flag"
12977
			 || test ! -s conftest.err'
12978
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979
  (eval $ac_try) 2>&5
12980
  ac_status=$?
12981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982
  (exit $ac_status); }; } &&
12983
	 { ac_try='test -s conftest$ac_exeext'
12984
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985
  (eval $ac_try) 2>&5
12986
  ac_status=$?
12987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988
  (exit $ac_status); }; }; then
12989
  ac_cv_lib_z_deflate=yes
11978
  ac_cv_lib_z_deflate=yes
12990
else
11979
else
12991
  echo "$as_me: failed program was:" >&5
11980
  ac_cv_lib_z_deflate=no
12992
sed 's/^/| /' conftest.$ac_ext >&5
11981
fi
12993
11982
rm -f core conftest.err conftest.$ac_objext \
12994
ac_cv_lib_z_deflate=no
11983
    conftest$ac_exeext conftest.$ac_ext
12995
fi
12996
rm -f conftest.err conftest.$ac_objext \
12997
      conftest$ac_exeext conftest.$ac_ext
12998
LIBS=$ac_check_lib_save_LIBS
11984
LIBS=$ac_check_lib_save_LIBS
12999
fi
11985
fi
13000
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
13001
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
11987
$as_echo "$ac_cv_lib_z_deflate" >&6; }
13002
if test $ac_cv_lib_z_deflate = yes; then
11988
if test "x$ac_cv_lib_z_deflate" = x""yes; then :
13003
   ZLIB=-lz
11989
   ZLIB=-lz
13004
else
11990
else
13005
  { { echo "$as_me:$LINENO: error: zlib not found or functional" >&5
11991
  as_fn_error "zlib not found or functional" "$LINENO" 5
13006
echo "$as_me: error: zlib not found or functional" >&2;}
11992
fi
13007
   { (exit 1); exit 1; }; }
11993
13008
fi
11994
else
13009
11995
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
13010
else
11996
$as_echo "internal" >&6; }
13011
    echo "$as_me:$LINENO: result: internal" >&5
13012
echo "${ECHO_T}internal" >&6
13013
    SYSTEM_ZLIB=NO
11997
    SYSTEM_ZLIB=NO
13014
    BUILD_TYPE="$BUILD_TYPE ZLIB"
11998
    BUILD_TYPE="$BUILD_TYPE ZLIB"
13015
fi
11999
fi
13016
12000
13017
12001
13018
echo "$as_me:$LINENO: checking which jpeg to use" >&5
12002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which jpeg to use" >&5
13019
echo $ECHO_N "checking which jpeg to use... $ECHO_C" >&6
12003
$as_echo_n "checking which jpeg to use... " >&6; }
13020
if test -n "$with_system_jpeg" -o -n "$with_system_libs" && \
12004
if test -n "$with_system_jpeg" -o -n "$with_system_libs" && \
13021
	test "$with_system_jpeg" != "no"; then
12005
	test "$with_system_jpeg" != "no"; then
13022
    echo "$as_me:$LINENO: result: external" >&5
12006
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
13023
echo "${ECHO_T}external" >&6
12007
$as_echo "external" >&6; }
13024
    SYSTEM_JPEG=YES
12008
    SYSTEM_JPEG=YES
13025
    if test "${ac_cv_header_jpeglib_h+set}" = set; then
12009
    ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13026
  echo "$as_me:$LINENO: checking for jpeglib.h" >&5
12010
if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
13027
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
12011
13028
if test "${ac_cv_header_jpeglib_h+set}" = set; then
12012
else
13029
  echo $ECHO_N "(cached) $ECHO_C" >&6
12013
  as_fn_error "jpeg.h not found. install libjpeg" "$LINENO" 5
13030
fi
12014
fi
13031
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
12015
13032
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
12016
13033
else
12017
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_resync_to_restart in -ljpeg" >&5
13034
  # Is the header compilable?
12018
$as_echo_n "checking for jpeg_resync_to_restart in -ljpeg... " >&6; }
13035
echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
12019
if test "${ac_cv_lib_jpeg_jpeg_resync_to_restart+set}" = set; then :
13036
echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6
12020
  $as_echo_n "(cached) " >&6
13037
cat >conftest.$ac_ext <<_ACEOF
13038
/* confdefs.h.  */
13039
_ACEOF
13040
cat confdefs.h >>conftest.$ac_ext
13041
cat >>conftest.$ac_ext <<_ACEOF
13042
/* end confdefs.h.  */
13043
$ac_includes_default
13044
#include <jpeglib.h>
13045
_ACEOF
13046
rm -f conftest.$ac_objext
13047
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048
  (eval $ac_compile) 2>conftest.er1
13049
  ac_status=$?
13050
  grep -v '^ *+' conftest.er1 >conftest.err
13051
  rm -f conftest.er1
13052
  cat conftest.err >&5
13053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054
  (exit $ac_status); } &&
13055
	 { ac_try='test -z "$ac_c_werror_flag"
13056
			 || test ! -s conftest.err'
13057
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058
  (eval $ac_try) 2>&5
13059
  ac_status=$?
13060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061
  (exit $ac_status); }; } &&
13062
	 { ac_try='test -s conftest.$ac_objext'
13063
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064
  (eval $ac_try) 2>&5
13065
  ac_status=$?
13066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067
  (exit $ac_status); }; }; then
13068
  ac_header_compiler=yes
13069
else
13070
  echo "$as_me: failed program was:" >&5
13071
sed 's/^/| /' conftest.$ac_ext >&5
13072
13073
ac_header_compiler=no
13074
fi
13075
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13076
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13077
echo "${ECHO_T}$ac_header_compiler" >&6
13078
13079
# Is the header present?
13080
echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
13081
echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6
13082
cat >conftest.$ac_ext <<_ACEOF
13083
/* confdefs.h.  */
13084
_ACEOF
13085
cat confdefs.h >>conftest.$ac_ext
13086
cat >>conftest.$ac_ext <<_ACEOF
13087
/* end confdefs.h.  */
13088
#include <jpeglib.h>
13089
_ACEOF
13090
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13091
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13092
  ac_status=$?
13093
  grep -v '^ *+' conftest.er1 >conftest.err
13094
  rm -f conftest.er1
13095
  cat conftest.err >&5
13096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097
  (exit $ac_status); } >/dev/null; then
13098
  if test -s conftest.err; then
13099
    ac_cpp_err=$ac_c_preproc_warn_flag
13100
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13101
  else
13102
    ac_cpp_err=
13103
  fi
13104
else
13105
  ac_cpp_err=yes
13106
fi
13107
if test -z "$ac_cpp_err"; then
13108
  ac_header_preproc=yes
13109
else
13110
  echo "$as_me: failed program was:" >&5
13111
sed 's/^/| /' conftest.$ac_ext >&5
13112
13113
  ac_header_preproc=no
13114
fi
13115
rm -f conftest.err conftest.$ac_ext
13116
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13117
echo "${ECHO_T}$ac_header_preproc" >&6
13118
13119
# So?  What about this header?
13120
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13121
  yes:no: )
13122
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13123
echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13124
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
13125
echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
13126
    ac_header_preproc=yes
13127
    ;;
13128
  no:yes:* )
13129
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
13130
echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
13131
    { echo "$as_me:$LINENO: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&5
13132
echo "$as_me: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&2;}
13133
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
13134
echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
13135
    { echo "$as_me:$LINENO: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&5
13136
echo "$as_me: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13137
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
13138
echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
13139
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
13140
echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
13141
    (
13142
      cat <<\_ASBOX
13143
## ------------------------------------------ ##
13144
## Report this to the AC_PACKAGE_NAME lists.  ##
13145
## ------------------------------------------ ##
13146
_ASBOX
13147
    ) |
13148
      sed "s/^/$as_me: WARNING:     /" >&2
13149
    ;;
13150
esac
13151
echo "$as_me:$LINENO: checking for jpeglib.h" >&5
13152
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
13153
if test "${ac_cv_header_jpeglib_h+set}" = set; then
13154
  echo $ECHO_N "(cached) $ECHO_C" >&6
13155
else
13156
  ac_cv_header_jpeglib_h=$ac_header_preproc
13157
fi
13158
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
13159
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
13160
13161
fi
13162
if test $ac_cv_header_jpeglib_h = yes; then
13163
  :
13164
else
13165
  { { echo "$as_me:$LINENO: error: jpeg.h not found. install libjpeg" >&5
13166
echo "$as_me: error: jpeg.h not found. install libjpeg" >&2;}
13167
   { (exit 1); exit 1; }; }
13168
fi
13169
13170
13171
    echo "$as_me:$LINENO: checking for jpeg_resync_to_restart in -ljpeg" >&5
13172
echo $ECHO_N "checking for jpeg_resync_to_restart in -ljpeg... $ECHO_C" >&6
13173
if test "${ac_cv_lib_jpeg_jpeg_resync_to_restart+set}" = set; then
13174
  echo $ECHO_N "(cached) $ECHO_C" >&6
13175
else
12021
else
13176
  ac_check_lib_save_LIBS=$LIBS
12022
  ac_check_lib_save_LIBS=$LIBS
13177
LIBS="-ljpeg  $LIBS"
12023
LIBS="-ljpeg  $LIBS"
13178
cat >conftest.$ac_ext <<_ACEOF
12024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179
/* confdefs.h.  */
12025
/* end confdefs.h.  */
13180
_ACEOF
12026
13181
cat confdefs.h >>conftest.$ac_ext
12027
/* Override any GCC internal prototype to avoid an error.
13182
cat >>conftest.$ac_ext <<_ACEOF
12028
   Use char because int might match the return type of a GCC
13183
/* end confdefs.h.  */
12029
   builtin and then its argument prototype would still apply.  */
13184
13185
/* Override any gcc2 internal prototype to avoid an error.  */
13186
#ifdef __cplusplus
12030
#ifdef __cplusplus
13187
extern "C"
12031
extern "C"
13188
#endif
12032
#endif
13189
/* We use char because int might match the return type of a gcc2
13190
   builtin and then its argument prototype would still apply.  */
13191
char jpeg_resync_to_restart ();
12033
char jpeg_resync_to_restart ();
13192
int
12034
int
13193
main ()
12035
main ()
13194
{
12036
{
13195
jpeg_resync_to_restart ();
12037
return jpeg_resync_to_restart ();
13196
  ;
12038
  ;
13197
  return 0;
12039
  return 0;
13198
}
12040
}
13199
_ACEOF
12041
_ACEOF
13200
rm -f conftest.$ac_objext conftest$ac_exeext
12042
if ac_fn_c_try_link "$LINENO"; then :
13201
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13202
  (eval $ac_link) 2>conftest.er1
13203
  ac_status=$?
13204
  grep -v '^ *+' conftest.er1 >conftest.err
13205
  rm -f conftest.er1
13206
  cat conftest.err >&5
13207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208
  (exit $ac_status); } &&
13209
	 { ac_try='test -z "$ac_c_werror_flag"
13210
			 || test ! -s conftest.err'
13211
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212
  (eval $ac_try) 2>&5
13213
  ac_status=$?
13214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215
  (exit $ac_status); }; } &&
13216
	 { ac_try='test -s conftest$ac_exeext'
13217
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218
  (eval $ac_try) 2>&5
13219
  ac_status=$?
13220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221
  (exit $ac_status); }; }; then
13222
  ac_cv_lib_jpeg_jpeg_resync_to_restart=yes
12043
  ac_cv_lib_jpeg_jpeg_resync_to_restart=yes
13223
else
12044
else
13224
  echo "$as_me: failed program was:" >&5
12045
  ac_cv_lib_jpeg_jpeg_resync_to_restart=no
13225
sed 's/^/| /' conftest.$ac_ext >&5
12046
fi
13226
12047
rm -f core conftest.err conftest.$ac_objext \
13227
ac_cv_lib_jpeg_jpeg_resync_to_restart=no
12048
    conftest$ac_exeext conftest.$ac_ext
13228
fi
13229
rm -f conftest.err conftest.$ac_objext \
13230
      conftest$ac_exeext conftest.$ac_ext
13231
LIBS=$ac_check_lib_save_LIBS
12049
LIBS=$ac_check_lib_save_LIBS
13232
fi
12050
fi
13233
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_resync_to_restart" >&5
12051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_resync_to_restart" >&5
13234
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_resync_to_restart" >&6
12052
$as_echo "$ac_cv_lib_jpeg_jpeg_resync_to_restart" >&6; }
13235
if test $ac_cv_lib_jpeg_jpeg_resync_to_restart = yes; then
12053
if test "x$ac_cv_lib_jpeg_jpeg_resync_to_restart" = x""yes; then :
13236
   JPEG3RDLIB=-ljpeg
12054
   JPEG3RDLIB=-ljpeg
13237
else
12055
else
13238
  echo "$as_me:$LINENO: checking jpeg library not found or fuctional" >&5
12056
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking jpeg library not found or fuctional" >&5
13239
echo $ECHO_N "checking jpeg library not found or fuctional... $ECHO_C" >&6
12057
$as_echo_n "checking jpeg library not found or fuctional... " >&6; }
13240
fi
12058
fi
13241
12059
13242
else
12060
else
13243
    echo "$as_me:$LINENO: result: internal" >&5
12061
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
13244
echo "${ECHO_T}internal" >&6
12062
$as_echo "internal" >&6; }
13245
    SYSTEM_JPEG=NO
12063
    SYSTEM_JPEG=NO
13246
    BUILD_TYPE="$BUILD_TYPE JPEG"
12064
    BUILD_TYPE="$BUILD_TYPE JPEG"
13247
fi
12065
fi
13248
12066
13249
12067
13250
echo "$as_me:$LINENO: checking which expat to use" >&5
12068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which expat to use" >&5
13251
echo $ECHO_N "checking which expat to use... $ECHO_C" >&6
12069
$as_echo_n "checking which expat to use... " >&6; }
13252
if test -n "$with_system_expat" -o -n "$with_system_libs" && \
12070
if test -n "$with_system_expat" -o -n "$with_system_libs" && \
13253
	test "$with_system_expat" != "no"; then
12071
	test "$with_system_expat" != "no"; then
13254
    echo "$as_me:$LINENO: result: external" >&5
12072
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
13255
echo "${ECHO_T}external" >&6
12073
$as_echo "external" >&6; }
13256
    SYSTEM_EXPAT=YES
12074
    SYSTEM_EXPAT=YES
13257
    if test "${ac_cv_header_expat_h+set}" = set; then
12075
    ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
13258
  echo "$as_me:$LINENO: checking for expat.h" >&5
12076
if test "x$ac_cv_header_expat_h" = x""yes; then :
13259
echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
12077
13260
if test "${ac_cv_header_expat_h+set}" = set; then
12078
else
13261
  echo $ECHO_N "(cached) $ECHO_C" >&6
12079
  as_fn_error "expat.h not found. install expat" "$LINENO" 5
13262
fi
12080
fi
13263
echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
12081
13264
echo "${ECHO_T}$ac_cv_header_expat_h" >&6
12082
13265
else
12083
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
13266
  # Is the header compilable?
12084
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
13267
echo "$as_me:$LINENO: checking expat.h usability" >&5
12085
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
13268
echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
12086
  $as_echo_n "(cached) " >&6
13269
cat >conftest.$ac_ext <<_ACEOF
13270
/* confdefs.h.  */
13271
_ACEOF
13272
cat confdefs.h >>conftest.$ac_ext
13273
cat >>conftest.$ac_ext <<_ACEOF
13274
/* end confdefs.h.  */
13275
$ac_includes_default
13276
#include <expat.h>
13277
_ACEOF
13278
rm -f conftest.$ac_objext
13279
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280
  (eval $ac_compile) 2>conftest.er1
13281
  ac_status=$?
13282
  grep -v '^ *+' conftest.er1 >conftest.err
13283
  rm -f conftest.er1
13284
  cat conftest.err >&5
13285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286
  (exit $ac_status); } &&
13287
	 { ac_try='test -z "$ac_c_werror_flag"
13288
			 || test ! -s conftest.err'
13289
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290
  (eval $ac_try) 2>&5
13291
  ac_status=$?
13292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293
  (exit $ac_status); }; } &&
13294
	 { ac_try='test -s conftest.$ac_objext'
13295
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296
  (eval $ac_try) 2>&5
13297
  ac_status=$?
13298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299
  (exit $ac_status); }; }; then
13300
  ac_header_compiler=yes
13301
else
13302
  echo "$as_me: failed program was:" >&5
13303
sed 's/^/| /' conftest.$ac_ext >&5
13304
13305
ac_header_compiler=no
13306
fi
13307
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13308
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13309
echo "${ECHO_T}$ac_header_compiler" >&6
13310
13311
# Is the header present?
13312
echo "$as_me:$LINENO: checking expat.h presence" >&5
13313
echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
13314
cat >conftest.$ac_ext <<_ACEOF
13315
/* confdefs.h.  */
13316
_ACEOF
13317
cat confdefs.h >>conftest.$ac_ext
13318
cat >>conftest.$ac_ext <<_ACEOF
13319
/* end confdefs.h.  */
13320
#include <expat.h>
13321
_ACEOF
13322
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13323
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13324
  ac_status=$?
13325
  grep -v '^ *+' conftest.er1 >conftest.err
13326
  rm -f conftest.er1
13327
  cat conftest.err >&5
13328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329
  (exit $ac_status); } >/dev/null; then
13330
  if test -s conftest.err; then
13331
    ac_cpp_err=$ac_c_preproc_warn_flag
13332
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13333
  else
13334
    ac_cpp_err=
13335
  fi
13336
else
13337
  ac_cpp_err=yes
13338
fi
13339
if test -z "$ac_cpp_err"; then
13340
  ac_header_preproc=yes
13341
else
13342
  echo "$as_me: failed program was:" >&5
13343
sed 's/^/| /' conftest.$ac_ext >&5
13344
13345
  ac_header_preproc=no
13346
fi
13347
rm -f conftest.err conftest.$ac_ext
13348
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13349
echo "${ECHO_T}$ac_header_preproc" >&6
13350
13351
# So?  What about this header?
13352
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13353
  yes:no: )
13354
    { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
13355
echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13356
    { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
13357
echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
13358
    ac_header_preproc=yes
13359
    ;;
13360
  no:yes:* )
13361
    { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
13362
echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
13363
    { echo "$as_me:$LINENO: WARNING: expat.h:     check for missing prerequisite headers?" >&5
13364
echo "$as_me: WARNING: expat.h:     check for missing prerequisite headers?" >&2;}
13365
    { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
13366
echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
13367
    { echo "$as_me:$LINENO: WARNING: expat.h:     section \"Present But Cannot Be Compiled\"" >&5
13368
echo "$as_me: WARNING: expat.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13369
    { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
13370
echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
13371
    { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
13372
echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
13373
    (
13374
      cat <<\_ASBOX
13375
## ------------------------------------------ ##
13376
## Report this to the AC_PACKAGE_NAME lists.  ##
13377
## ------------------------------------------ ##
13378
_ASBOX
13379
    ) |
13380
      sed "s/^/$as_me: WARNING:     /" >&2
13381
    ;;
13382
esac
13383
echo "$as_me:$LINENO: checking for expat.h" >&5
13384
echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
13385
if test "${ac_cv_header_expat_h+set}" = set; then
13386
  echo $ECHO_N "(cached) $ECHO_C" >&6
13387
else
13388
  ac_cv_header_expat_h=$ac_header_preproc
13389
fi
13390
echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
13391
echo "${ECHO_T}$ac_cv_header_expat_h" >&6
13392
13393
fi
13394
if test $ac_cv_header_expat_h = yes; then
13395
  :
13396
else
13397
  { { echo "$as_me:$LINENO: error: expat.h not found. install expat" >&5
13398
echo "$as_me: error: expat.h not found. install expat" >&2;}
13399
   { (exit 1); exit 1; }; }
13400
fi
13401
13402
13403
13404
echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
13405
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
13406
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
13407
  echo $ECHO_N "(cached) $ECHO_C" >&6
13408
else
12087
else
13409
  ac_check_lib_save_LIBS=$LIBS
12088
  ac_check_lib_save_LIBS=$LIBS
13410
LIBS="-lexpat  $LIBS"
12089
LIBS="-lexpat  $LIBS"
13411
cat >conftest.$ac_ext <<_ACEOF
12090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412
/* confdefs.h.  */
12091
/* end confdefs.h.  */
13413
_ACEOF
12092
13414
cat confdefs.h >>conftest.$ac_ext
12093
/* Override any GCC internal prototype to avoid an error.
13415
cat >>conftest.$ac_ext <<_ACEOF
12094
   Use char because int might match the return type of a GCC
13416
/* end confdefs.h.  */
12095
   builtin and then its argument prototype would still apply.  */
13417
13418
/* Override any gcc2 internal prototype to avoid an error.  */
13419
#ifdef __cplusplus
12096
#ifdef __cplusplus
13420
extern "C"
12097
extern "C"
13421
#endif
12098
#endif
13422
/* We use char because int might match the return type of a gcc2
13423
   builtin and then its argument prototype would still apply.  */
13424
char XML_ParserCreate ();
12099
char XML_ParserCreate ();
13425
int
12100
int
13426
main ()
12101
main ()
13427
{
12102
{
13428
XML_ParserCreate ();
12103
return XML_ParserCreate ();
13429
  ;
12104
  ;
13430
  return 0;
12105
  return 0;
13431
}
12106
}
13432
_ACEOF
12107
_ACEOF
13433
rm -f conftest.$ac_objext conftest$ac_exeext
12108
if ac_fn_c_try_link "$LINENO"; then :
13434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435
  (eval $ac_link) 2>conftest.er1
13436
  ac_status=$?
13437
  grep -v '^ *+' conftest.er1 >conftest.err
13438
  rm -f conftest.er1
13439
  cat conftest.err >&5
13440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441
  (exit $ac_status); } &&
13442
	 { ac_try='test -z "$ac_c_werror_flag"
13443
			 || test ! -s conftest.err'
13444
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445
  (eval $ac_try) 2>&5
13446
  ac_status=$?
13447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448
  (exit $ac_status); }; } &&
13449
	 { ac_try='test -s conftest$ac_exeext'
13450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451
  (eval $ac_try) 2>&5
13452
  ac_status=$?
13453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454
  (exit $ac_status); }; }; then
13455
  ac_cv_lib_expat_XML_ParserCreate=yes
12109
  ac_cv_lib_expat_XML_ParserCreate=yes
13456
else
12110
else
13457
  echo "$as_me: failed program was:" >&5
12111
  ac_cv_lib_expat_XML_ParserCreate=no
13458
sed 's/^/| /' conftest.$ac_ext >&5
12112
fi
13459
12113
rm -f core conftest.err conftest.$ac_objext \
13460
ac_cv_lib_expat_XML_ParserCreate=no
12114
    conftest$ac_exeext conftest.$ac_ext
13461
fi
13462
rm -f conftest.err conftest.$ac_objext \
13463
      conftest$ac_exeext conftest.$ac_ext
13464
LIBS=$ac_check_lib_save_LIBS
12115
LIBS=$ac_check_lib_save_LIBS
13465
fi
12116
fi
13466
echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
12117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
13467
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
12118
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
13468
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
12119
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
13469
  cat >>confdefs.h <<_ACEOF
12120
  cat >>confdefs.h <<_ACEOF
13470
#define HAVE_LIBEXPAT 1
12121
#define HAVE_LIBEXPAT 1
13471
_ACEOF
12122
_ACEOF
Lines 13473-13496 Link Here
13473
  LIBS="-lexpat $LIBS"
12124
  LIBS="-lexpat $LIBS"
13474
12125
13475
else
12126
else
13476
  echo "$as_me:$LINENO: result: expat library not found or functional." >&5
12127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: expat library not found or functional." >&5
13477
echo "${ECHO_T}expat library not found or functional." >&6
12128
$as_echo "expat library not found or functional." >&6; }
13478
fi
12129
fi
13479
12130
13480
else
12131
else
13481
    echo "$as_me:$LINENO: result: internal" >&5
12132
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
13482
echo "${ECHO_T}internal" >&6
12133
$as_echo "internal" >&6; }
13483
    SYSTEM_EXPAT=NO
12134
    SYSTEM_EXPAT=NO
13484
    BUILD_TYPE="$BUILD_TYPE EXPAT"
12135
    BUILD_TYPE="$BUILD_TYPE EXPAT"
13485
fi
12136
fi
13486
12137
13487
12138
13488
echo "$as_me:$LINENO: checking which libwpd to use" >&5
12139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which libwpd to use" >&5
13489
echo $ECHO_N "checking which libwpd to use... $ECHO_C" >&6
12140
$as_echo_n "checking which libwpd to use... " >&6; }
13490
if test -n "$with_system_libwpd" -o -n "$with_system_libs" && \
12141
if test -n "$with_system_libwpd" -o -n "$with_system_libs" && \
13491
        test "$with_system_libwpd" != "no"; then
12142
        test "$with_system_libwpd" != "no"; then
13492
    echo "$as_me:$LINENO: result: external" >&5
12143
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
13493
echo "${ECHO_T}external" >&6
12144
$as_echo "external" >&6; }
13494
    SYSTEM_LIBWPD=YES
12145
    SYSTEM_LIBWPD=YES
13495
12146
13496
  succeeded=no
12147
  succeeded=no
Lines 13498-13507 Link Here
13498
  if test -z "$PKG_CONFIG"; then
12149
  if test -z "$PKG_CONFIG"; then
13499
    # Extract the first word of "pkg-config", so it can be a program name with args.
12150
    # Extract the first word of "pkg-config", so it can be a program name with args.
13500
set dummy pkg-config; ac_word=$2
12151
set dummy pkg-config; ac_word=$2
13501
echo "$as_me:$LINENO: checking for $ac_word" >&5
12152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13502
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153
$as_echo_n "checking for $ac_word... " >&6; }
13503
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12154
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13504
  echo $ECHO_N "(cached) $ECHO_C" >&6
12155
  $as_echo_n "(cached) " >&6
13505
else
12156
else
13506
  case $PKG_CONFIG in
12157
  case $PKG_CONFIG in
13507
  [\\/]* | ?:[\\/]*)
12158
  [\\/]* | ?:[\\/]*)
Lines 13513-13540 Link Here
13513
do
12164
do
13514
  IFS=$as_save_IFS
12165
  IFS=$as_save_IFS
13515
  test -z "$as_dir" && as_dir=.
12166
  test -z "$as_dir" && as_dir=.
13516
  for ac_exec_ext in '' $ac_executable_extensions; do
12167
    for ac_exec_ext in '' $ac_executable_extensions; do
13517
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13518
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12169
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13519
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12170
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13520
    break 2
12171
    break 2
13521
  fi
12172
  fi
13522
done
12173
done
13523
done
12174
  done
12175
IFS=$as_save_IFS
13524
12176
13525
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12177
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13526
  ;;
12178
  ;;
13527
esac
12179
esac
13528
fi
12180
fi
13529
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12181
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13530
13531
if test -n "$PKG_CONFIG"; then
12182
if test -n "$PKG_CONFIG"; then
13532
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13533
echo "${ECHO_T}$PKG_CONFIG" >&6
12184
$as_echo "$PKG_CONFIG" >&6; }
13534
else
12185
else
13535
  echo "$as_me:$LINENO: result: no" >&5
12186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13536
echo "${ECHO_T}no" >&6
12187
$as_echo "no" >&6; }
13537
fi
12188
fi
12189
13538
12190
13539
  fi
12191
  fi
13540
12192
Lines 13546-13570 Link Here
13546
  else
12198
  else
13547
     PKG_CONFIG_MIN_VERSION=0.9.0
12199
     PKG_CONFIG_MIN_VERSION=0.9.0
13548
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12200
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13549
        echo "$as_me:$LINENO: checking for libwpd-0.8 " >&5
12201
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwpd-0.8 " >&5
13550
echo $ECHO_N "checking for libwpd-0.8 ... $ECHO_C" >&6
12202
$as_echo_n "checking for libwpd-0.8 ... " >&6; }
13551
12203
13552
        if $PKG_CONFIG --exists "libwpd-0.8 " ; then
12204
        if $PKG_CONFIG --exists "libwpd-0.8 " ; then
13553
            echo "$as_me:$LINENO: result: yes" >&5
12205
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13554
echo "${ECHO_T}yes" >&6
12206
$as_echo "yes" >&6; }
13555
            succeeded=yes
12207
            succeeded=yes
13556
12208
13557
            echo "$as_me:$LINENO: checking LIBWPD_CFLAGS" >&5
12209
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBWPD_CFLAGS" >&5
13558
echo $ECHO_N "checking LIBWPD_CFLAGS... $ECHO_C" >&6
12210
$as_echo_n "checking LIBWPD_CFLAGS... " >&6; }
13559
            LIBWPD_CFLAGS=`$PKG_CONFIG --cflags "libwpd-0.8 "`
12211
            LIBWPD_CFLAGS=`$PKG_CONFIG --cflags "libwpd-0.8 "`
13560
            echo "$as_me:$LINENO: result: $LIBWPD_CFLAGS" >&5
12212
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBWPD_CFLAGS" >&5
13561
echo "${ECHO_T}$LIBWPD_CFLAGS" >&6
12213
$as_echo "$LIBWPD_CFLAGS" >&6; }
13562
12214
13563
            echo "$as_me:$LINENO: checking LIBWPD_LIBS" >&5
12215
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBWPD_LIBS" >&5
13564
echo $ECHO_N "checking LIBWPD_LIBS... $ECHO_C" >&6
12216
$as_echo_n "checking LIBWPD_LIBS... " >&6; }
13565
            LIBWPD_LIBS=`$PKG_CONFIG --libs "libwpd-0.8 "`
12217
            LIBWPD_LIBS=`$PKG_CONFIG --libs "libwpd-0.8 "`
13566
            echo "$as_me:$LINENO: result: $LIBWPD_LIBS" >&5
12218
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBWPD_LIBS" >&5
13567
echo "${ECHO_T}$LIBWPD_LIBS" >&6
12219
$as_echo "$LIBWPD_LIBS" >&6; }
13568
        else
12220
        else
13569
            LIBWPD_CFLAGS=""
12221
            LIBWPD_CFLAGS=""
13570
            LIBWPD_LIBS=""
12222
            LIBWPD_LIBS=""
Lines 13585-13598 Link Here
13585
  if test $succeeded = yes; then
12237
  if test $succeeded = yes; then
13586
     :
12238
     :
13587
  else
12239
  else
13588
     { { echo "$as_me:$LINENO: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12240
     as_fn_error "Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
13589
echo "$as_me: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12241
  fi
13590
   { (exit 1); exit 1; }; }
12242
13591
  fi
12243
else
13592
12244
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
13593
else
12245
$as_echo "internal" >&6; }
13594
    echo "$as_me:$LINENO: result: internal" >&5
13595
echo "${ECHO_T}internal" >&6
13596
    SYSTEM_LIBWPD=NO
12246
    SYSTEM_LIBWPD=NO
13597
    BUILD_TYPE="$BUILD_TYPE LIBWPD"
12247
    BUILD_TYPE="$BUILD_TYPE LIBWPD"
13598
fi
12248
fi
Lines 13601-13618 Link Here
13601
12251
13602
12252
13603
if test  "$test_freetype" = "yes"; then
12253
if test  "$test_freetype" = "yes"; then
13604
   echo "$as_me:$LINENO: checking whether freetype is available" >&5
12254
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether freetype is available" >&5
13605
echo $ECHO_N "checking whether freetype is available... $ECHO_C" >&6
12255
$as_echo_n "checking whether freetype is available... " >&6; }
13606
12256
13607
  succeeded=no
12257
  succeeded=no
13608
12258
13609
  if test -z "$PKG_CONFIG"; then
12259
  if test -z "$PKG_CONFIG"; then
13610
    # Extract the first word of "pkg-config", so it can be a program name with args.
12260
    # Extract the first word of "pkg-config", so it can be a program name with args.
13611
set dummy pkg-config; ac_word=$2
12261
set dummy pkg-config; ac_word=$2
13612
echo "$as_me:$LINENO: checking for $ac_word" >&5
12262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13613
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12263
$as_echo_n "checking for $ac_word... " >&6; }
13614
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12264
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13615
  echo $ECHO_N "(cached) $ECHO_C" >&6
12265
  $as_echo_n "(cached) " >&6
13616
else
12266
else
13617
  case $PKG_CONFIG in
12267
  case $PKG_CONFIG in
13618
  [\\/]* | ?:[\\/]*)
12268
  [\\/]* | ?:[\\/]*)
Lines 13624-13651 Link Here
13624
do
12274
do
13625
  IFS=$as_save_IFS
12275
  IFS=$as_save_IFS
13626
  test -z "$as_dir" && as_dir=.
12276
  test -z "$as_dir" && as_dir=.
13627
  for ac_exec_ext in '' $ac_executable_extensions; do
12277
    for ac_exec_ext in '' $ac_executable_extensions; do
13628
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12278
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13629
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12279
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13630
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12280
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13631
    break 2
12281
    break 2
13632
  fi
12282
  fi
13633
done
12283
done
13634
done
12284
  done
12285
IFS=$as_save_IFS
13635
12286
13636
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12287
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13637
  ;;
12288
  ;;
13638
esac
12289
esac
13639
fi
12290
fi
13640
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12291
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13641
13642
if test -n "$PKG_CONFIG"; then
12292
if test -n "$PKG_CONFIG"; then
13643
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13644
echo "${ECHO_T}$PKG_CONFIG" >&6
12294
$as_echo "$PKG_CONFIG" >&6; }
13645
else
12295
else
13646
  echo "$as_me:$LINENO: result: no" >&5
12296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13647
echo "${ECHO_T}no" >&6
12297
$as_echo "no" >&6; }
13648
fi
12298
fi
12299
13649
12300
13650
  fi
12301
  fi
13651
12302
Lines 13657-13681 Link Here
13657
  else
12308
  else
13658
     PKG_CONFIG_MIN_VERSION=0.9.0
12309
     PKG_CONFIG_MIN_VERSION=0.9.0
13659
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12310
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13660
        echo "$as_me:$LINENO: checking for freetype2 >= 2.0 " >&5
12311
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2 >= 2.0 " >&5
13661
echo $ECHO_N "checking for freetype2 >= 2.0 ... $ECHO_C" >&6
12312
$as_echo_n "checking for freetype2 >= 2.0 ... " >&6; }
13662
12313
13663
        if $PKG_CONFIG --exists "freetype2 >= 2.0 " ; then
12314
        if $PKG_CONFIG --exists "freetype2 >= 2.0 " ; then
13664
            echo "$as_me:$LINENO: result: yes" >&5
12315
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13665
echo "${ECHO_T}yes" >&6
12316
$as_echo "yes" >&6; }
13666
            succeeded=yes
12317
            succeeded=yes
13667
12318
13668
            echo "$as_me:$LINENO: checking FREETYPE_CFLAGS" >&5
12319
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE_CFLAGS" >&5
13669
echo $ECHO_N "checking FREETYPE_CFLAGS... $ECHO_C" >&6
12320
$as_echo_n "checking FREETYPE_CFLAGS... " >&6; }
13670
            FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0 "`
12321
            FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0 "`
13671
            echo "$as_me:$LINENO: result: $FREETYPE_CFLAGS" >&5
12322
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CFLAGS" >&5
13672
echo "${ECHO_T}$FREETYPE_CFLAGS" >&6
12323
$as_echo "$FREETYPE_CFLAGS" >&6; }
13673
12324
13674
            echo "$as_me:$LINENO: checking FREETYPE_LIBS" >&5
12325
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE_LIBS" >&5
13675
echo $ECHO_N "checking FREETYPE_LIBS... $ECHO_C" >&6
12326
$as_echo_n "checking FREETYPE_LIBS... " >&6; }
13676
            FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0 "`
12327
            FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0 "`
13677
            echo "$as_me:$LINENO: result: $FREETYPE_LIBS" >&5
12328
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_LIBS" >&5
13678
echo "${ECHO_T}$FREETYPE_LIBS" >&6
12329
$as_echo "$FREETYPE_LIBS" >&6; }
13679
        else
12330
        else
13680
            FREETYPE_CFLAGS=""
12331
            FREETYPE_CFLAGS=""
13681
            FREETYPE_LIBS=""
12332
            FREETYPE_LIBS=""
Lines 13696-13704 Link Here
13696
  if test $succeeded = yes; then
12347
  if test $succeeded = yes; then
13697
     :
12348
     :
13698
  else
12349
  else
13699
     { { echo "$as_me:$LINENO: error: Library requirements (freetype2 >= 2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12350
     as_fn_error "Library requirements (freetype2 >= 2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
13700
echo "$as_me: error: Library requirements (freetype2 >= 2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13701
   { (exit 1); exit 1; }; }
13702
  fi
12351
  fi
13703
12352
13704
fi
12353
fi
Lines 13711-13781 Link Here
13711
    save_LIBS="$LIBS"
12360
    save_LIBS="$LIBS"
13712
    CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12361
    CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13713
    LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
12362
    LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
13714
    echo "$as_me:$LINENO: checking for FT_GlyphSlot_Embolden in -lfreetype" >&5
12363
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_GlyphSlot_Embolden in -lfreetype" >&5
13715
echo $ECHO_N "checking for FT_GlyphSlot_Embolden in -lfreetype... $ECHO_C" >&6
12364
$as_echo_n "checking for FT_GlyphSlot_Embolden in -lfreetype... " >&6; }
13716
if test "${ac_cv_lib_freetype_FT_GlyphSlot_Embolden+set}" = set; then
12365
if test "${ac_cv_lib_freetype_FT_GlyphSlot_Embolden+set}" = set; then :
13717
  echo $ECHO_N "(cached) $ECHO_C" >&6
12366
  $as_echo_n "(cached) " >&6
13718
else
12367
else
13719
  ac_check_lib_save_LIBS=$LIBS
12368
  ac_check_lib_save_LIBS=$LIBS
13720
LIBS="-lfreetype  $LIBS"
12369
LIBS="-lfreetype  $LIBS"
13721
cat >conftest.$ac_ext <<_ACEOF
12370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722
/* confdefs.h.  */
12371
/* end confdefs.h.  */
13723
_ACEOF
12372
13724
cat confdefs.h >>conftest.$ac_ext
12373
/* Override any GCC internal prototype to avoid an error.
13725
cat >>conftest.$ac_ext <<_ACEOF
12374
   Use char because int might match the return type of a GCC
13726
/* end confdefs.h.  */
12375
   builtin and then its argument prototype would still apply.  */
13727
13728
/* Override any gcc2 internal prototype to avoid an error.  */
13729
#ifdef __cplusplus
12376
#ifdef __cplusplus
13730
extern "C"
12377
extern "C"
13731
#endif
12378
#endif
13732
/* We use char because int might match the return type of a gcc2
13733
   builtin and then its argument prototype would still apply.  */
13734
char FT_GlyphSlot_Embolden ();
12379
char FT_GlyphSlot_Embolden ();
13735
int
12380
int
13736
main ()
12381
main ()
13737
{
12382
{
13738
FT_GlyphSlot_Embolden ();
12383
return FT_GlyphSlot_Embolden ();
13739
  ;
12384
  ;
13740
  return 0;
12385
  return 0;
13741
}
12386
}
13742
_ACEOF
12387
_ACEOF
13743
rm -f conftest.$ac_objext conftest$ac_exeext
12388
if ac_fn_c_try_link "$LINENO"; then :
13744
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13745
  (eval $ac_link) 2>conftest.er1
13746
  ac_status=$?
13747
  grep -v '^ *+' conftest.er1 >conftest.err
13748
  rm -f conftest.er1
13749
  cat conftest.err >&5
13750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751
  (exit $ac_status); } &&
13752
	 { ac_try='test -z "$ac_c_werror_flag"
13753
			 || test ! -s conftest.err'
13754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755
  (eval $ac_try) 2>&5
13756
  ac_status=$?
13757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758
  (exit $ac_status); }; } &&
13759
	 { ac_try='test -s conftest$ac_exeext'
13760
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13761
  (eval $ac_try) 2>&5
13762
  ac_status=$?
13763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764
  (exit $ac_status); }; }; then
13765
  ac_cv_lib_freetype_FT_GlyphSlot_Embolden=yes
12389
  ac_cv_lib_freetype_FT_GlyphSlot_Embolden=yes
13766
else
12390
else
13767
  echo "$as_me: failed program was:" >&5
12391
  ac_cv_lib_freetype_FT_GlyphSlot_Embolden=no
13768
sed 's/^/| /' conftest.$ac_ext >&5
12392
fi
13769
12393
rm -f core conftest.err conftest.$ac_objext \
13770
ac_cv_lib_freetype_FT_GlyphSlot_Embolden=no
12394
    conftest$ac_exeext conftest.$ac_ext
13771
fi
13772
rm -f conftest.err conftest.$ac_objext \
13773
      conftest$ac_exeext conftest.$ac_ext
13774
LIBS=$ac_check_lib_save_LIBS
12395
LIBS=$ac_check_lib_save_LIBS
13775
fi
12396
fi
13776
echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&5
12397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&5
13777
echo "${ECHO_T}$ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&6
12398
$as_echo "$ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&6; }
13778
if test $ac_cv_lib_freetype_FT_GlyphSlot_Embolden = yes; then
12399
if test "x$ac_cv_lib_freetype_FT_GlyphSlot_Embolden" = x""yes; then :
13779
  USE_FT_EMBOLDEN="YES"
12400
  USE_FT_EMBOLDEN="YES"
13780
else
12401
else
13781
  USE_FT_EMBOLDEN="NO"
12402
  USE_FT_EMBOLDEN="NO"
Lines 13808-13833 Link Here
13808
    fi
12429
    fi
13809
fi
12430
fi
13810
12431
13811
echo "$as_me:$LINENO: checking which libxslt to use" >&5
12432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which libxslt to use" >&5
13812
echo $ECHO_N "checking which libxslt to use... $ECHO_C" >&6
12433
$as_echo_n "checking which libxslt to use... " >&6; }
13813
if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
12434
if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
13814
       "$_os" = "Darwin" && \
12435
       "$_os" = "Darwin" && \
13815
   test "$with_system_libxslt" != "no"; then
12436
   test "$with_system_libxslt" != "no"; then
13816
   echo "$as_me:$LINENO: result: external" >&5
12437
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
13817
echo "${ECHO_T}external" >&6
12438
$as_echo "external" >&6; }
13818
   SYSTEM_LIBXSLT=YES
12439
   SYSTEM_LIBXSLT=YES
13819
12440
13820
   if test "$_os" = "Darwin"; then
12441
   if test "$_os" = "Darwin"; then
13821
   echo "$as_me:$LINENO: checking LIBXSLT_CFLAGS" >&5
12442
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXSLT_CFLAGS" >&5
13822
echo $ECHO_N "checking LIBXSLT_CFLAGS... $ECHO_C" >&6
12443
$as_echo_n "checking LIBXSLT_CFLAGS... " >&6; }
13823
   LIBXSLT_CFLAGS=`xslt-config --cflags`
12444
   LIBXSLT_CFLAGS=`xslt-config --cflags`
13824
   echo "$as_me:$LINENO: result: $LIBXSLT_CFLAGS" >&5
12445
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_CFLAGS" >&5
13825
echo "${ECHO_T}$LIBXSLT_CFLAGS" >&6
12446
$as_echo "$LIBXSLT_CFLAGS" >&6; }
13826
   echo "$as_me:$LINENO: checking LIBXSLT_LIBS" >&5
12447
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXSLT_LIBS" >&5
13827
echo $ECHO_N "checking LIBXSLT_LIBS... $ECHO_C" >&6
12448
$as_echo_n "checking LIBXSLT_LIBS... " >&6; }
13828
   LIBXSLT_LIBS=`xslt-config --libs`
12449
   LIBXSLT_LIBS=`xslt-config --libs`
13829
   echo "$as_me:$LINENO: result: $LIBXSLT_LIBS" >&5
12450
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_LIBS" >&5
13830
echo "${ECHO_T}$LIBXSLT_LIBS" >&6
12451
$as_echo "$LIBXSLT_LIBS" >&6; }
13831
12452
13832
12453
13833
 else
12454
 else
Lines 13837-13846 Link Here
13837
  if test -z "$PKG_CONFIG"; then
12458
  if test -z "$PKG_CONFIG"; then
13838
    # Extract the first word of "pkg-config", so it can be a program name with args.
12459
    # Extract the first word of "pkg-config", so it can be a program name with args.
13839
set dummy pkg-config; ac_word=$2
12460
set dummy pkg-config; ac_word=$2
13840
echo "$as_me:$LINENO: checking for $ac_word" >&5
12461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13841
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462
$as_echo_n "checking for $ac_word... " >&6; }
13842
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12463
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13843
  echo $ECHO_N "(cached) $ECHO_C" >&6
12464
  $as_echo_n "(cached) " >&6
13844
else
12465
else
13845
  case $PKG_CONFIG in
12466
  case $PKG_CONFIG in
13846
  [\\/]* | ?:[\\/]*)
12467
  [\\/]* | ?:[\\/]*)
Lines 13852-13879 Link Here
13852
do
12473
do
13853
  IFS=$as_save_IFS
12474
  IFS=$as_save_IFS
13854
  test -z "$as_dir" && as_dir=.
12475
  test -z "$as_dir" && as_dir=.
13855
  for ac_exec_ext in '' $ac_executable_extensions; do
12476
    for ac_exec_ext in '' $ac_executable_extensions; do
13856
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13857
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12478
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13858
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12479
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13859
    break 2
12480
    break 2
13860
  fi
12481
  fi
13861
done
12482
done
13862
done
12483
  done
12484
IFS=$as_save_IFS
13863
12485
13864
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12486
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13865
  ;;
12487
  ;;
13866
esac
12488
esac
13867
fi
12489
fi
13868
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12490
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13869
13870
if test -n "$PKG_CONFIG"; then
12491
if test -n "$PKG_CONFIG"; then
13871
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13872
echo "${ECHO_T}$PKG_CONFIG" >&6
12493
$as_echo "$PKG_CONFIG" >&6; }
13873
else
12494
else
13874
  echo "$as_me:$LINENO: result: no" >&5
12495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875
echo "${ECHO_T}no" >&6
12496
$as_echo "no" >&6; }
13876
fi
12497
fi
12498
13877
12499
13878
  fi
12500
  fi
13879
12501
Lines 13885-13909 Link Here
13885
  else
12507
  else
13886
     PKG_CONFIG_MIN_VERSION=0.9.0
12508
     PKG_CONFIG_MIN_VERSION=0.9.0
13887
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12509
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13888
        echo "$as_me:$LINENO: checking for libxslt" >&5
12510
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt" >&5
13889
echo $ECHO_N "checking for libxslt... $ECHO_C" >&6
12511
$as_echo_n "checking for libxslt... " >&6; }
13890
12512
13891
        if $PKG_CONFIG --exists "libxslt" ; then
12513
        if $PKG_CONFIG --exists "libxslt" ; then
13892
            echo "$as_me:$LINENO: result: yes" >&5
12514
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13893
echo "${ECHO_T}yes" >&6
12515
$as_echo "yes" >&6; }
13894
            succeeded=yes
12516
            succeeded=yes
13895
12517
13896
            echo "$as_me:$LINENO: checking LIBXSLT_CFLAGS" >&5
12518
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXSLT_CFLAGS" >&5
13897
echo $ECHO_N "checking LIBXSLT_CFLAGS... $ECHO_C" >&6
12519
$as_echo_n "checking LIBXSLT_CFLAGS... " >&6; }
13898
            LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt"`
12520
            LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt"`
13899
            echo "$as_me:$LINENO: result: $LIBXSLT_CFLAGS" >&5
12521
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_CFLAGS" >&5
13900
echo "${ECHO_T}$LIBXSLT_CFLAGS" >&6
12522
$as_echo "$LIBXSLT_CFLAGS" >&6; }
13901
12523
13902
            echo "$as_me:$LINENO: checking LIBXSLT_LIBS" >&5
12524
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXSLT_LIBS" >&5
13903
echo $ECHO_N "checking LIBXSLT_LIBS... $ECHO_C" >&6
12525
$as_echo_n "checking LIBXSLT_LIBS... " >&6; }
13904
            LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt"`
12526
            LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt"`
13905
            echo "$as_me:$LINENO: result: $LIBXSLT_LIBS" >&5
12527
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_LIBS" >&5
13906
echo "${ECHO_T}$LIBXSLT_LIBS" >&6
12528
$as_echo "$LIBXSLT_LIBS" >&6; }
13907
        else
12529
        else
13908
            LIBXSLT_CFLAGS=""
12530
            LIBXSLT_CFLAGS=""
13909
            LIBXSLT_LIBS=""
12531
            LIBXSLT_LIBS=""
Lines 13924-13932 Link Here
13924
  if test $succeeded = yes; then
12546
  if test $succeeded = yes; then
13925
     :
12547
     :
13926
  else
12548
  else
13927
     { { echo "$as_me:$LINENO: error: Library requirements (libxslt) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12549
     as_fn_error "Library requirements (libxslt) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
13928
echo "$as_me: error: Library requirements (libxslt) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13929
   { (exit 1); exit 1; }; }
13930
  fi
12550
  fi
13931
12551
13932
 fi
12552
 fi
Lines 13934-13943 Link Here
13934
12554
13935
      # Extract the first word of "xsltproc", so it can be a program name with args.
12555
      # Extract the first word of "xsltproc", so it can be a program name with args.
13936
set dummy xsltproc; ac_word=$2
12556
set dummy xsltproc; ac_word=$2
13937
echo "$as_me:$LINENO: checking for $ac_word" >&5
12557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13938
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12558
$as_echo_n "checking for $ac_word... " >&6; }
13939
if test "${ac_cv_path_XSLTPROC+set}" = set; then
12559
if test "${ac_cv_path_XSLTPROC+set}" = set; then :
13940
  echo $ECHO_N "(cached) $ECHO_C" >&6
12560
  $as_echo_n "(cached) " >&6
13941
else
12561
else
13942
  case $XSLTPROC in
12562
  case $XSLTPROC in
13943
  [\\/]* | ?:[\\/]*)
12563
  [\\/]* | ?:[\\/]*)
Lines 13949-13985 Link Here
13949
do
12569
do
13950
  IFS=$as_save_IFS
12570
  IFS=$as_save_IFS
13951
  test -z "$as_dir" && as_dir=.
12571
  test -z "$as_dir" && as_dir=.
13952
  for ac_exec_ext in '' $ac_executable_extensions; do
12572
    for ac_exec_ext in '' $ac_executable_extensions; do
13953
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12573
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13954
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
12574
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
13955
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12575
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13956
    break 2
12576
    break 2
13957
  fi
12577
  fi
13958
done
12578
done
13959
done
12579
  done
12580
IFS=$as_save_IFS
13960
12581
13961
  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
12582
  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
13962
  ;;
12583
  ;;
13963
esac
12584
esac
13964
fi
12585
fi
13965
XSLTPROC=$ac_cv_path_XSLTPROC
12586
XSLTPROC=$ac_cv_path_XSLTPROC
13966
13967
if test -n "$XSLTPROC"; then
12587
if test -n "$XSLTPROC"; then
13968
  echo "$as_me:$LINENO: result: $XSLTPROC" >&5
12588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
13969
echo "${ECHO_T}$XSLTPROC" >&6
12589
$as_echo "$XSLTPROC" >&6; }
13970
else
12590
else
13971
  echo "$as_me:$LINENO: result: no" >&5
12591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13972
echo "${ECHO_T}no" >&6
12592
$as_echo "no" >&6; }
13973
fi
12593
fi
12594
13974
12595
13975
   if test "$XSLTPROC" = "no"; then
12596
   if test "$XSLTPROC" = "no"; then
13976
      { { echo "$as_me:$LINENO: error: xsltproc is required" >&5
12597
      as_fn_error "xsltproc is required" "$LINENO" 5
13977
echo "$as_me: error: xsltproc is required" >&2;}
12598
   fi
13978
   { (exit 1); exit 1; }; }
12599
else
13979
   fi
12600
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
13980
else
12601
$as_echo "internal" >&6; }
13981
   echo "$as_me:$LINENO: result: internal" >&5
13982
echo "${ECHO_T}internal" >&6
13983
   SYSTEM_LIBXSLT=NO
12602
   SYSTEM_LIBXSLT=NO
13984
   BUILD_TYPE="$BUILD_TYPE LIBXSLT"
12603
   BUILD_TYPE="$BUILD_TYPE LIBXSLT"
13985
fi
12604
fi
Lines 13988-14012 Link Here
13988
12607
13989
12608
13990
12609
13991
echo "$as_me:$LINENO: checking which libxml to use" >&5
12610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which libxml to use" >&5
13992
echo $ECHO_N "checking which libxml to use... $ECHO_C" >&6
12611
$as_echo_n "checking which libxml to use... " >&6; }
13993
if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
12612
if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
13994
            "$_os" = "Darwin" && \
12613
            "$_os" = "Darwin" && \
13995
	test "$with_system_libxml" != "no"; then
12614
	test "$with_system_libxml" != "no"; then
13996
    echo "$as_me:$LINENO: result: external" >&5
12615
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
13997
echo "${ECHO_T}external" >&6
12616
$as_echo "external" >&6; }
13998
    SYSTEM_LIBXML=YES
12617
    SYSTEM_LIBXML=YES
13999
    if test "$_os" = "Darwin"; then
12618
    if test "$_os" = "Darwin"; then
14000
   echo "$as_me:$LINENO: checking LIBXML_CFLAGS" >&5
12619
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_CFLAGS" >&5
14001
echo $ECHO_N "checking LIBXML_CFLAGS... $ECHO_C" >&6
12620
$as_echo_n "checking LIBXML_CFLAGS... " >&6; }
14002
   LIBXML_CFLAGS=`xml2-config --cflags`
12621
   LIBXML_CFLAGS=`xml2-config --cflags`
14003
   echo "$as_me:$LINENO: result: $LIBXML_CFLAGS" >&5
12622
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_CFLAGS" >&5
14004
echo "${ECHO_T}$LIBXML_CFLAGS" >&6
12623
$as_echo "$LIBXML_CFLAGS" >&6; }
14005
   echo "$as_me:$LINENO: checking LIBXML_LIBS" >&5
12624
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_LIBS" >&5
14006
echo $ECHO_N "checking LIBXML_LIBS... $ECHO_C" >&6
12625
$as_echo_n "checking LIBXML_LIBS... " >&6; }
14007
   LIBXML_LIBS=`xml2-config --libs`
12626
   LIBXML_LIBS=`xml2-config --libs`
14008
   echo "$as_me:$LINENO: result: $LIBXML_LIBS" >&5
12627
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_LIBS" >&5
14009
echo "${ECHO_T}$LIBXML_LIBS" >&6
12628
$as_echo "$LIBXML_LIBS" >&6; }
14010
12629
14011
12630
14012
 else
12631
 else
Lines 14016-14025 Link Here
14016
  if test -z "$PKG_CONFIG"; then
12635
  if test -z "$PKG_CONFIG"; then
14017
    # Extract the first word of "pkg-config", so it can be a program name with args.
12636
    # Extract the first word of "pkg-config", so it can be a program name with args.
14018
set dummy pkg-config; ac_word=$2
12637
set dummy pkg-config; ac_word=$2
14019
echo "$as_me:$LINENO: checking for $ac_word" >&5
12638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14020
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12639
$as_echo_n "checking for $ac_word... " >&6; }
14021
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12640
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14022
  echo $ECHO_N "(cached) $ECHO_C" >&6
12641
  $as_echo_n "(cached) " >&6
14023
else
12642
else
14024
  case $PKG_CONFIG in
12643
  case $PKG_CONFIG in
14025
  [\\/]* | ?:[\\/]*)
12644
  [\\/]* | ?:[\\/]*)
Lines 14031-14058 Link Here
14031
do
12650
do
14032
  IFS=$as_save_IFS
12651
  IFS=$as_save_IFS
14033
  test -z "$as_dir" && as_dir=.
12652
  test -z "$as_dir" && as_dir=.
14034
  for ac_exec_ext in '' $ac_executable_extensions; do
12653
    for ac_exec_ext in '' $ac_executable_extensions; do
14035
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14036
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12655
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14037
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12656
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14038
    break 2
12657
    break 2
14039
  fi
12658
  fi
14040
done
12659
done
14041
done
12660
  done
12661
IFS=$as_save_IFS
14042
12662
14043
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12663
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14044
  ;;
12664
  ;;
14045
esac
12665
esac
14046
fi
12666
fi
14047
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12667
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14048
14049
if test -n "$PKG_CONFIG"; then
12668
if test -n "$PKG_CONFIG"; then
14050
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14051
echo "${ECHO_T}$PKG_CONFIG" >&6
12670
$as_echo "$PKG_CONFIG" >&6; }
14052
else
12671
else
14053
  echo "$as_me:$LINENO: result: no" >&5
12672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14054
echo "${ECHO_T}no" >&6
12673
$as_echo "no" >&6; }
14055
fi
12674
fi
12675
14056
12676
14057
  fi
12677
  fi
14058
12678
Lines 14064-14088 Link Here
14064
  else
12684
  else
14065
     PKG_CONFIG_MIN_VERSION=0.9.0
12685
     PKG_CONFIG_MIN_VERSION=0.9.0
14066
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12686
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14067
        echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.0" >&5
12687
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.0" >&5
14068
echo $ECHO_N "checking for libxml-2.0 >= 2.0... $ECHO_C" >&6
12688
$as_echo_n "checking for libxml-2.0 >= 2.0... " >&6; }
14069
12689
14070
        if $PKG_CONFIG --exists "libxml-2.0 >= 2.0" ; then
12690
        if $PKG_CONFIG --exists "libxml-2.0 >= 2.0" ; then
14071
            echo "$as_me:$LINENO: result: yes" >&5
12691
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072
echo "${ECHO_T}yes" >&6
12692
$as_echo "yes" >&6; }
14073
            succeeded=yes
12693
            succeeded=yes
14074
12694
14075
            echo "$as_me:$LINENO: checking LIBXML_CFLAGS" >&5
12695
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_CFLAGS" >&5
14076
echo $ECHO_N "checking LIBXML_CFLAGS... $ECHO_C" >&6
12696
$as_echo_n "checking LIBXML_CFLAGS... " >&6; }
14077
            LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0"`
12697
            LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0"`
14078
            echo "$as_me:$LINENO: result: $LIBXML_CFLAGS" >&5
12698
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_CFLAGS" >&5
14079
echo "${ECHO_T}$LIBXML_CFLAGS" >&6
12699
$as_echo "$LIBXML_CFLAGS" >&6; }
14080
12700
14081
            echo "$as_me:$LINENO: checking LIBXML_LIBS" >&5
12701
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_LIBS" >&5
14082
echo $ECHO_N "checking LIBXML_LIBS... $ECHO_C" >&6
12702
$as_echo_n "checking LIBXML_LIBS... " >&6; }
14083
            LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0"`
12703
            LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0"`
14084
            echo "$as_me:$LINENO: result: $LIBXML_LIBS" >&5
12704
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_LIBS" >&5
14085
echo "${ECHO_T}$LIBXML_LIBS" >&6
12705
$as_echo "$LIBXML_LIBS" >&6; }
14086
        else
12706
        else
14087
            LIBXML_CFLAGS=""
12707
            LIBXML_CFLAGS=""
14088
            LIBXML_LIBS=""
12708
            LIBXML_LIBS=""
Lines 14103-14119 Link Here
14103
  if test $succeeded = yes; then
12723
  if test $succeeded = yes; then
14104
     :
12724
     :
14105
  else
12725
  else
14106
     { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12726
     as_fn_error "Library requirements (libxml-2.0 >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
14107
echo "$as_me: error: Library requirements (libxml-2.0 >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
14108
   { (exit 1); exit 1; }; }
14109
  fi
12727
  fi
14110
12728
14111
 fi
12729
 fi
14112
12730
14113
    BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
12731
    BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
14114
else
12732
else
14115
    echo "$as_me:$LINENO: result: internal" >&5
12733
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
14116
echo "${ECHO_T}internal" >&6
12734
$as_echo "internal" >&6; }
14117
    SYSTEM_LIBXML=NO
12735
    SYSTEM_LIBXML=NO
14118
    BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
12736
    BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
14119
fi
12737
fi
Lines 14124-14144 Link Here
14124
if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then
12742
if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then
14125
   with_system_python=yes
12743
   with_system_python=yes
14126
fi
12744
fi
14127
echo "$as_me:$LINENO: checking which python to use" >&5
12745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which python to use" >&5
14128
echo $ECHO_N "checking which python to use... $ECHO_C" >&6
12746
$as_echo_n "checking which python to use... " >&6; }
14129
if test -n "$with_system_python" -o -n "$with_system_libs" && \
12747
if test -n "$with_system_python" -o -n "$with_system_libs" && \
14130
	test "$with_system_python" != "no"; then
12748
	test "$with_system_python" != "no"; then
14131
   SYSTEM_PYTHON=YES
12749
   SYSTEM_PYTHON=YES
14132
   echo "$as_me:$LINENO: result: external" >&5
12750
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
14133
echo "${ECHO_T}external" >&6
12751
$as_echo "external" >&6; }
14134
12752
14135
12753
14136
12754
14137
12755
14138
        if test -n "$PYTHON"; then
12756
        if test -n "$PYTHON"; then
14139
      # If the user set $PYTHON, use it and don't search something else.
12757
      # If the user set $PYTHON, use it and don't search something else.
14140
      echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2" >&5
12758
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2" >&5
14141
echo $ECHO_N "checking whether $PYTHON version >= 2.2... $ECHO_C" >&6
12759
$as_echo_n "checking whether $PYTHON version >= 2.2... " >&6; }
14142
      prog="import sys, string
12760
      prog="import sys, string
14143
# split strings by '.' and convert to numeric.  Append some zeros
12761
# split strings by '.' and convert to numeric.  Append some zeros
14144
# because we need at least 4 digits for the hex conversion.
12762
# because we need at least 4 digits for the hex conversion.
Lines 14150-14172 Link Here
14150
   ($PYTHON -c "$prog") >&5 2>&5
12768
   ($PYTHON -c "$prog") >&5 2>&5
14151
   ac_status=$?
12769
   ac_status=$?
14152
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153
   (exit $ac_status); }; then
12771
   (exit $ac_status); }; then :
14154
  echo "$as_me:$LINENO: result: yes" >&5
12772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14155
echo "${ECHO_T}yes" >&6
12773
$as_echo "yes" >&6; }
14156
else
12774
else
14157
  { { echo "$as_me:$LINENO: error: too old" >&5
12775
  as_fn_error "too old" "$LINENO" 5
14158
echo "$as_me: error: too old" >&2;}
12776
fi
14159
   { (exit 1); exit 1; }; }
14160
fi
14161
14162
      am_display_PYTHON=$PYTHON
12777
      am_display_PYTHON=$PYTHON
14163
    else
12778
    else
14164
      # Otherwise, try each interpreter until we find one that satisfies
12779
      # Otherwise, try each interpreter until we find one that satisfies
14165
      # VERSION.
12780
      # VERSION.
14166
      echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2" >&5
12781
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2" >&5
14167
echo $ECHO_N "checking for a Python interpreter with version >= 2.2... $ECHO_C" >&6
12782
$as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; }
14168
if test "${am_cv_pathless_PYTHON+set}" = set; then
12783
if test "${am_cv_pathless_PYTHON+set}" = set; then :
14169
  echo $ECHO_N "(cached) $ECHO_C" >&6
12784
  $as_echo_n "(cached) " >&6
14170
else
12785
else
14171
12786
14172
	for am_cv_pathless_PYTHON in python python2 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
12787
	for am_cv_pathless_PYTHON in python python2 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
Lines 14182-14205 Link Here
14182
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12797
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14183
   ac_status=$?
12798
   ac_status=$?
14184
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185
   (exit $ac_status); }; then
12800
   (exit $ac_status); }; then :
14186
  break
12801
  break
14187
fi
12802
fi
14188
14189
	done
12803
	done
14190
fi
12804
fi
14191
echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
12805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14192
echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
12806
$as_echo "$am_cv_pathless_PYTHON" >&6; }
14193
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12807
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14194
      if test "$am_cv_pathless_PYTHON" = none; then
12808
      if test "$am_cv_pathless_PYTHON" = none; then
14195
	PYTHON=:
12809
	PYTHON=:
14196
      else
12810
      else
14197
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12811
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14198
set dummy $am_cv_pathless_PYTHON; ac_word=$2
12812
set dummy $am_cv_pathless_PYTHON; ac_word=$2
14199
echo "$as_me:$LINENO: checking for $ac_word" >&5
12813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14200
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12814
$as_echo_n "checking for $ac_word... " >&6; }
14201
if test "${ac_cv_path_PYTHON+set}" = set; then
12815
if test "${ac_cv_path_PYTHON+set}" = set; then :
14202
  echo $ECHO_N "(cached) $ECHO_C" >&6
12816
  $as_echo_n "(cached) " >&6
14203
else
12817
else
14204
  case $PYTHON in
12818
  case $PYTHON in
14205
  [\\/]* | ?:[\\/]*)
12819
  [\\/]* | ?:[\\/]*)
Lines 14211-14237 Link Here
14211
do
12825
do
14212
  IFS=$as_save_IFS
12826
  IFS=$as_save_IFS
14213
  test -z "$as_dir" && as_dir=.
12827
  test -z "$as_dir" && as_dir=.
14214
  for ac_exec_ext in '' $ac_executable_extensions; do
12828
    for ac_exec_ext in '' $ac_executable_extensions; do
14215
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14216
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12830
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14217
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12831
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14218
    break 2
12832
    break 2
14219
  fi
12833
  fi
14220
done
12834
done
14221
done
12835
  done
12836
IFS=$as_save_IFS
14222
12837
14223
  ;;
12838
  ;;
14224
esac
12839
esac
14225
fi
12840
fi
14226
PYTHON=$ac_cv_path_PYTHON
12841
PYTHON=$ac_cv_path_PYTHON
14227
14228
if test -n "$PYTHON"; then
12842
if test -n "$PYTHON"; then
14229
  echo "$as_me:$LINENO: result: $PYTHON" >&5
12843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14230
echo "${ECHO_T}$PYTHON" >&6
12844
$as_echo "$PYTHON" >&6; }
14231
else
12845
else
14232
  echo "$as_me:$LINENO: result: no" >&5
12846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233
echo "${ECHO_T}no" >&6
12847
$as_echo "no" >&6; }
14234
fi
12848
fi
12849
14235
12850
14236
      fi
12851
      fi
14237
      am_display_PYTHON=$am_cv_pathless_PYTHON
12852
      am_display_PYTHON=$am_cv_pathless_PYTHON
Lines 14239-14259 Link Here
14239
12854
14240
12855
14241
  if test "$PYTHON" = :; then
12856
  if test "$PYTHON" = :; then
14242
      { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
12857
      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
14243
echo "$as_me: error: no suitable Python interpreter found" >&2;}
12858
  else
14244
   { (exit 1); exit 1; }; }
12859
14245
  else
12860
14246
12861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14247
12862
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14248
  echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
12863
if test "${am_cv_python_version+set}" = set; then :
14249
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
12864
  $as_echo_n "(cached) " >&6
14250
if test "${am_cv_python_version+set}" = set; then
14251
  echo $ECHO_N "(cached) $ECHO_C" >&6
14252
else
12865
else
14253
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
12866
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
14254
fi
12867
fi
14255
echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
12868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14256
echo "${ECHO_T}$am_cv_python_version" >&6
12869
$as_echo "$am_cv_python_version" >&6; }
14257
  PYTHON_VERSION=$am_cv_python_version
12870
  PYTHON_VERSION=$am_cv_python_version
14258
12871
14259
12872
Lines 14264-14293 Link Here
14264
12877
14265
12878
14266
12879
14267
  echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
12880
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14268
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
12881
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14269
if test "${am_cv_python_platform+set}" = set; then
12882
if test "${am_cv_python_platform+set}" = set; then :
14270
  echo $ECHO_N "(cached) $ECHO_C" >&6
12883
  $as_echo_n "(cached) " >&6
14271
else
12884
else
14272
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
12885
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
14273
fi
12886
fi
14274
echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
12887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14275
echo "${ECHO_T}$am_cv_python_platform" >&6
12888
$as_echo "$am_cv_python_platform" >&6; }
14276
  PYTHON_PLATFORM=$am_cv_python_platform
12889
  PYTHON_PLATFORM=$am_cv_python_platform
14277
12890
14278
12891
14279
12892
14280
12893
14281
                echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
12894
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14282
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
12895
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14283
if test "${am_cv_python_pythondir+set}" = set; then
12896
if test "${am_cv_python_pythondir+set}" = set; then :
14284
  echo $ECHO_N "(cached) $ECHO_C" >&6
12897
  $as_echo_n "(cached) " >&6
14285
else
12898
else
14286
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
12899
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
14287
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12900
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14288
fi
12901
fi
14289
echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
12902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14290
echo "${ECHO_T}$am_cv_python_pythondir" >&6
12903
$as_echo "$am_cv_python_pythondir" >&6; }
14291
  pythondir=$am_cv_python_pythondir
12904
  pythondir=$am_cv_python_pythondir
14292
12905
14293
12906
Lines 14295-14310 Link Here
14295
  pkgpythondir=\${pythondir}/$PACKAGE
12908
  pkgpythondir=\${pythondir}/$PACKAGE
14296
12909
14297
12910
14298
            echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
12911
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14299
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
12912
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14300
if test "${am_cv_python_pyexecdir+set}" = set; then
12913
if test "${am_cv_python_pyexecdir+set}" = set; then :
14301
  echo $ECHO_N "(cached) $ECHO_C" >&6
12914
  $as_echo_n "(cached) " >&6
14302
else
12915
else
14303
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
12916
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
14304
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
12917
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
14305
fi
12918
fi
14306
echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
12919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14307
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
12920
$as_echo "$am_cv_python_pyexecdir" >&6; }
14308
  pyexecdir=$am_cv_python_pyexecdir
12921
  pyexecdir=$am_cv_python_pyexecdir
14309
12922
14310
12923
Lines 14329-14477 Link Here
14329
12942
14330
      save_CPPFLAGS="$CPPFLAGS"
12943
      save_CPPFLAGS="$CPPFLAGS"
14331
   CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
12944
   CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
14332
   if test "${ac_cv_header_Python_h+set}" = set; then
12945
   ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
14333
  echo "$as_me:$LINENO: checking for Python.h" >&5
12946
if test "x$ac_cv_header_Python_h" = x""yes; then :
14334
echo $ECHO_N "checking for Python.h... $ECHO_C" >&6
12947
14335
if test "${ac_cv_header_Python_h+set}" = set; then
12948
else
14336
  echo $ECHO_N "(cached) $ECHO_C" >&6
12949
  as_fn_error "Python headers not found" "$LINENO" 5
14337
fi
14338
echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
14339
echo "${ECHO_T}$ac_cv_header_Python_h" >&6
14340
else
14341
  # Is the header compilable?
14342
echo "$as_me:$LINENO: checking Python.h usability" >&5
14343
echo $ECHO_N "checking Python.h usability... $ECHO_C" >&6
14344
cat >conftest.$ac_ext <<_ACEOF
14345
/* confdefs.h.  */
14346
_ACEOF
14347
cat confdefs.h >>conftest.$ac_ext
14348
cat >>conftest.$ac_ext <<_ACEOF
14349
/* end confdefs.h.  */
14350
$ac_includes_default
14351
#include <Python.h>
14352
_ACEOF
14353
rm -f conftest.$ac_objext
14354
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355
  (eval $ac_compile) 2>conftest.er1
14356
  ac_status=$?
14357
  grep -v '^ *+' conftest.er1 >conftest.err
14358
  rm -f conftest.er1
14359
  cat conftest.err >&5
14360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361
  (exit $ac_status); } &&
14362
	 { ac_try='test -z "$ac_c_werror_flag"
14363
			 || test ! -s conftest.err'
14364
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365
  (eval $ac_try) 2>&5
14366
  ac_status=$?
14367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368
  (exit $ac_status); }; } &&
14369
	 { ac_try='test -s conftest.$ac_objext'
14370
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371
  (eval $ac_try) 2>&5
14372
  ac_status=$?
14373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374
  (exit $ac_status); }; }; then
14375
  ac_header_compiler=yes
14376
else
14377
  echo "$as_me: failed program was:" >&5
14378
sed 's/^/| /' conftest.$ac_ext >&5
14379
14380
ac_header_compiler=no
14381
fi
14382
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14383
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14384
echo "${ECHO_T}$ac_header_compiler" >&6
14385
14386
# Is the header present?
14387
echo "$as_me:$LINENO: checking Python.h presence" >&5
14388
echo $ECHO_N "checking Python.h presence... $ECHO_C" >&6
14389
cat >conftest.$ac_ext <<_ACEOF
14390
/* confdefs.h.  */
14391
_ACEOF
14392
cat confdefs.h >>conftest.$ac_ext
14393
cat >>conftest.$ac_ext <<_ACEOF
14394
/* end confdefs.h.  */
14395
#include <Python.h>
14396
_ACEOF
14397
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14398
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14399
  ac_status=$?
14400
  grep -v '^ *+' conftest.er1 >conftest.err
14401
  rm -f conftest.er1
14402
  cat conftest.err >&5
14403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404
  (exit $ac_status); } >/dev/null; then
14405
  if test -s conftest.err; then
14406
    ac_cpp_err=$ac_c_preproc_warn_flag
14407
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14408
  else
14409
    ac_cpp_err=
14410
  fi
14411
else
14412
  ac_cpp_err=yes
14413
fi
14414
if test -z "$ac_cpp_err"; then
14415
  ac_header_preproc=yes
14416
else
14417
  echo "$as_me: failed program was:" >&5
14418
sed 's/^/| /' conftest.$ac_ext >&5
14419
14420
  ac_header_preproc=no
14421
fi
14422
rm -f conftest.err conftest.$ac_ext
14423
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14424
echo "${ECHO_T}$ac_header_preproc" >&6
14425
14426
# So?  What about this header?
14427
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14428
  yes:no: )
14429
    { echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
14430
echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14431
    { echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
14432
echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
14433
    ac_header_preproc=yes
14434
    ;;
14435
  no:yes:* )
14436
    { echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
14437
echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
14438
    { echo "$as_me:$LINENO: WARNING: Python.h:     check for missing prerequisite headers?" >&5
14439
echo "$as_me: WARNING: Python.h:     check for missing prerequisite headers?" >&2;}
14440
    { echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
14441
echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
14442
    { echo "$as_me:$LINENO: WARNING: Python.h:     section \"Present But Cannot Be Compiled\"" >&5
14443
echo "$as_me: WARNING: Python.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14444
    { echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
14445
echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
14446
    { echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
14447
echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
14448
    (
14449
      cat <<\_ASBOX
14450
## ------------------------------------------ ##
14451
## Report this to the AC_PACKAGE_NAME lists.  ##
14452
## ------------------------------------------ ##
14453
_ASBOX
14454
    ) |
14455
      sed "s/^/$as_me: WARNING:     /" >&2
14456
    ;;
14457
esac
14458
echo "$as_me:$LINENO: checking for Python.h" >&5
14459
echo $ECHO_N "checking for Python.h... $ECHO_C" >&6
14460
if test "${ac_cv_header_Python_h+set}" = set; then
14461
  echo $ECHO_N "(cached) $ECHO_C" >&6
14462
else
14463
  ac_cv_header_Python_h=$ac_header_preproc
14464
fi
14465
echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
14466
echo "${ECHO_T}$ac_cv_header_Python_h" >&6
14467
14468
fi
14469
if test $ac_cv_header_Python_h = yes; then
14470
  :
14471
else
14472
  { { echo "$as_me:$LINENO: error: Python headers not found" >&5
14473
echo "$as_me: error: Python headers not found" >&2;}
14474
   { (exit 1); exit 1; }; }
14475
fi
12950
fi
14476
12951
14477
12952
Lines 14479-14486 Link Here
14479
else
12954
else
14480
   SYSTEM_PYTHON=NO
12955
   SYSTEM_PYTHON=NO
14481
   BUILD_TYPE="$BUILD_TYPE PYTHON"
12956
   BUILD_TYPE="$BUILD_TYPE PYTHON"
14482
   echo "$as_me:$LINENO: result: internal" >&5
12957
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
14483
echo "${ECHO_T}internal" >&6
12958
$as_echo "internal" >&6; }
14484
   # Embedded python dies without Home set
12959
   # Embedded python dies without Home set
14485
   if test "z$HOME" = "z"; then
12960
   if test "z$HOME" = "z"; then
14486
      export HOME="";
12961
      export HOME="";
Lines 14489-14498 Link Here
14489
   if test -z "$BZIP2"; then
12964
   if test -z "$BZIP2"; then
14490
	# Extract the first word of "bzip2", so it can be a program name with args.
12965
	# Extract the first word of "bzip2", so it can be a program name with args.
14491
set dummy bzip2; ac_word=$2
12966
set dummy bzip2; ac_word=$2
14492
echo "$as_me:$LINENO: checking for $ac_word" >&5
12967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14493
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12968
$as_echo_n "checking for $ac_word... " >&6; }
14494
if test "${ac_cv_path_BZIP2+set}" = set; then
12969
if test "${ac_cv_path_BZIP2+set}" = set; then :
14495
  echo $ECHO_N "(cached) $ECHO_C" >&6
12970
  $as_echo_n "(cached) " >&6
14496
else
12971
else
14497
  case $BZIP2 in
12972
  case $BZIP2 in
14498
  [\\/]* | ?:[\\/]*)
12973
  [\\/]* | ?:[\\/]*)
Lines 14504-14535 Link Here
14504
do
12979
do
14505
  IFS=$as_save_IFS
12980
  IFS=$as_save_IFS
14506
  test -z "$as_dir" && as_dir=.
12981
  test -z "$as_dir" && as_dir=.
14507
  for ac_exec_ext in '' $ac_executable_extensions; do
12982
    for ac_exec_ext in '' $ac_executable_extensions; do
14508
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12983
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14509
    ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
12984
    ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
14510
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12985
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14511
    break 2
12986
    break 2
14512
  fi
12987
  fi
14513
done
12988
done
14514
done
12989
  done
12990
IFS=$as_save_IFS
14515
12991
14516
  ;;
12992
  ;;
14517
esac
12993
esac
14518
fi
12994
fi
14519
BZIP2=$ac_cv_path_BZIP2
12995
BZIP2=$ac_cv_path_BZIP2
14520
14521
if test -n "$BZIP2"; then
12996
if test -n "$BZIP2"; then
14522
  echo "$as_me:$LINENO: result: $BZIP2" >&5
12997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5
14523
echo "${ECHO_T}$BZIP2" >&6
12998
$as_echo "$BZIP2" >&6; }
14524
else
12999
else
14525
  echo "$as_me:$LINENO: result: no" >&5
13000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14526
echo "${ECHO_T}no" >&6
13001
$as_echo "no" >&6; }
14527
fi
13002
fi
13003
14528
13004
14529
	if test -z "$BZIP2"; then
13005
	if test -z "$BZIP2"; then
14530
   		{ { echo "$as_me:$LINENO: error: the internal Python module has a .tar.bz2. You need bzip2" >&5
13006
   		as_fn_error "the internal Python module has a .tar.bz2. You need bzip2" "$LINENO" 5
14531
echo "$as_me: error: the internal Python module has a .tar.bz2. You need bzip2" >&2;}
14532
   { (exit 1); exit 1; }; }
14533
   	fi
13007
   	fi
14534
   fi
13008
   fi
14535
fi
13009
fi
Lines 14539-14680 Link Here
14539
HOME=`echo $HOME | sed 's:\\\\:/:g'`
13013
HOME=`echo $HOME | sed 's:\\\\:/:g'`
14540
13014
14541
13015
14542
echo "$as_me:$LINENO: checking which db to use" >&5
13016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which db to use" >&5
14543
echo $ECHO_N "checking which db to use... $ECHO_C" >&6
13017
$as_echo_n "checking which db to use... " >&6; }
14544
if test -n "$with_system_db" -o -n "$with_system_libs" && \
13018
if test -n "$with_system_db" -o -n "$with_system_libs" && \
14545
	test "$with_system_db" != "no"; then
13019
	test "$with_system_db" != "no"; then
14546
    SYSTEM_DB=YES
13020
    SYSTEM_DB=YES
14547
    echo "$as_me:$LINENO: result: external" >&5
13021
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
14548
echo "${ECHO_T}external" >&6
13022
$as_echo "external" >&6; }
14549
    echo "$as_me:$LINENO: checking for db.h" >&5
13023
    ac_fn_c_check_header_compile "$LINENO" "db.h" "ac_cv_header_db_h" "
14550
echo $ECHO_N "checking for db.h... $ECHO_C" >&6
13024
14551
if test "${ac_cv_header_db_h+set}" = set; then
13025
"
14552
  echo $ECHO_N "(cached) $ECHO_C" >&6
13026
if test "x$ac_cv_header_db_h" = x""yes; then :
14553
else
14554
  cat >conftest.$ac_ext <<_ACEOF
14555
/* confdefs.h.  */
14556
_ACEOF
14557
cat confdefs.h >>conftest.$ac_ext
14558
cat >>conftest.$ac_ext <<_ACEOF
14559
/* end confdefs.h.  */
14560
14561
14562
14563
#include <db.h>
14564
_ACEOF
14565
rm -f conftest.$ac_objext
14566
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14567
  (eval $ac_compile) 2>conftest.er1
14568
  ac_status=$?
14569
  grep -v '^ *+' conftest.er1 >conftest.err
14570
  rm -f conftest.er1
14571
  cat conftest.err >&5
14572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573
  (exit $ac_status); } &&
14574
	 { ac_try='test -z "$ac_c_werror_flag"
14575
			 || test ! -s conftest.err'
14576
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577
  (eval $ac_try) 2>&5
14578
  ac_status=$?
14579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580
  (exit $ac_status); }; } &&
14581
	 { ac_try='test -s conftest.$ac_objext'
14582
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583
  (eval $ac_try) 2>&5
14584
  ac_status=$?
14585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586
  (exit $ac_status); }; }; then
14587
  ac_cv_header_db_h=yes
14588
else
14589
  echo "$as_me: failed program was:" >&5
14590
sed 's/^/| /' conftest.$ac_ext >&5
14591
14592
ac_cv_header_db_h=no
14593
fi
14594
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14595
fi
14596
echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
14597
echo "${ECHO_T}$ac_cv_header_db_h" >&6
14598
if test $ac_cv_header_db_h = yes; then
14599
   DB_INCLUDES=/usr/include
13027
   DB_INCLUDES=/usr/include
14600
else
13028
else
14601
13029
14602
             CFLAGS=-I/usr/include/db4
13030
             CFLAGS=-I/usr/include/db4
14603
             echo "$as_me:$LINENO: checking for db4/db.h" >&5
13031
             ac_fn_c_check_header_compile "$LINENO" "db4/db.h" "ac_cv_header_db4_db_h" "+
14604
echo $ECHO_N "checking for db4/db.h... $ECHO_C" >&6
13032
"
14605
if test "${ac_cv_header_db4_db_h+set}" = set; then
13033
if test "x$ac_cv_header_db4_db_h" = x""yes; then :
14606
  echo $ECHO_N "(cached) $ECHO_C" >&6
14607
else
14608
  cat >conftest.$ac_ext <<_ACEOF
14609
/* confdefs.h.  */
14610
_ACEOF
14611
cat confdefs.h >>conftest.$ac_ext
14612
cat >>conftest.$ac_ext <<_ACEOF
14613
/* end confdefs.h.  */
14614
+
14615
14616
#include <db4/db.h>
14617
_ACEOF
14618
rm -f conftest.$ac_objext
14619
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620
  (eval $ac_compile) 2>conftest.er1
14621
  ac_status=$?
14622
  grep -v '^ *+' conftest.er1 >conftest.err
14623
  rm -f conftest.er1
14624
  cat conftest.err >&5
14625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626
  (exit $ac_status); } &&
14627
	 { ac_try='test -z "$ac_c_werror_flag"
14628
			 || test ! -s conftest.err'
14629
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630
  (eval $ac_try) 2>&5
14631
  ac_status=$?
14632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633
  (exit $ac_status); }; } &&
14634
	 { ac_try='test -s conftest.$ac_objext'
14635
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636
  (eval $ac_try) 2>&5
14637
  ac_status=$?
14638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639
  (exit $ac_status); }; }; then
14640
  ac_cv_header_db4_db_h=yes
14641
else
14642
  echo "$as_me: failed program was:" >&5
14643
sed 's/^/| /' conftest.$ac_ext >&5
14644
14645
ac_cv_header_db4_db_h=no
14646
fi
14647
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14648
fi
14649
echo "$as_me:$LINENO: result: $ac_cv_header_db4_db_h" >&5
14650
echo "${ECHO_T}$ac_cv_header_db4_db_h" >&6
14651
if test $ac_cv_header_db4_db_h = yes; then
14652
   DB_INCLUDES=/usr/include/db4
13034
   DB_INCLUDES=/usr/include/db4
14653
else
13035
else
14654
   { { echo "$as_me:$LINENO: error: no. install the db4 libraries" >&5
13036
   as_fn_error "no. install the db4 libraries" "$LINENO" 5
14655
echo "$as_me: error: no. install the db4 libraries" >&2;}
13037
fi
14656
   { (exit 1); exit 1; }; }
13038
14657
fi
13039
14658
13040
14659
13041
fi
14660
13042
14661
fi
13043
14662
13044
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether db is at least 4.1" >&5
14663
13045
$as_echo_n "checking whether db is at least 4.1... " >&6; }
14664
    echo "$as_me:$LINENO: checking whether db is at least 4.1" >&5
13046
    if test "$cross_compiling" = yes; then :
14665
echo $ECHO_N "checking whether db is at least 4.1... $ECHO_C" >&6
13047
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14666
    if test "$cross_compiling" = yes; then
13048
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14667
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13049
as_fn_error "cannot run test program while cross compiling
14668
See \`config.log' for more details." >&5
13050
See \`config.log' for more details." "$LINENO" 5; }
14669
echo "$as_me: error: cannot run test program while cross compiling
13051
else
14670
See \`config.log' for more details." >&2;}
13052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671
   { (exit 1); exit 1; }; }
14672
else
14673
  cat >conftest.$ac_ext <<_ACEOF
14674
/* confdefs.h.  */
14675
_ACEOF
14676
cat confdefs.h >>conftest.$ac_ext
14677
cat >>conftest.$ac_ext <<_ACEOF
14678
/* end confdefs.h.  */
13053
/* end confdefs.h.  */
14679
13054
14680
#include <db.h>
13055
#include <db.h>
Lines 14685-14775 Link Here
14685
}
13060
}
14686
13061
14687
_ACEOF
13062
_ACEOF
14688
rm -f conftest$ac_exeext
13063
if ac_fn_c_try_run "$LINENO"; then :
14689
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14690
  (eval $ac_link) 2>&5
13065
$as_echo "yes" >&6; }
14691
  ac_status=$?
13066
else
14692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067
  as_fn_error "no. you need at least db 4.1" "$LINENO" 5
14693
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13068
fi
14694
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14695
  (eval $ac_try) 2>&5
13070
  conftest.$ac_objext conftest.beam conftest.$ac_ext
14696
  ac_status=$?
13071
fi
14697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072
14698
  (exit $ac_status); }; }; then
13073
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldb" >&5
14699
  echo "$as_me:$LINENO: result: yes" >&5
13074
$as_echo_n "checking for main in -ldb... " >&6; }
14700
echo "${ECHO_T}yes" >&6
13075
if test "${ac_cv_lib_db_main+set}" = set; then :
14701
else
13076
  $as_echo_n "(cached) " >&6
14702
  echo "$as_me: program exited with status $ac_status" >&5
14703
echo "$as_me: failed program was:" >&5
14704
sed 's/^/| /' conftest.$ac_ext >&5
14705
14706
( exit $ac_status )
14707
{ { echo "$as_me:$LINENO: error: no. you need at least db 4.1" >&5
14708
echo "$as_me: error: no. you need at least db 4.1" >&2;}
14709
   { (exit 1); exit 1; }; }
14710
fi
14711
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14712
fi
14713
14714
echo "$as_me:$LINENO: checking for main in -ldb" >&5
14715
echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6
14716
if test "${ac_cv_lib_db_main+set}" = set; then
14717
  echo $ECHO_N "(cached) $ECHO_C" >&6
14718
else
13077
else
14719
  ac_check_lib_save_LIBS=$LIBS
13078
  ac_check_lib_save_LIBS=$LIBS
14720
LIBS="-ldb  $LIBS"
13079
LIBS="-ldb  $LIBS"
14721
cat >conftest.$ac_ext <<_ACEOF
13080
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722
/* confdefs.h.  */
13081
/* end confdefs.h.  */
14723
_ACEOF
13082
14724
cat confdefs.h >>conftest.$ac_ext
13083
14725
cat >>conftest.$ac_ext <<_ACEOF
13084
int
14726
/* end confdefs.h.  */
13085
main ()
14727
13086
{
14728
13087
return main ();
14729
int
13088
  ;
14730
main ()
13089
  return 0;
14731
{
13090
}
14732
main ();
13091
_ACEOF
14733
  ;
13092
if ac_fn_c_try_link "$LINENO"; then :
14734
  return 0;
14735
}
14736
_ACEOF
14737
rm -f conftest.$ac_objext conftest$ac_exeext
14738
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14739
  (eval $ac_link) 2>conftest.er1
14740
  ac_status=$?
14741
  grep -v '^ *+' conftest.er1 >conftest.err
14742
  rm -f conftest.er1
14743
  cat conftest.err >&5
14744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745
  (exit $ac_status); } &&
14746
	 { ac_try='test -z "$ac_c_werror_flag"
14747
			 || test ! -s conftest.err'
14748
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749
  (eval $ac_try) 2>&5
14750
  ac_status=$?
14751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752
  (exit $ac_status); }; } &&
14753
	 { ac_try='test -s conftest$ac_exeext'
14754
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755
  (eval $ac_try) 2>&5
14756
  ac_status=$?
14757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758
  (exit $ac_status); }; }; then
14759
  ac_cv_lib_db_main=yes
13093
  ac_cv_lib_db_main=yes
14760
else
13094
else
14761
  echo "$as_me: failed program was:" >&5
13095
  ac_cv_lib_db_main=no
14762
sed 's/^/| /' conftest.$ac_ext >&5
13096
fi
14763
13097
rm -f core conftest.err conftest.$ac_objext \
14764
ac_cv_lib_db_main=no
13098
    conftest$ac_exeext conftest.$ac_ext
14765
fi
14766
rm -f conftest.err conftest.$ac_objext \
14767
      conftest$ac_exeext conftest.$ac_ext
14768
LIBS=$ac_check_lib_save_LIBS
13099
LIBS=$ac_check_lib_save_LIBS
14769
fi
13100
fi
14770
echo "$as_me:$LINENO: result: $ac_cv_lib_db_main" >&5
13101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_main" >&5
14771
echo "${ECHO_T}$ac_cv_lib_db_main" >&6
13102
$as_echo "$ac_cv_lib_db_main" >&6; }
14772
if test $ac_cv_lib_db_main = yes; then
13103
if test "x$ac_cv_lib_db_main" = x""yes; then :
14773
  cat >>confdefs.h <<_ACEOF
13104
  cat >>confdefs.h <<_ACEOF
14774
#define HAVE_LIBDB 1
13105
#define HAVE_LIBDB 1
14775
_ACEOF
13106
_ACEOF
Lines 14777-14792 Link Here
14777
  LIBS="-ldb $LIBS"
13108
  LIBS="-ldb $LIBS"
14778
13109
14779
else
13110
else
14780
  { { echo "$as_me:$LINENO: error: db not installed or functional" >&5
13111
  as_fn_error "db not installed or functional" "$LINENO" 5
14781
echo "$as_me: error: db not installed or functional" >&2;}
14782
   { (exit 1); exit 1; }; }
14783
fi
13112
fi
14784
ac_cv_lib_db=ac_cv_lib_db_main
13113
ac_cv_lib_db=ac_cv_lib_db_main
14785
13114
14786
    SCPDEFS="$SCPDEFS -DSYSTEM_DB"
13115
    SCPDEFS="$SCPDEFS -DSYSTEM_DB"
14787
else
13116
else
14788
    echo "$as_me:$LINENO: result: internal" >&5
13117
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
14789
echo "${ECHO_T}internal" >&6
13118
$as_echo "internal" >&6; }
14790
    SYSTEM_DB=NO
13119
    SYSTEM_DB=NO
14791
    BUILD_TYPE="$BUILD_TYPE BERKELEYDB"
13120
    BUILD_TYPE="$BUILD_TYPE BERKELEYDB"
14792
fi
13121
fi
Lines 14795-14971 Link Here
14795
13124
14796
13125
14797
13126
14798
echo "$as_me:$LINENO: checking which lucene to use" >&5
13127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which lucene to use" >&5
14799
echo $ECHO_N "checking which lucene to use... $ECHO_C" >&6
13128
$as_echo_n "checking which lucene to use... " >&6; }
14800
if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
13129
if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
14801
       test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
13130
       test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
14802
        echo "$as_me:$LINENO: result: external" >&5
13131
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
14803
echo "${ECHO_T}external" >&6
13132
$as_echo "external" >&6; }
14804
        SYSTEM_LUCENE=YES
13133
        SYSTEM_LUCENE=YES
14805
        if test -z $LUCENE_CORE_JAR; then
13134
        if test -z $LUCENE_CORE_JAR; then
14806
          echo "$as_me:$LINENO: checking for /usr/share/java/lucene-core-2.3.jar" >&5
13135
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/lucene-core-2.3.jar" >&5
14807
echo $ECHO_N "checking for /usr/share/java/lucene-core-2.3.jar... $ECHO_C" >&6
13136
$as_echo_n "checking for /usr/share/java/lucene-core-2.3.jar... " >&6; }
14808
if test "${ac_cv_file__usr_share_java_lucene_core_2_3_jar+set}" = set; then
13137
if test "${ac_cv_file__usr_share_java_lucene_core_2_3_jar+set}" = set; then :
14809
  echo $ECHO_N "(cached) $ECHO_C" >&6
13138
  $as_echo_n "(cached) " >&6
14810
else
13139
else
14811
  test "$cross_compiling" = yes &&
13140
  test "$cross_compiling" = yes &&
14812
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13141
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14813
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14814
   { (exit 1); exit 1; }; }
14815
if test -r "/usr/share/java/lucene-core-2.3.jar"; then
13142
if test -r "/usr/share/java/lucene-core-2.3.jar"; then
14816
  ac_cv_file__usr_share_java_lucene_core_2_3_jar=yes
13143
  ac_cv_file__usr_share_java_lucene_core_2_3_jar=yes
14817
else
13144
else
14818
  ac_cv_file__usr_share_java_lucene_core_2_3_jar=no
13145
  ac_cv_file__usr_share_java_lucene_core_2_3_jar=no
14819
fi
13146
fi
14820
fi
13147
fi
14821
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&5
13148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&5
14822
echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&6
13149
$as_echo "$ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&6; }
14823
if test $ac_cv_file__usr_share_java_lucene_core_2_3_jar = yes; then
13150
if test "x$ac_cv_file__usr_share_java_lucene_core_2_3_jar" = x""yes; then :
14824
   LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.3.jar
13151
   LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.3.jar
14825
else
13152
else
14826
13153
14827
              echo "$as_me:$LINENO: checking for /usr/share/java/lucene.jar" >&5
13154
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/lucene.jar" >&5
14828
echo $ECHO_N "checking for /usr/share/java/lucene.jar... $ECHO_C" >&6
13155
$as_echo_n "checking for /usr/share/java/lucene.jar... " >&6; }
14829
if test "${ac_cv_file__usr_share_java_lucene_jar+set}" = set; then
13156
if test "${ac_cv_file__usr_share_java_lucene_jar+set}" = set; then :
14830
  echo $ECHO_N "(cached) $ECHO_C" >&6
13157
  $as_echo_n "(cached) " >&6
14831
else
13158
else
14832
  test "$cross_compiling" = yes &&
13159
  test "$cross_compiling" = yes &&
14833
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13160
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14834
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14835
   { (exit 1); exit 1; }; }
14836
if test -r "/usr/share/java/lucene.jar"; then
13161
if test -r "/usr/share/java/lucene.jar"; then
14837
  ac_cv_file__usr_share_java_lucene_jar=yes
13162
  ac_cv_file__usr_share_java_lucene_jar=yes
14838
else
13163
else
14839
  ac_cv_file__usr_share_java_lucene_jar=no
13164
  ac_cv_file__usr_share_java_lucene_jar=no
14840
fi
13165
fi
14841
fi
13166
fi
14842
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_jar" >&5
13167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_lucene_jar" >&5
14843
echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_jar" >&6
13168
$as_echo "$ac_cv_file__usr_share_java_lucene_jar" >&6; }
14844
if test $ac_cv_file__usr_share_java_lucene_jar = yes; then
13169
if test "x$ac_cv_file__usr_share_java_lucene_jar" = x""yes; then :
14845
   LUCENE_CORE_JAR=/usr/share/java/lucene.jar
13170
   LUCENE_CORE_JAR=/usr/share/java/lucene.jar
14846
else
13171
else
14847
   { { echo "$as_me:$LINENO: error: lucene-core.jar replacement not found" >&5
13172
   as_fn_error "lucene-core.jar replacement not found" "$LINENO" 5
14848
echo "$as_me: error: lucene-core.jar replacement not found" >&2;}
13173
14849
   { (exit 1); exit 1; }; }
13174
fi
14850
13175
14851
fi
13176
14852
13177
14853
13178
fi
14854
13179
14855
fi
13180
        else
14856
13181
          as_ac_File=`$as_echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
14857
        else
13182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LUCENE_CORE_JAR" >&5
14858
          as_ac_File=`echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
13183
$as_echo_n "checking for $LUCENE_CORE_JAR... " >&6; }
14859
echo "$as_me:$LINENO: checking for $LUCENE_CORE_JAR" >&5
13184
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
14860
echo $ECHO_N "checking for $LUCENE_CORE_JAR... $ECHO_C" >&6
13185
  $as_echo_n "(cached) " >&6
14861
if eval "test \"\${$as_ac_File+set}\" = set"; then
13186
else
14862
  echo $ECHO_N "(cached) $ECHO_C" >&6
13187
  test "$cross_compiling" = yes &&
14863
else
13188
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14864
  test "$cross_compiling" = yes &&
14865
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14866
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14867
   { (exit 1); exit 1; }; }
14868
if test -r "$LUCENE_CORE_JAR"; then
13189
if test -r "$LUCENE_CORE_JAR"; then
14869
  eval "$as_ac_File=yes"
13190
  eval "$as_ac_File=yes"
14870
else
13191
else
14871
  eval "$as_ac_File=no"
13192
  eval "$as_ac_File=no"
14872
fi
13193
fi
14873
fi
13194
fi
14874
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13195
eval ac_res=\$$as_ac_File
14875
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13196
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14876
if test `eval echo '${'$as_ac_File'}'` = yes; then
13197
$as_echo "$ac_res" >&6; }
14877
  :
13198
eval as_val=\$$as_ac_File
14878
else
13199
   if test "x$as_val" = x""yes; then :
14879
  { { echo "$as_me:$LINENO: error: lucene-core.jar not found." >&5
13200
14880
echo "$as_me: error: lucene-core.jar not found." >&2;}
13201
else
14881
   { (exit 1); exit 1; }; }
13202
  as_fn_error "lucene-core.jar not found." "$LINENO" 5
14882
fi
13203
fi
14883
13204
14884
        fi
13205
        fi
14885
13206
14886
        if test -z $LUCENE_ANALYZERS_JAR; then
13207
        if test -z $LUCENE_ANALYZERS_JAR; then
14887
          echo "$as_me:$LINENO: checking for /usr/share/java/lucene-analyzers-2.3.jar" >&5
13208
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/lucene-analyzers-2.3.jar" >&5
14888
echo $ECHO_N "checking for /usr/share/java/lucene-analyzers-2.3.jar... $ECHO_C" >&6
13209
$as_echo_n "checking for /usr/share/java/lucene-analyzers-2.3.jar... " >&6; }
14889
if test "${ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar+set}" = set; then
13210
if test "${ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar+set}" = set; then :
14890
  echo $ECHO_N "(cached) $ECHO_C" >&6
13211
  $as_echo_n "(cached) " >&6
14891
else
13212
else
14892
  test "$cross_compiling" = yes &&
13213
  test "$cross_compiling" = yes &&
14893
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13214
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14894
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14895
   { (exit 1); exit 1; }; }
14896
if test -r "/usr/share/java/lucene-analyzers-2.3.jar"; then
13215
if test -r "/usr/share/java/lucene-analyzers-2.3.jar"; then
14897
  ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar=yes
13216
  ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar=yes
14898
else
13217
else
14899
  ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar=no
13218
  ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar=no
14900
fi
13219
fi
14901
fi
13220
fi
14902
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&5
13221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&5
14903
echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&6
13222
$as_echo "$ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&6; }
14904
if test $ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar = yes; then
13223
if test "x$ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" = x""yes; then :
14905
   LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers-2.3.jar
13224
   LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers-2.3.jar
14906
else
13225
else
14907
13226
14908
              echo "$as_me:$LINENO: checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar" >&5
13227
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar" >&5
14909
echo $ECHO_N "checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar... $ECHO_C" >&6
13228
$as_echo_n "checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar... " >&6; }
14910
if test "${ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar+set}" = set; then
13229
if test "${ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar+set}" = set; then :
14911
  echo $ECHO_N "(cached) $ECHO_C" >&6
13230
  $as_echo_n "(cached) " >&6
14912
else
13231
else
14913
  test "$cross_compiling" = yes &&
13232
  test "$cross_compiling" = yes &&
14914
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13233
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14915
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14916
   { (exit 1); exit 1; }; }
14917
if test -r "/usr/share/java/lucene-contrib/lucene-analyzers.jar"; then
13234
if test -r "/usr/share/java/lucene-contrib/lucene-analyzers.jar"; then
14918
  ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar=yes
13235
  ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar=yes
14919
else
13236
else
14920
  ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar=no
13237
  ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar=no
14921
fi
13238
fi
14922
fi
13239
fi
14923
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&5
13240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&5
14924
echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&6
13241
$as_echo "$ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&6; }
14925
if test $ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar = yes; then
13242
if test "x$ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" = x""yes; then :
14926
   LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar
13243
   LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar
14927
else
13244
else
14928
   { { echo "$as_me:$LINENO: error: lucene-analyzers.jar replacement not found." >&5
13245
   as_fn_error "lucene-analyzers.jar replacement not found." "$LINENO" 5
14929
echo "$as_me: error: lucene-analyzers.jar replacement not found." >&2;}
13246
14930
   { (exit 1); exit 1; }; }
13247
fi
14931
13248
14932
fi
13249
14933
13250
14934
13251
fi
14935
13252
14936
fi
13253
        else
14937
13254
          as_ac_File=`$as_echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
14938
        else
13255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LUCENE_CORE_JAR" >&5
14939
          as_ac_File=`echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
13256
$as_echo_n "checking for $LUCENE_CORE_JAR... " >&6; }
14940
echo "$as_me:$LINENO: checking for $LUCENE_CORE_JAR" >&5
13257
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
14941
echo $ECHO_N "checking for $LUCENE_CORE_JAR... $ECHO_C" >&6
13258
  $as_echo_n "(cached) " >&6
14942
if eval "test \"\${$as_ac_File+set}\" = set"; then
13259
else
14943
  echo $ECHO_N "(cached) $ECHO_C" >&6
13260
  test "$cross_compiling" = yes &&
14944
else
13261
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
14945
  test "$cross_compiling" = yes &&
14946
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14947
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14948
   { (exit 1); exit 1; }; }
14949
if test -r "$LUCENE_CORE_JAR"; then
13262
if test -r "$LUCENE_CORE_JAR"; then
14950
  eval "$as_ac_File=yes"
13263
  eval "$as_ac_File=yes"
14951
else
13264
else
14952
  eval "$as_ac_File=no"
13265
  eval "$as_ac_File=no"
14953
fi
13266
fi
14954
fi
13267
fi
14955
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13268
eval ac_res=\$$as_ac_File
14956
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13269
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14957
if test `eval echo '${'$as_ac_File'}'` = yes; then
13270
$as_echo "$ac_res" >&6; }
14958
  :
13271
eval as_val=\$$as_ac_File
14959
else
13272
   if test "x$as_val" = x""yes; then :
14960
   { { echo "$as_me:$LINENO: error: lucene-analyzers.jar not found." >&5
13273
14961
echo "$as_me: error: lucene-analyzers.jar not found." >&2;}
13274
else
14962
   { (exit 1); exit 1; }; }
13275
   as_fn_error "lucene-analyzers.jar not found." "$LINENO" 5
14963
fi
13276
fi
14964
13277
14965
        fi
13278
        fi
14966
else
13279
else
14967
    echo "$as_me:$LINENO: result: internal" >&5
13280
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
14968
echo "${ECHO_T}internal" >&6
13281
$as_echo "internal" >&6; }
14969
    SYSTEM_LUCENE=NO
13282
    SYSTEM_LUCENE=NO
14970
    BUILD_TYPE="$BUILD_TYPE LUCENE"
13283
    BUILD_TYPE="$BUILD_TYPE LUCENE"
14971
fi
13284
fi
Lines 14973-15016 Link Here
14973
13286
14974
13287
14975
13288
14976
echo "$as_me:$LINENO: checking whether to build the MySQL Connector extension" >&5
13289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the MySQL Connector extension" >&5
14977
echo $ECHO_N "checking whether to build the MySQL Connector extension... $ECHO_C" >&6
13290
$as_echo_n "checking whether to build the MySQL Connector extension... " >&6; }
14978
if test -n "$enable_mysql_connector" -a "$enable_mysql_connector" != "no"; then
13291
if test -n "$enable_mysql_connector" -a "$enable_mysql_connector" != "no"; then
14979
  echo "$as_me:$LINENO: result: yes" >&5
13292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14980
echo "${ECHO_T}yes" >&6
13293
$as_echo "yes" >&6; }
14981
  ENABLE_MYSQLC=YES
13294
  ENABLE_MYSQLC=YES
14982
  echo "$as_me:$LINENO: checking for mysqlc module" >&5
13295
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysqlc module" >&5
14983
echo $ECHO_N "checking for mysqlc module... $ECHO_C" >&6
13296
$as_echo_n "checking for mysqlc module... " >&6; }
14984
  if test -d mysqlc; then
13297
  if test -d mysqlc; then
14985
   echo "$as_me:$LINENO: result: OK" >&5
13298
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
14986
echo "${ECHO_T}OK" >&6
13299
$as_echo "OK" >&6; }
14987
  else
13300
  else
14988
   { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
13301
   as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
14989
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
14990
   { (exit 1); exit 1; }; }
14991
  fi
13302
  fi
14992
  BUILD_TYPE="$BUILD_TYPE MYSQLC"
13303
  BUILD_TYPE="$BUILD_TYPE MYSQLC"
14993
else
13304
else
14994
  echo "$as_me:$LINENO: result: no" >&5
13305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14995
echo "${ECHO_T}no" >&6
13306
$as_echo "no" >&6; }
14996
  ENABLE_MYSQLC=NO
13307
  ENABLE_MYSQLC=NO
14997
fi
13308
fi
14998
13309
14999
13310
15000
if test "$ENABLE_MYSQLC" = "YES"; then
13311
if test "$ENABLE_MYSQLC" = "YES"; then
15001
echo "$as_me:$LINENO: checking for mysql pre-requisites" >&5
13312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql pre-requisites" >&5
15002
echo $ECHO_N "checking for mysql pre-requisites... $ECHO_C" >&6
13313
$as_echo_n "checking for mysql pre-requisites... " >&6; }
15003
if test -n "$with_system_mysql" -o -n "$with_system_libs" && \
13314
if test -n "$with_system_mysql" -o -n "$with_system_libs" && \
15004
       test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then
13315
       test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then
15005
	echo "$as_me:$LINENO: result: external MySQL" >&5
13316
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: external MySQL" >&5
15006
echo "${ECHO_T}external MySQL" >&6
13317
$as_echo "external MySQL" >&6; }
15007
	SYSTEM_MYSQL=YES
13318
	SYSTEM_MYSQL=YES
15008
	# Extract the first word of "mysql_config", so it can be a program name with args.
13319
	# Extract the first word of "mysql_config", so it can be a program name with args.
15009
set dummy mysql_config; ac_word=$2
13320
set dummy mysql_config; ac_word=$2
15010
echo "$as_me:$LINENO: checking for $ac_word" >&5
13321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15011
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13322
$as_echo_n "checking for $ac_word... " >&6; }
15012
if test "${ac_cv_path_MYSQLCONFIG+set}" = set; then
13323
if test "${ac_cv_path_MYSQLCONFIG+set}" = set; then :
15013
  echo $ECHO_N "(cached) $ECHO_C" >&6
13324
  $as_echo_n "(cached) " >&6
15014
else
13325
else
15015
  case $MYSQLCONFIG in
13326
  case $MYSQLCONFIG in
15016
  [\\/]* | ?:[\\/]*)
13327
  [\\/]* | ?:[\\/]*)
Lines 15022-15103 Link Here
15022
do
13333
do
15023
  IFS=$as_save_IFS
13334
  IFS=$as_save_IFS
15024
  test -z "$as_dir" && as_dir=.
13335
  test -z "$as_dir" && as_dir=.
15025
  for ac_exec_ext in '' $ac_executable_extensions; do
13336
    for ac_exec_ext in '' $ac_executable_extensions; do
15026
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15027
    ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
13338
    ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
15028
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15029
    break 2
13340
    break 2
15030
  fi
13341
  fi
15031
done
13342
done
15032
done
13343
  done
13344
IFS=$as_save_IFS
15033
13345
15034
  ;;
13346
  ;;
15035
esac
13347
esac
15036
fi
13348
fi
15037
MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
13349
MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
15038
15039
if test -n "$MYSQLCONFIG"; then
13350
if test -n "$MYSQLCONFIG"; then
15040
  echo "$as_me:$LINENO: result: $MYSQLCONFIG" >&5
13351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQLCONFIG" >&5
15041
echo "${ECHO_T}$MYSQLCONFIG" >&6
13352
$as_echo "$MYSQLCONFIG" >&6; }
15042
else
13353
else
15043
  echo "$as_me:$LINENO: result: no" >&5
13354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15044
echo "${ECHO_T}no" >&6
13355
$as_echo "no" >&6; }
15045
fi
13356
fi
15046
13357
15047
	echo "$as_me:$LINENO: checking MySQL version" >&5
13358
15048
echo $ECHO_N "checking MySQL version... $ECHO_C" >&6
13359
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking MySQL version" >&5
13360
$as_echo_n "checking MySQL version... " >&6; }
15049
	MYSQL_VERSION=`$MYSQLCONFIG --version`
13361
	MYSQL_VERSION=`$MYSQLCONFIG --version`
15050
	MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1`
13362
	MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1`
15051
	if test "$MYSQL_MAJOR" -ge "5"; then
13363
	if test "$MYSQL_MAJOR" -ge "2"; then
15052
		echo "$as_me:$LINENO: result: OK" >&5
13364
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
15053
echo "${ECHO_T}OK" >&6
13365
$as_echo "OK" >&6; }
15054
	else
13366
	else
15055
		{ { echo "$as_me:$LINENO: error: too old, use 5.0.x or 5.1.x" >&5
13367
		as_fn_error "too old, use 5.0.x or 5.1.x" "$LINENO" 5
15056
echo "$as_me: error: too old, use 5.0.x or 5.1.x" >&2;}
15057
   { (exit 1); exit 1; }; }
15058
	fi
13368
	fi
15059
	echo "$as_me:$LINENO: checking for MySQL Client library" >&5
13369
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL Client library" >&5
15060
echo $ECHO_N "checking for MySQL Client library... $ECHO_C" >&6
13370
$as_echo_n "checking for MySQL Client library... " >&6; }
15061
	MYSQL_INC=`$MYSQLCONFIG --include`
13371
	MYSQL_INC=`$MYSQLCONFIG --include`
15062
	MYSQL_LIB=`$MYSQLCONFIG --libs`
13372
	MYSQL_LIB=`$MYSQLCONFIG --libs`
15063
	MYSQL_DEFINES=`$MYSQLCONFIG --cflags | sed -e s,$MYSQL_INC,,`
13373
	MYSQL_DEFINES=`$MYSQLCONFIG --cflags | sed -e s,$MYSQL_INC,,`
15064
	echo "$as_me:$LINENO: result: includes $MYSQL_INC, libraries $MYSQL_LIB" >&5
13374
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: includes $MYSQL_INC, libraries $MYSQL_LIB" >&5
15065
echo "${ECHO_T}includes $MYSQL_INC, libraries $MYSQL_LIB" >&6
13375
$as_echo "includes $MYSQL_INC, libraries $MYSQL_LIB" >&6; }
15066
else
13376
else
15067
    SYSTEM_MYSQL=NO
13377
    SYSTEM_MYSQL=NO
15068
    if test -n "$with_libmysql_path"; then
13378
    if test -n "$with_libmysql_path"; then
15069
        echo "$as_me:$LINENO: result: external Connector/C (libmysql)" >&5
13379
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external Connector/C (libmysql)" >&5
15070
echo "${ECHO_T}external Connector/C (libmysql)" >&6
13380
$as_echo "external Connector/C (libmysql)" >&6; }
15071
        LIBMYSQL=libmysql.so
13381
        LIBMYSQL=libmysql.so
15072
        if test "$_os" = "Darwin"; then
13382
        if test "$_os" = "Darwin"; then
15073
            LIBMYSQL=libmysql.dylib
13383
            LIBMYSQL=libmysql.dylib
15074
        elif test "$_os" = "WINNT"; then
13384
        elif test "$_os" = "WINNT"; then
15075
            LIBMYSQL=libmysql.dll
13385
            LIBMYSQL=libmysql.dll
15076
        fi
13386
        fi
15077
        echo "$as_me:$LINENO: checking for $LIBMYSQL" >&5
13387
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBMYSQL" >&5
15078
echo $ECHO_N "checking for $LIBMYSQL... $ECHO_C" >&6
13388
$as_echo_n "checking for $LIBMYSQL... " >&6; }
15079
        if test -e "$with_libmysql_path/lib/$LIBMYSQL"; then
13389
        if test -e "$with_libmysql_path/lib/$LIBMYSQL"; then
15080
            echo "$as_me:$LINENO: result: found." >&5
13390
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
15081
echo "${ECHO_T}found." >&6
13391
$as_echo "found." >&6; }
15082
            LIBMYSQL_PATH=$with_libmysql_path
13392
            LIBMYSQL_PATH=$with_libmysql_path
15083
        else
13393
        else
15084
            { { echo "$as_me:$LINENO: error: not found. Please specify proper path in --with-libmysql-path." >&5
13394
            as_fn_error "not found. Please specify proper path in --with-libmysql-path." "$LINENO" 5
15085
echo "$as_me: error: not found. Please specify proper path in --with-libmysql-path." >&2;}
15086
   { (exit 1); exit 1; }; }
15087
        fi
13395
        fi
15088
    else
13396
    else
15089
        { { echo "$as_me:$LINENO: error: not given. Please specify either --with-system-mysql or --with-libmysql-path" >&5
13397
        as_fn_error "not given. Please specify either --with-system-mysql or --with-libmysql-path" "$LINENO" 5
15090
echo "$as_me: error: not given. Please specify either --with-system-mysql or --with-libmysql-path" >&2;}
13398
    fi
15091
   { (exit 1); exit 1; }; }
13399
fi
15092
    fi
13400
15093
fi
13401
15094
13402
15095
13403
15096
13404
15097
13405
15098
13406
ac_ext=cpp
15099
15100
ac_ext=cc
15101
ac_cpp='$CXXCPP $CPPFLAGS'
13407
ac_cpp='$CXXCPP $CPPFLAGS'
15102
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13408
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15103
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13409
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 15105-15329 Link Here
15105
13411
15106
# FIXME!
13412
# FIXME!
15107
# who thought this too-generic cppconn dir was a good idea?
13413
# who thought this too-generic cppconn dir was a good idea?
15108
echo "$as_me:$LINENO: checking MySQL Connector/C++" >&5
13414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking MySQL Connector/C++" >&5
15109
echo $ECHO_N "checking MySQL Connector/C++... $ECHO_C" >&6
13415
$as_echo_n "checking MySQL Connector/C++... " >&6; }
15110
if test -n "$with_system_mysql_cppconn" -o -n "$with_system_libs" && \
13416
if test -n "$with_system_mysql_cppconn" -o -n "$with_system_libs" && \
15111
		test "$with_system_mysql_cppconn" != "no" && test "$with_system_libs" != "no"; then
13417
		test "$with_system_mysql_cppconn" != "no" && test "$with_system_libs" != "no"; then
15112
	echo "$as_me:$LINENO: result: external" >&5
13418
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15113
echo "${ECHO_T}external" >&6
13419
$as_echo "external" >&6; }
15114
	SYSTEM_MYSQL_CPPCONN=YES
13420
	SYSTEM_MYSQL_CPPCONN=YES
15115
        ac_ext=cc
13421
        ac_ext=cpp
15116
ac_cpp='$CXXCPP $CPPFLAGS'
13422
ac_cpp='$CXXCPP $CPPFLAGS'
15117
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13423
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13424
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13425
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120
13426
15121
	if test "${ac_cv_header_mysql_driver_h+set}" = set; then
13427
	ac_fn_cxx_check_header_mongrel "$LINENO" "mysql_driver.h" "ac_cv_header_mysql_driver_h" "$ac_includes_default"
15122
  echo "$as_me:$LINENO: checking for mysql_driver.h" >&5
13428
if test "x$ac_cv_header_mysql_driver_h" = x""yes; then :
15123
echo $ECHO_N "checking for mysql_driver.h... $ECHO_C" >&6
13429
15124
if test "${ac_cv_header_mysql_driver_h+set}" = set; then
13430
else
15125
  echo $ECHO_N "(cached) $ECHO_C" >&6
13431
  as_fn_error "mysql_driver.h not found. install MySQL C++ Connectivity" "$LINENO" 5
15126
fi
13432
fi
15127
echo "$as_me:$LINENO: result: $ac_cv_header_mysql_driver_h" >&5
13433
15128
echo "${ECHO_T}$ac_cv_header_mysql_driver_h" >&6
13434
15129
else
13435
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmysqlcppconn" >&5
15130
  # Is the header compilable?
13436
$as_echo_n "checking for main in -lmysqlcppconn... " >&6; }
15131
echo "$as_me:$LINENO: checking mysql_driver.h usability" >&5
13437
if test "${ac_cv_lib_mysqlcppconn_main+set}" = set; then :
15132
echo $ECHO_N "checking mysql_driver.h usability... $ECHO_C" >&6
13438
  $as_echo_n "(cached) " >&6
15133
cat >conftest.$ac_ext <<_ACEOF
15134
/* confdefs.h.  */
15135
_ACEOF
15136
cat confdefs.h >>conftest.$ac_ext
15137
cat >>conftest.$ac_ext <<_ACEOF
15138
/* end confdefs.h.  */
15139
$ac_includes_default
15140
#include <mysql_driver.h>
15141
_ACEOF
15142
rm -f conftest.$ac_objext
15143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144
  (eval $ac_compile) 2>conftest.er1
15145
  ac_status=$?
15146
  grep -v '^ *+' conftest.er1 >conftest.err
15147
  rm -f conftest.er1
15148
  cat conftest.err >&5
15149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150
  (exit $ac_status); } &&
15151
	 { ac_try='test -z "$ac_cxx_werror_flag"
15152
			 || test ! -s conftest.err'
15153
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154
  (eval $ac_try) 2>&5
15155
  ac_status=$?
15156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157
  (exit $ac_status); }; } &&
15158
	 { ac_try='test -s conftest.$ac_objext'
15159
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160
  (eval $ac_try) 2>&5
15161
  ac_status=$?
15162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163
  (exit $ac_status); }; }; then
15164
  ac_header_compiler=yes
15165
else
15166
  echo "$as_me: failed program was:" >&5
15167
sed 's/^/| /' conftest.$ac_ext >&5
15168
15169
ac_header_compiler=no
15170
fi
15171
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15172
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15173
echo "${ECHO_T}$ac_header_compiler" >&6
15174
15175
# Is the header present?
15176
echo "$as_me:$LINENO: checking mysql_driver.h presence" >&5
15177
echo $ECHO_N "checking mysql_driver.h presence... $ECHO_C" >&6
15178
cat >conftest.$ac_ext <<_ACEOF
15179
/* confdefs.h.  */
15180
_ACEOF
15181
cat confdefs.h >>conftest.$ac_ext
15182
cat >>conftest.$ac_ext <<_ACEOF
15183
/* end confdefs.h.  */
15184
#include <mysql_driver.h>
15185
_ACEOF
15186
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15187
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15188
  ac_status=$?
15189
  grep -v '^ *+' conftest.er1 >conftest.err
15190
  rm -f conftest.er1
15191
  cat conftest.err >&5
15192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193
  (exit $ac_status); } >/dev/null; then
15194
  if test -s conftest.err; then
15195
    ac_cpp_err=$ac_cxx_preproc_warn_flag
15196
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15197
  else
15198
    ac_cpp_err=
15199
  fi
15200
else
15201
  ac_cpp_err=yes
15202
fi
15203
if test -z "$ac_cpp_err"; then
15204
  ac_header_preproc=yes
15205
else
15206
  echo "$as_me: failed program was:" >&5
15207
sed 's/^/| /' conftest.$ac_ext >&5
15208
15209
  ac_header_preproc=no
15210
fi
15211
rm -f conftest.err conftest.$ac_ext
15212
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15213
echo "${ECHO_T}$ac_header_preproc" >&6
15214
15215
# So?  What about this header?
15216
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15217
  yes:no: )
15218
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: accepted by the compiler, rejected by the preprocessor!" >&5
15219
echo "$as_me: WARNING: mysql_driver.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15220
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: proceeding with the compiler's result" >&5
15221
echo "$as_me: WARNING: mysql_driver.h: proceeding with the compiler's result" >&2;}
15222
    ac_header_preproc=yes
15223
    ;;
15224
  no:yes:* )
15225
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: present but cannot be compiled" >&5
15226
echo "$as_me: WARNING: mysql_driver.h: present but cannot be compiled" >&2;}
15227
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h:     check for missing prerequisite headers?" >&5
15228
echo "$as_me: WARNING: mysql_driver.h:     check for missing prerequisite headers?" >&2;}
15229
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: see the Autoconf documentation" >&5
15230
echo "$as_me: WARNING: mysql_driver.h: see the Autoconf documentation" >&2;}
15231
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h:     section \"Present But Cannot Be Compiled\"" >&5
15232
echo "$as_me: WARNING: mysql_driver.h:     section \"Present But Cannot Be Compiled\"" >&2;}
15233
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: proceeding with the preprocessor's result" >&5
15234
echo "$as_me: WARNING: mysql_driver.h: proceeding with the preprocessor's result" >&2;}
15235
    { echo "$as_me:$LINENO: WARNING: mysql_driver.h: in the future, the compiler will take precedence" >&5
15236
echo "$as_me: WARNING: mysql_driver.h: in the future, the compiler will take precedence" >&2;}
15237
    (
15238
      cat <<\_ASBOX
15239
## ------------------------------------------ ##
15240
## Report this to the AC_PACKAGE_NAME lists.  ##
15241
## ------------------------------------------ ##
15242
_ASBOX
15243
    ) |
15244
      sed "s/^/$as_me: WARNING:     /" >&2
15245
    ;;
15246
esac
15247
echo "$as_me:$LINENO: checking for mysql_driver.h" >&5
15248
echo $ECHO_N "checking for mysql_driver.h... $ECHO_C" >&6
15249
if test "${ac_cv_header_mysql_driver_h+set}" = set; then
15250
  echo $ECHO_N "(cached) $ECHO_C" >&6
15251
else
15252
  ac_cv_header_mysql_driver_h=$ac_header_preproc
15253
fi
15254
echo "$as_me:$LINENO: result: $ac_cv_header_mysql_driver_h" >&5
15255
echo "${ECHO_T}$ac_cv_header_mysql_driver_h" >&6
15256
15257
fi
15258
if test $ac_cv_header_mysql_driver_h = yes; then
15259
  :
15260
else
15261
  { { echo "$as_me:$LINENO: error: mysql_driver.h not found. install MySQL C++ Connectivity" >&5
15262
echo "$as_me: error: mysql_driver.h not found. install MySQL C++ Connectivity" >&2;}
15263
   { (exit 1); exit 1; }; }
15264
fi
15265
15266
15267
15268
echo "$as_me:$LINENO: checking for main in -lmysqlcppconn" >&5
15269
echo $ECHO_N "checking for main in -lmysqlcppconn... $ECHO_C" >&6
15270
if test "${ac_cv_lib_mysqlcppconn_main+set}" = set; then
15271
  echo $ECHO_N "(cached) $ECHO_C" >&6
15272
else
13439
else
15273
  ac_check_lib_save_LIBS=$LIBS
13440
  ac_check_lib_save_LIBS=$LIBS
15274
LIBS="-lmysqlcppconn  $LIBS"
13441
LIBS="-lmysqlcppconn  $LIBS"
15275
cat >conftest.$ac_ext <<_ACEOF
13442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276
/* confdefs.h.  */
13443
/* end confdefs.h.  */
15277
_ACEOF
13444
15278
cat confdefs.h >>conftest.$ac_ext
13445
15279
cat >>conftest.$ac_ext <<_ACEOF
13446
int
15280
/* end confdefs.h.  */
13447
main ()
15281
13448
{
15282
13449
return main ();
15283
int
13450
  ;
15284
main ()
13451
  return 0;
15285
{
13452
}
15286
main ();
13453
_ACEOF
15287
  ;
13454
if ac_fn_cxx_try_link "$LINENO"; then :
15288
  return 0;
15289
}
15290
_ACEOF
15291
rm -f conftest.$ac_objext conftest$ac_exeext
15292
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293
  (eval $ac_link) 2>conftest.er1
15294
  ac_status=$?
15295
  grep -v '^ *+' conftest.er1 >conftest.err
15296
  rm -f conftest.er1
15297
  cat conftest.err >&5
15298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299
  (exit $ac_status); } &&
15300
	 { ac_try='test -z "$ac_cxx_werror_flag"
15301
			 || test ! -s conftest.err'
15302
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303
  (eval $ac_try) 2>&5
15304
  ac_status=$?
15305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306
  (exit $ac_status); }; } &&
15307
	 { ac_try='test -s conftest$ac_exeext'
15308
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309
  (eval $ac_try) 2>&5
15310
  ac_status=$?
15311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312
  (exit $ac_status); }; }; then
15313
  ac_cv_lib_mysqlcppconn_main=yes
13455
  ac_cv_lib_mysqlcppconn_main=yes
15314
else
13456
else
15315
  echo "$as_me: failed program was:" >&5
13457
  ac_cv_lib_mysqlcppconn_main=no
15316
sed 's/^/| /' conftest.$ac_ext >&5
13458
fi
15317
13459
rm -f core conftest.err conftest.$ac_objext \
15318
ac_cv_lib_mysqlcppconn_main=no
13460
    conftest$ac_exeext conftest.$ac_ext
15319
fi
15320
rm -f conftest.err conftest.$ac_objext \
15321
      conftest$ac_exeext conftest.$ac_ext
15322
LIBS=$ac_check_lib_save_LIBS
13461
LIBS=$ac_check_lib_save_LIBS
15323
fi
13462
fi
15324
echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlcppconn_main" >&5
13463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlcppconn_main" >&5
15325
echo "${ECHO_T}$ac_cv_lib_mysqlcppconn_main" >&6
13464
$as_echo "$ac_cv_lib_mysqlcppconn_main" >&6; }
15326
if test $ac_cv_lib_mysqlcppconn_main = yes; then
13465
if test "x$ac_cv_lib_mysqlcppconn_main" = x""yes; then :
15327
  cat >>confdefs.h <<_ACEOF
13466
  cat >>confdefs.h <<_ACEOF
15328
#define HAVE_LIBMYSQLCPPCONN 1
13467
#define HAVE_LIBMYSQLCPPCONN 1
15329
_ACEOF
13468
_ACEOF
Lines 15331-15355 Link Here
15331
  LIBS="-lmysqlcppconn $LIBS"
13470
  LIBS="-lmysqlcppconn $LIBS"
15332
13471
15333
else
13472
else
15334
  { { echo "$as_me:$LINENO: error: MySQL C++ Connectivity lib not found or functional" >&5
13473
  as_fn_error "MySQL C++ Connectivity lib not found or functional" "$LINENO" 5
15335
echo "$as_me: error: MySQL C++ Connectivity lib not found or functional" >&2;}
13474
fi
15336
   { (exit 1); exit 1; }; }
13475
15337
fi
13476
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version" >&5
15338
13477
$as_echo_n "checking version... " >&6; }
15339
   echo "$as_me:$LINENO: checking version" >&5
13478
      if test "$cross_compiling" = yes; then :
15340
echo $ECHO_N "checking version... $ECHO_C" >&6
13479
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15341
      if test "$cross_compiling" = yes; then
13480
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15342
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13481
as_fn_error "cannot run test program while cross compiling
15343
See \`config.log' for more details." >&5
13482
See \`config.log' for more details." "$LINENO" 5; }
15344
echo "$as_me: error: cannot run test program while cross compiling
13483
else
15345
See \`config.log' for more details." >&2;}
13484
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346
   { (exit 1); exit 1; }; }
15347
else
15348
  cat >conftest.$ac_ext <<_ACEOF
15349
/* confdefs.h.  */
15350
_ACEOF
15351
cat confdefs.h >>conftest.$ac_ext
15352
cat >>conftest.$ac_ext <<_ACEOF
15353
/* end confdefs.h.  */
13485
/* end confdefs.h.  */
15354
13486
15355
#include <mysql_driver.h>
13487
#include <mysql_driver.h>
Lines 15366-15397 Link Here
15366
}
13498
}
15367
13499
15368
_ACEOF
13500
_ACEOF
15369
rm -f conftest$ac_exeext
13501
if ac_fn_cxx_try_run "$LINENO"; then :
15370
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
15371
  (eval $ac_link) 2>&5
13503
$as_echo "OK" >&6; }
15372
  ac_status=$?
13504
else
15373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505
  as_fn_error "not suitable, we need >= 1.0.6" "$LINENO" 5
15374
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13506
fi
15375
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15376
  (eval $ac_try) 2>&5
13508
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15377
  ac_status=$?
13509
fi
15378
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510
15379
  (exit $ac_status); }; }; then
13511
        ac_ext=cpp
15380
  echo "$as_me:$LINENO: result: OK" >&5
15381
echo "${ECHO_T}OK" >&6
15382
else
15383
  echo "$as_me: program exited with status $ac_status" >&5
15384
echo "$as_me: failed program was:" >&5
15385
sed 's/^/| /' conftest.$ac_ext >&5
15386
15387
( exit $ac_status )
15388
{ { echo "$as_me:$LINENO: error: not suitable, we need >= 1.0.6" >&5
15389
echo "$as_me: error: not suitable, we need >= 1.0.6" >&2;}
15390
   { (exit 1); exit 1; }; }
15391
fi
15392
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15393
fi
15394
        ac_ext=cc
15395
ac_cpp='$CXXCPP $CPPFLAGS'
13512
ac_cpp='$CXXCPP $CPPFLAGS'
15396
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13513
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15397
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13514
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 15399-15415 Link Here
15399
13516
15400
13517
15401
else
13518
else
15402
	echo "$as_me:$LINENO: result: internal" >&5
13519
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
15403
echo "${ECHO_T}internal" >&6
13520
$as_echo "internal" >&6; }
15404
        echo "$as_me:$LINENO: checking for mysqlcppconn module" >&5
13521
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysqlcppconn module" >&5
15405
echo $ECHO_N "checking for mysqlcppconn module... $ECHO_C" >&6
13522
$as_echo_n "checking for mysqlcppconn module... " >&6; }
15406
        if test -d mysqlcppconn; then
13523
        if test -d mysqlcppconn; then
15407
          echo "$as_me:$LINENO: result: OK" >&5
13524
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
15408
echo "${ECHO_T}OK" >&6
13525
$as_echo "OK" >&6; }
15409
        else
13526
        else
15410
          { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
13527
          as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
15411
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
15412
   { (exit 1); exit 1; }; }
15413
        fi
13528
        fi
15414
	BUILD_TYPE="$BUILD_TYPE MYSQLCPPCONN"
13529
	BUILD_TYPE="$BUILD_TYPE MYSQLCPPCONN"
15415
	SYSTEM_MYSQL_CPPCONN=NO
13530
	SYSTEM_MYSQL_CPPCONN=NO
Lines 15423-15466 Link Here
15423
13538
15424
fi
13539
fi
15425
13540
15426
echo "$as_me:$LINENO: checking which hsqldb to use" >&5
13541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which hsqldb to use" >&5
15427
echo $ECHO_N "checking which hsqldb to use... $ECHO_C" >&6
13542
$as_echo_n "checking which hsqldb to use... " >&6; }
15428
if test -n "$with_system_hsqldb" -o -n "$with_system_libs" && \
13543
if test -n "$with_system_hsqldb" -o -n "$with_system_libs" && \
15429
       test "$with_system_hsqldb" != "no" && test "$with_system_jars" != "no"; then
13544
       test "$with_system_hsqldb" != "no" && test "$with_system_jars" != "no"; then
15430
        echo "$as_me:$LINENO: result: external" >&5
13545
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15431
echo "${ECHO_T}external" >&6
13546
$as_echo "external" >&6; }
15432
        SYSTEM_HSQLDB=YES
13547
        SYSTEM_HSQLDB=YES
15433
        if test -z $HSQLDB_JAR; then
13548
        if test -z $HSQLDB_JAR; then
15434
               HSQLDB_JAR=/usr/share/java/hsqldb.jar
13549
               HSQLDB_JAR=/usr/share/java/hsqldb.jar
15435
        fi
13550
        fi
15436
        as_ac_File=`echo "ac_cv_file_$HSQLDB_JAR" | $as_tr_sh`
13551
        as_ac_File=`$as_echo "ac_cv_file_$HSQLDB_JAR" | $as_tr_sh`
15437
echo "$as_me:$LINENO: checking for $HSQLDB_JAR" >&5
13552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $HSQLDB_JAR" >&5
15438
echo $ECHO_N "checking for $HSQLDB_JAR... $ECHO_C" >&6
13553
$as_echo_n "checking for $HSQLDB_JAR... " >&6; }
15439
if eval "test \"\${$as_ac_File+set}\" = set"; then
13554
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15440
  echo $ECHO_N "(cached) $ECHO_C" >&6
13555
  $as_echo_n "(cached) " >&6
15441
else
13556
else
15442
  test "$cross_compiling" = yes &&
13557
  test "$cross_compiling" = yes &&
15443
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13558
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15444
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15445
   { (exit 1); exit 1; }; }
15446
if test -r "$HSQLDB_JAR"; then
13559
if test -r "$HSQLDB_JAR"; then
15447
  eval "$as_ac_File=yes"
13560
  eval "$as_ac_File=yes"
15448
else
13561
else
15449
  eval "$as_ac_File=no"
13562
  eval "$as_ac_File=no"
15450
fi
13563
fi
15451
fi
13564
fi
15452
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13565
eval ac_res=\$$as_ac_File
15453
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13566
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15454
if test `eval echo '${'$as_ac_File'}'` = yes; then
13567
$as_echo "$ac_res" >&6; }
15455
  :
13568
eval as_val=\$$as_ac_File
15456
else
13569
   if test "x$as_val" = x""yes; then :
15457
  { { echo "$as_me:$LINENO: error: hsqldb.jar not found." >&5
13570
15458
echo "$as_me: error: hsqldb.jar not found." >&2;}
13571
else
15459
   { (exit 1); exit 1; }; }
13572
  as_fn_error "hsqldb.jar not found." "$LINENO" 5
15460
fi
13573
fi
15461
13574
15462
        echo "$as_me:$LINENO: checking whether hsqldb is >= 1.8.0.9" >&5
13575
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hsqldb is >= 1.8.0.9" >&5
15463
echo $ECHO_N "checking whether hsqldb is >= 1.8.0.9... $ECHO_C" >&6
13576
$as_echo_n "checking whether hsqldb is >= 1.8.0.9... " >&6; }
15464
        export HSQLDB_JAR
13577
        export HSQLDB_JAR
15465
        if $PERL -e 'use Archive::Zip;
13578
        if $PERL -e 'use Archive::Zip;
15466
            my $file = "$ENV{'HSQLDB_JAR'}";
13579
            my $file = "$ENV{'HSQLDB_JAR'}";
Lines 15483-15543 Link Here
15483
	    } else {
13596
	    } else {
15484
	        exit 1;
13597
	        exit 1;
15485
            }'; then
13598
            }'; then
15486
            echo "$as_me:$LINENO: result: yes" >&5
13599
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15487
echo "${ECHO_T}yes" >&6
13600
$as_echo "yes" >&6; }
15488
         else
13601
         else
15489
            { { echo "$as_me:$LINENO: error: no, hsqldb >= 1.8.0.9 is needed" >&5
13602
            as_fn_error "no, hsqldb >= 1.8.0.9 is needed" "$LINENO" 5
15490
echo "$as_me: error: no, hsqldb >= 1.8.0.9 is needed" >&2;}
15491
   { (exit 1); exit 1; }; }
15492
         fi
13603
         fi
15493
else
13604
else
15494
    echo "$as_me:$LINENO: result: internal" >&5
13605
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
15495
echo "${ECHO_T}internal" >&6
13606
$as_echo "internal" >&6; }
15496
    SYSTEM_HSQLDB=NO
13607
    SYSTEM_HSQLDB=NO
15497
    BUILD_TYPE="$BUILD_TYPE HSQLDB"
13608
    BUILD_TYPE="$BUILD_TYPE HSQLDB"
15498
fi
13609
fi
15499
13610
15500
13611
15501
13612
15502
echo "$as_me:$LINENO: checking which beanshell to use" >&5
13613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which beanshell to use" >&5
15503
echo $ECHO_N "checking which beanshell to use... $ECHO_C" >&6
13614
$as_echo_n "checking which beanshell to use... " >&6; }
15504
if test -n "$with_system_beanshell" -o -n "$with_system_libs" && \
13615
if test -n "$with_system_beanshell" -o -n "$with_system_libs" && \
15505
       test "$with_system_beanshell" != "no" && test "$with_system_jars" != "no"; then
13616
       test "$with_system_beanshell" != "no" && test "$with_system_jars" != "no"; then
15506
        echo "$as_me:$LINENO: result: external" >&5
13617
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15507
echo "${ECHO_T}external" >&6
13618
$as_echo "external" >&6; }
15508
        SYSTEM_BSH=YES
13619
        SYSTEM_BSH=YES
15509
        if test -z $BSH_JAR; then
13620
        if test -z $BSH_JAR; then
15510
               BSH_JAR=/usr/share/java/bsh.jar
13621
               BSH_JAR=/usr/share/java/bsh.jar
15511
        fi
13622
        fi
15512
        as_ac_File=`echo "ac_cv_file_$BSH_JAR" | $as_tr_sh`
13623
        as_ac_File=`$as_echo "ac_cv_file_$BSH_JAR" | $as_tr_sh`
15513
echo "$as_me:$LINENO: checking for $BSH_JAR" >&5
13624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $BSH_JAR" >&5
15514
echo $ECHO_N "checking for $BSH_JAR... $ECHO_C" >&6
13625
$as_echo_n "checking for $BSH_JAR... " >&6; }
15515
if eval "test \"\${$as_ac_File+set}\" = set"; then
13626
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15516
  echo $ECHO_N "(cached) $ECHO_C" >&6
13627
  $as_echo_n "(cached) " >&6
15517
else
13628
else
15518
  test "$cross_compiling" = yes &&
13629
  test "$cross_compiling" = yes &&
15519
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13630
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15520
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15521
   { (exit 1); exit 1; }; }
15522
if test -r "$BSH_JAR"; then
13631
if test -r "$BSH_JAR"; then
15523
  eval "$as_ac_File=yes"
13632
  eval "$as_ac_File=yes"
15524
else
13633
else
15525
  eval "$as_ac_File=no"
13634
  eval "$as_ac_File=no"
15526
fi
13635
fi
15527
fi
13636
fi
15528
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13637
eval ac_res=\$$as_ac_File
15529
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13638
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15530
if test `eval echo '${'$as_ac_File'}'` = yes; then
13639
$as_echo "$ac_res" >&6; }
15531
  :
13640
eval as_val=\$$as_ac_File
15532
else
13641
   if test "x$as_val" = x""yes; then :
15533
  { { echo "$as_me:$LINENO: error: bsh.jar not found." >&5
13642
15534
echo "$as_me: error: bsh.jar not found." >&2;}
13643
else
15535
   { (exit 1); exit 1; }; }
13644
  as_fn_error "bsh.jar not found." "$LINENO" 5
15536
fi
13645
fi
15537
13646
15538
else
13647
else
15539
    echo "$as_me:$LINENO: result: internal" >&5
13648
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
15540
echo "${ECHO_T}internal" >&6
13649
$as_echo "internal" >&6; }
15541
    SYSTEM_BSH=NO
13650
    SYSTEM_BSH=NO
15542
    BUILD_TYPE="$BUILD_TYPE BSH"
13651
    BUILD_TYPE="$BUILD_TYPE BSH"
15543
fi
13652
fi
Lines 15545-15694 Link Here
15545
13654
15546
13655
15547
13656
15548
echo "$as_me:$LINENO: checking which saxon to use" >&5
13657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which saxon to use" >&5
15549
echo $ECHO_N "checking which saxon to use... $ECHO_C" >&6
13658
$as_echo_n "checking which saxon to use... " >&6; }
15550
if test -n "$with_system_saxon" -o -n "$with_system_libs" && \
13659
if test -n "$with_system_saxon" -o -n "$with_system_libs" && \
15551
       test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then
13660
       test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then
15552
        echo "$as_me:$LINENO: result: external" >&5
13661
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15553
echo "${ECHO_T}external" >&6
13662
$as_echo "external" >&6; }
15554
        SYSTEM_SAXON=YES
13663
        SYSTEM_SAXON=YES
15555
        if test -z $SAXON_JAR; then
13664
        if test -z $SAXON_JAR; then
15556
          echo "$as_me:$LINENO: checking for /usr/share/java/saxon9.jar" >&5
13665
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/saxon9.jar" >&5
15557
echo $ECHO_N "checking for /usr/share/java/saxon9.jar... $ECHO_C" >&6
13666
$as_echo_n "checking for /usr/share/java/saxon9.jar... " >&6; }
15558
if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then
13667
if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then :
15559
  echo $ECHO_N "(cached) $ECHO_C" >&6
13668
  $as_echo_n "(cached) " >&6
15560
else
13669
else
15561
  test "$cross_compiling" = yes &&
13670
  test "$cross_compiling" = yes &&
15562
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13671
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15563
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15564
   { (exit 1); exit 1; }; }
15565
if test -r "/usr/share/java/saxon9.jar"; then
13672
if test -r "/usr/share/java/saxon9.jar"; then
15566
  ac_cv_file__usr_share_java_saxon9_jar=yes
13673
  ac_cv_file__usr_share_java_saxon9_jar=yes
15567
else
13674
else
15568
  ac_cv_file__usr_share_java_saxon9_jar=no
13675
  ac_cv_file__usr_share_java_saxon9_jar=no
15569
fi
13676
fi
15570
fi
13677
fi
15571
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
13678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
15572
echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon9_jar" >&6
13679
$as_echo "$ac_cv_file__usr_share_java_saxon9_jar" >&6; }
15573
if test $ac_cv_file__usr_share_java_saxon9_jar = yes; then
13680
if test "x$ac_cv_file__usr_share_java_saxon9_jar" = x""yes; then :
15574
   SAXON_JAR=/usr/share/java/saxon9.jar
13681
   SAXON_JAR=/usr/share/java/saxon9.jar
15575
else
13682
else
15576
13683
15577
              echo "$as_me:$LINENO: checking for /usr/share/java/saxon.jar" >&5
13684
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/saxon.jar" >&5
15578
echo $ECHO_N "checking for /usr/share/java/saxon.jar... $ECHO_C" >&6
13685
$as_echo_n "checking for /usr/share/java/saxon.jar... " >&6; }
15579
if test "${ac_cv_file__usr_share_java_saxon_jar+set}" = set; then
13686
if test "${ac_cv_file__usr_share_java_saxon_jar+set}" = set; then :
15580
  echo $ECHO_N "(cached) $ECHO_C" >&6
13687
  $as_echo_n "(cached) " >&6
15581
else
13688
else
15582
  test "$cross_compiling" = yes &&
13689
  test "$cross_compiling" = yes &&
15583
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13690
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15584
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15585
   { (exit 1); exit 1; }; }
15586
if test -r "/usr/share/java/saxon.jar"; then
13691
if test -r "/usr/share/java/saxon.jar"; then
15587
  ac_cv_file__usr_share_java_saxon_jar=yes
13692
  ac_cv_file__usr_share_java_saxon_jar=yes
15588
else
13693
else
15589
  ac_cv_file__usr_share_java_saxon_jar=no
13694
  ac_cv_file__usr_share_java_saxon_jar=no
15590
fi
13695
fi
15591
fi
13696
fi
15592
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon_jar" >&5
13697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_saxon_jar" >&5
15593
echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon_jar" >&6
13698
$as_echo "$ac_cv_file__usr_share_java_saxon_jar" >&6; }
15594
if test $ac_cv_file__usr_share_java_saxon_jar = yes; then
13699
if test "x$ac_cv_file__usr_share_java_saxon_jar" = x""yes; then :
15595
   SAXON_JAR=/usr/share/java/saxon.jar
13700
   SAXON_JAR=/usr/share/java/saxon.jar
15596
else
13701
else
15597
   echo "$as_me:$LINENO: checking for /usr/share/java/saxon9.jar" >&5
13702
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/saxon9.jar" >&5
15598
echo $ECHO_N "checking for /usr/share/java/saxon9.jar... $ECHO_C" >&6
13703
$as_echo_n "checking for /usr/share/java/saxon9.jar... " >&6; }
15599
if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then
13704
if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then :
15600
  echo $ECHO_N "(cached) $ECHO_C" >&6
13705
  $as_echo_n "(cached) " >&6
15601
else
13706
else
15602
  test "$cross_compiling" = yes &&
13707
  test "$cross_compiling" = yes &&
15603
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13708
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15604
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15605
   { (exit 1); exit 1; }; }
15606
if test -r "/usr/share/java/saxon9.jar"; then
13709
if test -r "/usr/share/java/saxon9.jar"; then
15607
  ac_cv_file__usr_share_java_saxon9_jar=yes
13710
  ac_cv_file__usr_share_java_saxon9_jar=yes
15608
else
13711
else
15609
  ac_cv_file__usr_share_java_saxon9_jar=no
13712
  ac_cv_file__usr_share_java_saxon9_jar=no
15610
fi
13713
fi
15611
fi
13714
fi
15612
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
13715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
15613
echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon9_jar" >&6
13716
$as_echo "$ac_cv_file__usr_share_java_saxon9_jar" >&6; }
15614
if test $ac_cv_file__usr_share_java_saxon9_jar = yes; then
13717
if test "x$ac_cv_file__usr_share_java_saxon9_jar" = x""yes; then :
15615
   SAXON_JAR=/usr/share/java/saxon9.jar
13718
   SAXON_JAR=/usr/share/java/saxon9.jar
15616
else
13719
else
15617
   { { echo "$as_me:$LINENO: error: saxon.jar replacement not found" >&5
13720
   as_fn_error "saxon.jar replacement not found" "$LINENO" 5
15618
echo "$as_me: error: saxon.jar replacement not found" >&2;}
13721
15619
   { (exit 1); exit 1; }; }
13722
fi
15620
13723
15621
fi
13724
15622
13725
15623
13726
fi
15624
13727
15625
fi
13728
15626
13729
15627
13730
fi
15628
13731
15629
fi
13732
        else
15630
13733
          as_ac_File=`$as_echo "ac_cv_file_$SAXON_JAR" | $as_tr_sh`
15631
        else
13734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SAXON_JAR" >&5
15632
          as_ac_File=`echo "ac_cv_file_$SAXON_JAR" | $as_tr_sh`
13735
$as_echo_n "checking for $SAXON_JAR... " >&6; }
15633
echo "$as_me:$LINENO: checking for $SAXON_JAR" >&5
13736
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15634
echo $ECHO_N "checking for $SAXON_JAR... $ECHO_C" >&6
13737
  $as_echo_n "(cached) " >&6
15635
if eval "test \"\${$as_ac_File+set}\" = set"; then
13738
else
15636
  echo $ECHO_N "(cached) $ECHO_C" >&6
13739
  test "$cross_compiling" = yes &&
15637
else
13740
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15638
  test "$cross_compiling" = yes &&
15639
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15640
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15641
   { (exit 1); exit 1; }; }
15642
if test -r "$SAXON_JAR"; then
13741
if test -r "$SAXON_JAR"; then
15643
  eval "$as_ac_File=yes"
13742
  eval "$as_ac_File=yes"
15644
else
13743
else
15645
  eval "$as_ac_File=no"
13744
  eval "$as_ac_File=no"
15646
fi
13745
fi
15647
fi
13746
fi
15648
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13747
eval ac_res=\$$as_ac_File
15649
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13748
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15650
if test `eval echo '${'$as_ac_File'}'` = yes; then
13749
$as_echo "$ac_res" >&6; }
15651
  :
13750
eval as_val=\$$as_ac_File
15652
else
13751
   if test "x$as_val" = x""yes; then :
15653
  { { echo "$as_me:$LINENO: error: saxon.jar replacement not found." >&5
13752
15654
echo "$as_me: error: saxon.jar replacement not found." >&2;}
13753
else
15655
   { (exit 1); exit 1; }; }
13754
  as_fn_error "saxon.jar replacement not found." "$LINENO" 5
15656
fi
13755
fi
15657
13756
15658
        fi
13757
        fi
15659
        if test -n "$SERIALIZER_JAR"; then
13758
        if test -n "$SERIALIZER_JAR"; then
15660
          as_ac_File=`echo "ac_cv_file_$SERIALIZER_JAR" | $as_tr_sh`
13759
          as_ac_File=`$as_echo "ac_cv_file_$SERIALIZER_JAR" | $as_tr_sh`
15661
echo "$as_me:$LINENO: checking for $SERIALIZER_JAR" >&5
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SERIALIZER_JAR" >&5
15662
echo $ECHO_N "checking for $SERIALIZER_JAR... $ECHO_C" >&6
13761
$as_echo_n "checking for $SERIALIZER_JAR... " >&6; }
15663
if eval "test \"\${$as_ac_File+set}\" = set"; then
13762
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15664
  echo $ECHO_N "(cached) $ECHO_C" >&6
13763
  $as_echo_n "(cached) " >&6
15665
else
13764
else
15666
  test "$cross_compiling" = yes &&
13765
  test "$cross_compiling" = yes &&
15667
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13766
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15668
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15669
   { (exit 1); exit 1; }; }
15670
if test -r "$SERIALIZER_JAR"; then
13767
if test -r "$SERIALIZER_JAR"; then
15671
  eval "$as_ac_File=yes"
13768
  eval "$as_ac_File=yes"
15672
else
13769
else
15673
  eval "$as_ac_File=no"
13770
  eval "$as_ac_File=no"
15674
fi
13771
fi
15675
fi
13772
fi
15676
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13773
eval ac_res=\$$as_ac_File
15677
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13774
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15678
if test `eval echo '${'$as_ac_File'}'` = yes; then
13775
$as_echo "$ac_res" >&6; }
15679
  :
13776
eval as_val=\$$as_ac_File
15680
else
13777
   if test "x$as_val" = x""yes; then :
15681
  { { echo "$as_me:$LINENO: error: serializer.jar not found." >&5
13778
15682
echo "$as_me: error: serializer.jar not found." >&2;}
13779
else
15683
   { (exit 1); exit 1; }; }
13780
  as_fn_error "serializer.jar not found." "$LINENO" 5
15684
fi
13781
fi
15685
13782
15686
13783
15687
        fi
13784
        fi
15688
13785
15689
13786
15690
        echo "$as_me:$LINENO: checking if saxon works" >&5
13787
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if saxon works" >&5
15691
echo $ECHO_N "checking if saxon works... $ECHO_C" >&6
13788
$as_echo_n "checking if saxon works... " >&6; }
15692
        cat > saxontest.java <<_ACEOF
13789
        cat > saxontest.java <<_ACEOF
15693
import javax.xml.transform.TransformerFactory;
13790
import javax.xml.transform.TransformerFactory;
15694
import javax.xml.transform.Transformer;
13791
import javax.xml.transform.Transformer;
Lines 15729-15768 Link Here
15729
13826
15730
_ACEOF
13827
_ACEOF
15731
        javac_cmd="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
13828
        javac_cmd="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
15732
        { (eval echo "$as_me:$LINENO: \"$javac_cmd\"") >&5
13829
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$javac_cmd\""; } >&5
15733
  (eval $javac_cmd) 2>&5
13830
  (eval $javac_cmd) 2>&5
15734
  ac_status=$?
13831
  ac_status=$?
15735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15736
  (exit $ac_status); }
13833
  test $ac_status = 0; }
15737
        if test $? = 0 && test -f ./saxontest.class ; then
13834
        if test $? = 0 && test -f ./saxontest.class ; then
15738
            java_cmd="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
13835
            java_cmd="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
15739
            { (eval echo "$as_me:$LINENO: \"$java_cmd\"") >&5
13836
            { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$java_cmd\""; } >&5
15740
  (eval $java_cmd) 2>&5
13837
  (eval $java_cmd) 2>&5
15741
  ac_status=$?
13838
  ac_status=$?
15742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15743
  (exit $ac_status); }
13840
  test $ac_status = 0; }
15744
            if test $? = 0; then
13841
            if test $? = 0; then
15745
              echo "$as_me:$LINENO: result: yes" >&5
13842
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15746
echo "${ECHO_T}yes" >&6
13843
$as_echo "yes" >&6; }
15747
            else
13844
            else
15748
              cat saxontest.java >&5
13845
              cat saxontest.java >&5
15749
              echo "$as_me:$LINENO: result: no" >&5
13846
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15750
echo "${ECHO_T}no" >&6
13847
$as_echo "no" >&6; }
15751
              { { echo "$as_me:$LINENO: error: Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb" >&5
13848
              as_fn_error "Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb" "$LINENO" 5
15752
echo "$as_me: error: Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb" >&2;}
15753
   { (exit 1); exit 1; }; }
15754
            fi
13849
            fi
15755
        else
13850
        else
15756
          echo "$as_me:$LINENO: result: no" >&5
13851
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15757
echo "${ECHO_T}no" >&6
13852
$as_echo "no" >&6; }
15758
          cat saxontest.java >&5
13853
          cat saxontest.java >&5
15759
          { { echo "$as_me:$LINENO: error: saxontest could not be compiled, non-functional saxon jar" >&5
13854
          as_fn_error "saxontest could not be compiled, non-functional saxon jar" "$LINENO" 5
15760
echo "$as_me: error: saxontest could not be compiled, non-functional saxon jar" >&2;}
13855
        fi
15761
   { (exit 1); exit 1; }; }
13856
else
15762
        fi
13857
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
15763
else
13858
$as_echo "internal" >&6; }
15764
    echo "$as_me:$LINENO: result: internal" >&5
15765
echo "${ECHO_T}internal" >&6
15766
    SYSTEM_SAXON=NO
13859
    SYSTEM_SAXON=NO
15767
    NEED_SAXON=TRUE
13860
    NEED_SAXON=TRUE
15768
fi
13861
fi
Lines 15776-15795 Link Here
15776
if test "$_os" = "Darwin" && test "$with_system_curl" != "no"; then
13869
if test "$_os" = "Darwin" && test "$with_system_curl" != "no"; then
15777
   with_system_curl=yes
13870
   with_system_curl=yes
15778
fi
13871
fi
15779
echo "$as_me:$LINENO: checking which curl to use" >&5
13872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which curl to use" >&5
15780
echo $ECHO_N "checking which curl to use... $ECHO_C" >&6
13873
$as_echo_n "checking which curl to use... " >&6; }
15781
if test -n "$with_system_curl" -o -n "$with_system_libs" && \
13874
if test -n "$with_system_curl" -o -n "$with_system_libs" && \
15782
	test "$with_system_curl" != "no"; then
13875
	test "$with_system_curl" != "no"; then
15783
   echo "$as_me:$LINENO: result: external" >&5
13876
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15784
echo "${ECHO_T}external" >&6
13877
$as_echo "external" >&6; }
15785
   SYSTEM_CURL=YES
13878
   SYSTEM_CURL=YES
15786
13879
15787
   # Extract the first word of "curl-config", so it can be a program name with args.
13880
   # Extract the first word of "curl-config", so it can be a program name with args.
15788
set dummy curl-config; ac_word=$2
13881
set dummy curl-config; ac_word=$2
15789
echo "$as_me:$LINENO: checking for $ac_word" >&5
13882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15790
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13883
$as_echo_n "checking for $ac_word... " >&6; }
15791
if test "${ac_cv_path_CURLCONFIG+set}" = set; then
13884
if test "${ac_cv_path_CURLCONFIG+set}" = set; then :
15792
  echo $ECHO_N "(cached) $ECHO_C" >&6
13885
  $as_echo_n "(cached) " >&6
15793
else
13886
else
15794
  case $CURLCONFIG in
13887
  case $CURLCONFIG in
15795
  [\\/]* | ?:[\\/]*)
13888
  [\\/]* | ?:[\\/]*)
Lines 15801-15852 Link Here
15801
do
13894
do
15802
  IFS=$as_save_IFS
13895
  IFS=$as_save_IFS
15803
  test -z "$as_dir" && as_dir=.
13896
  test -z "$as_dir" && as_dir=.
15804
  for ac_exec_ext in '' $ac_executable_extensions; do
13897
    for ac_exec_ext in '' $ac_executable_extensions; do
15805
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15806
    ac_cv_path_CURLCONFIG="$as_dir/$ac_word$ac_exec_ext"
13899
    ac_cv_path_CURLCONFIG="$as_dir/$ac_word$ac_exec_ext"
15807
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13900
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15808
    break 2
13901
    break 2
15809
  fi
13902
  fi
15810
done
13903
done
15811
done
13904
  done
13905
IFS=$as_save_IFS
15812
13906
15813
  ;;
13907
  ;;
15814
esac
13908
esac
15815
fi
13909
fi
15816
CURLCONFIG=$ac_cv_path_CURLCONFIG
13910
CURLCONFIG=$ac_cv_path_CURLCONFIG
15817
15818
if test -n "$CURLCONFIG"; then
13911
if test -n "$CURLCONFIG"; then
15819
  echo "$as_me:$LINENO: result: $CURLCONFIG" >&5
13912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCONFIG" >&5
15820
echo "${ECHO_T}$CURLCONFIG" >&6
13913
$as_echo "$CURLCONFIG" >&6; }
15821
else
13914
else
15822
  echo "$as_me:$LINENO: result: no" >&5
13915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15823
echo "${ECHO_T}no" >&6
13916
$as_echo "no" >&6; }
15824
fi
13917
fi
13918
15825
13919
15826
   if test -z "$CURLCONFIG"; then
13920
   if test -z "$CURLCONFIG"; then
15827
      { { echo "$as_me:$LINENO: error: install curl to run this script" >&5
13921
      as_fn_error "install curl to run this script" "$LINENO" 5
15828
echo "$as_me: error: install curl to run this script" >&2;}
15829
   { (exit 1); exit 1; }; }
15830
   fi
13922
   fi
15831
13923
15832
   # check curl version
13924
   # check curl version
15833
   echo "$as_me:$LINENO: checking whether curl is >= 7.13.1" >&5
13925
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether curl is >= 7.13.1" >&5
15834
echo $ECHO_N "checking whether curl is >= 7.13.1... $ECHO_C" >&6
13926
$as_echo_n "checking whether curl is >= 7.13.1... " >&6; }
15835
   if test "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $1 }'`" -gt "7" -a \
13927
   if test "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $1 }'`" -gt "7" -a \
15836
	"`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $2 }'`" -gt "13" -a \
13928
	"`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $2 }'`" -gt "13" -a \
15837
	"`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $3 }'`" -gt "1"; then
13929
	"`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $3 }'`" -gt "1"; then
15838
      { { echo "$as_me:$LINENO: error: no, you need at least curl 7.13,1" >&5
13930
      as_fn_error "no, you need at least curl 7.13,1" "$LINENO" 5
15839
echo "$as_me: error: no, you need at least curl 7.13,1" >&2;}
13931
   else
15840
   { (exit 1); exit 1; }; }
13932
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15841
   else
13933
$as_echo "yes" >&6; }
15842
      echo "$as_me:$LINENO: result: yes" >&5
15843
echo "${ECHO_T}yes" >&6
15844
   fi
13934
   fi
15845
   CURL_LIBS=`$CURLCONFIG --libs`
13935
   CURL_LIBS=`$CURLCONFIG --libs`
15846
   CURL_CFLAGS=`$CURLCONFIG --cflags`
13936
   CURL_CFLAGS=`$CURLCONFIG --cflags`
15847
else
13937
else
15848
   echo "$as_me:$LINENO: result: internal" >&5
13938
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
15849
echo "${ECHO_T}internal" >&6
13939
$as_echo "internal" >&6; }
15850
   SYSTEM_CURL=NO
13940
   SYSTEM_CURL=NO
15851
   BUILD_TYPE="$BUILD_TYPE CURL"
13941
   BUILD_TYPE="$BUILD_TYPE CURL"
15852
fi
13942
fi
Lines 15854-16320 Link Here
15854
13944
15855
13945
15856
13946
15857
echo "$as_me:$LINENO: checking which boost to use" >&5
13947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which boost to use" >&5
15858
echo $ECHO_N "checking which boost to use... $ECHO_C" >&6
13948
$as_echo_n "checking which boost to use... " >&6; }
15859
if test -n "$with_system_boost" -o -n "$with_system_headers" && \
13949
if test -n "$with_system_boost" -o -n "$with_system_headers" && \
15860
	test "$with_system_boost" != "no"; then
13950
	test "$with_system_boost" != "no"; then
15861
   echo "$as_me:$LINENO: result: external" >&5
13951
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
15862
echo "${ECHO_T}external" >&6
13952
$as_echo "external" >&6; }
15863
   SYSTEM_BOOST=YES
13953
   SYSTEM_BOOST=YES
15864
   ac_ext=cc
13954
   ac_ext=cpp
15865
ac_cpp='$CXXCPP $CPPFLAGS'
13955
ac_cpp='$CXXCPP $CPPFLAGS'
15866
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13956
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13957
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13958
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15869
13959
15870
   if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
13960
   ac_fn_cxx_check_header_mongrel "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
15871
  echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
13961
if test "x$ac_cv_header_boost_shared_ptr_hpp" = x""yes; then :
15872
echo $ECHO_N "checking for boost/shared_ptr.hpp... $ECHO_C" >&6
13962
15873
if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
13963
else
15874
  echo $ECHO_N "(cached) $ECHO_C" >&6
13964
  as_fn_error "boost/shared_ptr.hpp not found. install boost" "$LINENO" 5
15875
fi
13965
fi
15876
echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
13966
15877
echo "${ECHO_T}$ac_cv_header_boost_shared_ptr_hpp" >&6
13967
15878
else
13968
   ac_fn_cxx_check_header_mongrel "$LINENO" "boost/spirit/include/classic_core.hpp" "ac_cv_header_boost_spirit_include_classic_core_hpp" "$ac_includes_default"
15879
  # Is the header compilable?
13969
if test "x$ac_cv_header_boost_spirit_include_classic_core_hpp" = x""yes; then :
15880
echo "$as_me:$LINENO: checking boost/shared_ptr.hpp usability" >&5
13970
15881
echo $ECHO_N "checking boost/shared_ptr.hpp usability... $ECHO_C" >&6
13971
else
15882
cat >conftest.$ac_ext <<_ACEOF
13972
  as_fn_error "boost/spirit/include/classic_core.hpp not found. install boost >= 1.38" "$LINENO" 5
15883
/* confdefs.h.  */
13973
fi
15884
_ACEOF
13974
15885
cat confdefs.h >>conftest.$ac_ext
13975
15886
cat >>conftest.$ac_ext <<_ACEOF
13976
   ac_fn_cxx_check_header_mongrel "$LINENO" "boost/function.hpp" "ac_cv_header_boost_function_hpp" "$ac_includes_default"
15887
/* end confdefs.h.  */
13977
if test "x$ac_cv_header_boost_function_hpp" = x""yes; then :
15888
$ac_includes_default
13978
15889
#include <boost/shared_ptr.hpp>
13979
else
15890
_ACEOF
13980
  as_fn_error "boost/function.hpp not found. install boost" "$LINENO" 5
15891
rm -f conftest.$ac_objext
15892
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893
  (eval $ac_compile) 2>conftest.er1
15894
  ac_status=$?
15895
  grep -v '^ *+' conftest.er1 >conftest.err
15896
  rm -f conftest.er1
15897
  cat conftest.err >&5
15898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899
  (exit $ac_status); } &&
15900
	 { ac_try='test -z "$ac_cxx_werror_flag"
15901
			 || test ! -s conftest.err'
15902
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903
  (eval $ac_try) 2>&5
15904
  ac_status=$?
15905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906
  (exit $ac_status); }; } &&
15907
	 { ac_try='test -s conftest.$ac_objext'
15908
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909
  (eval $ac_try) 2>&5
15910
  ac_status=$?
15911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912
  (exit $ac_status); }; }; then
15913
  ac_header_compiler=yes
15914
else
15915
  echo "$as_me: failed program was:" >&5
15916
sed 's/^/| /' conftest.$ac_ext >&5
15917
15918
ac_header_compiler=no
15919
fi
15920
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15921
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15922
echo "${ECHO_T}$ac_header_compiler" >&6
15923
15924
# Is the header present?
15925
echo "$as_me:$LINENO: checking boost/shared_ptr.hpp presence" >&5
15926
echo $ECHO_N "checking boost/shared_ptr.hpp presence... $ECHO_C" >&6
15927
cat >conftest.$ac_ext <<_ACEOF
15928
/* confdefs.h.  */
15929
_ACEOF
15930
cat confdefs.h >>conftest.$ac_ext
15931
cat >>conftest.$ac_ext <<_ACEOF
15932
/* end confdefs.h.  */
15933
#include <boost/shared_ptr.hpp>
15934
_ACEOF
15935
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15936
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15937
  ac_status=$?
15938
  grep -v '^ *+' conftest.er1 >conftest.err
15939
  rm -f conftest.er1
15940
  cat conftest.err >&5
15941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942
  (exit $ac_status); } >/dev/null; then
15943
  if test -s conftest.err; then
15944
    ac_cpp_err=$ac_cxx_preproc_warn_flag
15945
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15946
  else
15947
    ac_cpp_err=
15948
  fi
15949
else
15950
  ac_cpp_err=yes
15951
fi
15952
if test -z "$ac_cpp_err"; then
15953
  ac_header_preproc=yes
15954
else
15955
  echo "$as_me: failed program was:" >&5
15956
sed 's/^/| /' conftest.$ac_ext >&5
15957
15958
  ac_header_preproc=no
15959
fi
15960
rm -f conftest.err conftest.$ac_ext
15961
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15962
echo "${ECHO_T}$ac_header_preproc" >&6
15963
15964
# So?  What about this header?
15965
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15966
  yes:no: )
15967
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
15968
echo "$as_me: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
15969
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&5
15970
echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&2;}
15971
    ac_header_preproc=yes
15972
    ;;
15973
  no:yes:* )
15974
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&5
15975
echo "$as_me: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&2;}
15976
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp:     check for missing prerequisite headers?" >&5
15977
echo "$as_me: WARNING: boost/shared_ptr.hpp:     check for missing prerequisite headers?" >&2;}
15978
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&5
15979
echo "$as_me: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&2;}
15980
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&5
15981
echo "$as_me: WARNING: boost/shared_ptr.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
15982
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&5
15983
echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&2;}
15984
    { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&5
15985
echo "$as_me: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&2;}
15986
    (
15987
      cat <<\_ASBOX
15988
## ------------------------------------------ ##
15989
## Report this to the AC_PACKAGE_NAME lists.  ##
15990
## ------------------------------------------ ##
15991
_ASBOX
15992
    ) |
15993
      sed "s/^/$as_me: WARNING:     /" >&2
15994
    ;;
15995
esac
15996
echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
15997
echo $ECHO_N "checking for boost/shared_ptr.hpp... $ECHO_C" >&6
15998
if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
15999
  echo $ECHO_N "(cached) $ECHO_C" >&6
16000
else
16001
  ac_cv_header_boost_shared_ptr_hpp=$ac_header_preproc
16002
fi
16003
echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
16004
echo "${ECHO_T}$ac_cv_header_boost_shared_ptr_hpp" >&6
16005
16006
fi
16007
if test $ac_cv_header_boost_shared_ptr_hpp = yes; then
16008
  :
16009
else
16010
  { { echo "$as_me:$LINENO: error: boost/shared_ptr.hpp not found. install boost" >&5
16011
echo "$as_me: error: boost/shared_ptr.hpp not found. install boost" >&2;}
16012
   { (exit 1); exit 1; }; }
16013
fi
16014
16015
16016
   if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16017
  echo "$as_me:$LINENO: checking for boost/spirit/include/classic_core.hpp" >&5
16018
echo $ECHO_N "checking for boost/spirit/include/classic_core.hpp... $ECHO_C" >&6
16019
if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16020
  echo $ECHO_N "(cached) $ECHO_C" >&6
16021
fi
16022
echo "$as_me:$LINENO: result: $ac_cv_header_boost_spirit_include_classic_core_hpp" >&5
16023
echo "${ECHO_T}$ac_cv_header_boost_spirit_include_classic_core_hpp" >&6
16024
else
16025
  # Is the header compilable?
16026
echo "$as_me:$LINENO: checking boost/spirit/include/classic_core.hpp usability" >&5
16027
echo $ECHO_N "checking boost/spirit/include/classic_core.hpp usability... $ECHO_C" >&6
16028
cat >conftest.$ac_ext <<_ACEOF
16029
/* confdefs.h.  */
16030
_ACEOF
16031
cat confdefs.h >>conftest.$ac_ext
16032
cat >>conftest.$ac_ext <<_ACEOF
16033
/* end confdefs.h.  */
16034
$ac_includes_default
16035
#include <boost/spirit/include/classic_core.hpp>
16036
_ACEOF
16037
rm -f conftest.$ac_objext
16038
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16039
  (eval $ac_compile) 2>conftest.er1
16040
  ac_status=$?
16041
  grep -v '^ *+' conftest.er1 >conftest.err
16042
  rm -f conftest.er1
16043
  cat conftest.err >&5
16044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045
  (exit $ac_status); } &&
16046
	 { ac_try='test -z "$ac_cxx_werror_flag"
16047
			 || test ! -s conftest.err'
16048
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049
  (eval $ac_try) 2>&5
16050
  ac_status=$?
16051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052
  (exit $ac_status); }; } &&
16053
	 { ac_try='test -s conftest.$ac_objext'
16054
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055
  (eval $ac_try) 2>&5
16056
  ac_status=$?
16057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058
  (exit $ac_status); }; }; then
16059
  ac_header_compiler=yes
16060
else
16061
  echo "$as_me: failed program was:" >&5
16062
sed 's/^/| /' conftest.$ac_ext >&5
16063
16064
ac_header_compiler=no
16065
fi
16066
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16067
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16068
echo "${ECHO_T}$ac_header_compiler" >&6
16069
16070
# Is the header present?
16071
echo "$as_me:$LINENO: checking boost/spirit/include/classic_core.hpp presence" >&5
16072
echo $ECHO_N "checking boost/spirit/include/classic_core.hpp presence... $ECHO_C" >&6
16073
cat >conftest.$ac_ext <<_ACEOF
16074
/* confdefs.h.  */
16075
_ACEOF
16076
cat confdefs.h >>conftest.$ac_ext
16077
cat >>conftest.$ac_ext <<_ACEOF
16078
/* end confdefs.h.  */
16079
#include <boost/spirit/include/classic_core.hpp>
16080
_ACEOF
16081
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16082
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16083
  ac_status=$?
16084
  grep -v '^ *+' conftest.er1 >conftest.err
16085
  rm -f conftest.er1
16086
  cat conftest.err >&5
16087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088
  (exit $ac_status); } >/dev/null; then
16089
  if test -s conftest.err; then
16090
    ac_cpp_err=$ac_cxx_preproc_warn_flag
16091
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16092
  else
16093
    ac_cpp_err=
16094
  fi
16095
else
16096
  ac_cpp_err=yes
16097
fi
16098
if test -z "$ac_cpp_err"; then
16099
  ac_header_preproc=yes
16100
else
16101
  echo "$as_me: failed program was:" >&5
16102
sed 's/^/| /' conftest.$ac_ext >&5
16103
16104
  ac_header_preproc=no
16105
fi
16106
rm -f conftest.err conftest.$ac_ext
16107
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16108
echo "${ECHO_T}$ac_header_preproc" >&6
16109
16110
# So?  What about this header?
16111
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16112
  yes:no: )
16113
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16114
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16115
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the compiler's result" >&5
16116
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the compiler's result" >&2;}
16117
    ac_header_preproc=yes
16118
    ;;
16119
  no:yes:* )
16120
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: present but cannot be compiled" >&5
16121
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: present but cannot be compiled" >&2;}
16122
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp:     check for missing prerequisite headers?" >&5
16123
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp:     check for missing prerequisite headers?" >&2;}
16124
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: see the Autoconf documentation" >&5
16125
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: see the Autoconf documentation" >&2;}
16126
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16127
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16128
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the preprocessor's result" >&5
16129
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the preprocessor's result" >&2;}
16130
    { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: in the future, the compiler will take precedence" >&5
16131
echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: in the future, the compiler will take precedence" >&2;}
16132
    (
16133
      cat <<\_ASBOX
16134
## ------------------------------------------ ##
16135
## Report this to the AC_PACKAGE_NAME lists.  ##
16136
## ------------------------------------------ ##
16137
_ASBOX
16138
    ) |
16139
      sed "s/^/$as_me: WARNING:     /" >&2
16140
    ;;
16141
esac
16142
echo "$as_me:$LINENO: checking for boost/spirit/include/classic_core.hpp" >&5
16143
echo $ECHO_N "checking for boost/spirit/include/classic_core.hpp... $ECHO_C" >&6
16144
if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16145
  echo $ECHO_N "(cached) $ECHO_C" >&6
16146
else
16147
  ac_cv_header_boost_spirit_include_classic_core_hpp=$ac_header_preproc
16148
fi
16149
echo "$as_me:$LINENO: result: $ac_cv_header_boost_spirit_include_classic_core_hpp" >&5
16150
echo "${ECHO_T}$ac_cv_header_boost_spirit_include_classic_core_hpp" >&6
16151
16152
fi
16153
if test $ac_cv_header_boost_spirit_include_classic_core_hpp = yes; then
16154
  :
16155
else
16156
  { { echo "$as_me:$LINENO: error: boost/spirit/include/classic_core.hpp not found. install boost >= 1.38" >&5
16157
echo "$as_me: error: boost/spirit/include/classic_core.hpp not found. install boost >= 1.38" >&2;}
16158
   { (exit 1); exit 1; }; }
16159
fi
16160
16161
16162
   if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16163
  echo "$as_me:$LINENO: checking for boost/function.hpp" >&5
16164
echo $ECHO_N "checking for boost/function.hpp... $ECHO_C" >&6
16165
if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16166
  echo $ECHO_N "(cached) $ECHO_C" >&6
16167
fi
16168
echo "$as_me:$LINENO: result: $ac_cv_header_boost_function_hpp" >&5
16169
echo "${ECHO_T}$ac_cv_header_boost_function_hpp" >&6
16170
else
16171
  # Is the header compilable?
16172
echo "$as_me:$LINENO: checking boost/function.hpp usability" >&5
16173
echo $ECHO_N "checking boost/function.hpp usability... $ECHO_C" >&6
16174
cat >conftest.$ac_ext <<_ACEOF
16175
/* confdefs.h.  */
16176
_ACEOF
16177
cat confdefs.h >>conftest.$ac_ext
16178
cat >>conftest.$ac_ext <<_ACEOF
16179
/* end confdefs.h.  */
16180
$ac_includes_default
16181
#include <boost/function.hpp>
16182
_ACEOF
16183
rm -f conftest.$ac_objext
16184
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185
  (eval $ac_compile) 2>conftest.er1
16186
  ac_status=$?
16187
  grep -v '^ *+' conftest.er1 >conftest.err
16188
  rm -f conftest.er1
16189
  cat conftest.err >&5
16190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191
  (exit $ac_status); } &&
16192
	 { ac_try='test -z "$ac_cxx_werror_flag"
16193
			 || test ! -s conftest.err'
16194
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195
  (eval $ac_try) 2>&5
16196
  ac_status=$?
16197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198
  (exit $ac_status); }; } &&
16199
	 { ac_try='test -s conftest.$ac_objext'
16200
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201
  (eval $ac_try) 2>&5
16202
  ac_status=$?
16203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204
  (exit $ac_status); }; }; then
16205
  ac_header_compiler=yes
16206
else
16207
  echo "$as_me: failed program was:" >&5
16208
sed 's/^/| /' conftest.$ac_ext >&5
16209
16210
ac_header_compiler=no
16211
fi
16212
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16213
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16214
echo "${ECHO_T}$ac_header_compiler" >&6
16215
16216
# Is the header present?
16217
echo "$as_me:$LINENO: checking boost/function.hpp presence" >&5
16218
echo $ECHO_N "checking boost/function.hpp presence... $ECHO_C" >&6
16219
cat >conftest.$ac_ext <<_ACEOF
16220
/* confdefs.h.  */
16221
_ACEOF
16222
cat confdefs.h >>conftest.$ac_ext
16223
cat >>conftest.$ac_ext <<_ACEOF
16224
/* end confdefs.h.  */
16225
#include <boost/function.hpp>
16226
_ACEOF
16227
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16228
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16229
  ac_status=$?
16230
  grep -v '^ *+' conftest.er1 >conftest.err
16231
  rm -f conftest.er1
16232
  cat conftest.err >&5
16233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234
  (exit $ac_status); } >/dev/null; then
16235
  if test -s conftest.err; then
16236
    ac_cpp_err=$ac_cxx_preproc_warn_flag
16237
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16238
  else
16239
    ac_cpp_err=
16240
  fi
16241
else
16242
  ac_cpp_err=yes
16243
fi
16244
if test -z "$ac_cpp_err"; then
16245
  ac_header_preproc=yes
16246
else
16247
  echo "$as_me: failed program was:" >&5
16248
sed 's/^/| /' conftest.$ac_ext >&5
16249
16250
  ac_header_preproc=no
16251
fi
16252
rm -f conftest.err conftest.$ac_ext
16253
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16254
echo "${ECHO_T}$ac_header_preproc" >&6
16255
16256
# So?  What about this header?
16257
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16258
  yes:no: )
16259
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16260
echo "$as_me: WARNING: boost/function.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16261
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: proceeding with the compiler's result" >&5
16262
echo "$as_me: WARNING: boost/function.hpp: proceeding with the compiler's result" >&2;}
16263
    ac_header_preproc=yes
16264
    ;;
16265
  no:yes:* )
16266
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: present but cannot be compiled" >&5
16267
echo "$as_me: WARNING: boost/function.hpp: present but cannot be compiled" >&2;}
16268
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp:     check for missing prerequisite headers?" >&5
16269
echo "$as_me: WARNING: boost/function.hpp:     check for missing prerequisite headers?" >&2;}
16270
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: see the Autoconf documentation" >&5
16271
echo "$as_me: WARNING: boost/function.hpp: see the Autoconf documentation" >&2;}
16272
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp:     section \"Present But Cannot Be Compiled\"" >&5
16273
echo "$as_me: WARNING: boost/function.hpp:     section \"Present But Cannot Be Compiled\"" >&2;}
16274
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: proceeding with the preprocessor's result" >&5
16275
echo "$as_me: WARNING: boost/function.hpp: proceeding with the preprocessor's result" >&2;}
16276
    { echo "$as_me:$LINENO: WARNING: boost/function.hpp: in the future, the compiler will take precedence" >&5
16277
echo "$as_me: WARNING: boost/function.hpp: in the future, the compiler will take precedence" >&2;}
16278
    (
16279
      cat <<\_ASBOX
16280
## ------------------------------------------ ##
16281
## Report this to the AC_PACKAGE_NAME lists.  ##
16282
## ------------------------------------------ ##
16283
_ASBOX
16284
    ) |
16285
      sed "s/^/$as_me: WARNING:     /" >&2
16286
    ;;
16287
esac
16288
echo "$as_me:$LINENO: checking for boost/function.hpp" >&5
16289
echo $ECHO_N "checking for boost/function.hpp... $ECHO_C" >&6
16290
if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16291
  echo $ECHO_N "(cached) $ECHO_C" >&6
16292
else
16293
  ac_cv_header_boost_function_hpp=$ac_header_preproc
16294
fi
16295
echo "$as_me:$LINENO: result: $ac_cv_header_boost_function_hpp" >&5
16296
echo "${ECHO_T}$ac_cv_header_boost_function_hpp" >&6
16297
16298
fi
16299
if test $ac_cv_header_boost_function_hpp = yes; then
16300
  :
16301
else
16302
  { { echo "$as_me:$LINENO: error: boost/function.hpp not found. install boost" >&5
16303
echo "$as_me: error: boost/function.hpp not found. install boost" >&2;}
16304
   { (exit 1); exit 1; }; }
16305
fi
13981
fi
16306
13982
16307
13983
16308
13984
16309
   save_CXXFLAGS=$CXXFLAGS
13985
   save_CXXFLAGS=$CXXFLAGS
16310
   CXXFLAGS="$CXXFLAGS -fno-exceptions"
13986
   CXXFLAGS="$CXXFLAGS -fno-exceptions"
16311
   echo "$as_me:$LINENO: checking whether boost/function.hpp compiles with -fno-exceptions" >&5
13987
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether boost/function.hpp compiles with -fno-exceptions" >&5
16312
echo $ECHO_N "checking whether boost/function.hpp compiles with -fno-exceptions... $ECHO_C" >&6
13988
$as_echo_n "checking whether boost/function.hpp compiles with -fno-exceptions... " >&6; }
16313
   cat >conftest.$ac_ext <<_ACEOF
13989
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314
/* confdefs.h.  */
16315
_ACEOF
16316
cat confdefs.h >>conftest.$ac_ext
16317
cat >>conftest.$ac_ext <<_ACEOF
16318
/* end confdefs.h.  */
13990
/* end confdefs.h.  */
16319
#include <boost/function.hpp>
13991
#include <boost/function.hpp>
16320
13992
Lines 16326-16369 Link Here
16326
  return 0;
13998
  return 0;
16327
}
13999
}
16328
_ACEOF
14000
_ACEOF
16329
rm -f conftest.$ac_objext
14001
if ac_fn_cxx_try_compile "$LINENO"; then :
16330
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331
  (eval $ac_compile) 2>conftest.er1
16332
  ac_status=$?
16333
  grep -v '^ *+' conftest.er1 >conftest.err
16334
  rm -f conftest.er1
16335
  cat conftest.err >&5
16336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337
  (exit $ac_status); } &&
16338
	 { ac_try='test -z "$ac_cxx_werror_flag"
16339
			 || test ! -s conftest.err'
16340
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341
  (eval $ac_try) 2>&5
16342
  ac_status=$?
16343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344
  (exit $ac_status); }; } &&
16345
	 { ac_try='test -s conftest.$ac_objext'
16346
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347
  (eval $ac_try) 2>&5
16348
  ac_status=$?
16349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350
  (exit $ac_status); }; }; then
16351
  ac_cv_cxx_boost_no_exceptons_broken=no
14002
  ac_cv_cxx_boost_no_exceptons_broken=no
16352
else
14003
else
16353
  echo "$as_me: failed program was:" >&5
14004
  ac_cv_cxx_boost_no_exceptons_broken=yes
16354
sed 's/^/| /' conftest.$ac_ext >&5
14005
fi
16355
14006
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16356
ac_cv_cxx_boost_no_exceptons_broken=yes
16357
fi
16358
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16359
14007
16360
   if test "$ac_cv_cxx_boost_no_exceptons_broken" = "yes"; then
14008
   if test "$ac_cv_cxx_boost_no_exceptons_broken" = "yes"; then
16361
	{ { echo "$as_me:$LINENO: error: no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131" >&5
14009
	as_fn_error "no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131" "$LINENO" 5
16362
echo "$as_me: error: no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131" >&2;}
14010
   else
16363
   { (exit 1); exit 1; }; }
14011
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16364
   else
14012
$as_echo "yes" >&6; }
16365
  	echo "$as_me:$LINENO: result: yes" >&5
16366
echo "${ECHO_T}yes" >&6
16367
   fi
14013
   fi
16368
   CXXFLAGS=$save_CXXFLAGS
14014
   CXXFLAGS=$save_CXXFLAGS
16369
   ac_ext=c
14015
   ac_ext=c
Lines 16373-16541 Link Here
16373
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14019
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16374
14020
16375
else
14021
else
16376
   echo "$as_me:$LINENO: result: internal" >&5
14022
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
16377
echo "${ECHO_T}internal" >&6
14023
$as_echo "internal" >&6; }
16378
   BUILD_TYPE="$BUILD_TYPE BOOST"
14024
   BUILD_TYPE="$BUILD_TYPE BOOST"
16379
   SYSTEM_BOOST=NO
14025
   SYSTEM_BOOST=NO
16380
fi
14026
fi
16381
14027
16382
14028
16383
echo "$as_me:$LINENO: checking which vigra to use" >&5
14029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which vigra to use" >&5
16384
echo $ECHO_N "checking which vigra to use... $ECHO_C" >&6
14030
$as_echo_n "checking which vigra to use... " >&6; }
16385
if test -n "$with_system_vigra" -o -n "$with_system_headers" && \
14031
if test -n "$with_system_vigra" -o -n "$with_system_headers" && \
16386
	test "$with_system_vigra" != "no"; then
14032
	test "$with_system_vigra" != "no"; then
16387
   echo "$as_me:$LINENO: result: external" >&5
14033
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
16388
echo "${ECHO_T}external" >&6
14034
$as_echo "external" >&6; }
16389
   SYSTEM_VIGRA=YES
14035
   SYSTEM_VIGRA=YES
16390
   ac_ext=cc
14036
   ac_ext=cpp
16391
ac_cpp='$CXXCPP $CPPFLAGS'
14037
ac_cpp='$CXXCPP $CPPFLAGS'
16392
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14038
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14039
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14040
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
14041
16396
   if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
14042
   ac_fn_cxx_check_header_mongrel "$LINENO" "vigra/copyimage.hxx" "ac_cv_header_vigra_copyimage_hxx" "$ac_includes_default"
16397
  echo "$as_me:$LINENO: checking for vigra/copyimage.hxx" >&5
14043
if test "x$ac_cv_header_vigra_copyimage_hxx" = x""yes; then :
16398
echo $ECHO_N "checking for vigra/copyimage.hxx... $ECHO_C" >&6
14044
16399
if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
14045
else
16400
  echo $ECHO_N "(cached) $ECHO_C" >&6
14046
  as_fn_error "vigra/copyimage.hxx not found. install vigra" "$LINENO" 5
16401
fi
16402
echo "$as_me:$LINENO: result: $ac_cv_header_vigra_copyimage_hxx" >&5
16403
echo "${ECHO_T}$ac_cv_header_vigra_copyimage_hxx" >&6
16404
else
16405
  # Is the header compilable?
16406
echo "$as_me:$LINENO: checking vigra/copyimage.hxx usability" >&5
16407
echo $ECHO_N "checking vigra/copyimage.hxx usability... $ECHO_C" >&6
16408
cat >conftest.$ac_ext <<_ACEOF
16409
/* confdefs.h.  */
16410
_ACEOF
16411
cat confdefs.h >>conftest.$ac_ext
16412
cat >>conftest.$ac_ext <<_ACEOF
16413
/* end confdefs.h.  */
16414
$ac_includes_default
16415
#include <vigra/copyimage.hxx>
16416
_ACEOF
16417
rm -f conftest.$ac_objext
16418
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16419
  (eval $ac_compile) 2>conftest.er1
16420
  ac_status=$?
16421
  grep -v '^ *+' conftest.er1 >conftest.err
16422
  rm -f conftest.er1
16423
  cat conftest.err >&5
16424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425
  (exit $ac_status); } &&
16426
	 { ac_try='test -z "$ac_cxx_werror_flag"
16427
			 || test ! -s conftest.err'
16428
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429
  (eval $ac_try) 2>&5
16430
  ac_status=$?
16431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432
  (exit $ac_status); }; } &&
16433
	 { ac_try='test -s conftest.$ac_objext'
16434
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435
  (eval $ac_try) 2>&5
16436
  ac_status=$?
16437
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438
  (exit $ac_status); }; }; then
16439
  ac_header_compiler=yes
16440
else
16441
  echo "$as_me: failed program was:" >&5
16442
sed 's/^/| /' conftest.$ac_ext >&5
16443
16444
ac_header_compiler=no
16445
fi
16446
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16447
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16448
echo "${ECHO_T}$ac_header_compiler" >&6
16449
16450
# Is the header present?
16451
echo "$as_me:$LINENO: checking vigra/copyimage.hxx presence" >&5
16452
echo $ECHO_N "checking vigra/copyimage.hxx presence... $ECHO_C" >&6
16453
cat >conftest.$ac_ext <<_ACEOF
16454
/* confdefs.h.  */
16455
_ACEOF
16456
cat confdefs.h >>conftest.$ac_ext
16457
cat >>conftest.$ac_ext <<_ACEOF
16458
/* end confdefs.h.  */
16459
#include <vigra/copyimage.hxx>
16460
_ACEOF
16461
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16462
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16463
  ac_status=$?
16464
  grep -v '^ *+' conftest.er1 >conftest.err
16465
  rm -f conftest.er1
16466
  cat conftest.err >&5
16467
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468
  (exit $ac_status); } >/dev/null; then
16469
  if test -s conftest.err; then
16470
    ac_cpp_err=$ac_cxx_preproc_warn_flag
16471
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16472
  else
16473
    ac_cpp_err=
16474
  fi
16475
else
16476
  ac_cpp_err=yes
16477
fi
16478
if test -z "$ac_cpp_err"; then
16479
  ac_header_preproc=yes
16480
else
16481
  echo "$as_me: failed program was:" >&5
16482
sed 's/^/| /' conftest.$ac_ext >&5
16483
16484
  ac_header_preproc=no
16485
fi
16486
rm -f conftest.err conftest.$ac_ext
16487
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16488
echo "${ECHO_T}$ac_header_preproc" >&6
16489
16490
# So?  What about this header?
16491
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16492
  yes:no: )
16493
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
16494
echo "$as_me: WARNING: vigra/copyimage.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
16495
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: proceeding with the compiler's result" >&5
16496
echo "$as_me: WARNING: vigra/copyimage.hxx: proceeding with the compiler's result" >&2;}
16497
    ac_header_preproc=yes
16498
    ;;
16499
  no:yes:* )
16500
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: present but cannot be compiled" >&5
16501
echo "$as_me: WARNING: vigra/copyimage.hxx: present but cannot be compiled" >&2;}
16502
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx:     check for missing prerequisite headers?" >&5
16503
echo "$as_me: WARNING: vigra/copyimage.hxx:     check for missing prerequisite headers?" >&2;}
16504
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: see the Autoconf documentation" >&5
16505
echo "$as_me: WARNING: vigra/copyimage.hxx: see the Autoconf documentation" >&2;}
16506
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx:     section \"Present But Cannot Be Compiled\"" >&5
16507
echo "$as_me: WARNING: vigra/copyimage.hxx:     section \"Present But Cannot Be Compiled\"" >&2;}
16508
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: proceeding with the preprocessor's result" >&5
16509
echo "$as_me: WARNING: vigra/copyimage.hxx: proceeding with the preprocessor's result" >&2;}
16510
    { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: in the future, the compiler will take precedence" >&5
16511
echo "$as_me: WARNING: vigra/copyimage.hxx: in the future, the compiler will take precedence" >&2;}
16512
    (
16513
      cat <<\_ASBOX
16514
## ------------------------------------------ ##
16515
## Report this to the AC_PACKAGE_NAME lists.  ##
16516
## ------------------------------------------ ##
16517
_ASBOX
16518
    ) |
16519
      sed "s/^/$as_me: WARNING:     /" >&2
16520
    ;;
16521
esac
16522
echo "$as_me:$LINENO: checking for vigra/copyimage.hxx" >&5
16523
echo $ECHO_N "checking for vigra/copyimage.hxx... $ECHO_C" >&6
16524
if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
16525
  echo $ECHO_N "(cached) $ECHO_C" >&6
16526
else
16527
  ac_cv_header_vigra_copyimage_hxx=$ac_header_preproc
16528
fi
16529
echo "$as_me:$LINENO: result: $ac_cv_header_vigra_copyimage_hxx" >&5
16530
echo "${ECHO_T}$ac_cv_header_vigra_copyimage_hxx" >&6
16531
16532
fi
16533
if test $ac_cv_header_vigra_copyimage_hxx = yes; then
16534
  :
16535
else
16536
  { { echo "$as_me:$LINENO: error: vigra/copyimage.hxx not found. install vigra" >&5
16537
echo "$as_me: error: vigra/copyimage.hxx not found. install vigra" >&2;}
16538
   { (exit 1); exit 1; }; }
16539
fi
14047
fi
16540
14048
16541
14049
Lines 16546-17002 Link Here
16546
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14054
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16547
14055
16548
else
14056
else
16549
   echo "$as_me:$LINENO: result: internal" >&5
14057
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
16550
echo "${ECHO_T}internal" >&6
14058
$as_echo "internal" >&6; }
16551
   BUILD_TYPE="$BUILD_TYPE VIGRA"
14059
   BUILD_TYPE="$BUILD_TYPE VIGRA"
16552
   SYSTEM_VIGRA=NO
14060
   SYSTEM_VIGRA=NO
16553
fi
14061
fi
16554
14062
16555
14063
16556
echo "$as_me:$LINENO: checking which odbc headers to use" >&5
14064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which odbc headers to use" >&5
16557
echo $ECHO_N "checking which odbc headers to use... $ECHO_C" >&6
14065
$as_echo_n "checking which odbc headers to use... " >&6; }
16558
if test -n "$with_system_odbc_headers" -o -n "$with_system_headers" && \
14066
if test -n "$with_system_odbc_headers" -o -n "$with_system_headers" && \
16559
	test "$with_system_odbc_headers" != "no"; then
14067
	test "$with_system_odbc_headers" != "no"; then
16560
   echo "$as_me:$LINENO: result: external" >&5
14068
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
16561
echo "${ECHO_T}external" >&6
14069
$as_echo "external" >&6; }
16562
   SYSTEM_ODBC_HEADERS=YES
14070
   SYSTEM_ODBC_HEADERS=YES
16563
14071
16564
   if test "${ac_cv_header_sqlext_h+set}" = set; then
14072
   ac_fn_c_check_header_mongrel "$LINENO" "sqlext.h" "ac_cv_header_sqlext_h" "$ac_includes_default"
16565
  echo "$as_me:$LINENO: checking for sqlext.h" >&5
14073
if test "x$ac_cv_header_sqlext_h" = x""yes; then :
16566
echo $ECHO_N "checking for sqlext.h... $ECHO_C" >&6
14074
16567
if test "${ac_cv_header_sqlext_h+set}" = set; then
14075
else
16568
  echo $ECHO_N "(cached) $ECHO_C" >&6
14076
  as_fn_error "odbc not found. install odbc" "$LINENO" 5
16569
fi
14077
fi
16570
echo "$as_me:$LINENO: result: $ac_cv_header_sqlext_h" >&5
14078
16571
echo "${ECHO_T}$ac_cv_header_sqlext_h" >&6
14079
16572
else
14080
else
16573
  # Is the header compilable?
14081
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
16574
echo "$as_me:$LINENO: checking sqlext.h usability" >&5
14082
$as_echo "internal" >&6; }
16575
echo $ECHO_N "checking sqlext.h usability... $ECHO_C" >&6
16576
cat >conftest.$ac_ext <<_ACEOF
16577
/* confdefs.h.  */
16578
_ACEOF
16579
cat confdefs.h >>conftest.$ac_ext
16580
cat >>conftest.$ac_ext <<_ACEOF
16581
/* end confdefs.h.  */
16582
$ac_includes_default
16583
#include <sqlext.h>
16584
_ACEOF
16585
rm -f conftest.$ac_objext
16586
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16587
  (eval $ac_compile) 2>conftest.er1
16588
  ac_status=$?
16589
  grep -v '^ *+' conftest.er1 >conftest.err
16590
  rm -f conftest.er1
16591
  cat conftest.err >&5
16592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593
  (exit $ac_status); } &&
16594
	 { ac_try='test -z "$ac_c_werror_flag"
16595
			 || test ! -s conftest.err'
16596
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597
  (eval $ac_try) 2>&5
16598
  ac_status=$?
16599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600
  (exit $ac_status); }; } &&
16601
	 { ac_try='test -s conftest.$ac_objext'
16602
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603
  (eval $ac_try) 2>&5
16604
  ac_status=$?
16605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606
  (exit $ac_status); }; }; then
16607
  ac_header_compiler=yes
16608
else
16609
  echo "$as_me: failed program was:" >&5
16610
sed 's/^/| /' conftest.$ac_ext >&5
16611
16612
ac_header_compiler=no
16613
fi
16614
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16615
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16616
echo "${ECHO_T}$ac_header_compiler" >&6
16617
16618
# Is the header present?
16619
echo "$as_me:$LINENO: checking sqlext.h presence" >&5
16620
echo $ECHO_N "checking sqlext.h presence... $ECHO_C" >&6
16621
cat >conftest.$ac_ext <<_ACEOF
16622
/* confdefs.h.  */
16623
_ACEOF
16624
cat confdefs.h >>conftest.$ac_ext
16625
cat >>conftest.$ac_ext <<_ACEOF
16626
/* end confdefs.h.  */
16627
#include <sqlext.h>
16628
_ACEOF
16629
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16630
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16631
  ac_status=$?
16632
  grep -v '^ *+' conftest.er1 >conftest.err
16633
  rm -f conftest.er1
16634
  cat conftest.err >&5
16635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636
  (exit $ac_status); } >/dev/null; then
16637
  if test -s conftest.err; then
16638
    ac_cpp_err=$ac_c_preproc_warn_flag
16639
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16640
  else
16641
    ac_cpp_err=
16642
  fi
16643
else
16644
  ac_cpp_err=yes
16645
fi
16646
if test -z "$ac_cpp_err"; then
16647
  ac_header_preproc=yes
16648
else
16649
  echo "$as_me: failed program was:" >&5
16650
sed 's/^/| /' conftest.$ac_ext >&5
16651
16652
  ac_header_preproc=no
16653
fi
16654
rm -f conftest.err conftest.$ac_ext
16655
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16656
echo "${ECHO_T}$ac_header_preproc" >&6
16657
16658
# So?  What about this header?
16659
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16660
  yes:no: )
16661
    { echo "$as_me:$LINENO: WARNING: sqlext.h: accepted by the compiler, rejected by the preprocessor!" >&5
16662
echo "$as_me: WARNING: sqlext.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16663
    { echo "$as_me:$LINENO: WARNING: sqlext.h: proceeding with the compiler's result" >&5
16664
echo "$as_me: WARNING: sqlext.h: proceeding with the compiler's result" >&2;}
16665
    ac_header_preproc=yes
16666
    ;;
16667
  no:yes:* )
16668
    { echo "$as_me:$LINENO: WARNING: sqlext.h: present but cannot be compiled" >&5
16669
echo "$as_me: WARNING: sqlext.h: present but cannot be compiled" >&2;}
16670
    { echo "$as_me:$LINENO: WARNING: sqlext.h:     check for missing prerequisite headers?" >&5
16671
echo "$as_me: WARNING: sqlext.h:     check for missing prerequisite headers?" >&2;}
16672
    { echo "$as_me:$LINENO: WARNING: sqlext.h: see the Autoconf documentation" >&5
16673
echo "$as_me: WARNING: sqlext.h: see the Autoconf documentation" >&2;}
16674
    { echo "$as_me:$LINENO: WARNING: sqlext.h:     section \"Present But Cannot Be Compiled\"" >&5
16675
echo "$as_me: WARNING: sqlext.h:     section \"Present But Cannot Be Compiled\"" >&2;}
16676
    { echo "$as_me:$LINENO: WARNING: sqlext.h: proceeding with the preprocessor's result" >&5
16677
echo "$as_me: WARNING: sqlext.h: proceeding with the preprocessor's result" >&2;}
16678
    { echo "$as_me:$LINENO: WARNING: sqlext.h: in the future, the compiler will take precedence" >&5
16679
echo "$as_me: WARNING: sqlext.h: in the future, the compiler will take precedence" >&2;}
16680
    (
16681
      cat <<\_ASBOX
16682
## ------------------------------------------ ##
16683
## Report this to the AC_PACKAGE_NAME lists.  ##
16684
## ------------------------------------------ ##
16685
_ASBOX
16686
    ) |
16687
      sed "s/^/$as_me: WARNING:     /" >&2
16688
    ;;
16689
esac
16690
echo "$as_me:$LINENO: checking for sqlext.h" >&5
16691
echo $ECHO_N "checking for sqlext.h... $ECHO_C" >&6
16692
if test "${ac_cv_header_sqlext_h+set}" = set; then
16693
  echo $ECHO_N "(cached) $ECHO_C" >&6
16694
else
16695
  ac_cv_header_sqlext_h=$ac_header_preproc
16696
fi
16697
echo "$as_me:$LINENO: result: $ac_cv_header_sqlext_h" >&5
16698
echo "${ECHO_T}$ac_cv_header_sqlext_h" >&6
16699
16700
fi
16701
if test $ac_cv_header_sqlext_h = yes; then
16702
  :
16703
else
16704
  { { echo "$as_me:$LINENO: error: odbc not found. install odbc" >&5
16705
echo "$as_me: error: odbc not found. install odbc" >&2;}
16706
   { (exit 1); exit 1; }; }
16707
fi
16708
16709
16710
else
16711
   echo "$as_me:$LINENO: result: internal" >&5
16712
echo "${ECHO_T}internal" >&6
16713
   SYSTEM_ODBC_HEADERS=NO
14083
   SYSTEM_ODBC_HEADERS=NO
16714
   BUILD_TYPE="$BUILD_TYPE UNIXODBC"
14084
   BUILD_TYPE="$BUILD_TYPE UNIXODBC"
16715
fi
14085
fi
16716
14086
16717
14087
16718
echo "$as_me:$LINENO: checking whether to enable build of Mozilla/Mozilla NSS-using components" >&5
14088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build of Mozilla/Mozilla NSS-using components" >&5
16719
echo $ECHO_N "checking whether to enable build of Mozilla/Mozilla NSS-using components... $ECHO_C" >&6
14089
$as_echo_n "checking whether to enable build of Mozilla/Mozilla NSS-using components... " >&6; }
16720
if test "$enable_mozilla" = "no"; then
14090
if test "$enable_mozilla" = "no"; then
16721
   echo "$as_me:$LINENO: result: no" >&5
14091
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16722
echo "${ECHO_T}no" >&6
14092
$as_echo "no" >&6; }
16723
   WITH_MOZILLA=NO
14093
   WITH_MOZILLA=NO
16724
   ENABLE_NSS_MODULE=NO
14094
   ENABLE_NSS_MODULE=NO
16725
else
14095
else
16726
   echo "$as_me:$LINENO: result: yes" >&5
14096
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16727
echo "${ECHO_T}yes" >&6
14097
$as_echo "yes" >&6; }
16728
   WITH_MOZILLA=YES
14098
   WITH_MOZILLA=YES
16729
fi
14099
fi
16730
14100
16731
14101
16732
echo "$as_me:$LINENO: checking whether to build Mozilla addressbook connectivity" >&5
14102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Mozilla addressbook connectivity" >&5
16733
echo $ECHO_N "checking whether to build Mozilla addressbook connectivity... $ECHO_C" >&6
14103
$as_echo_n "checking whether to build Mozilla addressbook connectivity... " >&6; }
16734
if test "$enable_mozilla" = "no"; then
14104
if test "$enable_mozilla" = "no"; then
16735
   echo "$as_me:$LINENO: result: no" >&5
14105
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16736
echo "${ECHO_T}no" >&6
14106
$as_echo "no" >&6; }
16737
elif test "$with_system_mozilla" = "yes"; then
14107
elif test "$with_system_mozilla" = "yes"; then
16738
   echo "$as_me:$LINENO: result: no, not possible with system-mozilla" >&5
14108
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not possible with system-mozilla" >&5
16739
echo "${ECHO_T}no, not possible with system-mozilla" >&6
14109
$as_echo "no, not possible with system-mozilla" >&6; }
16740
else
14110
else
16741
   echo "$as_me:$LINENO: result: yes" >&5
14111
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16742
echo "${ECHO_T}yes" >&6
14112
$as_echo "yes" >&6; }
16743
fi
14113
fi
16744
14114
16745
echo "$as_me:$LINENO: checking whether to build XML Security support" >&5
14115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build XML Security support" >&5
16746
echo $ECHO_N "checking whether to build XML Security support... $ECHO_C" >&6
14116
$as_echo_n "checking whether to build XML Security support... " >&6; }
16747
if test "$enable_mozilla" = "no"; then
14117
if test "$enable_mozilla" = "no"; then
16748
   echo "$as_me:$LINENO: result: no, since Mozilla (NSS) disabled but needed" >&5
14118
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, since Mozilla (NSS) disabled but needed" >&5
16749
echo "${ECHO_T}no, since Mozilla (NSS) disabled but needed" >&6
14119
$as_echo "no, since Mozilla (NSS) disabled but needed" >&6; }
16750
else
14120
else
16751
   echo "$as_me:$LINENO: result: yes" >&5
14121
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16752
echo "${ECHO_T}yes" >&6
14122
$as_echo "yes" >&6; }
16753
fi
14123
fi
16754
14124
16755
echo "$as_me:$LINENO: checking whether to build LDAP configuration backend" >&5
14125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build LDAP configuration backend" >&5
16756
echo $ECHO_N "checking whether to build LDAP configuration backend... $ECHO_C" >&6
14126
$as_echo_n "checking whether to build LDAP configuration backend... " >&6; }
16757
if test -z "$enable_ldap" || test "$enable_ldap" = "yes"; then
14127
if test -z "$enable_ldap" || test "$enable_ldap" = "yes"; then
16758
   if test "$enable_mozilla" = "yes" || test "$with_openldap" = "yes"; then
14128
   if test "$enable_mozilla" = "yes" || test "$with_openldap" = "yes"; then
16759
      echo "$as_me:$LINENO: result: yes" >&5
14129
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16760
echo "${ECHO_T}yes" >&6
14130
$as_echo "yes" >&6; }
16761
      WITH_LDAP=YES
14131
      WITH_LDAP=YES
16762
   else
14132
   else
16763
      echo "$as_me:$LINENO: result: no. Either Mozilla or OpenLDAP needed" >&5
14133
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no. Either Mozilla or OpenLDAP needed" >&5
16764
echo "${ECHO_T}no. Either Mozilla or OpenLDAP needed" >&6
14134
$as_echo "no. Either Mozilla or OpenLDAP needed" >&6; }
16765
      WITH_LDAP=NO
14135
      WITH_LDAP=NO
16766
   fi
14136
   fi
16767
else
14137
else
16768
   echo "$as_me:$LINENO: result: no" >&5
14138
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16769
echo "${ECHO_T}no" >&6
14139
$as_echo "no" >&6; }
16770
   WITH_LDAP=NO
14140
   WITH_LDAP=NO
16771
fi
14141
fi
16772
14142
16773
if test "$WITH_LDAP" = "YES"; then
14143
if test "$WITH_LDAP" = "YES"; then
16774
            echo "$as_me:$LINENO: checking which LDAP SDK to use" >&5
14144
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking which LDAP SDK to use" >&5
16775
echo $ECHO_N "checking which LDAP SDK to use... $ECHO_C" >&6
14145
$as_echo_n "checking which LDAP SDK to use... " >&6; }
16776
   if test -n "$with_openldap" && test "$with_openldap" != "no"; then
14146
   if test -n "$with_openldap" && test "$with_openldap" != "no"; then
16777
  	   echo "$as_me:$LINENO: result: OpenLDAP" >&5
14147
  	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenLDAP" >&5
16778
echo "${ECHO_T}OpenLDAP" >&6
14148
$as_echo "OpenLDAP" >&6; }
16779
	   WITH_OPENLDAP=YES
14149
	   WITH_OPENLDAP=YES
16780
14150
	   for ac_header in ldap.h
16781
for ac_header in ldap.h
14151
do :
16782
do
14152
  ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
16783
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14153
if test "x$ac_cv_header_ldap_h" = x""yes; then :
16784
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785
  echo "$as_me:$LINENO: checking for $ac_header" >&5
16786
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788
  echo $ECHO_N "(cached) $ECHO_C" >&6
16789
fi
16790
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792
else
16793
  # Is the header compilable?
16794
echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796
cat >conftest.$ac_ext <<_ACEOF
16797
/* confdefs.h.  */
16798
_ACEOF
16799
cat confdefs.h >>conftest.$ac_ext
16800
cat >>conftest.$ac_ext <<_ACEOF
16801
/* end confdefs.h.  */
16802
$ac_includes_default
16803
#include <$ac_header>
16804
_ACEOF
16805
rm -f conftest.$ac_objext
16806
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807
  (eval $ac_compile) 2>conftest.er1
16808
  ac_status=$?
16809
  grep -v '^ *+' conftest.er1 >conftest.err
16810
  rm -f conftest.er1
16811
  cat conftest.err >&5
16812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813
  (exit $ac_status); } &&
16814
	 { ac_try='test -z "$ac_c_werror_flag"
16815
			 || test ! -s conftest.err'
16816
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817
  (eval $ac_try) 2>&5
16818
  ac_status=$?
16819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820
  (exit $ac_status); }; } &&
16821
	 { ac_try='test -s conftest.$ac_objext'
16822
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823
  (eval $ac_try) 2>&5
16824
  ac_status=$?
16825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826
  (exit $ac_status); }; }; then
16827
  ac_header_compiler=yes
16828
else
16829
  echo "$as_me: failed program was:" >&5
16830
sed 's/^/| /' conftest.$ac_ext >&5
16831
16832
ac_header_compiler=no
16833
fi
16834
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16836
echo "${ECHO_T}$ac_header_compiler" >&6
16837
16838
# Is the header present?
16839
echo "$as_me:$LINENO: checking $ac_header presence" >&5
16840
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16841
cat >conftest.$ac_ext <<_ACEOF
16842
/* confdefs.h.  */
16843
_ACEOF
16844
cat confdefs.h >>conftest.$ac_ext
16845
cat >>conftest.$ac_ext <<_ACEOF
16846
/* end confdefs.h.  */
16847
#include <$ac_header>
16848
_ACEOF
16849
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16850
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16851
  ac_status=$?
16852
  grep -v '^ *+' conftest.er1 >conftest.err
16853
  rm -f conftest.er1
16854
  cat conftest.err >&5
16855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856
  (exit $ac_status); } >/dev/null; then
16857
  if test -s conftest.err; then
16858
    ac_cpp_err=$ac_c_preproc_warn_flag
16859
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16860
  else
16861
    ac_cpp_err=
16862
  fi
16863
else
16864
  ac_cpp_err=yes
16865
fi
16866
if test -z "$ac_cpp_err"; then
16867
  ac_header_preproc=yes
16868
else
16869
  echo "$as_me: failed program was:" >&5
16870
sed 's/^/| /' conftest.$ac_ext >&5
16871
16872
  ac_header_preproc=no
16873
fi
16874
rm -f conftest.err conftest.$ac_ext
16875
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16876
echo "${ECHO_T}$ac_header_preproc" >&6
16877
16878
# So?  What about this header?
16879
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16880
  yes:no: )
16881
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16882
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16883
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16884
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16885
    ac_header_preproc=yes
16886
    ;;
16887
  no:yes:* )
16888
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16889
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16890
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16891
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16892
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16893
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16894
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16895
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16896
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16897
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16898
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16899
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16900
    (
16901
      cat <<\_ASBOX
16902
## ------------------------------------------ ##
16903
## Report this to the AC_PACKAGE_NAME lists.  ##
16904
## ------------------------------------------ ##
16905
_ASBOX
16906
    ) |
16907
      sed "s/^/$as_me: WARNING:     /" >&2
16908
    ;;
16909
esac
16910
echo "$as_me:$LINENO: checking for $ac_header" >&5
16911
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16912
if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913
  echo $ECHO_N "(cached) $ECHO_C" >&6
16914
else
16915
  eval "$as_ac_Header=\$ac_header_preproc"
16916
fi
16917
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16919
16920
fi
16921
if test `eval echo '${'$as_ac_Header'}'` = yes; then
16922
  cat >>confdefs.h <<_ACEOF
14154
  cat >>confdefs.h <<_ACEOF
16923
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14155
#define HAVE_LDAP_H 1
16924
_ACEOF
14156
_ACEOF
16925
14157
16926
else
14158
else
16927
  { { echo "$as_me:$LINENO: error: ldap.h not found. install openldap libs" >&5
14159
  as_fn_error "ldap.h not found. install openldap libs" "$LINENO" 5
16928
echo "$as_me: error: ldap.h not found. install openldap libs" >&2;}
14160
fi
16929
   { (exit 1); exit 1; }; }
14161
16930
fi
14162
done
16931
14163
16932
done
14164
	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_simple_bind_s in -lldap" >&5
16933
14165
$as_echo_n "checking for ldap_simple_bind_s in -lldap... " >&6; }
16934
14166
if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then :
16935
echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
14167
  $as_echo_n "(cached) " >&6
16936
echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6
16937
if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
16938
  echo $ECHO_N "(cached) $ECHO_C" >&6
16939
else
14168
else
16940
  ac_check_lib_save_LIBS=$LIBS
14169
  ac_check_lib_save_LIBS=$LIBS
16941
LIBS="-lldap  $LIBS"
14170
LIBS="-lldap  $LIBS"
16942
cat >conftest.$ac_ext <<_ACEOF
14171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943
/* confdefs.h.  */
14172
/* end confdefs.h.  */
16944
_ACEOF
14173
16945
cat confdefs.h >>conftest.$ac_ext
14174
/* Override any GCC internal prototype to avoid an error.
16946
cat >>conftest.$ac_ext <<_ACEOF
14175
   Use char because int might match the return type of a GCC
16947
/* end confdefs.h.  */
14176
   builtin and then its argument prototype would still apply.  */
16948
16949
/* Override any gcc2 internal prototype to avoid an error.  */
16950
#ifdef __cplusplus
14177
#ifdef __cplusplus
16951
extern "C"
14178
extern "C"
16952
#endif
14179
#endif
16953
/* We use char because int might match the return type of a gcc2
16954
   builtin and then its argument prototype would still apply.  */
16955
char ldap_simple_bind_s ();
14180
char ldap_simple_bind_s ();
16956
int
14181
int
16957
main ()
14182
main ()
16958
{
14183
{
16959
ldap_simple_bind_s ();
14184
return ldap_simple_bind_s ();
16960
  ;
14185
  ;
16961
  return 0;
14186
  return 0;
16962
}
14187
}
16963
_ACEOF
14188
_ACEOF
16964
rm -f conftest.$ac_objext conftest$ac_exeext
14189
if ac_fn_c_try_link "$LINENO"; then :
16965
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16966
  (eval $ac_link) 2>conftest.er1
16967
  ac_status=$?
16968
  grep -v '^ *+' conftest.er1 >conftest.err
16969
  rm -f conftest.er1
16970
  cat conftest.err >&5
16971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972
  (exit $ac_status); } &&
16973
	 { ac_try='test -z "$ac_c_werror_flag"
16974
			 || test ! -s conftest.err'
16975
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976
  (eval $ac_try) 2>&5
16977
  ac_status=$?
16978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979
  (exit $ac_status); }; } &&
16980
	 { ac_try='test -s conftest$ac_exeext'
16981
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982
  (eval $ac_try) 2>&5
16983
  ac_status=$?
16984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985
  (exit $ac_status); }; }; then
16986
  ac_cv_lib_ldap_ldap_simple_bind_s=yes
14190
  ac_cv_lib_ldap_ldap_simple_bind_s=yes
16987
else
14191
else
16988
  echo "$as_me: failed program was:" >&5
14192
  ac_cv_lib_ldap_ldap_simple_bind_s=no
16989
sed 's/^/| /' conftest.$ac_ext >&5
14193
fi
16990
14194
rm -f core conftest.err conftest.$ac_objext \
16991
ac_cv_lib_ldap_ldap_simple_bind_s=no
14195
    conftest$ac_exeext conftest.$ac_ext
16992
fi
16993
rm -f conftest.err conftest.$ac_objext \
16994
      conftest$ac_exeext conftest.$ac_ext
16995
LIBS=$ac_check_lib_save_LIBS
14196
LIBS=$ac_check_lib_save_LIBS
16996
fi
14197
fi
16997
echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
14198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
16998
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6
14199
$as_echo "$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
16999
if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
14200
if test "x$ac_cv_lib_ldap_ldap_simple_bind_s" = x""yes; then :
17000
  cat >>confdefs.h <<_ACEOF
14201
  cat >>confdefs.h <<_ACEOF
17001
#define HAVE_LIBLDAP 1
14202
#define HAVE_LIBLDAP 1
17002
_ACEOF
14203
_ACEOF
Lines 17004-17082 Link Here
17004
  LIBS="-lldap $LIBS"
14205
  LIBS="-lldap $LIBS"
17005
14206
17006
else
14207
else
17007
  { { echo "$as_me:$LINENO: error: openldap lib not found or functional" >&5
14208
  as_fn_error "openldap lib not found or functional" "$LINENO" 5
17008
echo "$as_me: error: openldap lib not found or functional" >&2;}
17009
   { (exit 1); exit 1; }; }
17010
fi
14209
fi
17011
14210
17012
	   # rumours say that OpenLDAP doesn't have that function. I looked and
14211
	   # rumours say that OpenLDAP doesn't have that function. I looked and
17013
	   # it has it. Test for it to be sure
14212
	   # it has it. Test for it to be sure
17014
14213
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_set_option in -lldap" >&5
17015
echo "$as_me:$LINENO: checking for ldap_set_option in -lldap" >&5
14214
$as_echo_n "checking for ldap_set_option in -lldap... " >&6; }
17016
echo $ECHO_N "checking for ldap_set_option in -lldap... $ECHO_C" >&6
14215
if test "${ac_cv_lib_ldap_ldap_set_option+set}" = set; then :
17017
if test "${ac_cv_lib_ldap_ldap_set_option+set}" = set; then
14216
  $as_echo_n "(cached) " >&6
17018
  echo $ECHO_N "(cached) $ECHO_C" >&6
17019
else
14217
else
17020
  ac_check_lib_save_LIBS=$LIBS
14218
  ac_check_lib_save_LIBS=$LIBS
17021
LIBS="-lldap  $LIBS"
14219
LIBS="-lldap  $LIBS"
17022
cat >conftest.$ac_ext <<_ACEOF
14220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023
/* confdefs.h.  */
14221
/* end confdefs.h.  */
17024
_ACEOF
14222
17025
cat confdefs.h >>conftest.$ac_ext
14223
/* Override any GCC internal prototype to avoid an error.
17026
cat >>conftest.$ac_ext <<_ACEOF
14224
   Use char because int might match the return type of a GCC
17027
/* end confdefs.h.  */
14225
   builtin and then its argument prototype would still apply.  */
17028
17029
/* Override any gcc2 internal prototype to avoid an error.  */
17030
#ifdef __cplusplus
14226
#ifdef __cplusplus
17031
extern "C"
14227
extern "C"
17032
#endif
14228
#endif
17033
/* We use char because int might match the return type of a gcc2
17034
   builtin and then its argument prototype would still apply.  */
17035
char ldap_set_option ();
14229
char ldap_set_option ();
17036
int
14230
int
17037
main ()
14231
main ()
17038
{
14232
{
17039
ldap_set_option ();
14233
return ldap_set_option ();
17040
  ;
14234
  ;
17041
  return 0;
14235
  return 0;
17042
}
14236
}
17043
_ACEOF
14237
_ACEOF
17044
rm -f conftest.$ac_objext conftest$ac_exeext
14238
if ac_fn_c_try_link "$LINENO"; then :
17045
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17046
  (eval $ac_link) 2>conftest.er1
17047
  ac_status=$?
17048
  grep -v '^ *+' conftest.er1 >conftest.err
17049
  rm -f conftest.er1
17050
  cat conftest.err >&5
17051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052
  (exit $ac_status); } &&
17053
	 { ac_try='test -z "$ac_c_werror_flag"
17054
			 || test ! -s conftest.err'
17055
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056
  (eval $ac_try) 2>&5
17057
  ac_status=$?
17058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059
  (exit $ac_status); }; } &&
17060
	 { ac_try='test -s conftest$ac_exeext'
17061
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062
  (eval $ac_try) 2>&5
17063
  ac_status=$?
17064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065
  (exit $ac_status); }; }; then
17066
  ac_cv_lib_ldap_ldap_set_option=yes
14239
  ac_cv_lib_ldap_ldap_set_option=yes
17067
else
14240
else
17068
  echo "$as_me: failed program was:" >&5
14241
  ac_cv_lib_ldap_ldap_set_option=no
17069
sed 's/^/| /' conftest.$ac_ext >&5
14242
fi
17070
14243
rm -f core conftest.err conftest.$ac_objext \
17071
ac_cv_lib_ldap_ldap_set_option=no
14244
    conftest$ac_exeext conftest.$ac_ext
17072
fi
17073
rm -f conftest.err conftest.$ac_objext \
17074
      conftest$ac_exeext conftest.$ac_ext
17075
LIBS=$ac_check_lib_save_LIBS
14245
LIBS=$ac_check_lib_save_LIBS
17076
fi
14246
fi
17077
echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_set_option" >&5
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_set_option" >&5
17078
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_set_option" >&6
14248
$as_echo "$ac_cv_lib_ldap_ldap_set_option" >&6; }
17079
if test $ac_cv_lib_ldap_ldap_set_option = yes; then
14249
if test "x$ac_cv_lib_ldap_ldap_set_option" = x""yes; then :
17080
  cat >>confdefs.h <<_ACEOF
14250
  cat >>confdefs.h <<_ACEOF
17081
#define HAVE_LIBLDAP 1
14251
#define HAVE_LIBLDAP 1
17082
_ACEOF
14252
_ACEOF
Lines 17084-17097 Link Here
17084
  LIBS="-lldap $LIBS"
14254
  LIBS="-lldap $LIBS"
17085
14255
17086
else
14256
else
17087
  { { echo "$as_me:$LINENO: error: openldap lib not found or functional" >&5
14257
  as_fn_error "openldap lib not found or functional" "$LINENO" 5
17088
echo "$as_me: error: openldap lib not found or functional" >&2;}
14258
fi
17089
   { (exit 1); exit 1; }; }
14259
17090
fi
14260
   else
17091
14261
	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Netscape/Mozilla" >&5
17092
   else
14262
$as_echo "Netscape/Mozilla" >&6; }
17093
	   echo "$as_me:$LINENO: result: Netscape/Mozilla" >&5
17094
echo "${ECHO_T}Netscape/Mozilla" >&6
17095
	   # TODO. Actually do a sanity check and check for
14263
	   # TODO. Actually do a sanity check and check for
17096
	   # LDAP_OPT_SIZELIMIT and LDAP_X_OPT_CONNECT_TIMEOUT
14264
	   # LDAP_OPT_SIZELIMIT and LDAP_X_OPT_CONNECT_TIMEOUT
17097
	   WITH_OPENLDAP=NO
14265
	   WITH_OPENLDAP=NO
Lines 17100-17115 Link Here
17100
14268
17101
14269
17102
14270
17103
echo "$as_me:$LINENO: checking which mozilla to use" >&5
14271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which mozilla to use" >&5
17104
echo $ECHO_N "checking which mozilla to use... $ECHO_C" >&6
14272
$as_echo_n "checking which mozilla to use... " >&6; }
17105
if test -n "$with_system_mozilla" && test "$with_system_mozilla" != "no"; then
14273
if test -n "$with_system_mozilla" && test "$with_system_mozilla" != "no"; then
17106
    echo "$as_me:$LINENO: result: external" >&5
14274
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
17107
echo "${ECHO_T}external" >&6
14275
$as_echo "external" >&6; }
17108
    SYSTEM_MOZILLA=YES
14276
    SYSTEM_MOZILLA=YES
17109
    ENABLE_NSS_MODULE=NO
14277
    ENABLE_NSS_MODULE=NO
17110
    enable_nss_module=no
14278
    enable_nss_module=no
17111
    echo "$as_me:$LINENO: checking which Mozilla flavour to use" >&5
14279
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Mozilla flavour to use" >&5
17112
echo $ECHO_N "checking which Mozilla flavour to use... $ECHO_C" >&6
14280
$as_echo_n "checking which Mozilla flavour to use... " >&6; }
17113
    if test -n "$with_system_mozilla" && test "$with_system_mozilla" = "libxul"; then
14281
    if test -n "$with_system_mozilla" && test "$with_system_mozilla" = "libxul"; then
17114
      MOZ_FLAVOUR=libxul
14282
      MOZ_FLAVOUR=libxul
17115
    elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "xulrunner"; then
14283
    elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "xulrunner"; then
Lines 17124-17131 Link Here
17124
      MOZ_FLAVOUR=libxul
14292
      MOZ_FLAVOUR=libxul
17125
    fi
14293
    fi
17126
    tmp=`echo $MOZ_FLAVOUR | $PERL -e 'print ucfirst(<STDIN>);'`
14294
    tmp=`echo $MOZ_FLAVOUR | $PERL -e 'print ucfirst(<STDIN>);'`
17127
    echo "$as_me:$LINENO: result: $tmp" >&5
14295
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmp" >&5
17128
echo "${ECHO_T}$tmp" >&6
14296
$as_echo "$tmp" >&6; }
17129
14297
17130
14298
17131
  succeeded=no
14299
  succeeded=no
Lines 17133-17142 Link Here
17133
  if test -z "$PKG_CONFIG"; then
14301
  if test -z "$PKG_CONFIG"; then
17134
    # Extract the first word of "pkg-config", so it can be a program name with args.
14302
    # Extract the first word of "pkg-config", so it can be a program name with args.
17135
set dummy pkg-config; ac_word=$2
14303
set dummy pkg-config; ac_word=$2
17136
echo "$as_me:$LINENO: checking for $ac_word" >&5
14304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17137
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14305
$as_echo_n "checking for $ac_word... " >&6; }
17138
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14306
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17139
  echo $ECHO_N "(cached) $ECHO_C" >&6
14307
  $as_echo_n "(cached) " >&6
17140
else
14308
else
17141
  case $PKG_CONFIG in
14309
  case $PKG_CONFIG in
17142
  [\\/]* | ?:[\\/]*)
14310
  [\\/]* | ?:[\\/]*)
Lines 17148-17175 Link Here
17148
do
14316
do
17149
  IFS=$as_save_IFS
14317
  IFS=$as_save_IFS
17150
  test -z "$as_dir" && as_dir=.
14318
  test -z "$as_dir" && as_dir=.
17151
  for ac_exec_ext in '' $ac_executable_extensions; do
14319
    for ac_exec_ext in '' $ac_executable_extensions; do
17152
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17153
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14321
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17154
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14322
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17155
    break 2
14323
    break 2
17156
  fi
14324
  fi
17157
done
14325
done
17158
done
14326
  done
14327
IFS=$as_save_IFS
17159
14328
17160
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14329
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17161
  ;;
14330
  ;;
17162
esac
14331
esac
17163
fi
14332
fi
17164
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14333
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17165
17166
if test -n "$PKG_CONFIG"; then
14334
if test -n "$PKG_CONFIG"; then
17167
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17168
echo "${ECHO_T}$PKG_CONFIG" >&6
14336
$as_echo "$PKG_CONFIG" >&6; }
17169
else
14337
else
17170
  echo "$as_me:$LINENO: result: no" >&5
14338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171
echo "${ECHO_T}no" >&6
14339
$as_echo "no" >&6; }
17172
fi
14340
fi
14341
17173
14342
17174
  fi
14343
  fi
17175
14344
Lines 17181-17205 Link Here
17181
  else
14350
  else
17182
     PKG_CONFIG_MIN_VERSION=0.9.0
14351
     PKG_CONFIG_MIN_VERSION=0.9.0
17183
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14352
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17184
        echo "$as_me:$LINENO: checking for nss" >&5
14353
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
17185
echo $ECHO_N "checking for nss... $ECHO_C" >&6
14354
$as_echo_n "checking for nss... " >&6; }
17186
14355
17187
        if $PKG_CONFIG --exists "nss" ; then
14356
        if $PKG_CONFIG --exists "nss" ; then
17188
            echo "$as_me:$LINENO: result: yes" >&5
14357
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17189
echo "${ECHO_T}yes" >&6
14358
$as_echo "yes" >&6; }
17190
            succeeded=yes
14359
            succeeded=yes
17191
14360
17192
            echo "$as_me:$LINENO: checking MOZ_NSS_CFLAGS" >&5
14361
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSS_CFLAGS" >&5
17193
echo $ECHO_N "checking MOZ_NSS_CFLAGS... $ECHO_C" >&6
14362
$as_echo_n "checking MOZ_NSS_CFLAGS... " >&6; }
17194
            MOZ_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss"`
14363
            MOZ_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss"`
17195
            echo "$as_me:$LINENO: result: $MOZ_NSS_CFLAGS" >&5
14364
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSS_CFLAGS" >&5
17196
echo "${ECHO_T}$MOZ_NSS_CFLAGS" >&6
14365
$as_echo "$MOZ_NSS_CFLAGS" >&6; }
17197
14366
17198
            echo "$as_me:$LINENO: checking MOZ_NSS_LIBS" >&5
14367
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSS_LIBS" >&5
17199
echo $ECHO_N "checking MOZ_NSS_LIBS... $ECHO_C" >&6
14368
$as_echo_n "checking MOZ_NSS_LIBS... " >&6; }
17200
            MOZ_NSS_LIBS=`$PKG_CONFIG --libs "nss"`
14369
            MOZ_NSS_LIBS=`$PKG_CONFIG --libs "nss"`
17201
            echo "$as_me:$LINENO: result: $MOZ_NSS_LIBS" >&5
14370
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSS_LIBS" >&5
17202
echo "${ECHO_T}$MOZ_NSS_LIBS" >&6
14371
$as_echo "$MOZ_NSS_LIBS" >&6; }
17203
        else
14372
        else
17204
            MOZ_NSS_CFLAGS=""
14373
            MOZ_NSS_CFLAGS=""
17205
            MOZ_NSS_LIBS=""
14374
            MOZ_NSS_LIBS=""
Lines 17230-17239 Link Here
17230
  if test -z "$PKG_CONFIG"; then
14399
  if test -z "$PKG_CONFIG"; then
17231
    # Extract the first word of "pkg-config", so it can be a program name with args.
14400
    # Extract the first word of "pkg-config", so it can be a program name with args.
17232
set dummy pkg-config; ac_word=$2
14401
set dummy pkg-config; ac_word=$2
17233
echo "$as_me:$LINENO: checking for $ac_word" >&5
14402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17234
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14403
$as_echo_n "checking for $ac_word... " >&6; }
17235
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14404
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17236
  echo $ECHO_N "(cached) $ECHO_C" >&6
14405
  $as_echo_n "(cached) " >&6
17237
else
14406
else
17238
  case $PKG_CONFIG in
14407
  case $PKG_CONFIG in
17239
  [\\/]* | ?:[\\/]*)
14408
  [\\/]* | ?:[\\/]*)
Lines 17245-17272 Link Here
17245
do
14414
do
17246
  IFS=$as_save_IFS
14415
  IFS=$as_save_IFS
17247
  test -z "$as_dir" && as_dir=.
14416
  test -z "$as_dir" && as_dir=.
17248
  for ac_exec_ext in '' $ac_executable_extensions; do
14417
    for ac_exec_ext in '' $ac_executable_extensions; do
17249
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14418
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17250
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14419
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17251
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14420
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17252
    break 2
14421
    break 2
17253
  fi
14422
  fi
17254
done
14423
done
17255
done
14424
  done
14425
IFS=$as_save_IFS
17256
14426
17257
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14427
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17258
  ;;
14428
  ;;
17259
esac
14429
esac
17260
fi
14430
fi
17261
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14431
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17262
17263
if test -n "$PKG_CONFIG"; then
14432
if test -n "$PKG_CONFIG"; then
17264
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17265
echo "${ECHO_T}$PKG_CONFIG" >&6
14434
$as_echo "$PKG_CONFIG" >&6; }
17266
else
14435
else
17267
  echo "$as_me:$LINENO: result: no" >&5
14436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17268
echo "${ECHO_T}no" >&6
14437
$as_echo "no" >&6; }
17269
fi
14438
fi
14439
17270
14440
17271
  fi
14441
  fi
17272
14442
Lines 17278-17302 Link Here
17278
  else
14448
  else
17279
     PKG_CONFIG_MIN_VERSION=0.9.0
14449
     PKG_CONFIG_MIN_VERSION=0.9.0
17280
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14450
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17281
        echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-nss " >&5
14451
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $MOZ_FLAVOUR-nss " >&5
17282
echo $ECHO_N "checking for $MOZ_FLAVOUR-nss ... $ECHO_C" >&6
14452
$as_echo_n "checking for $MOZ_FLAVOUR-nss ... " >&6; }
17283
14453
17284
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nss " ; then
14454
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nss " ; then
17285
            echo "$as_me:$LINENO: result: yes" >&5
14455
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17286
echo "${ECHO_T}yes" >&6
14456
$as_echo "yes" >&6; }
17287
            succeeded=yes
14457
            succeeded=yes
17288
14458
17289
            echo "$as_me:$LINENO: checking MOZ_NSS_CFLAGS" >&5
14459
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSS_CFLAGS" >&5
17290
echo $ECHO_N "checking MOZ_NSS_CFLAGS... $ECHO_C" >&6
14460
$as_echo_n "checking MOZ_NSS_CFLAGS... " >&6; }
17291
            MOZ_NSS_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nss "`
14461
            MOZ_NSS_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nss "`
17292
            echo "$as_me:$LINENO: result: $MOZ_NSS_CFLAGS" >&5
14462
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSS_CFLAGS" >&5
17293
echo "${ECHO_T}$MOZ_NSS_CFLAGS" >&6
14463
$as_echo "$MOZ_NSS_CFLAGS" >&6; }
17294
14464
17295
            echo "$as_me:$LINENO: checking MOZ_NSS_LIBS" >&5
14465
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSS_LIBS" >&5
17296
echo $ECHO_N "checking MOZ_NSS_LIBS... $ECHO_C" >&6
14466
$as_echo_n "checking MOZ_NSS_LIBS... " >&6; }
17297
            MOZ_NSS_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nss "`
14467
            MOZ_NSS_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nss "`
17298
            echo "$as_me:$LINENO: result: $MOZ_NSS_LIBS" >&5
14468
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSS_LIBS" >&5
17299
echo "${ECHO_T}$MOZ_NSS_LIBS" >&6
14469
$as_echo "$MOZ_NSS_LIBS" >&6; }
17300
        else
14470
        else
17301
            MOZ_NSS_CFLAGS=""
14471
            MOZ_NSS_CFLAGS=""
17302
            MOZ_NSS_LIBS=""
14472
            MOZ_NSS_LIBS=""
Lines 17317-17325 Link Here
17317
  if test $succeeded = yes; then
14487
  if test $succeeded = yes; then
17318
     :
14488
     :
17319
  else
14489
  else
17320
     { { echo "$as_me:$LINENO: error: Library requirements ($MOZ_FLAVOUR-nss ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14490
     as_fn_error "Library requirements ($MOZ_FLAVOUR-nss ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
17321
echo "$as_me: error: Library requirements ($MOZ_FLAVOUR-nss ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17322
   { (exit 1); exit 1; }; }
17323
  fi
14491
  fi
17324
14492
17325
    else
14493
    else
Lines 17334-17343 Link Here
17334
  if test -z "$PKG_CONFIG"; then
14502
  if test -z "$PKG_CONFIG"; then
17335
    # Extract the first word of "pkg-config", so it can be a program name with args.
14503
    # Extract the first word of "pkg-config", so it can be a program name with args.
17336
set dummy pkg-config; ac_word=$2
14504
set dummy pkg-config; ac_word=$2
17337
echo "$as_me:$LINENO: checking for $ac_word" >&5
14505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17338
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14506
$as_echo_n "checking for $ac_word... " >&6; }
17339
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14507
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17340
  echo $ECHO_N "(cached) $ECHO_C" >&6
14508
  $as_echo_n "(cached) " >&6
17341
else
14509
else
17342
  case $PKG_CONFIG in
14510
  case $PKG_CONFIG in
17343
  [\\/]* | ?:[\\/]*)
14511
  [\\/]* | ?:[\\/]*)
Lines 17349-17376 Link Here
17349
do
14517
do
17350
  IFS=$as_save_IFS
14518
  IFS=$as_save_IFS
17351
  test -z "$as_dir" && as_dir=.
14519
  test -z "$as_dir" && as_dir=.
17352
  for ac_exec_ext in '' $ac_executable_extensions; do
14520
    for ac_exec_ext in '' $ac_executable_extensions; do
17353
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14521
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17354
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14522
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17355
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17356
    break 2
14524
    break 2
17357
  fi
14525
  fi
17358
done
14526
done
17359
done
14527
  done
14528
IFS=$as_save_IFS
17360
14529
17361
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14530
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17362
  ;;
14531
  ;;
17363
esac
14532
esac
17364
fi
14533
fi
17365
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14534
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17366
17367
if test -n "$PKG_CONFIG"; then
14535
if test -n "$PKG_CONFIG"; then
17368
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17369
echo "${ECHO_T}$PKG_CONFIG" >&6
14537
$as_echo "$PKG_CONFIG" >&6; }
17370
else
14538
else
17371
  echo "$as_me:$LINENO: result: no" >&5
14539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17372
echo "${ECHO_T}no" >&6
14540
$as_echo "no" >&6; }
17373
fi
14541
fi
14542
17374
14543
17375
  fi
14544
  fi
17376
14545
Lines 17382-17406 Link Here
17382
  else
14551
  else
17383
     PKG_CONFIG_MIN_VERSION=0.9.0
14552
     PKG_CONFIG_MIN_VERSION=0.9.0
17384
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14553
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17385
        echo "$as_me:$LINENO: checking for nspr " >&5
14554
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr " >&5
17386
echo $ECHO_N "checking for nspr ... $ECHO_C" >&6
14555
$as_echo_n "checking for nspr ... " >&6; }
17387
14556
17388
        if $PKG_CONFIG --exists "nspr " ; then
14557
        if $PKG_CONFIG --exists "nspr " ; then
17389
            echo "$as_me:$LINENO: result: yes" >&5
14558
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17390
echo "${ECHO_T}yes" >&6
14559
$as_echo "yes" >&6; }
17391
            succeeded=yes
14560
            succeeded=yes
17392
14561
17393
            echo "$as_me:$LINENO: checking MOZ_NSPR_CFLAGS" >&5
14562
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSPR_CFLAGS" >&5
17394
echo $ECHO_N "checking MOZ_NSPR_CFLAGS... $ECHO_C" >&6
14563
$as_echo_n "checking MOZ_NSPR_CFLAGS... " >&6; }
17395
            MOZ_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr "`
14564
            MOZ_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr "`
17396
            echo "$as_me:$LINENO: result: $MOZ_NSPR_CFLAGS" >&5
14565
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSPR_CFLAGS" >&5
17397
echo "${ECHO_T}$MOZ_NSPR_CFLAGS" >&6
14566
$as_echo "$MOZ_NSPR_CFLAGS" >&6; }
17398
14567
17399
            echo "$as_me:$LINENO: checking MOZ_NSPR_LIBS" >&5
14568
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSPR_LIBS" >&5
17400
echo $ECHO_N "checking MOZ_NSPR_LIBS... $ECHO_C" >&6
14569
$as_echo_n "checking MOZ_NSPR_LIBS... " >&6; }
17401
            MOZ_NSPR_LIBS=`$PKG_CONFIG --libs "nspr "`
14570
            MOZ_NSPR_LIBS=`$PKG_CONFIG --libs "nspr "`
17402
            echo "$as_me:$LINENO: result: $MOZ_NSPR_LIBS" >&5
14571
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSPR_LIBS" >&5
17403
echo "${ECHO_T}$MOZ_NSPR_LIBS" >&6
14572
$as_echo "$MOZ_NSPR_LIBS" >&6; }
17404
        else
14573
        else
17405
            MOZ_NSPR_CFLAGS=""
14574
            MOZ_NSPR_CFLAGS=""
17406
            MOZ_NSPR_LIBS=""
14575
            MOZ_NSPR_LIBS=""
Lines 17421-17429 Link Here
17421
  if test $succeeded = yes; then
14590
  if test $succeeded = yes; then
17422
     :
14591
     :
17423
  else
14592
  else
17424
     { { echo "$as_me:$LINENO: error: Library requirements (nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14593
     as_fn_error "Library requirements (nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
17425
echo "$as_me: error: Library requirements (nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17426
   { (exit 1); exit 1; }; }
17427
  fi
14594
  fi
17428
14595
17429
      NSPR_LIB="-L`$PKG_CONFIG --variable=libdir nspr`"
14596
      NSPR_LIB="-L`$PKG_CONFIG --variable=libdir nspr`"
Lines 17435-17444 Link Here
17435
  if test -z "$PKG_CONFIG"; then
14602
  if test -z "$PKG_CONFIG"; then
17436
    # Extract the first word of "pkg-config", so it can be a program name with args.
14603
    # Extract the first word of "pkg-config", so it can be a program name with args.
17437
set dummy pkg-config; ac_word=$2
14604
set dummy pkg-config; ac_word=$2
17438
echo "$as_me:$LINENO: checking for $ac_word" >&5
14605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17439
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14606
$as_echo_n "checking for $ac_word... " >&6; }
17440
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14607
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17441
  echo $ECHO_N "(cached) $ECHO_C" >&6
14608
  $as_echo_n "(cached) " >&6
17442
else
14609
else
17443
  case $PKG_CONFIG in
14610
  case $PKG_CONFIG in
17444
  [\\/]* | ?:[\\/]*)
14611
  [\\/]* | ?:[\\/]*)
Lines 17450-17477 Link Here
17450
do
14617
do
17451
  IFS=$as_save_IFS
14618
  IFS=$as_save_IFS
17452
  test -z "$as_dir" && as_dir=.
14619
  test -z "$as_dir" && as_dir=.
17453
  for ac_exec_ext in '' $ac_executable_extensions; do
14620
    for ac_exec_ext in '' $ac_executable_extensions; do
17454
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17455
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14622
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17456
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14623
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17457
    break 2
14624
    break 2
17458
  fi
14625
  fi
17459
done
14626
done
17460
done
14627
  done
14628
IFS=$as_save_IFS
17461
14629
17462
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14630
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17463
  ;;
14631
  ;;
17464
esac
14632
esac
17465
fi
14633
fi
17466
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14634
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17467
17468
if test -n "$PKG_CONFIG"; then
14635
if test -n "$PKG_CONFIG"; then
17469
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17470
echo "${ECHO_T}$PKG_CONFIG" >&6
14637
$as_echo "$PKG_CONFIG" >&6; }
17471
else
14638
else
17472
  echo "$as_me:$LINENO: result: no" >&5
14639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17473
echo "${ECHO_T}no" >&6
14640
$as_echo "no" >&6; }
17474
fi
14641
fi
14642
17475
14643
17476
  fi
14644
  fi
17477
14645
Lines 17483-17507 Link Here
17483
  else
14651
  else
17484
     PKG_CONFIG_MIN_VERSION=0.9.0
14652
     PKG_CONFIG_MIN_VERSION=0.9.0
17485
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14653
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17486
        echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-nspr " >&5
14654
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $MOZ_FLAVOUR-nspr " >&5
17487
echo $ECHO_N "checking for $MOZ_FLAVOUR-nspr ... $ECHO_C" >&6
14655
$as_echo_n "checking for $MOZ_FLAVOUR-nspr ... " >&6; }
17488
14656
17489
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nspr " ; then
14657
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nspr " ; then
17490
            echo "$as_me:$LINENO: result: yes" >&5
14658
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17491
echo "${ECHO_T}yes" >&6
14659
$as_echo "yes" >&6; }
17492
            succeeded=yes
14660
            succeeded=yes
17493
14661
17494
            echo "$as_me:$LINENO: checking MOZ_NSPR_CFLAGS" >&5
14662
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSPR_CFLAGS" >&5
17495
echo $ECHO_N "checking MOZ_NSPR_CFLAGS... $ECHO_C" >&6
14663
$as_echo_n "checking MOZ_NSPR_CFLAGS... " >&6; }
17496
            MOZ_NSPR_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nspr "`
14664
            MOZ_NSPR_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nspr "`
17497
            echo "$as_me:$LINENO: result: $MOZ_NSPR_CFLAGS" >&5
14665
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSPR_CFLAGS" >&5
17498
echo "${ECHO_T}$MOZ_NSPR_CFLAGS" >&6
14666
$as_echo "$MOZ_NSPR_CFLAGS" >&6; }
17499
14667
17500
            echo "$as_me:$LINENO: checking MOZ_NSPR_LIBS" >&5
14668
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZ_NSPR_LIBS" >&5
17501
echo $ECHO_N "checking MOZ_NSPR_LIBS... $ECHO_C" >&6
14669
$as_echo_n "checking MOZ_NSPR_LIBS... " >&6; }
17502
            MOZ_NSPR_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nspr "`
14670
            MOZ_NSPR_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nspr "`
17503
            echo "$as_me:$LINENO: result: $MOZ_NSPR_LIBS" >&5
14671
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZ_NSPR_LIBS" >&5
17504
echo "${ECHO_T}$MOZ_NSPR_LIBS" >&6
14672
$as_echo "$MOZ_NSPR_LIBS" >&6; }
17505
        else
14673
        else
17506
            MOZ_NSPR_CFLAGS=""
14674
            MOZ_NSPR_CFLAGS=""
17507
            MOZ_NSPR_LIBS=""
14675
            MOZ_NSPR_LIBS=""
Lines 17522-17530 Link Here
17522
  if test $succeeded = yes; then
14690
  if test $succeeded = yes; then
17523
     :
14691
     :
17524
  else
14692
  else
17525
     { { echo "$as_me:$LINENO: error: Library requirements ($MOZ_FLAVOUR-nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14693
     as_fn_error "Library requirements ($MOZ_FLAVOUR-nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
17526
echo "$as_me: error: Library requirements ($MOZ_FLAVOUR-nspr ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17527
   { (exit 1); exit 1; }; }
17528
  fi
14694
  fi
17529
14695
17530
    fi
14696
    fi
Lines 17536-17545 Link Here
17536
  if test -z "$PKG_CONFIG"; then
14702
  if test -z "$PKG_CONFIG"; then
17537
    # Extract the first word of "pkg-config", so it can be a program name with args.
14703
    # Extract the first word of "pkg-config", so it can be a program name with args.
17538
set dummy pkg-config; ac_word=$2
14704
set dummy pkg-config; ac_word=$2
17539
echo "$as_me:$LINENO: checking for $ac_word" >&5
14705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17540
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14706
$as_echo_n "checking for $ac_word... " >&6; }
17541
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14707
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17542
  echo $ECHO_N "(cached) $ECHO_C" >&6
14708
  $as_echo_n "(cached) " >&6
17543
else
14709
else
17544
  case $PKG_CONFIG in
14710
  case $PKG_CONFIG in
17545
  [\\/]* | ?:[\\/]*)
14711
  [\\/]* | ?:[\\/]*)
Lines 17551-17578 Link Here
17551
do
14717
do
17552
  IFS=$as_save_IFS
14718
  IFS=$as_save_IFS
17553
  test -z "$as_dir" && as_dir=.
14719
  test -z "$as_dir" && as_dir=.
17554
  for ac_exec_ext in '' $ac_executable_extensions; do
14720
    for ac_exec_ext in '' $ac_executable_extensions; do
17555
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17556
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14722
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17557
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14723
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17558
    break 2
14724
    break 2
17559
  fi
14725
  fi
17560
done
14726
done
17561
done
14727
  done
14728
IFS=$as_save_IFS
17562
14729
17563
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14730
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17564
  ;;
14731
  ;;
17565
esac
14732
esac
17566
fi
14733
fi
17567
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14734
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17568
17569
if test -n "$PKG_CONFIG"; then
14735
if test -n "$PKG_CONFIG"; then
17570
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17571
echo "${ECHO_T}$PKG_CONFIG" >&6
14737
$as_echo "$PKG_CONFIG" >&6; }
17572
else
14738
else
17573
  echo "$as_me:$LINENO: result: no" >&5
14739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17574
echo "${ECHO_T}no" >&6
14740
$as_echo "no" >&6; }
17575
fi
14741
fi
14742
17576
14743
17577
  fi
14744
  fi
17578
14745
Lines 17584-17608 Link Here
17584
  else
14751
  else
17585
     PKG_CONFIG_MIN_VERSION=0.9.0
14752
     PKG_CONFIG_MIN_VERSION=0.9.0
17586
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14753
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17587
        echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-xpcom" >&5
14754
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $MOZ_FLAVOUR-xpcom" >&5
17588
echo $ECHO_N "checking for $MOZ_FLAVOUR-xpcom... $ECHO_C" >&6
14755
$as_echo_n "checking for $MOZ_FLAVOUR-xpcom... " >&6; }
17589
14756
17590
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-xpcom" ; then
14757
        if $PKG_CONFIG --exists "$MOZ_FLAVOUR-xpcom" ; then
17591
            echo "$as_me:$LINENO: result: yes" >&5
14758
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17592
echo "${ECHO_T}yes" >&6
14759
$as_echo "yes" >&6; }
17593
            succeeded=yes
14760
            succeeded=yes
17594
14761
17595
            echo "$as_me:$LINENO: checking MOZILLAXPCOM_CFLAGS" >&5
14762
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLAXPCOM_CFLAGS" >&5
17596
echo $ECHO_N "checking MOZILLAXPCOM_CFLAGS... $ECHO_C" >&6
14763
$as_echo_n "checking MOZILLAXPCOM_CFLAGS... " >&6; }
17597
            MOZILLAXPCOM_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-xpcom"`
14764
            MOZILLAXPCOM_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-xpcom"`
17598
            echo "$as_me:$LINENO: result: $MOZILLAXPCOM_CFLAGS" >&5
14765
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLAXPCOM_CFLAGS" >&5
17599
echo "${ECHO_T}$MOZILLAXPCOM_CFLAGS" >&6
14766
$as_echo "$MOZILLAXPCOM_CFLAGS" >&6; }
17600
14767
17601
            echo "$as_me:$LINENO: checking MOZILLAXPCOM_LIBS" >&5
14768
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLAXPCOM_LIBS" >&5
17602
echo $ECHO_N "checking MOZILLAXPCOM_LIBS... $ECHO_C" >&6
14769
$as_echo_n "checking MOZILLAXPCOM_LIBS... " >&6; }
17603
            MOZILLAXPCOM_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-xpcom"`
14770
            MOZILLAXPCOM_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-xpcom"`
17604
            echo "$as_me:$LINENO: result: $MOZILLAXPCOM_LIBS" >&5
14771
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLAXPCOM_LIBS" >&5
17605
echo "${ECHO_T}$MOZILLAXPCOM_LIBS" >&6
14772
$as_echo "$MOZILLAXPCOM_LIBS" >&6; }
17606
        else
14773
        else
17607
            MOZILLAXPCOM_CFLAGS=""
14774
            MOZILLAXPCOM_CFLAGS=""
17608
            MOZILLAXPCOM_LIBS=""
14775
            MOZILLAXPCOM_LIBS=""
Lines 17637-17646 Link Here
17637
  if test -z "$PKG_CONFIG"; then
14804
  if test -z "$PKG_CONFIG"; then
17638
    # Extract the first word of "pkg-config", so it can be a program name with args.
14805
    # Extract the first word of "pkg-config", so it can be a program name with args.
17639
set dummy pkg-config; ac_word=$2
14806
set dummy pkg-config; ac_word=$2
17640
echo "$as_me:$LINENO: checking for $ac_word" >&5
14807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14808
$as_echo_n "checking for $ac_word... " >&6; }
17642
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14809
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17643
  echo $ECHO_N "(cached) $ECHO_C" >&6
14810
  $as_echo_n "(cached) " >&6
17644
else
14811
else
17645
  case $PKG_CONFIG in
14812
  case $PKG_CONFIG in
17646
  [\\/]* | ?:[\\/]*)
14813
  [\\/]* | ?:[\\/]*)
Lines 17652-17679 Link Here
17652
do
14819
do
17653
  IFS=$as_save_IFS
14820
  IFS=$as_save_IFS
17654
  test -z "$as_dir" && as_dir=.
14821
  test -z "$as_dir" && as_dir=.
17655
  for ac_exec_ext in '' $ac_executable_extensions; do
14822
    for ac_exec_ext in '' $ac_executable_extensions; do
17656
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17657
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14824
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17658
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14825
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17659
    break 2
14826
    break 2
17660
  fi
14827
  fi
17661
done
14828
done
17662
done
14829
  done
14830
IFS=$as_save_IFS
17663
14831
17664
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14832
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17665
  ;;
14833
  ;;
17666
esac
14834
esac
17667
fi
14835
fi
17668
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14836
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17669
17670
if test -n "$PKG_CONFIG"; then
14837
if test -n "$PKG_CONFIG"; then
17671
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17672
echo "${ECHO_T}$PKG_CONFIG" >&6
14839
$as_echo "$PKG_CONFIG" >&6; }
17673
else
14840
else
17674
  echo "$as_me:$LINENO: result: no" >&5
14841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17675
echo "${ECHO_T}no" >&6
14842
$as_echo "no" >&6; }
17676
fi
14843
fi
14844
17677
14845
17678
  fi
14846
  fi
17679
14847
Lines 17685-17709 Link Here
17685
  else
14853
  else
17686
     PKG_CONFIG_MIN_VERSION=0.9.0
14854
     PKG_CONFIG_MIN_VERSION=0.9.0
17687
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14855
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17688
        echo "$as_me:$LINENO: checking for libxul " >&5
14856
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxul " >&5
17689
echo $ECHO_N "checking for libxul ... $ECHO_C" >&6
14857
$as_echo_n "checking for libxul ... " >&6; }
17690
14858
17691
        if $PKG_CONFIG --exists "libxul " ; then
14859
        if $PKG_CONFIG --exists "libxul " ; then
17692
            echo "$as_me:$LINENO: result: yes" >&5
14860
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17693
echo "${ECHO_T}yes" >&6
14861
$as_echo "yes" >&6; }
17694
            succeeded=yes
14862
            succeeded=yes
17695
14863
17696
            echo "$as_me:$LINENO: checking MOZILLAXPCOM_CFLAGS" >&5
14864
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLAXPCOM_CFLAGS" >&5
17697
echo $ECHO_N "checking MOZILLAXPCOM_CFLAGS... $ECHO_C" >&6
14865
$as_echo_n "checking MOZILLAXPCOM_CFLAGS... " >&6; }
17698
            MOZILLAXPCOM_CFLAGS=`$PKG_CONFIG --cflags "libxul "`
14866
            MOZILLAXPCOM_CFLAGS=`$PKG_CONFIG --cflags "libxul "`
17699
            echo "$as_me:$LINENO: result: $MOZILLAXPCOM_CFLAGS" >&5
14867
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLAXPCOM_CFLAGS" >&5
17700
echo "${ECHO_T}$MOZILLAXPCOM_CFLAGS" >&6
14868
$as_echo "$MOZILLAXPCOM_CFLAGS" >&6; }
17701
14869
17702
            echo "$as_me:$LINENO: checking MOZILLAXPCOM_LIBS" >&5
14870
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLAXPCOM_LIBS" >&5
17703
echo $ECHO_N "checking MOZILLAXPCOM_LIBS... $ECHO_C" >&6
14871
$as_echo_n "checking MOZILLAXPCOM_LIBS... " >&6; }
17704
            MOZILLAXPCOM_LIBS=`$PKG_CONFIG --libs "libxul "`
14872
            MOZILLAXPCOM_LIBS=`$PKG_CONFIG --libs "libxul "`
17705
            echo "$as_me:$LINENO: result: $MOZILLAXPCOM_LIBS" >&5
14873
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLAXPCOM_LIBS" >&5
17706
echo "${ECHO_T}$MOZILLAXPCOM_LIBS" >&6
14874
$as_echo "$MOZILLAXPCOM_LIBS" >&6; }
17707
        else
14875
        else
17708
            MOZILLAXPCOM_CFLAGS=""
14876
            MOZILLAXPCOM_CFLAGS=""
17709
            MOZILLAXPCOM_LIBS=""
14877
            MOZILLAXPCOM_LIBS=""
Lines 17724-17732 Link Here
17724
  if test $succeeded = yes; then
14892
  if test $succeeded = yes; then
17725
     :
14893
     :
17726
  else
14894
  else
17727
     { { echo "$as_me:$LINENO: error: Library requirements (libxul ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14895
     as_fn_error "Library requirements (libxul ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
17728
echo "$as_me: error: Library requirements (libxul ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17729
   { (exit 1); exit 1; }; }
17730
  fi
14896
  fi
17731
14897
17732
      MOZ_INC=`$PKG_CONFIG --variable=includedir libxul`
14898
      MOZ_INC=`$PKG_CONFIG --variable=includedir libxul`
Lines 17744-17815 Link Here
17744
    save_LIBS="$LIBS"
14910
    save_LIBS="$LIBS"
17745
    CPPFLAGS="$CPPFLAGS $MOZ_NSS_CFLAGS"
14911
    CPPFLAGS="$CPPFLAGS $MOZ_NSS_CFLAGS"
17746
    LDFLAGS="$LDFLAGS $MOZ_NSS_LIBS"
14912
    LDFLAGS="$LDFLAGS $MOZ_NSS_LIBS"
17747
14913
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_GetCertFromPrivateKey in -lnss3" >&5
17748
echo "$as_me:$LINENO: checking for PK11_GetCertFromPrivateKey in -lnss3" >&5
14914
$as_echo_n "checking for PK11_GetCertFromPrivateKey in -lnss3... " >&6; }
17749
echo $ECHO_N "checking for PK11_GetCertFromPrivateKey in -lnss3... $ECHO_C" >&6
14915
if test "${ac_cv_lib_nss3_PK11_GetCertFromPrivateKey+set}" = set; then :
17750
if test "${ac_cv_lib_nss3_PK11_GetCertFromPrivateKey+set}" = set; then
14916
  $as_echo_n "(cached) " >&6
17751
  echo $ECHO_N "(cached) $ECHO_C" >&6
17752
else
14917
else
17753
  ac_check_lib_save_LIBS=$LIBS
14918
  ac_check_lib_save_LIBS=$LIBS
17754
LIBS="-lnss3  $LIBS"
14919
LIBS="-lnss3  $LIBS"
17755
cat >conftest.$ac_ext <<_ACEOF
14920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756
/* confdefs.h.  */
14921
/* end confdefs.h.  */
17757
_ACEOF
14922
17758
cat confdefs.h >>conftest.$ac_ext
14923
/* Override any GCC internal prototype to avoid an error.
17759
cat >>conftest.$ac_ext <<_ACEOF
14924
   Use char because int might match the return type of a GCC
17760
/* end confdefs.h.  */
14925
   builtin and then its argument prototype would still apply.  */
17761
17762
/* Override any gcc2 internal prototype to avoid an error.  */
17763
#ifdef __cplusplus
14926
#ifdef __cplusplus
17764
extern "C"
14927
extern "C"
17765
#endif
14928
#endif
17766
/* We use char because int might match the return type of a gcc2
17767
   builtin and then its argument prototype would still apply.  */
17768
char PK11_GetCertFromPrivateKey ();
14929
char PK11_GetCertFromPrivateKey ();
17769
int
14930
int
17770
main ()
14931
main ()
17771
{
14932
{
17772
PK11_GetCertFromPrivateKey ();
14933
return PK11_GetCertFromPrivateKey ();
17773
  ;
14934
  ;
17774
  return 0;
14935
  return 0;
17775
}
14936
}
17776
_ACEOF
14937
_ACEOF
17777
rm -f conftest.$ac_objext conftest$ac_exeext
14938
if ac_fn_c_try_link "$LINENO"; then :
17778
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17779
  (eval $ac_link) 2>conftest.er1
17780
  ac_status=$?
17781
  grep -v '^ *+' conftest.er1 >conftest.err
17782
  rm -f conftest.er1
17783
  cat conftest.err >&5
17784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785
  (exit $ac_status); } &&
17786
	 { ac_try='test -z "$ac_c_werror_flag"
17787
			 || test ! -s conftest.err'
17788
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789
  (eval $ac_try) 2>&5
17790
  ac_status=$?
17791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792
  (exit $ac_status); }; } &&
17793
	 { ac_try='test -s conftest$ac_exeext'
17794
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795
  (eval $ac_try) 2>&5
17796
  ac_status=$?
17797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798
  (exit $ac_status); }; }; then
17799
  ac_cv_lib_nss3_PK11_GetCertFromPrivateKey=yes
14939
  ac_cv_lib_nss3_PK11_GetCertFromPrivateKey=yes
17800
else
14940
else
17801
  echo "$as_me: failed program was:" >&5
14941
  ac_cv_lib_nss3_PK11_GetCertFromPrivateKey=no
17802
sed 's/^/| /' conftest.$ac_ext >&5
14942
fi
17803
14943
rm -f core conftest.err conftest.$ac_objext \
17804
ac_cv_lib_nss3_PK11_GetCertFromPrivateKey=no
14944
    conftest$ac_exeext conftest.$ac_ext
17805
fi
17806
rm -f conftest.err conftest.$ac_objext \
17807
      conftest$ac_exeext conftest.$ac_ext
17808
LIBS=$ac_check_lib_save_LIBS
14945
LIBS=$ac_check_lib_save_LIBS
17809
fi
14946
fi
17810
echo "$as_me:$LINENO: result: $ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&5
14947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&5
17811
echo "${ECHO_T}$ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&6
14948
$as_echo "$ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&6; }
17812
if test $ac_cv_lib_nss3_PK11_GetCertFromPrivateKey = yes; then
14949
if test "x$ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" = x""yes; then :
17813
  cat >>confdefs.h <<_ACEOF
14950
  cat >>confdefs.h <<_ACEOF
17814
#define HAVE_LIBNSS3 1
14951
#define HAVE_LIBNSS3 1
17815
_ACEOF
14952
_ACEOF
Lines 17817-17829 Link Here
17817
  LIBS="-lnss3 $LIBS"
14954
  LIBS="-lnss3 $LIBS"
17818
14955
17819
else
14956
else
17820
  { { echo "$as_me:$LINENO: error: PK11_GetCertFromPrivateKey missing but needed.
14957
  as_fn_error "PK11_GetCertFromPrivateKey missing but needed.
17821
See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
14958
See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
17822
Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5)" >&5
14959
Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5)" "$LINENO" 5
17823
echo "$as_me: error: PK11_GetCertFromPrivateKey missing but needed.
17824
See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
17825
Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5)" >&2;}
17826
   { (exit 1); exit 1; }; }
17827
fi
14960
fi
17828
14961
17829
    LDFLAGS="$save_LDFLAGS"
14962
    LDFLAGS="$save_LDFLAGS"
Lines 17832-17851 Link Here
17832
14965
17833
    MOZ_LIB_XPCOM=$MOZILLAXPCOM_LIBS
14966
    MOZ_LIB_XPCOM=$MOZILLAXPCOM_LIBS
17834
    if test "$WITH_LDAP" != "NO" && test "$WITH_OPENLDAP" != "YES"; then
14967
    if test "$WITH_LDAP" != "NO" && test "$WITH_OPENLDAP" != "YES"; then
17835
      echo "$as_me:$LINENO: checking whether $tmp was compiled with --enable-ldap" >&5
14968
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $tmp was compiled with --enable-ldap" >&5
17836
echo $ECHO_N "checking whether $tmp was compiled with --enable-ldap... $ECHO_C" >&6
14969
$as_echo_n "checking whether $tmp was compiled with --enable-ldap... " >&6; }
17837
      if test -d "$MOZ_INC/ldap"; then
14970
      if test -d "$MOZ_INC/ldap"; then
17838
         echo "$as_me:$LINENO: result: yes" >&5
14971
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17839
echo "${ECHO_T}yes" >&6
14972
$as_echo "yes" >&6; }
17840
         MOZ_LDAP_CFLAGS="-I$MOZ_INC"
14973
         MOZ_LDAP_CFLAGS="-I$MOZ_INC"
17841
      else
14974
      else
17842
        { { echo "$as_me:$LINENO: error: no.
14975
        as_fn_error "no.
17843
Could not find LDAP header include files in $MOZ_INC/ldap.
14976
Could not find LDAP header include files in $MOZ_INC/ldap.
17844
Please recompile $tmp with --enable-ldap or use --with-openldap." >&5
14977
Please recompile $tmp with --enable-ldap or use --with-openldap." "$LINENO" 5
17845
echo "$as_me: error: no.
17846
Could not find LDAP header include files in $MOZ_INC/ldap.
17847
Please recompile $tmp with --enable-ldap or use --with-openldap." >&2;}
17848
   { (exit 1); exit 1; }; }
17849
      fi
14978
      fi
17850
    fi
14979
    fi
17851
14980
Lines 17856-17903 Link Here
17856
    fi
14985
    fi
17857
14986
17858
elif test "$enable_mozilla" = "no"; then
14987
elif test "$enable_mozilla" = "no"; then
17859
    echo "$as_me:$LINENO: result: none" >&5
14988
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
17860
echo "${ECHO_T}none" >&6
14989
$as_echo "none" >&6; }
17861
    WITH_MOZILLA=NO
14990
    WITH_MOZILLA=NO
17862
    ENABLE_NSS_MODULE=NO
14991
    ENABLE_NSS_MODULE=NO
17863
    enable_nss_module=no
14992
    enable_nss_module=no
17864
else
14993
else
17865
    echo "$as_me:$LINENO: result: internal" >&5
14994
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
17866
echo "${ECHO_T}internal" >&6
14995
$as_echo "internal" >&6; }
17867
    SYSTEM_MOZILLA=NO
14996
    SYSTEM_MOZILLA=NO
17868
    BUILD_TYPE="$BUILD_TYPE MOZ"
14997
    BUILD_TYPE="$BUILD_TYPE MOZ"
17869
if test -z "$with_mozilla_version"; then
14998
if test -z "$with_mozilla_version"; then
17870
   MOZILLA_VERSION=
14999
   MOZILLA_VERSION=
17871
else
15000
else
17872
   echo "$as_me:$LINENO: checking which mozilla version to build" >&5
15001
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which mozilla version to build" >&5
17873
echo $ECHO_N "checking which mozilla version to build... $ECHO_C" >&6
15002
$as_echo_n "checking which mozilla version to build... " >&6; }
17874
   MOZILLA_VERSION=$with_mozilla_version
15003
   MOZILLA_VERSION=$with_mozilla_version
17875
   enable_build_mozilla=1
15004
   enable_build_mozilla=1
17876
   echo "$as_me:$LINENO: result: $MOZILLA_VERSION" >&5
15005
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_VERSION" >&5
17877
echo "${ECHO_T}$MOZILLA_VERSION" >&6
15006
$as_echo "$MOZILLA_VERSION" >&6; }
17878
fi
15007
fi
17879
15008
17880
15009
17881
15010
17882
echo "$as_me:$LINENO: checking for toolkit mozilla should use" >&5
15011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit mozilla should use" >&5
17883
echo $ECHO_N "checking for toolkit mozilla should use... $ECHO_C" >&6
15012
$as_echo_n "checking for toolkit mozilla should use... " >&6; }
17884
if test -z "$with_mozilla_toolkit"; then
15013
if test -z "$with_mozilla_toolkit"; then
17885
   if test "$_os" != "WINNT" ; then
15014
   if test "$_os" != "WINNT" ; then
17886
      if test "$_os" = "Darwin" ; then
15015
      if test "$_os" = "Darwin" ; then
17887
         MOZILLA_TOOLKIT=mac
15016
         MOZILLA_TOOLKIT=mac
17888
         echo "$as_me:$LINENO: result: mac" >&5
15017
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: mac" >&5
17889
echo "${ECHO_T}mac" >&6
15018
$as_echo "mac" >&6; }
17890
      else
15019
      else
17891
         MOZILLA_TOOLKIT=gtk2
15020
         MOZILLA_TOOLKIT=gtk2
17892
         echo "$as_me:$LINENO: result: gtk2" >&5
15021
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: gtk2" >&5
17893
echo "${ECHO_T}gtk2" >&6
15022
$as_echo "gtk2" >&6; }
17894
      fi
15023
      fi
17895
   fi
15024
   fi
17896
else
15025
else
17897
   MOZILLA_TOOLKIT=$with_mozilla_toolkit
15026
   MOZILLA_TOOLKIT=$with_mozilla_toolkit
17898
   enable_build_mozilla=1
15027
   enable_build_mozilla=1
17899
   echo "$as_me:$LINENO: result: $MOZILLA_TOOLKIT" >&5
15028
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_TOOLKIT" >&5
17900
echo "${ECHO_T}$MOZILLA_TOOLKIT" >&6
15029
$as_echo "$MOZILLA_TOOLKIT" >&6; }
17901
fi
15030
fi
17902
#if test "$_os" = "Darwin" && test "$MOZILLA_TOOLKIT" != "gtk2"; then
15031
#if test "$_os" = "Darwin" && test "$MOZILLA_TOOLKIT" != "gtk2"; then
17903
#   #only gtk2 toolkit supported - xlib or cocoa nees glib1 and libIDL1 - the latter is not
15032
#   #only gtk2 toolkit supported - xlib or cocoa nees glib1 and libIDL1 - the latter is not
Lines 17914-17976 Link Here
17914
      enable_build_mozilla=
15043
      enable_build_mozilla=
17915
fi
15044
fi
17916
15045
17917
echo "$as_me:$LINENO: checking whether to build Mozilla/SeaMonkey" >&5
15046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Mozilla/SeaMonkey" >&5
17918
echo $ECHO_N "checking whether to build Mozilla/SeaMonkey... $ECHO_C" >&6
15047
$as_echo_n "checking whether to build Mozilla/SeaMonkey... " >&6; }
17919
if test -n "$enable_build_mozilla"; then
15048
if test -n "$enable_build_mozilla"; then
17920
   BUILD_MOZAB="TRUE"
15049
   BUILD_MOZAB="TRUE"
17921
   echo "$as_me:$LINENO: result: yes" >&5
15050
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17922
echo "${ECHO_T}yes" >&6
15051
$as_echo "yes" >&6; }
17923
else
15052
else
17924
   BUILD_MOZAB=""
15053
   BUILD_MOZAB=""
17925
   echo "$as_me:$LINENO: result: no" >&5
15054
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17926
echo "${ECHO_T}no" >&6
15055
$as_echo "no" >&6; }
17927
fi
15056
fi
17928
15057
17929
echo "$as_me:$LINENO: checking whether to build provided NSS module" >&5
15058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build provided NSS module" >&5
17930
echo $ECHO_N "checking whether to build provided NSS module... $ECHO_C" >&6
15059
$as_echo_n "checking whether to build provided NSS module... " >&6; }
17931
if test "$enable_nss_module" != "no"; then
15060
if test "$enable_nss_module" != "no"; then
17932
   ENABLE_NSS_MODULE="YES"
15061
   ENABLE_NSS_MODULE="YES"
17933
   BUILD_TYPE="$BUILD_TYPE NSS"
15062
   BUILD_TYPE="$BUILD_TYPE NSS"
17934
   echo "$as_me:$LINENO: result: yes" >&5
15063
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17935
echo "${ECHO_T}yes" >&6
15064
$as_echo "yes" >&6; }
17936
   if test "$_os" = "WINNT"; then
15065
   if test "$_os" = "WINNT"; then
17937
      echo "$as_me:$LINENO: checking for Mozilla build tooling" >&5
15066
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mozilla build tooling" >&5
17938
echo $ECHO_N "checking for Mozilla build tooling... $ECHO_C" >&6
15067
$as_echo_n "checking for Mozilla build tooling... " >&6; }
17939
      if test -z "$MOZILLABUILD" ; then
15068
      if test -z "$MOZILLABUILD" ; then
17940
{ { echo "$as_me:$LINENO: error: Mozilla build tooling not found.
15069
as_fn_error "Mozilla build tooling not found.
17941
Use the --with-mozilla-build option after installling the tools obtained
15070
Use the --with-mozilla-build option after installling the tools obtained
17942
from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32" >&5
15071
from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32" "$LINENO" 5
17943
echo "$as_me: error: Mozilla build tooling not found.
17944
Use the --with-mozilla-build option after installling the tools obtained
17945
from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32" >&2;}
17946
   { (exit 1); exit 1; }; }
17947
      else
15072
      else
17948
         if test \( "$WITH_MINGWIN" = "yes" \) ; then
15073
         if test \( "$WITH_MINGWIN" = "yes" \) ; then
17949
            if test ! -d "$MOZILLABUILD" ; then
15074
            if test ! -d "$MOZILLABUILD" ; then
17950
{ { echo "$as_me:$LINENO: error: Mozilla build tooling incomplete!" >&5
15075
as_fn_error "Mozilla build tooling incomplete!" "$LINENO" 5
17951
echo "$as_me: error: Mozilla build tooling incomplete!" >&2;}
17952
   { (exit 1); exit 1; }; }
17953
            else
15076
            else
17954
               echo "$as_me:$LINENO: result: ok" >&5
15077
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17955
echo "${ECHO_T}ok" >&6
15078
$as_echo "ok" >&6; }
17956
            fi
15079
            fi
17957
         else
15080
         else
17958
            if test ! -d "$MOZILLABUILD/moztools" \
15081
            if test ! -d "$MOZILLABUILD/moztools" \
17959
               -o ! -d "$MOZILLABUILD/msys" ; then
15082
               -o ! -d "$MOZILLABUILD/msys" ; then
17960
{ { echo "$as_me:$LINENO: error: Mozilla build tooling incomplete!" >&5
15083
as_fn_error "Mozilla build tooling incomplete!" "$LINENO" 5
17961
echo "$as_me: error: Mozilla build tooling incomplete!" >&2;}
17962
   { (exit 1); exit 1; }; }
17963
            else
15084
            else
17964
               echo "$as_me:$LINENO: result: ok" >&5
15085
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17965
echo "${ECHO_T}ok" >&6
15086
$as_echo "ok" >&6; }
17966
            fi
15087
            fi
17967
         fi
15088
         fi
17968
      fi
15089
      fi
17969
   fi
15090
   fi
17970
else
15091
else
17971
   ENABLE_NSS_MODULE="NO"
15092
   ENABLE_NSS_MODULE="NO"
17972
   echo "$as_me:$LINENO: result: no" >&5
15093
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17973
echo "${ECHO_T}no" >&6
15094
$as_echo "no" >&6; }
17974
fi
15095
fi
17975
15096
17976
if test "$BUILD_MOZAB" = "TRUE"; then
15097
if test "$BUILD_MOZAB" = "TRUE"; then
Lines 17978-17990 Link Here
17978
    if test "$WITH_MINGWIN" != "yes"; then
15099
    if test "$WITH_MINGWIN" != "yes"; then
17979
      # compiling with MSVC. Only supported platform here is MSVS2005 at the moment.
15100
      # compiling with MSVC. Only supported platform here is MSVS2005 at the moment.
17980
      if test "$MSVSVER" != "2005"; then
15101
      if test "$MSVSVER" != "2005"; then
17981
        { { echo "$as_me:$LINENO: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only." >&5
15102
        as_fn_error "Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only." "$LINENO" 5
17982
echo "$as_me: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only." >&2;}
17983
   { (exit 1); exit 1; }; }
17984
      fi
15103
      fi
17985
    else
15104
    else
17986
      { echo "$as_me:$LINENO: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&5
15105
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&5
17987
echo "$as_me: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&2;}
15106
$as_echo "$as_me: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&2;}
17988
      echo "Building SeaMonkey with mingwin is not tested, and likely to break." >> warn
15107
      echo "Building SeaMonkey with mingwin is not tested, and likely to break." >> warn
17989
    fi
15108
    fi
17990
  fi
15109
  fi
Lines 17994-18049 Link Here
17994
   fi
15113
   fi
17995
   MOZILLA_SOURCE_VERSION="seamonkey-${MOZILLA_VERSION}.source"
15114
   MOZILLA_SOURCE_VERSION="seamonkey-${MOZILLA_VERSION}.source"
17996
   for e in gz bz2; do
15115
   for e in gz bz2; do
17997
      echo "$as_me:$LINENO: checking for $MOZILLA_SOURCE_VERSION.tar.$e" >&5
15116
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $MOZILLA_SOURCE_VERSION.tar.$e" >&5
17998
echo $ECHO_N "checking for $MOZILLA_SOURCE_VERSION.tar.$e... $ECHO_C" >&6
15117
$as_echo_n "checking for $MOZILLA_SOURCE_VERSION.tar.$e... " >&6; }
17999
      if test ! -e "moz/download/$MOZILLA_SOURCE_VERSION.tar.$e" && test "$HAVE_MOZILLA_TARBALL" != "y"; then
15118
      if test ! -e "moz/download/$MOZILLA_SOURCE_VERSION.tar.$e" && test "$HAVE_MOZILLA_TARBALL" != "y"; then
18000
         echo "$as_me:$LINENO: result: not found" >&5
15119
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18001
echo "${ECHO_T}not found" >&6
15120
$as_echo "not found" >&6; }
18002
         HAVE_MOZILLA_TARBALL=n
15121
         HAVE_MOZILLA_TARBALL=n
18003
      else
15122
      else
18004
         echo "$as_me:$LINENO: result: found" >&5
15123
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
18005
echo "${ECHO_T}found" >&6
15124
$as_echo "found" >&6; }
18006
         HAVE_MOZILLA_TARBALL=y
15125
         HAVE_MOZILLA_TARBALL=y
18007
      fi
15126
      fi
18008
   done
15127
   done
18009
   if test "$HAVE_MOZILLA_TARBALL" != "y"; then
15128
   if test "$HAVE_MOZILLA_TARBALL" != "y"; then
18010
         { { echo "$as_me:$LINENO: error: Mozilla/SeaMonkey source archive not found.
15129
         as_fn_error "Mozilla/SeaMonkey source archive not found.
18011
Please copy $MOZILLA_SOURCE_VERSION.tar.bz2 or $MOZILLA_SOURCE_VERSION.tar.gz to moz/download/.
15130
Please copy $MOZILLA_SOURCE_VERSION.tar.bz2 or $MOZILLA_SOURCE_VERSION.tar.gz to moz/download/.
18012
The archives can be found here:
15131
The archives can be found here:
18013
ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/" >&5
15132
ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/" "$LINENO" 5
18014
echo "$as_me: error: Mozilla/SeaMonkey source archive not found.
18015
Please copy $MOZILLA_SOURCE_VERSION.tar.bz2 or $MOZILLA_SOURCE_VERSION.tar.gz to moz/download/.
18016
The archives can be found here:
18017
ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$MOZILLA_VERSION/" >&2;}
18018
   { (exit 1); exit 1; }; }
18019
   fi
15133
   fi
18020
   if test "$_os" = "WINNT"; then
15134
   if test "$_os" = "WINNT"; then
18021
      echo "$as_me:$LINENO: checking for moztools binaries" >&5
15135
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moztools binaries" >&5
18022
echo $ECHO_N "checking for moztools binaries... $ECHO_C" >&6
15136
$as_echo_n "checking for moztools binaries... " >&6; }
18023
      if test ! -e "moz/download/vc8-moztools.zip" ; then
15137
      if test ! -e "moz/download/vc8-moztools.zip" ; then
18024
        { { echo "$as_me:$LINENO: error: The following file is missing in moz/download: vc8-moztools.zip
15138
        as_fn_error "The following file is missing in moz/download: vc8-moztools.zip
18025
(from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)" >&5
15139
(from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)" "$LINENO" 5
18026
echo "$as_me: error: The following file is missing in moz/download: vc8-moztools.zip
15140
      else
18027
(from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)" >&2;}
15141
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18028
   { (exit 1); exit 1; }; }
15142
$as_echo "ok" >&6; }
18029
      else
18030
         echo "$as_me:$LINENO: result: ok" >&5
18031
echo "${ECHO_T}ok" >&6
18032
      fi
15143
      fi
18033
   elif test "$_os" = "Darwin"; then
15144
   elif test "$_os" = "Darwin"; then
18034
      if test "$MOZILLA_TOOLKIT" = "gtk2"; then
15145
      if test "$MOZILLA_TOOLKIT" = "gtk2"; then
18035
         { echo "$as_me:$LINENO: checking whether mozilla can be built..." >&5
15146
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mozilla can be built..." >&5
18036
echo "$as_me: checking whether mozilla can be built..." >&6;}
15147
$as_echo "$as_me: checking whether mozilla can be built..." >&6;}
18037
15148
18038
  succeeded=no
15149
  succeeded=no
18039
15150
18040
  if test -z "$PKG_CONFIG"; then
15151
  if test -z "$PKG_CONFIG"; then
18041
    # Extract the first word of "pkg-config", so it can be a program name with args.
15152
    # Extract the first word of "pkg-config", so it can be a program name with args.
18042
set dummy pkg-config; ac_word=$2
15153
set dummy pkg-config; ac_word=$2
18043
echo "$as_me:$LINENO: checking for $ac_word" >&5
15154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18044
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15155
$as_echo_n "checking for $ac_word... " >&6; }
18045
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15156
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18046
  echo $ECHO_N "(cached) $ECHO_C" >&6
15157
  $as_echo_n "(cached) " >&6
18047
else
15158
else
18048
  case $PKG_CONFIG in
15159
  case $PKG_CONFIG in
18049
  [\\/]* | ?:[\\/]*)
15160
  [\\/]* | ?:[\\/]*)
Lines 18055-18082 Link Here
18055
do
15166
do
18056
  IFS=$as_save_IFS
15167
  IFS=$as_save_IFS
18057
  test -z "$as_dir" && as_dir=.
15168
  test -z "$as_dir" && as_dir=.
18058
  for ac_exec_ext in '' $ac_executable_extensions; do
15169
    for ac_exec_ext in '' $ac_executable_extensions; do
18059
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18060
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15171
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18061
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18062
    break 2
15173
    break 2
18063
  fi
15174
  fi
18064
done
15175
done
18065
done
15176
  done
15177
IFS=$as_save_IFS
18066
15178
18067
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15179
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18068
  ;;
15180
  ;;
18069
esac
15181
esac
18070
fi
15182
fi
18071
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15183
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18072
18073
if test -n "$PKG_CONFIG"; then
15184
if test -n "$PKG_CONFIG"; then
18074
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18075
echo "${ECHO_T}$PKG_CONFIG" >&6
15186
$as_echo "$PKG_CONFIG" >&6; }
18076
else
15187
else
18077
  echo "$as_me:$LINENO: result: no" >&5
15188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18078
echo "${ECHO_T}no" >&6
15189
$as_echo "no" >&6; }
18079
fi
15190
fi
15191
18080
15192
18081
  fi
15193
  fi
18082
15194
Lines 18088-18112 Link Here
18088
  else
15200
  else
18089
     PKG_CONFIG_MIN_VERSION=0.9.0
15201
     PKG_CONFIG_MIN_VERSION=0.9.0
18090
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15202
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18091
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" >&5
15203
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" >&5
18092
echo $ECHO_N "checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8... $ECHO_C" >&6
15204
$as_echo_n "checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8... " >&6; }
18093
15205
18094
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" ; then
15206
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" ; then
18095
            echo "$as_me:$LINENO: result: yes" >&5
15207
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18096
echo "${ECHO_T}yes" >&6
15208
$as_echo "yes" >&6; }
18097
            succeeded=yes
15209
            succeeded=yes
18098
15210
18099
            echo "$as_me:$LINENO: checking MOZGTK2_CFLAGS" >&5
15211
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZGTK2_CFLAGS" >&5
18100
echo $ECHO_N "checking MOZGTK2_CFLAGS... $ECHO_C" >&6
15212
$as_echo_n "checking MOZGTK2_CFLAGS... " >&6; }
18101
            MOZGTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
15213
            MOZGTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
18102
            echo "$as_me:$LINENO: result: $MOZGTK2_CFLAGS" >&5
15214
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZGTK2_CFLAGS" >&5
18103
echo "${ECHO_T}$MOZGTK2_CFLAGS" >&6
15215
$as_echo "$MOZGTK2_CFLAGS" >&6; }
18104
15216
18105
            echo "$as_me:$LINENO: checking MOZGTK2_LIBS" >&5
15217
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZGTK2_LIBS" >&5
18106
echo $ECHO_N "checking MOZGTK2_LIBS... $ECHO_C" >&6
15218
$as_echo_n "checking MOZGTK2_LIBS... " >&6; }
18107
            MOZGTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
15219
            MOZGTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
18108
            echo "$as_me:$LINENO: result: $MOZGTK2_LIBS" >&5
15220
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZGTK2_LIBS" >&5
18109
echo "${ECHO_T}$MOZGTK2_LIBS" >&6
15221
$as_echo "$MOZGTK2_LIBS" >&6; }
18110
        else
15222
        else
18111
            MOZGTK2_CFLAGS=""
15223
            MOZGTK2_CFLAGS=""
18112
            MOZGTK2_LIBS=""
15224
            MOZGTK2_LIBS=""
Lines 18125-18136 Link Here
18125
  fi
15237
  fi
18126
15238
18127
  if test $succeeded = yes; then
15239
  if test $succeeded = yes; then
18128
     { echo "$as_me:$LINENO: OK - can build mozilla" >&5
15240
     { $as_echo "$as_me:${as_lineno-$LINENO}: OK - can build mozilla" >&5
18129
echo "$as_me: OK - can build mozilla" >&6;}
15241
$as_echo "$as_me: OK - can build mozilla" >&6;}
18130
  else
15242
  else
18131
     { { echo "$as_me:$LINENO: error: Prerequisites to build mozilla not met. Either use the precompiled mozilla binaries or install the missing packages" >&5
15243
     as_fn_error "Prerequisites to build mozilla not met. Either use the precompiled mozilla binaries or install the missing packages" "$LINENO" 5
18132
echo "$as_me: error: Prerequisites to build mozilla not met. Either use the precompiled mozilla binaries or install the missing packages" >&2;}
18133
   { (exit 1); exit 1; }; }
18134
  fi
15244
  fi
18135
15245
18136
      else
15246
      else
Lines 18140-18149 Link Here
18140
  if test -z "$PKG_CONFIG"; then
15250
  if test -z "$PKG_CONFIG"; then
18141
    # Extract the first word of "pkg-config", so it can be a program name with args.
15251
    # Extract the first word of "pkg-config", so it can be a program name with args.
18142
set dummy pkg-config; ac_word=$2
15252
set dummy pkg-config; ac_word=$2
18143
echo "$as_me:$LINENO: checking for $ac_word" >&5
15253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18144
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15254
$as_echo_n "checking for $ac_word... " >&6; }
18145
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15255
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18146
  echo $ECHO_N "(cached) $ECHO_C" >&6
15256
  $as_echo_n "(cached) " >&6
18147
else
15257
else
18148
  case $PKG_CONFIG in
15258
  case $PKG_CONFIG in
18149
  [\\/]* | ?:[\\/]*)
15259
  [\\/]* | ?:[\\/]*)
Lines 18155-18182 Link Here
18155
do
15265
do
18156
  IFS=$as_save_IFS
15266
  IFS=$as_save_IFS
18157
  test -z "$as_dir" && as_dir=.
15267
  test -z "$as_dir" && as_dir=.
18158
  for ac_exec_ext in '' $ac_executable_extensions; do
15268
    for ac_exec_ext in '' $ac_executable_extensions; do
18159
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18160
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15270
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18161
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18162
    break 2
15272
    break 2
18163
  fi
15273
  fi
18164
done
15274
done
18165
done
15275
  done
15276
IFS=$as_save_IFS
18166
15277
18167
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15278
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18168
  ;;
15279
  ;;
18169
esac
15280
esac
18170
fi
15281
fi
18171
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15282
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18172
18173
if test -n "$PKG_CONFIG"; then
15283
if test -n "$PKG_CONFIG"; then
18174
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18175
echo "${ECHO_T}$PKG_CONFIG" >&6
15285
$as_echo "$PKG_CONFIG" >&6; }
18176
else
15286
else
18177
  echo "$as_me:$LINENO: result: no" >&5
15287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18178
echo "${ECHO_T}no" >&6
15288
$as_echo "no" >&6; }
18179
fi
15289
fi
15290
18180
15291
18181
  fi
15292
  fi
18182
15293
Lines 18188-18212 Link Here
18188
  else
15299
  else
18189
     PKG_CONFIG_MIN_VERSION=0.9.0
15300
     PKG_CONFIG_MIN_VERSION=0.9.0
18190
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15301
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18191
        echo "$as_me:$LINENO: checking for libIDL-2.0 >= 0.6.3" >&5
15302
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libIDL-2.0 >= 0.6.3" >&5
18192
echo $ECHO_N "checking for libIDL-2.0 >= 0.6.3... $ECHO_C" >&6
15303
$as_echo_n "checking for libIDL-2.0 >= 0.6.3... " >&6; }
18193
15304
18194
        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.6.3" ; then
15305
        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.6.3" ; then
18195
            echo "$as_me:$LINENO: result: yes" >&5
15306
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18196
echo "${ECHO_T}yes" >&6
15307
$as_echo "yes" >&6; }
18197
            succeeded=yes
15308
            succeeded=yes
18198
15309
18199
            echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
15310
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_CFLAGS" >&5
18200
echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
15311
$as_echo_n "checking MOZLIBREQ_CFLAGS... " >&6; }
18201
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.6.3"`
15312
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.6.3"`
18202
            echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
15313
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_CFLAGS" >&5
18203
echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
15314
$as_echo "$MOZLIBREQ_CFLAGS" >&6; }
18204
15315
18205
            echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
15316
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_LIBS" >&5
18206
echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
15317
$as_echo_n "checking MOZLIBREQ_LIBS... " >&6; }
18207
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.6.3"`
15318
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.6.3"`
18208
            echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
15319
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_LIBS" >&5
18209
echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
15320
$as_echo "$MOZLIBREQ_LIBS" >&6; }
18210
        else
15321
        else
18211
            MOZLIBREQ_CFLAGS=""
15322
            MOZLIBREQ_CFLAGS=""
18212
            MOZLIBREQ_LIBS=""
15323
            MOZLIBREQ_LIBS=""
Lines 18231-18239 Link Here
18231
  fi
15342
  fi
18232
15343
18233
         if test -z "$MOZIDL"; then
15344
         if test -z "$MOZIDL"; then
18234
            { { echo "$as_me:$LINENO: error: libIDL 0.6.3 or newer is needed to build mozilla with mac toolkit." >&5
15345
            as_fn_error "libIDL 0.6.3 or newer is needed to build mozilla with mac toolkit." "$LINENO" 5
18235
echo "$as_me: error: libIDL 0.6.3 or newer is needed to build mozilla with mac toolkit." >&2;}
18236
   { (exit 1); exit 1; }; }
18237
         fi
15346
         fi
18238
      fi
15347
      fi
18239
   else
15348
   else
Lines 18245-18254 Link Here
18245
  if test -z "$PKG_CONFIG"; then
15354
  if test -z "$PKG_CONFIG"; then
18246
    # Extract the first word of "pkg-config", so it can be a program name with args.
15355
    # Extract the first word of "pkg-config", so it can be a program name with args.
18247
set dummy pkg-config; ac_word=$2
15356
set dummy pkg-config; ac_word=$2
18248
echo "$as_me:$LINENO: checking for $ac_word" >&5
15357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18249
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15358
$as_echo_n "checking for $ac_word... " >&6; }
18250
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15359
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18251
  echo $ECHO_N "(cached) $ECHO_C" >&6
15360
  $as_echo_n "(cached) " >&6
18252
else
15361
else
18253
  case $PKG_CONFIG in
15362
  case $PKG_CONFIG in
18254
  [\\/]* | ?:[\\/]*)
15363
  [\\/]* | ?:[\\/]*)
Lines 18260-18287 Link Here
18260
do
15369
do
18261
  IFS=$as_save_IFS
15370
  IFS=$as_save_IFS
18262
  test -z "$as_dir" && as_dir=.
15371
  test -z "$as_dir" && as_dir=.
18263
  for ac_exec_ext in '' $ac_executable_extensions; do
15372
    for ac_exec_ext in '' $ac_executable_extensions; do
18264
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15373
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18265
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15374
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18266
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15375
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18267
    break 2
15376
    break 2
18268
  fi
15377
  fi
18269
done
15378
done
18270
done
15379
  done
15380
IFS=$as_save_IFS
18271
15381
18272
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15382
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18273
  ;;
15383
  ;;
18274
esac
15384
esac
18275
fi
15385
fi
18276
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15386
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18277
18278
if test -n "$PKG_CONFIG"; then
15387
if test -n "$PKG_CONFIG"; then
18279
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15388
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18280
echo "${ECHO_T}$PKG_CONFIG" >&6
15389
$as_echo "$PKG_CONFIG" >&6; }
18281
else
15390
else
18282
  echo "$as_me:$LINENO: result: no" >&5
15391
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18283
echo "${ECHO_T}no" >&6
15392
$as_echo "no" >&6; }
18284
fi
15393
fi
15394
18285
15395
18286
  fi
15396
  fi
18287
15397
Lines 18293-18317 Link Here
18293
  else
15403
  else
18294
     PKG_CONFIG_MIN_VERSION=0.9.0
15404
     PKG_CONFIG_MIN_VERSION=0.9.0
18295
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15405
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18296
        echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
15406
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5
18297
echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
15407
$as_echo_n "checking for gtk+-2.0... " >&6; }
18298
15408
18299
        if $PKG_CONFIG --exists "gtk+-2.0" ; then
15409
        if $PKG_CONFIG --exists "gtk+-2.0" ; then
18300
            echo "$as_me:$LINENO: result: yes" >&5
15410
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18301
echo "${ECHO_T}yes" >&6
15411
$as_echo "yes" >&6; }
18302
            succeeded=yes
15412
            succeeded=yes
18303
15413
18304
            echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
15414
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_CFLAGS" >&5
18305
echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
15415
$as_echo_n "checking MOZLIBREQ_CFLAGS... " >&6; }
18306
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
15416
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
18307
            echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
15417
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_CFLAGS" >&5
18308
echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
15418
$as_echo "$MOZLIBREQ_CFLAGS" >&6; }
18309
15419
18310
            echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
15420
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_LIBS" >&5
18311
echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
15421
$as_echo_n "checking MOZLIBREQ_LIBS... " >&6; }
18312
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
15422
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
18313
            echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
15423
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_LIBS" >&5
18314
echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
15424
$as_echo "$MOZLIBREQ_LIBS" >&6; }
18315
        else
15425
        else
18316
            MOZLIBREQ_CFLAGS=""
15426
            MOZLIBREQ_CFLAGS=""
18317
            MOZLIBREQ_LIBS=""
15427
            MOZLIBREQ_LIBS=""
Lines 18336-18344 Link Here
18336
  fi
15446
  fi
18337
15447
18338
         if test -z "$MOZGTK"; then
15448
         if test -z "$MOZGTK"; then
18339
            { { echo "$as_me:$LINENO: error: GTK2 is needed to build mozilla." >&5
15449
            as_fn_error "GTK2 is needed to build mozilla." "$LINENO" 5
18340
echo "$as_me: error: GTK2 is needed to build mozilla." >&2;}
18341
   { (exit 1); exit 1; }; }
18342
         fi
15450
         fi
18343
15451
18344
  succeeded=no
15452
  succeeded=no
Lines 18346-18355 Link Here
18346
  if test -z "$PKG_CONFIG"; then
15454
  if test -z "$PKG_CONFIG"; then
18347
    # Extract the first word of "pkg-config", so it can be a program name with args.
15455
    # Extract the first word of "pkg-config", so it can be a program name with args.
18348
set dummy pkg-config; ac_word=$2
15456
set dummy pkg-config; ac_word=$2
18349
echo "$as_me:$LINENO: checking for $ac_word" >&5
15457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15458
$as_echo_n "checking for $ac_word... " >&6; }
18351
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15459
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18352
  echo $ECHO_N "(cached) $ECHO_C" >&6
15460
  $as_echo_n "(cached) " >&6
18353
else
15461
else
18354
  case $PKG_CONFIG in
15462
  case $PKG_CONFIG in
18355
  [\\/]* | ?:[\\/]*)
15463
  [\\/]* | ?:[\\/]*)
Lines 18361-18388 Link Here
18361
do
15469
do
18362
  IFS=$as_save_IFS
15470
  IFS=$as_save_IFS
18363
  test -z "$as_dir" && as_dir=.
15471
  test -z "$as_dir" && as_dir=.
18364
  for ac_exec_ext in '' $ac_executable_extensions; do
15472
    for ac_exec_ext in '' $ac_executable_extensions; do
18365
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18366
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15474
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18367
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18368
    break 2
15476
    break 2
18369
  fi
15477
  fi
18370
done
15478
done
18371
done
15479
  done
15480
IFS=$as_save_IFS
18372
15481
18373
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15482
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18374
  ;;
15483
  ;;
18375
esac
15484
esac
18376
fi
15485
fi
18377
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15486
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18378
18379
if test -n "$PKG_CONFIG"; then
15487
if test -n "$PKG_CONFIG"; then
18380
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18381
echo "${ECHO_T}$PKG_CONFIG" >&6
15489
$as_echo "$PKG_CONFIG" >&6; }
18382
else
15490
else
18383
  echo "$as_me:$LINENO: result: no" >&5
15491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18384
echo "${ECHO_T}no" >&6
15492
$as_echo "no" >&6; }
18385
fi
15493
fi
15494
18386
15495
18387
  fi
15496
  fi
18388
15497
Lines 18394-18418 Link Here
18394
  else
15503
  else
18395
     PKG_CONFIG_MIN_VERSION=0.9.0
15504
     PKG_CONFIG_MIN_VERSION=0.9.0
18396
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15505
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18397
        echo "$as_me:$LINENO: checking for libIDL-2.0 >= 0.8.0" >&5
15506
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libIDL-2.0 >= 0.8.0" >&5
18398
echo $ECHO_N "checking for libIDL-2.0 >= 0.8.0... $ECHO_C" >&6
15507
$as_echo_n "checking for libIDL-2.0 >= 0.8.0... " >&6; }
18399
15508
18400
        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.8.0" ; then
15509
        if $PKG_CONFIG --exists "libIDL-2.0 >= 0.8.0" ; then
18401
            echo "$as_me:$LINENO: result: yes" >&5
15510
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18402
echo "${ECHO_T}yes" >&6
15511
$as_echo "yes" >&6; }
18403
            succeeded=yes
15512
            succeeded=yes
18404
15513
18405
            echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
15514
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_CFLAGS" >&5
18406
echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
15515
$as_echo_n "checking MOZLIBREQ_CFLAGS... " >&6; }
18407
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.8.0"`
15516
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.8.0"`
18408
            echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
15517
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_CFLAGS" >&5
18409
echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
15518
$as_echo "$MOZLIBREQ_CFLAGS" >&6; }
18410
15519
18411
            echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
15520
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_LIBS" >&5
18412
echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
15521
$as_echo_n "checking MOZLIBREQ_LIBS... " >&6; }
18413
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.8.0"`
15522
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.8.0"`
18414
            echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
15523
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_LIBS" >&5
18415
echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
15524
$as_echo "$MOZLIBREQ_LIBS" >&6; }
18416
        else
15525
        else
18417
            MOZLIBREQ_CFLAGS=""
15526
            MOZLIBREQ_CFLAGS=""
18418
            MOZLIBREQ_LIBS=""
15527
            MOZLIBREQ_LIBS=""
Lines 18437-18445 Link Here
18437
  fi
15546
  fi
18438
15547
18439
         if test -z "$MOZIDL"; then
15548
         if test -z "$MOZIDL"; then
18440
            { { echo "$as_me:$LINENO: error: libIDL >= 0.8.0 is needed when using GTK2 to build mozilla." >&5
15549
            as_fn_error "libIDL >= 0.8.0 is needed when using GTK2 to build mozilla." "$LINENO" 5
18441
echo "$as_me: error: libIDL >= 0.8.0 is needed when using GTK2 to build mozilla." >&2;}
18442
   { (exit 1); exit 1; }; }
18443
         fi
15550
         fi
18444
      else
15551
      else
18445
15552
Lines 18448-18457 Link Here
18448
  if test -z "$PKG_CONFIG"; then
15555
  if test -z "$PKG_CONFIG"; then
18449
    # Extract the first word of "pkg-config", so it can be a program name with args.
15556
    # Extract the first word of "pkg-config", so it can be a program name with args.
18450
set dummy pkg-config; ac_word=$2
15557
set dummy pkg-config; ac_word=$2
18451
echo "$as_me:$LINENO: checking for $ac_word" >&5
15558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18452
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15559
$as_echo_n "checking for $ac_word... " >&6; }
18453
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15560
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18454
  echo $ECHO_N "(cached) $ECHO_C" >&6
15561
  $as_echo_n "(cached) " >&6
18455
else
15562
else
18456
  case $PKG_CONFIG in
15563
  case $PKG_CONFIG in
18457
  [\\/]* | ?:[\\/]*)
15564
  [\\/]* | ?:[\\/]*)
Lines 18463-18490 Link Here
18463
do
15570
do
18464
  IFS=$as_save_IFS
15571
  IFS=$as_save_IFS
18465
  test -z "$as_dir" && as_dir=.
15572
  test -z "$as_dir" && as_dir=.
18466
  for ac_exec_ext in '' $ac_executable_extensions; do
15573
    for ac_exec_ext in '' $ac_executable_extensions; do
18467
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15574
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18468
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15575
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18469
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15576
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18470
    break 2
15577
    break 2
18471
  fi
15578
  fi
18472
done
15579
done
18473
done
15580
  done
15581
IFS=$as_save_IFS
18474
15582
18475
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15583
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18476
  ;;
15584
  ;;
18477
esac
15585
esac
18478
fi
15586
fi
18479
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15587
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18480
18481
if test -n "$PKG_CONFIG"; then
15588
if test -n "$PKG_CONFIG"; then
18482
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18483
echo "${ECHO_T}$PKG_CONFIG" >&6
15590
$as_echo "$PKG_CONFIG" >&6; }
18484
else
15591
else
18485
  echo "$as_me:$LINENO: result: no" >&5
15592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18486
echo "${ECHO_T}no" >&6
15593
$as_echo "no" >&6; }
18487
fi
15594
fi
15595
18488
15596
18489
  fi
15597
  fi
18490
15598
Lines 18496-18520 Link Here
18496
  else
15604
  else
18497
     PKG_CONFIG_MIN_VERSION=0.9.0
15605
     PKG_CONFIG_MIN_VERSION=0.9.0
18498
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15606
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18499
        echo "$as_me:$LINENO: checking for gtk+ >= 1.2.3" >&5
15607
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+ >= 1.2.3" >&5
18500
echo $ECHO_N "checking for gtk+ >= 1.2.3... $ECHO_C" >&6
15608
$as_echo_n "checking for gtk+ >= 1.2.3... " >&6; }
18501
15609
18502
        if $PKG_CONFIG --exists "gtk+ >= 1.2.3" ; then
15610
        if $PKG_CONFIG --exists "gtk+ >= 1.2.3" ; then
18503
            echo "$as_me:$LINENO: result: yes" >&5
15611
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18504
echo "${ECHO_T}yes" >&6
15612
$as_echo "yes" >&6; }
18505
            succeeded=yes
15613
            succeeded=yes
18506
15614
18507
            echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
15615
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_CFLAGS" >&5
18508
echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
15616
$as_echo_n "checking MOZLIBREQ_CFLAGS... " >&6; }
18509
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.2.3"`
15617
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.2.3"`
18510
            echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
15618
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_CFLAGS" >&5
18511
echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
15619
$as_echo "$MOZLIBREQ_CFLAGS" >&6; }
18512
15620
18513
            echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
15621
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_LIBS" >&5
18514
echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
15622
$as_echo_n "checking MOZLIBREQ_LIBS... " >&6; }
18515
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.2.3"`
15623
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.2.3"`
18516
            echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
15624
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_LIBS" >&5
18517
echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
15625
$as_echo "$MOZLIBREQ_LIBS" >&6; }
18518
        else
15626
        else
18519
            MOZLIBREQ_CFLAGS=""
15627
            MOZLIBREQ_CFLAGS=""
18520
            MOZLIBREQ_LIBS=""
15628
            MOZLIBREQ_LIBS=""
Lines 18539-18547 Link Here
18539
  fi
15647
  fi
18540
15648
18541
         if test -z "$MOZGTK"; then
15649
         if test -z "$MOZGTK"; then
18542
            { { echo "$as_me:$LINENO: error: gtk 1.2 is needed when not using GTK2 to build mozilla." >&5
15650
            as_fn_error "gtk 1.2 is needed when not using GTK2 to build mozilla." "$LINENO" 5
18543
echo "$as_me: error: gtk 1.2 is needed when not using GTK2 to build mozilla." >&2;}
18544
   { (exit 1); exit 1; }; }
18545
         fi
15651
         fi
18546
15652
18547
  succeeded=no
15653
  succeeded=no
Lines 18549-18558 Link Here
18549
  if test -z "$PKG_CONFIG"; then
15655
  if test -z "$PKG_CONFIG"; then
18550
    # Extract the first word of "pkg-config", so it can be a program name with args.
15656
    # Extract the first word of "pkg-config", so it can be a program name with args.
18551
set dummy pkg-config; ac_word=$2
15657
set dummy pkg-config; ac_word=$2
18552
echo "$as_me:$LINENO: checking for $ac_word" >&5
15658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18553
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15659
$as_echo_n "checking for $ac_word... " >&6; }
18554
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15660
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18555
  echo $ECHO_N "(cached) $ECHO_C" >&6
15661
  $as_echo_n "(cached) " >&6
18556
else
15662
else
18557
  case $PKG_CONFIG in
15663
  case $PKG_CONFIG in
18558
  [\\/]* | ?:[\\/]*)
15664
  [\\/]* | ?:[\\/]*)
Lines 18564-18591 Link Here
18564
do
15670
do
18565
  IFS=$as_save_IFS
15671
  IFS=$as_save_IFS
18566
  test -z "$as_dir" && as_dir=.
15672
  test -z "$as_dir" && as_dir=.
18567
  for ac_exec_ext in '' $ac_executable_extensions; do
15673
    for ac_exec_ext in '' $ac_executable_extensions; do
18568
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18569
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15675
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18570
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15676
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18571
    break 2
15677
    break 2
18572
  fi
15678
  fi
18573
done
15679
done
18574
done
15680
  done
15681
IFS=$as_save_IFS
18575
15682
18576
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15683
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18577
  ;;
15684
  ;;
18578
esac
15685
esac
18579
fi
15686
fi
18580
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15687
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18581
18582
if test -n "$PKG_CONFIG"; then
15688
if test -n "$PKG_CONFIG"; then
18583
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18584
echo "${ECHO_T}$PKG_CONFIG" >&6
15690
$as_echo "$PKG_CONFIG" >&6; }
18585
else
15691
else
18586
  echo "$as_me:$LINENO: result: no" >&5
15692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18587
echo "${ECHO_T}no" >&6
15693
$as_echo "no" >&6; }
18588
fi
15694
fi
15695
18589
15696
18590
  fi
15697
  fi
18591
15698
Lines 18597-18621 Link Here
18597
  else
15704
  else
18598
     PKG_CONFIG_MIN_VERSION=0.9.0
15705
     PKG_CONFIG_MIN_VERSION=0.9.0
18599
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15706
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18600
        echo "$as_me:$LINENO: checking for libidl >= 0.6.3 libidl <= 0.6.8" >&5
15707
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidl >= 0.6.3 libidl <= 0.6.8" >&5
18601
echo $ECHO_N "checking for libidl >= 0.6.3 libidl <= 0.6.8... $ECHO_C" >&6
15708
$as_echo_n "checking for libidl >= 0.6.3 libidl <= 0.6.8... " >&6; }
18602
15709
18603
        if $PKG_CONFIG --exists "libidl >= 0.6.3 libidl <= 0.6.8" ; then
15710
        if $PKG_CONFIG --exists "libidl >= 0.6.3 libidl <= 0.6.8" ; then
18604
            echo "$as_me:$LINENO: result: yes" >&5
15711
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18605
echo "${ECHO_T}yes" >&6
15712
$as_echo "yes" >&6; }
18606
            succeeded=yes
15713
            succeeded=yes
18607
15714
18608
            echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
15715
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_CFLAGS" >&5
18609
echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
15716
$as_echo_n "checking MOZLIBREQ_CFLAGS... " >&6; }
18610
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libidl >= 0.6.3 libidl <= 0.6.8"`
15717
            MOZLIBREQ_CFLAGS=`$PKG_CONFIG --cflags "libidl >= 0.6.3 libidl <= 0.6.8"`
18611
            echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
15718
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_CFLAGS" >&5
18612
echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
15719
$as_echo "$MOZLIBREQ_CFLAGS" >&6; }
18613
15720
18614
            echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
15721
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZLIBREQ_LIBS" >&5
18615
echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
15722
$as_echo_n "checking MOZLIBREQ_LIBS... " >&6; }
18616
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libidl >= 0.6.3 libidl <= 0.6.8"`
15723
            MOZLIBREQ_LIBS=`$PKG_CONFIG --libs "libidl >= 0.6.3 libidl <= 0.6.8"`
18617
            echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
15724
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZLIBREQ_LIBS" >&5
18618
echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
15725
$as_echo "$MOZLIBREQ_LIBS" >&6; }
18619
        else
15726
        else
18620
            MOZLIBREQ_CFLAGS=""
15727
            MOZLIBREQ_CFLAGS=""
18621
            MOZLIBREQ_LIBS=""
15728
            MOZLIBREQ_LIBS=""
Lines 18640-18648 Link Here
18640
  fi
15747
  fi
18641
15748
18642
         if test -z "$MOZIDL"; then
15749
         if test -z "$MOZIDL"; then
18643
            { { echo "$as_me:$LINENO: error: libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build mozilla." >&5
15750
            as_fn_error "libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build mozilla." "$LINENO" 5
18644
echo "$as_me: error: libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build mozilla." >&2;}
18645
   { (exit 1); exit 1; }; }
18646
         fi
15751
         fi
18647
      fi
15752
      fi
18648
   fi
15753
   fi
Lines 18662-18886 Link Here
18662
15767
18663
15768
18664
15769
18665
echo "$as_me:$LINENO: checking which sane header to use" >&5
15770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which sane header to use" >&5
18666
echo $ECHO_N "checking which sane header to use... $ECHO_C" >&6
15771
$as_echo_n "checking which sane header to use... " >&6; }
18667
if test -n "$with_system_sane_header" -o -n "$with_system_headers" && \
15772
if test -n "$with_system_sane_header" -o -n "$with_system_headers" && \
18668
	test "$with_system_sane_header" != "no"; then
15773
	test "$with_system_sane_header" != "no"; then
18669
   echo "$as_me:$LINENO: result: external" >&5
15774
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
18670
echo "${ECHO_T}external" >&6
15775
$as_echo "external" >&6; }
18671
   SYSTEM_SANE_HEADER=YES
15776
   SYSTEM_SANE_HEADER=YES
18672
   if test "${ac_cv_header_sane_sane_h+set}" = set; then
15777
   ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
18673
  echo "$as_me:$LINENO: checking for sane/sane.h" >&5
15778
if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
18674
echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
15779
18675
if test "${ac_cv_header_sane_sane_h+set}" = set; then
15780
else
18676
  echo $ECHO_N "(cached) $ECHO_C" >&6
15781
  as_fn_error "sane not found. install sane" "$LINENO" 5
18677
fi
15782
fi
18678
echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
15783
18679
echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
15784
18680
else
15785
else
18681
  # Is the header compilable?
15786
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
18682
echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
15787
$as_echo "internal" >&6; }
18683
echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
18684
cat >conftest.$ac_ext <<_ACEOF
18685
/* confdefs.h.  */
18686
_ACEOF
18687
cat confdefs.h >>conftest.$ac_ext
18688
cat >>conftest.$ac_ext <<_ACEOF
18689
/* end confdefs.h.  */
18690
$ac_includes_default
18691
#include <sane/sane.h>
18692
_ACEOF
18693
rm -f conftest.$ac_objext
18694
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695
  (eval $ac_compile) 2>conftest.er1
18696
  ac_status=$?
18697
  grep -v '^ *+' conftest.er1 >conftest.err
18698
  rm -f conftest.er1
18699
  cat conftest.err >&5
18700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701
  (exit $ac_status); } &&
18702
	 { ac_try='test -z "$ac_c_werror_flag"
18703
			 || test ! -s conftest.err'
18704
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705
  (eval $ac_try) 2>&5
18706
  ac_status=$?
18707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708
  (exit $ac_status); }; } &&
18709
	 { ac_try='test -s conftest.$ac_objext'
18710
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711
  (eval $ac_try) 2>&5
18712
  ac_status=$?
18713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714
  (exit $ac_status); }; }; then
18715
  ac_header_compiler=yes
18716
else
18717
  echo "$as_me: failed program was:" >&5
18718
sed 's/^/| /' conftest.$ac_ext >&5
18719
18720
ac_header_compiler=no
18721
fi
18722
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18723
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18724
echo "${ECHO_T}$ac_header_compiler" >&6
18725
18726
# Is the header present?
18727
echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
18728
echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
18729
cat >conftest.$ac_ext <<_ACEOF
18730
/* confdefs.h.  */
18731
_ACEOF
18732
cat confdefs.h >>conftest.$ac_ext
18733
cat >>conftest.$ac_ext <<_ACEOF
18734
/* end confdefs.h.  */
18735
#include <sane/sane.h>
18736
_ACEOF
18737
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18738
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18739
  ac_status=$?
18740
  grep -v '^ *+' conftest.er1 >conftest.err
18741
  rm -f conftest.er1
18742
  cat conftest.err >&5
18743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744
  (exit $ac_status); } >/dev/null; then
18745
  if test -s conftest.err; then
18746
    ac_cpp_err=$ac_c_preproc_warn_flag
18747
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18748
  else
18749
    ac_cpp_err=
18750
  fi
18751
else
18752
  ac_cpp_err=yes
18753
fi
18754
if test -z "$ac_cpp_err"; then
18755
  ac_header_preproc=yes
18756
else
18757
  echo "$as_me: failed program was:" >&5
18758
sed 's/^/| /' conftest.$ac_ext >&5
18759
18760
  ac_header_preproc=no
18761
fi
18762
rm -f conftest.err conftest.$ac_ext
18763
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18764
echo "${ECHO_T}$ac_header_preproc" >&6
18765
18766
# So?  What about this header?
18767
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18768
  yes:no: )
18769
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
18770
echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18771
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
18772
echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
18773
    ac_header_preproc=yes
18774
    ;;
18775
  no:yes:* )
18776
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
18777
echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
18778
    { echo "$as_me:$LINENO: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&5
18779
echo "$as_me: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&2;}
18780
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
18781
echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
18782
    { echo "$as_me:$LINENO: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&5
18783
echo "$as_me: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&2;}
18784
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
18785
echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
18786
    { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
18787
echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
18788
    (
18789
      cat <<\_ASBOX
18790
## ------------------------------------------ ##
18791
## Report this to the AC_PACKAGE_NAME lists.  ##
18792
## ------------------------------------------ ##
18793
_ASBOX
18794
    ) |
18795
      sed "s/^/$as_me: WARNING:     /" >&2
18796
    ;;
18797
esac
18798
echo "$as_me:$LINENO: checking for sane/sane.h" >&5
18799
echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
18800
if test "${ac_cv_header_sane_sane_h+set}" = set; then
18801
  echo $ECHO_N "(cached) $ECHO_C" >&6
18802
else
18803
  ac_cv_header_sane_sane_h=$ac_header_preproc
18804
fi
18805
echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
18806
echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
18807
18808
fi
18809
if test $ac_cv_header_sane_sane_h = yes; then
18810
  :
18811
else
18812
  { { echo "$as_me:$LINENO: error: sane not found. install sane" >&5
18813
echo "$as_me: error: sane not found. install sane" >&2;}
18814
   { (exit 1); exit 1; }; }
18815
fi
18816
18817
18818
else
18819
   echo "$as_me:$LINENO: result: internal" >&5
18820
echo "${ECHO_T}internal" >&6
18821
   SYSTEM_SANE_HEADER=NO
15788
   SYSTEM_SANE_HEADER=NO
18822
   BUILD_TYPE="$BUILD_TYPE SANE"
15789
   BUILD_TYPE="$BUILD_TYPE SANE"
18823
fi
15790
fi
18824
15791
18825
15792
18826
echo "$as_me:$LINENO: checking which icu to use" >&5
15793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which icu to use" >&5
18827
echo $ECHO_N "checking which icu to use... $ECHO_C" >&6
15794
$as_echo_n "checking which icu to use... " >&6; }
18828
if test -n "$with_system_icu" -o -n "$with_system_libs" && \
15795
if test -n "$with_system_icu" -o -n "$with_system_libs" && \
18829
	test "$with_system_icu" != "no"; then
15796
	test "$with_system_icu" != "no"; then
18830
   echo "$as_me:$LINENO: result: external" >&5
15797
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
18831
echo "${ECHO_T}external" >&6
15798
$as_echo "external" >&6; }
18832
   SYSTEM_ICU=YES
15799
   SYSTEM_ICU=YES
18833
   ac_ext=cc
15800
   ac_ext=cpp
18834
ac_cpp='$CXXCPP $CPPFLAGS'
15801
ac_cpp='$CXXCPP $CPPFLAGS'
18835
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15802
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18836
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15803
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18837
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15804
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18838
15805
18839
   echo "$as_me:$LINENO: checking for unicode/rbbi.h" >&5
15806
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unicode/rbbi.h" >&5
18840
echo $ECHO_N "checking for unicode/rbbi.h... $ECHO_C" >&6
15807
$as_echo_n "checking for unicode/rbbi.h... " >&6; }
18841
   cat >conftest.$ac_ext <<_ACEOF
15808
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842
/* confdefs.h.  */
18843
_ACEOF
18844
cat confdefs.h >>conftest.$ac_ext
18845
cat >>conftest.$ac_ext <<_ACEOF
18846
/* end confdefs.h.  */
15809
/* end confdefs.h.  */
18847
unicode/rbbi.h
15810
unicode/rbbi.h
18848
_ACEOF
15811
_ACEOF
18849
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15812
if ac_fn_cxx_try_cpp "$LINENO"; then :
18850
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked." >&5
18851
  ac_status=$?
15814
$as_echo "checked." >&6; }
18852
  grep -v '^ *+' conftest.er1 >conftest.err
15815
else
18853
  rm -f conftest.er1
15816
  as_fn_error "icu headers not found." "$LINENO" 5
18854
  cat conftest.err >&5
18855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856
  (exit $ac_status); } >/dev/null; then
18857
  if test -s conftest.err; then
18858
    ac_cpp_err=$ac_cxx_preproc_warn_flag
18859
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18860
  else
18861
    ac_cpp_err=
18862
  fi
18863
else
18864
  ac_cpp_err=yes
18865
fi
18866
if test -z "$ac_cpp_err"; then
18867
  echo "$as_me:$LINENO: result: checked." >&5
18868
echo "${ECHO_T}checked." >&6
18869
else
18870
  echo "$as_me: failed program was:" >&5
18871
sed 's/^/| /' conftest.$ac_ext >&5
18872
18873
  { { echo "$as_me:$LINENO: error: icu headers not found." >&5
18874
echo "$as_me: error: icu headers not found." >&2;}
18875
   { (exit 1); exit 1; }; }
18876
fi
15817
fi
18877
rm -f conftest.err conftest.$ac_ext
15818
rm -f conftest.err conftest.$ac_ext
18878
   # Extract the first word of "genbrk", so it can be a program name with args.
15819
   # Extract the first word of "genbrk", so it can be a program name with args.
18879
set dummy genbrk; ac_word=$2
15820
set dummy genbrk; ac_word=$2
18880
echo "$as_me:$LINENO: checking for $ac_word" >&5
15821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18881
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15822
$as_echo_n "checking for $ac_word... " >&6; }
18882
if test "${ac_cv_path_SYSTEM_GENBRK+set}" = set; then
15823
if test "${ac_cv_path_SYSTEM_GENBRK+set}" = set; then :
18883
  echo $ECHO_N "(cached) $ECHO_C" >&6
15824
  $as_echo_n "(cached) " >&6
18884
else
15825
else
18885
  case $SYSTEM_GENBRK in
15826
  case $SYSTEM_GENBRK in
18886
  [\\/]* | ?:[\\/]*)
15827
  [\\/]* | ?:[\\/]*)
Lines 18893-18931 Link Here
18893
do
15834
do
18894
  IFS=$as_save_IFS
15835
  IFS=$as_save_IFS
18895
  test -z "$as_dir" && as_dir=.
15836
  test -z "$as_dir" && as_dir=.
18896
  for ac_exec_ext in '' $ac_executable_extensions; do
15837
    for ac_exec_ext in '' $ac_executable_extensions; do
18897
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18898
    ac_cv_path_SYSTEM_GENBRK="$as_dir/$ac_word$ac_exec_ext"
15839
    ac_cv_path_SYSTEM_GENBRK="$as_dir/$ac_word$ac_exec_ext"
18899
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15840
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18900
    break 2
15841
    break 2
18901
  fi
15842
  fi
18902
done
15843
done
18903
done
15844
  done
15845
IFS=$as_save_IFS
18904
15846
18905
  ;;
15847
  ;;
18906
esac
15848
esac
18907
fi
15849
fi
18908
SYSTEM_GENBRK=$ac_cv_path_SYSTEM_GENBRK
15850
SYSTEM_GENBRK=$ac_cv_path_SYSTEM_GENBRK
18909
18910
if test -n "$SYSTEM_GENBRK"; then
15851
if test -n "$SYSTEM_GENBRK"; then
18911
  echo "$as_me:$LINENO: result: $SYSTEM_GENBRK" >&5
15852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEM_GENBRK" >&5
18912
echo "${ECHO_T}$SYSTEM_GENBRK" >&6
15853
$as_echo "$SYSTEM_GENBRK" >&6; }
18913
else
15854
else
18914
  echo "$as_me:$LINENO: result: no" >&5
15855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18915
echo "${ECHO_T}no" >&6
15856
$as_echo "no" >&6; }
18916
fi
15857
fi
15858
18917
15859
18918
   if test -z "$SYSTEM_GENBRK"; then
15860
   if test -z "$SYSTEM_GENBRK"; then
18919
      { { echo "$as_me:$LINENO: error: \\"genbrk\\" not found in \$PATH, install the icu development tool \\"genbrk\"\" >&5
15861
      as_fn_error "\\"genbrk\\" not found in \$PATH, install the icu development tool \\"genbrk\"\" "$LINENO" 5
18920
echo "$as_me: error: \\"genbrk\\" not found in \$PATH, install the icu development tool \\"genbrk\"\" >&2;}
18921
   { (exit 1); exit 1; }; }
18922
   fi
15862
   fi
18923
   # Extract the first word of "genccode", so it can be a program name with args.
15863
   # Extract the first word of "genccode", so it can be a program name with args.
18924
set dummy genccode; ac_word=$2
15864
set dummy genccode; ac_word=$2
18925
echo "$as_me:$LINENO: checking for $ac_word" >&5
15865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18926
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15866
$as_echo_n "checking for $ac_word... " >&6; }
18927
if test "${ac_cv_path_SYSTEM_GENCCODE+set}" = set; then
15867
if test "${ac_cv_path_SYSTEM_GENCCODE+set}" = set; then :
18928
  echo $ECHO_N "(cached) $ECHO_C" >&6
15868
  $as_echo_n "(cached) " >&6
18929
else
15869
else
18930
  case $SYSTEM_GENCCODE in
15870
  case $SYSTEM_GENCCODE in
18931
  [\\/]* | ?:[\\/]*)
15871
  [\\/]* | ?:[\\/]*)
Lines 18938-18976 Link Here
18938
do
15878
do
18939
  IFS=$as_save_IFS
15879
  IFS=$as_save_IFS
18940
  test -z "$as_dir" && as_dir=.
15880
  test -z "$as_dir" && as_dir=.
18941
  for ac_exec_ext in '' $ac_executable_extensions; do
15881
    for ac_exec_ext in '' $ac_executable_extensions; do
18942
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18943
    ac_cv_path_SYSTEM_GENCCODE="$as_dir/$ac_word$ac_exec_ext"
15883
    ac_cv_path_SYSTEM_GENCCODE="$as_dir/$ac_word$ac_exec_ext"
18944
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15884
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18945
    break 2
15885
    break 2
18946
  fi
15886
  fi
18947
done
15887
done
18948
done
15888
  done
15889
IFS=$as_save_IFS
18949
15890
18950
  ;;
15891
  ;;
18951
esac
15892
esac
18952
fi
15893
fi
18953
SYSTEM_GENCCODE=$ac_cv_path_SYSTEM_GENCCODE
15894
SYSTEM_GENCCODE=$ac_cv_path_SYSTEM_GENCCODE
18954
18955
if test -n "$SYSTEM_GENCCODE"; then
15895
if test -n "$SYSTEM_GENCCODE"; then
18956
  echo "$as_me:$LINENO: result: $SYSTEM_GENCCODE" >&5
15896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEM_GENCCODE" >&5
18957
echo "${ECHO_T}$SYSTEM_GENCCODE" >&6
15897
$as_echo "$SYSTEM_GENCCODE" >&6; }
18958
else
15898
else
18959
  echo "$as_me:$LINENO: result: no" >&5
15899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18960
echo "${ECHO_T}no" >&6
15900
$as_echo "no" >&6; }
18961
fi
15901
fi
15902
18962
15903
18963
   if test -z "$SYSTEM_GENCCODE"; then
15904
   if test -z "$SYSTEM_GENCCODE"; then
18964
      { { echo "$as_me:$LINENO: error: \\"genccode\\" not found in \$PATH, install the icu development tool \\"genccode\"\" >&5
15905
      as_fn_error "\\"genccode\\" not found in \$PATH, install the icu development tool \\"genccode\"\" "$LINENO" 5
18965
echo "$as_me: error: \\"genccode\\" not found in \$PATH, install the icu development tool \\"genccode\"\" >&2;}
18966
   { (exit 1); exit 1; }; }
18967
   fi
15906
   fi
18968
   # Extract the first word of "gencmn", so it can be a program name with args.
15907
   # Extract the first word of "gencmn", so it can be a program name with args.
18969
set dummy gencmn; ac_word=$2
15908
set dummy gencmn; ac_word=$2
18970
echo "$as_me:$LINENO: checking for $ac_word" >&5
15909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18971
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15910
$as_echo_n "checking for $ac_word... " >&6; }
18972
if test "${ac_cv_path_SYSTEM_GENCMN+set}" = set; then
15911
if test "${ac_cv_path_SYSTEM_GENCMN+set}" = set; then :
18973
  echo $ECHO_N "(cached) $ECHO_C" >&6
15912
  $as_echo_n "(cached) " >&6
18974
else
15913
else
18975
  case $SYSTEM_GENCMN in
15914
  case $SYSTEM_GENCMN in
18976
  [\\/]* | ?:[\\/]*)
15915
  [\\/]* | ?:[\\/]*)
Lines 18983-19029 Link Here
18983
do
15922
do
18984
  IFS=$as_save_IFS
15923
  IFS=$as_save_IFS
18985
  test -z "$as_dir" && as_dir=.
15924
  test -z "$as_dir" && as_dir=.
18986
  for ac_exec_ext in '' $ac_executable_extensions; do
15925
    for ac_exec_ext in '' $ac_executable_extensions; do
18987
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18988
    ac_cv_path_SYSTEM_GENCMN="$as_dir/$ac_word$ac_exec_ext"
15927
    ac_cv_path_SYSTEM_GENCMN="$as_dir/$ac_word$ac_exec_ext"
18989
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15928
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18990
    break 2
15929
    break 2
18991
  fi
15930
  fi
18992
done
15931
done
18993
done
15932
  done
15933
IFS=$as_save_IFS
18994
15934
18995
  ;;
15935
  ;;
18996
esac
15936
esac
18997
fi
15937
fi
18998
SYSTEM_GENCMN=$ac_cv_path_SYSTEM_GENCMN
15938
SYSTEM_GENCMN=$ac_cv_path_SYSTEM_GENCMN
18999
19000
if test -n "$SYSTEM_GENCMN"; then
15939
if test -n "$SYSTEM_GENCMN"; then
19001
  echo "$as_me:$LINENO: result: $SYSTEM_GENCMN" >&5
15940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEM_GENCMN" >&5
19002
echo "${ECHO_T}$SYSTEM_GENCMN" >&6
15941
$as_echo "$SYSTEM_GENCMN" >&6; }
19003
else
15942
else
19004
  echo "$as_me:$LINENO: result: no" >&5
15943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19005
echo "${ECHO_T}no" >&6
15944
$as_echo "no" >&6; }
19006
fi
15945
fi
15946
19007
15947
19008
   if test -z "$SYSTEM_GENCMN"; then
15948
   if test -z "$SYSTEM_GENCMN"; then
19009
      { { echo "$as_me:$LINENO: error: \\"gencmn\\" not found in \$PATH, install the icu development tool \\"gencmn\"\" >&5
15949
      as_fn_error "\\"gencmn\\" not found in \$PATH, install the icu development tool \\"gencmn\"\" "$LINENO" 5
19010
echo "$as_me: error: \\"gencmn\\" not found in \$PATH, install the icu development tool \\"gencmn\"\" >&2;}
15950
   fi
19011
   { (exit 1); exit 1; }; }
15951
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking ICU version" >&5
19012
   fi
15952
$as_echo_n "checking ICU version... " >&6; }
19013
   echo "$as_me:$LINENO: checking ICU version" >&5
15953
      if test "$cross_compiling" = yes; then :
19014
echo $ECHO_N "checking ICU version... $ECHO_C" >&6
15954
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19015
      if test "$cross_compiling" = yes; then
15955
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19016
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15956
as_fn_error "cannot run test program while cross compiling
19017
See \`config.log' for more details." >&5
15957
See \`config.log' for more details." "$LINENO" 5; }
19018
echo "$as_me: error: cannot run test program while cross compiling
15958
else
19019
See \`config.log' for more details." >&2;}
15959
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020
   { (exit 1); exit 1; }; }
19021
else
19022
  cat >conftest.$ac_ext <<_ACEOF
19023
/* confdefs.h.  */
19024
_ACEOF
19025
cat confdefs.h >>conftest.$ac_ext
19026
cat >>conftest.$ac_ext <<_ACEOF
19027
/* end confdefs.h.  */
15960
/* end confdefs.h.  */
19028
15961
19029
#include <unicode/uversion.h>
15962
#include <unicode/uversion.h>
Lines 19036-19066 Link Here
19036
}
15969
}
19037
15970
19038
_ACEOF
15971
_ACEOF
19039
rm -f conftest$ac_exeext
15972
if ac_fn_cxx_try_run "$LINENO"; then :
19040
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19041
  (eval $ac_link) 2>&5
15974
$as_echo "OK" >&6; }
19042
  ac_status=$?
15975
else
19043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976
  as_fn_error "not suitable, only >= 4.0 supported currently" "$LINENO" 5
19044
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15977
fi
19045
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19046
  (eval $ac_try) 2>&5
15979
  conftest.$ac_objext conftest.beam conftest.$ac_ext
19047
  ac_status=$?
15980
fi
19048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981
19049
  (exit $ac_status); }; }; then
19050
  echo "$as_me:$LINENO: result: OK" >&5
19051
echo "${ECHO_T}OK" >&6
19052
else
19053
  echo "$as_me: program exited with status $ac_status" >&5
19054
echo "$as_me: failed program was:" >&5
19055
sed 's/^/| /' conftest.$ac_ext >&5
19056
19057
( exit $ac_status )
19058
{ { echo "$as_me:$LINENO: error: not suitable, only >= 4.0 supported currently" >&5
19059
echo "$as_me: error: not suitable, only >= 4.0 supported currently" >&2;}
19060
   { (exit 1); exit 1; }; }
19061
fi
19062
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19063
fi
19064
      ac_ext=c
15982
      ac_ext=c
19065
ac_cpp='$CPP $CPPFLAGS'
15983
ac_cpp='$CPP $CPPFLAGS'
19066
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lines 19068-19075 Link Here
19068
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069
15987
19070
else
15988
else
19071
    echo "$as_me:$LINENO: result: internal" >&5
15989
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
19072
echo "${ECHO_T}internal" >&6
15990
$as_echo "internal" >&6; }
19073
    SYSTEM_ICU=NO
15991
    SYSTEM_ICU=NO
19074
    BUILD_TYPE="$BUILD_TYPE ICU"
15992
    BUILD_TYPE="$BUILD_TYPE ICU"
19075
fi
15993
fi
Lines 19079-19096 Link Here
19079
15997
19080
15998
19081
15999
19082
echo "$as_me:$LINENO: checking whether to enable graphite support" >&5
16000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable graphite support" >&5
19083
echo $ECHO_N "checking whether to enable graphite support... $ECHO_C" >&6
16001
$as_echo_n "checking whether to enable graphite support... " >&6; }
19084
if test "$_os" = "WINNT" -o "$_os" = "Linux" && test "z$enable_graphite" == "z" -o "$enable_graphite" != "no" ; then
16002
if test "$_os" = "WINNT" -o "$_os" = "Linux" && test "z$enable_graphite" == "z" -o "$enable_graphite" != "no" ; then
19085
    echo "$as_me:$LINENO: result: yes" >&5
16003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19086
echo "${ECHO_T}yes" >&6
16004
$as_echo "yes" >&6; }
19087
    ENABLE_GRAPHITE="TRUE"
16005
    ENABLE_GRAPHITE="TRUE"
19088
    echo "$as_me:$LINENO: checking which graphite to use" >&5
16006
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking which graphite to use" >&5
19089
echo $ECHO_N "checking which graphite to use... $ECHO_C" >&6
16007
$as_echo_n "checking which graphite to use... " >&6; }
19090
    if test -n "$with_system_graphite" -o -n "$with_system_libs" && \
16008
    if test -n "$with_system_graphite" -o -n "$with_system_libs" && \
19091
        test "$with_system_graphite" != "no"; then
16009
        test "$with_system_graphite" != "no"; then
19092
        echo "$as_me:$LINENO: result: external" >&5
16010
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
19093
echo "${ECHO_T}external" >&6
16011
$as_echo "external" >&6; }
19094
        SYSTEM_GRAPHITE=YES
16012
        SYSTEM_GRAPHITE=YES
19095
16013
19096
  succeeded=no
16014
  succeeded=no
Lines 19098-19107 Link Here
19098
  if test -z "$PKG_CONFIG"; then
16016
  if test -z "$PKG_CONFIG"; then
19099
    # Extract the first word of "pkg-config", so it can be a program name with args.
16017
    # Extract the first word of "pkg-config", so it can be a program name with args.
19100
set dummy pkg-config; ac_word=$2
16018
set dummy pkg-config; ac_word=$2
19101
echo "$as_me:$LINENO: checking for $ac_word" >&5
16019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19102
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16020
$as_echo_n "checking for $ac_word... " >&6; }
19103
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
16021
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19104
  echo $ECHO_N "(cached) $ECHO_C" >&6
16022
  $as_echo_n "(cached) " >&6
19105
else
16023
else
19106
  case $PKG_CONFIG in
16024
  case $PKG_CONFIG in
19107
  [\\/]* | ?:[\\/]*)
16025
  [\\/]* | ?:[\\/]*)
Lines 19113-19140 Link Here
19113
do
16031
do
19114
  IFS=$as_save_IFS
16032
  IFS=$as_save_IFS
19115
  test -z "$as_dir" && as_dir=.
16033
  test -z "$as_dir" && as_dir=.
19116
  for ac_exec_ext in '' $ac_executable_extensions; do
16034
    for ac_exec_ext in '' $ac_executable_extensions; do
19117
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19118
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16036
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19119
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19120
    break 2
16038
    break 2
19121
  fi
16039
  fi
19122
done
16040
done
19123
done
16041
  done
16042
IFS=$as_save_IFS
19124
16043
19125
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16044
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19126
  ;;
16045
  ;;
19127
esac
16046
esac
19128
fi
16047
fi
19129
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16048
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19130
19131
if test -n "$PKG_CONFIG"; then
16049
if test -n "$PKG_CONFIG"; then
19132
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
16050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19133
echo "${ECHO_T}$PKG_CONFIG" >&6
16051
$as_echo "$PKG_CONFIG" >&6; }
19134
else
16052
else
19135
  echo "$as_me:$LINENO: result: no" >&5
16053
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19136
echo "${ECHO_T}no" >&6
16054
$as_echo "no" >&6; }
19137
fi
16055
fi
16056
19138
16057
19139
  fi
16058
  fi
19140
16059
Lines 19146-19170 Link Here
19146
  else
16065
  else
19147
     PKG_CONFIG_MIN_VERSION=0.9.0
16066
     PKG_CONFIG_MIN_VERSION=0.9.0
19148
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
16067
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19149
        echo "$as_me:$LINENO: checking for silgraphite " >&5
16068
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for silgraphite " >&5
19150
echo $ECHO_N "checking for silgraphite ... $ECHO_C" >&6
16069
$as_echo_n "checking for silgraphite ... " >&6; }
19151
16070
19152
        if $PKG_CONFIG --exists "silgraphite " ; then
16071
        if $PKG_CONFIG --exists "silgraphite " ; then
19153
            echo "$as_me:$LINENO: result: yes" >&5
16072
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19154
echo "${ECHO_T}yes" >&6
16073
$as_echo "yes" >&6; }
19155
            succeeded=yes
16074
            succeeded=yes
19156
16075
19157
            echo "$as_me:$LINENO: checking GRAPHITE_CFLAGS" >&5
16076
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRAPHITE_CFLAGS" >&5
19158
echo $ECHO_N "checking GRAPHITE_CFLAGS... $ECHO_C" >&6
16077
$as_echo_n "checking GRAPHITE_CFLAGS... " >&6; }
19159
            GRAPHITE_CFLAGS=`$PKG_CONFIG --cflags "silgraphite "`
16078
            GRAPHITE_CFLAGS=`$PKG_CONFIG --cflags "silgraphite "`
19160
            echo "$as_me:$LINENO: result: $GRAPHITE_CFLAGS" >&5
16079
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRAPHITE_CFLAGS" >&5
19161
echo "${ECHO_T}$GRAPHITE_CFLAGS" >&6
16080
$as_echo "$GRAPHITE_CFLAGS" >&6; }
19162
16081
19163
            echo "$as_me:$LINENO: checking GRAPHITE_LIBS" >&5
16082
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GRAPHITE_LIBS" >&5
19164
echo $ECHO_N "checking GRAPHITE_LIBS... $ECHO_C" >&6
16083
$as_echo_n "checking GRAPHITE_LIBS... " >&6; }
19165
            GRAPHITE_LIBS=`$PKG_CONFIG --libs "silgraphite "`
16084
            GRAPHITE_LIBS=`$PKG_CONFIG --libs "silgraphite "`
19166
            echo "$as_me:$LINENO: result: $GRAPHITE_LIBS" >&5
16085
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRAPHITE_LIBS" >&5
19167
echo "${ECHO_T}$GRAPHITE_LIBS" >&6
16086
$as_echo "$GRAPHITE_LIBS" >&6; }
19168
        else
16087
        else
19169
            GRAPHITE_CFLAGS=""
16088
            GRAPHITE_CFLAGS=""
19170
            GRAPHITE_LIBS=""
16089
            GRAPHITE_LIBS=""
Lines 19185-19204 Link Here
19185
  if test $succeeded = yes; then
16104
  if test $succeeded = yes; then
19186
     :
16105
     :
19187
  else
16106
  else
19188
     { { echo "$as_me:$LINENO: error: Library requirements (silgraphite ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
16107
     as_fn_error "Library requirements (silgraphite ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
19189
echo "$as_me: error: Library requirements (silgraphite ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19190
   { (exit 1); exit 1; }; }
19191
  fi
16108
  fi
19192
16109
19193
    else
16110
    else
19194
        echo "$as_me:$LINENO: result: internal" >&5
16111
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
19195
echo "${ECHO_T}internal" >&6
16112
$as_echo "internal" >&6; }
19196
        SYSTEM_GRAPHITE=NO
16113
        SYSTEM_GRAPHITE=NO
19197
        BUILD_TYPE="$BUILD_TYPE GRAPHITE"
16114
        BUILD_TYPE="$BUILD_TYPE GRAPHITE"
19198
    fi
16115
    fi
19199
else
16116
else
19200
   echo "$as_me:$LINENO: result: no" >&5
16117
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19201
echo "${ECHO_T}no" >&6
16118
$as_echo "no" >&6; }
19202
fi
16119
fi
19203
16120
19204
16121
Lines 19208-19222 Link Here
19208
16125
19209
if test  "$_os" = "Darwin"; then
16126
if test  "$_os" = "Darwin"; then
19210
   if test "x$with_x" = "xyes"; then
16127
   if test "x$with_x" = "xyes"; then
19211
      { { echo "$as_me:$LINENO: error: X11 build is no longer supported on MacOSX, please use the native aqua build" >&5
16128
      as_fn_error "X11 build is no longer supported on MacOSX, please use the native aqua build" "$LINENO" 5
19212
echo "$as_me: error: X11 build is no longer supported on MacOSX, please use the native aqua build" >&2;}
16129
   else
19213
   { (exit 1); exit 1; }; }
16130
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /System/Library/Frameworks/AppKit.framework" >&5
19214
   else
16131
$as_echo_n "checking for /System/Library/Frameworks/AppKit.framework... " >&6; }
19215
      echo "$as_me:$LINENO: checking for /System/Library/Frameworks/AppKit.framework" >&5
19216
echo $ECHO_N "checking for /System/Library/Frameworks/AppKit.framework... $ECHO_C" >&6
19217
      if test -d "/System/Library/Frameworks/AppKit.framework/"; then
16132
      if test -d "/System/Library/Frameworks/AppKit.framework/"; then
19218
         echo "$as_me:$LINENO: result: yes" >&5
16133
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19219
echo "${ECHO_T}yes" >&6
16134
$as_echo "yes" >&6; }
19220
         x_includes="no_x_includes"
16135
         x_includes="no_x_includes"
19221
         x_libraries="no_x_libraries"
16136
         x_libraries="no_x_libraries"
19222
                  enable_gtk=no
16137
                  enable_gtk=no
Lines 19224-19232 Link Here
19224
         ENABLE_CUPS=""
16139
         ENABLE_CUPS=""
19225
16140
19226
      else
16141
      else
19227
         { { echo "$as_me:$LINENO: error: No AppKit.framewrok found" >&5
16142
         as_fn_error "No AppKit.framewrok found" "$LINENO" 5
19228
echo "$as_me: error: No AppKit.framewrok found" >&2;}
19229
   { (exit 1); exit 1; }; }
19230
      fi
16143
      fi
19231
   fi
16144
   fi
19232
fi
16145
fi
Lines 19238-19281 Link Here
19238
   echo "Do Nothing for _os = OS2. Don't check for X11."
16151
   echo "Do Nothing for _os = OS2. Don't check for X11."
19239
      :
16152
      :
19240
elif test "$_os" != "WINNT" ; then
16153
elif test "$_os" != "WINNT" ; then
19241
   echo "$as_me:$LINENO: checking for X" >&5
16154
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19242
echo $ECHO_N "checking for X... $ECHO_C" >&6
16155
$as_echo_n "checking for X... " >&6; }
19243
16156
19244
16157
19245
# Check whether --with-x or --without-x was given.
16158
# Check whether --with-x was given.
19246
if test "${with_x+set}" = set; then
16159
if test "${with_x+set}" = set; then :
19247
  withval="$with_x"
16160
  withval=$with_x;
19248
16161
fi
19249
fi;
16162
19250
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
16163
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19251
if test "x$with_x" = xno; then
16164
if test "x$with_x" = xno; then
19252
  # The user explicitly disabled X.
16165
  # The user explicitly disabled X.
19253
  have_x=disabled
16166
  have_x=disabled
19254
else
16167
else
19255
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
16168
  case $x_includes,$x_libraries in #(
19256
    # Both variables are already set.
16169
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19257
    have_x=yes
16170
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19258
  else
16171
  $as_echo_n "(cached) " >&6
19259
    if test "${ac_cv_have_x+set}" = set; then
19260
  echo $ECHO_N "(cached) $ECHO_C" >&6
19261
else
16172
else
19262
  # One or both of the vars are not set, and there is no cached value.
16173
  # One or both of the vars are not set, and there is no cached value.
19263
ac_x_includes=no ac_x_libraries=no
16174
ac_x_includes=no ac_x_libraries=no
19264
rm -fr conftest.dir
16175
rm -f -r conftest.dir
19265
if mkdir conftest.dir; then
16176
if mkdir conftest.dir; then
19266
  cd conftest.dir
16177
  cd conftest.dir
19267
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19268
  cat >Imakefile <<'_ACEOF'
16178
  cat >Imakefile <<'_ACEOF'
19269
acfindx:
16179
incroot:
19270
	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
16180
	@echo incroot='${INCROOT}'
19271
_ACEOF
16181
usrlibdir:
19272
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
16182
	@echo usrlibdir='${USRLIBDIR}'
16183
libdir:
16184
	@echo libdir='${LIBDIR}'
16185
_ACEOF
16186
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19273
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
16187
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19274
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
16188
    for ac_var in incroot usrlibdir libdir; do
16189
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
16190
    done
19275
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
16191
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19276
    for ac_extension in a so sl; do
16192
    for ac_extension in a so sl dylib la dll; do
19277
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
16193
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19278
	 test -f $ac_im_libdir/libX11.$ac_extension; then
16194
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19279
	ac_im_usrlibdir=$ac_im_libdir; break
16195
	ac_im_usrlibdir=$ac_im_libdir; break
19280
      fi
16196
      fi
19281
    done
16197
    done
Lines 19283-19319 Link Here
19283
    # bogus both because they are the default anyway, and because
16199
    # bogus both because they are the default anyway, and because
19284
    # using them would break gcc on systems where it needs fixed includes.
16200
    # using them would break gcc on systems where it needs fixed includes.
19285
    case $ac_im_incroot in
16201
    case $ac_im_incroot in
19286
	/usr/include) ;;
16202
	/usr/include) ac_x_includes= ;;
19287
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
16203
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19288
    esac
16204
    esac
19289
    case $ac_im_usrlibdir in
16205
    case $ac_im_usrlibdir in
19290
	/usr/lib | /lib) ;;
16206
	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
19291
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
16207
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19292
    esac
16208
    esac
19293
  fi
16209
  fi
19294
  cd ..
16210
  cd ..
19295
  rm -fr conftest.dir
16211
  rm -f -r conftest.dir
19296
fi
16212
fi
19297
16213
19298
# Standard set of common directories for X headers.
16214
# Standard set of common directories for X headers.
19299
# Check X11 before X11Rn because it is often a symlink to the current release.
16215
# Check X11 before X11Rn because it is often a symlink to the current release.
19300
ac_x_header_dirs='
16216
ac_x_header_dirs='
19301
/usr/X11/include
16217
/usr/X11/include
16218
/usr/X11R7/include
19302
/usr/X11R6/include
16219
/usr/X11R6/include
19303
/usr/X11R5/include
16220
/usr/X11R5/include
19304
/usr/X11R4/include
16221
/usr/X11R4/include
19305
16222
19306
/usr/include/X11
16223
/usr/include/X11
16224
/usr/include/X11R7
19307
/usr/include/X11R6
16225
/usr/include/X11R6
19308
/usr/include/X11R5
16226
/usr/include/X11R5
19309
/usr/include/X11R4
16227
/usr/include/X11R4
19310
16228
19311
/usr/local/X11/include
16229
/usr/local/X11/include
16230
/usr/local/X11R7/include
19312
/usr/local/X11R6/include
16231
/usr/local/X11R6/include
19313
/usr/local/X11R5/include
16232
/usr/local/X11R5/include
19314
/usr/local/X11R4/include
16233
/usr/local/X11R4/include
19315
16234
19316
/usr/local/include/X11
16235
/usr/local/include/X11
16236
/usr/local/include/X11R7
19317
/usr/local/include/X11R6
16237
/usr/local/include/X11R6
19318
/usr/local/include/X11R5
16238
/usr/local/include/X11R5
19319
/usr/local/include/X11R4
16239
/usr/local/include/X11R4
Lines 19333-19374 Link Here
19333
/usr/openwin/share/include'
16253
/usr/openwin/share/include'
19334
16254
19335
if test "$ac_x_includes" = no; then
16255
if test "$ac_x_includes" = no; then
19336
  # Guess where to find include files, by looking for Intrinsic.h.
16256
  # Guess where to find include files, by looking for Xlib.h.
19337
  # First, try using that file with no special directory specified.
16257
  # First, try using that file with no special directory specified.
19338
  cat >conftest.$ac_ext <<_ACEOF
16258
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339
/* confdefs.h.  */
16259
/* end confdefs.h.  */
19340
_ACEOF
16260
#include <X11/Xlib.h>
19341
cat confdefs.h >>conftest.$ac_ext
16261
_ACEOF
19342
cat >>conftest.$ac_ext <<_ACEOF
16262
if ac_fn_c_try_cpp "$LINENO"; then :
19343
/* end confdefs.h.  */
19344
#include <X11/Intrinsic.h>
19345
_ACEOF
19346
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19347
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19348
  ac_status=$?
19349
  grep -v '^ *+' conftest.er1 >conftest.err
19350
  rm -f conftest.er1
19351
  cat conftest.err >&5
19352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353
  (exit $ac_status); } >/dev/null; then
19354
  if test -s conftest.err; then
19355
    ac_cpp_err=$ac_c_preproc_warn_flag
19356
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19357
  else
19358
    ac_cpp_err=
19359
  fi
19360
else
19361
  ac_cpp_err=yes
19362
fi
19363
if test -z "$ac_cpp_err"; then
19364
  # We can compile using X headers with no special include directory.
16263
  # We can compile using X headers with no special include directory.
19365
ac_x_includes=
16264
ac_x_includes=
19366
else
16265
else
19367
  echo "$as_me: failed program was:" >&5
19368
sed 's/^/| /' conftest.$ac_ext >&5
19369
19370
  for ac_dir in $ac_x_header_dirs; do
16266
  for ac_dir in $ac_x_header_dirs; do
19371
  if test -r "$ac_dir/X11/Intrinsic.h"; then
16267
  if test -r "$ac_dir/X11/Xlib.h"; then
19372
    ac_x_includes=$ac_dir
16268
    ac_x_includes=$ac_dir
19373
    break
16269
    break
19374
  fi
16270
  fi
Lines 19382-19483 Link Here
19382
  # See if we find them without any special options.
16278
  # See if we find them without any special options.
19383
  # Don't add to $LIBS permanently.
16279
  # Don't add to $LIBS permanently.
19384
  ac_save_LIBS=$LIBS
16280
  ac_save_LIBS=$LIBS
19385
  LIBS="-lXt $LIBS"
16281
  LIBS="-lX11 $LIBS"
19386
  cat >conftest.$ac_ext <<_ACEOF
16282
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387
/* confdefs.h.  */
16283
/* end confdefs.h.  */
19388
_ACEOF
16284
#include <X11/Xlib.h>
19389
cat confdefs.h >>conftest.$ac_ext
16285
int
19390
cat >>conftest.$ac_ext <<_ACEOF
16286
main ()
19391
/* end confdefs.h.  */
16287
{
19392
#include <X11/Intrinsic.h>
16288
XrmInitialize ()
19393
int
16289
  ;
19394
main ()
16290
  return 0;
19395
{
16291
}
19396
XtMalloc (0)
16292
_ACEOF
19397
  ;
16293
if ac_fn_c_try_link "$LINENO"; then :
19398
  return 0;
19399
}
19400
_ACEOF
19401
rm -f conftest.$ac_objext conftest$ac_exeext
19402
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19403
  (eval $ac_link) 2>conftest.er1
19404
  ac_status=$?
19405
  grep -v '^ *+' conftest.er1 >conftest.err
19406
  rm -f conftest.er1
19407
  cat conftest.err >&5
19408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409
  (exit $ac_status); } &&
19410
	 { ac_try='test -z "$ac_c_werror_flag"
19411
			 || test ! -s conftest.err'
19412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413
  (eval $ac_try) 2>&5
19414
  ac_status=$?
19415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416
  (exit $ac_status); }; } &&
19417
	 { ac_try='test -s conftest$ac_exeext'
19418
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419
  (eval $ac_try) 2>&5
19420
  ac_status=$?
19421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422
  (exit $ac_status); }; }; then
19423
  LIBS=$ac_save_LIBS
16294
  LIBS=$ac_save_LIBS
19424
# We can link X programs with no special library path.
16295
# We can link X programs with no special library path.
19425
ac_x_libraries=
16296
ac_x_libraries=
19426
else
16297
else
19427
  echo "$as_me: failed program was:" >&5
16298
  LIBS=$ac_save_LIBS
19428
sed 's/^/| /' conftest.$ac_ext >&5
16299
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19429
19430
LIBS=$ac_save_LIBS
19431
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19432
do
16300
do
19433
  # Don't even attempt the hair of trying to link an X program!
16301
  # Don't even attempt the hair of trying to link an X program!
19434
  for ac_extension in a so sl; do
16302
  for ac_extension in a so sl dylib la dll; do
19435
    if test -r $ac_dir/libXt.$ac_extension; then
16303
    if test -r "$ac_dir/libX11.$ac_extension"; then
19436
      ac_x_libraries=$ac_dir
16304
      ac_x_libraries=$ac_dir
19437
      break 2
16305
      break 2
19438
    fi
16306
    fi
19439
  done
16307
  done
19440
done
16308
done
19441
fi
16309
fi
19442
rm -f conftest.err conftest.$ac_objext \
16310
rm -f core conftest.err conftest.$ac_objext \
19443
      conftest$ac_exeext conftest.$ac_ext
16311
    conftest$ac_exeext conftest.$ac_ext
19444
fi # $ac_x_libraries = no
16312
fi # $ac_x_libraries = no
19445
16313
19446
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
16314
case $ac_x_includes,$ac_x_libraries in #(
19447
  # Didn't find X anywhere.  Cache the known absence of X.
16315
  no,* | *,no | *\'*)
19448
  ac_cv_have_x="have_x=no"
16316
    # Didn't find X, or a directory has "'" in its name.
19449
else
16317
    ac_cv_have_x="have_x=no";; #(
19450
  # Record where we found X for the cache.
16318
  *)
19451
  ac_cv_have_x="have_x=yes \
16319
    # Record where we found X for the cache.
19452
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
16320
    ac_cv_have_x="have_x=yes\
19453
fi
16321
	ac_x_includes='$ac_x_includes'\
19454
fi
16322
	ac_x_libraries='$ac_x_libraries'"
19455
16323
esac
19456
  fi
16324
fi
16325
;; #(
16326
    *) have_x=yes;;
16327
  esac
19457
  eval "$ac_cv_have_x"
16328
  eval "$ac_cv_have_x"
19458
fi # $with_x != no
16329
fi # $with_x != no
19459
16330
19460
if test "$have_x" != yes; then
16331
if test "$have_x" != yes; then
19461
  echo "$as_me:$LINENO: result: $have_x" >&5
16332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19462
echo "${ECHO_T}$have_x" >&6
16333
$as_echo "$have_x" >&6; }
19463
  no_x=yes
16334
  no_x=yes
19464
else
16335
else
19465
  # If each of the values was on the command line, it overrides each guess.
16336
  # If each of the values was on the command line, it overrides each guess.
19466
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
16337
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19467
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
16338
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19468
  # Update the cache value to reflect the command line values.
16339
  # Update the cache value to reflect the command line values.
19469
  ac_cv_have_x="have_x=yes \
16340
  ac_cv_have_x="have_x=yes\
19470
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
16341
	ac_x_includes='$x_includes'\
19471
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
16342
	ac_x_libraries='$x_libraries'"
19472
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
16343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
16344
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19473
fi
16345
fi
19474
16346
19475
   if test "$no_x" = yes; then
16347
   if test "$no_x" = yes; then
19476
  # Not all programs may use this symbol, but it does not hurt to define it.
16348
  # Not all programs may use this symbol, but it does not hurt to define it.
19477
16349
19478
cat >>confdefs.h <<\_ACEOF
16350
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19479
#define X_DISPLAY_MISSING 1
19480
_ACEOF
19481
16351
19482
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
16352
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19483
else
16353
else
Lines 19490-19609 Link Here
19490
    X_LIBS="$X_LIBS -L$x_libraries"
16360
    X_LIBS="$X_LIBS -L$x_libraries"
19491
    # For Solaris; some versions of Sun CC require a space after -R and
16361
    # For Solaris; some versions of Sun CC require a space after -R and
19492
    # others require no space.  Words are not sufficient . . . .
16362
    # others require no space.  Words are not sufficient . . . .
19493
    case `(uname -sr) 2>/dev/null` in
16363
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19494
    "SunOS 5"*)
16364
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
19495
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
16365
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19496
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
16366
    ac_xsave_c_werror_flag=$ac_c_werror_flag
19497
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
16367
    ac_c_werror_flag=yes
19498
      cat >conftest.$ac_ext <<_ACEOF
16368
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499
/* confdefs.h.  */
16369
/* end confdefs.h.  */
19500
_ACEOF
16370
19501
cat confdefs.h >>conftest.$ac_ext
16371
int
19502
cat >>conftest.$ac_ext <<_ACEOF
16372
main ()
19503
/* end confdefs.h.  */
16373
{
19504
16374
19505
int
16375
  ;
19506
main ()
16376
  return 0;
19507
{
16377
}
19508
16378
_ACEOF
19509
  ;
16379
if ac_fn_c_try_link "$LINENO"; then :
19510
  return 0;
16380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19511
}
16381
$as_echo "no" >&6; }
19512
_ACEOF
16382
       X_LIBS="$X_LIBS -R$x_libraries"
19513
rm -f conftest.$ac_objext conftest$ac_exeext
16383
else
19514
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16384
  LIBS="$ac_xsave_LIBS -R $x_libraries"
19515
  (eval $ac_link) 2>conftest.er1
16385
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516
  ac_status=$?
16386
/* end confdefs.h.  */
19517
  grep -v '^ *+' conftest.er1 >conftest.err
16387
19518
  rm -f conftest.er1
16388
int
19519
  cat conftest.err >&5
16389
main ()
19520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390
{
19521
  (exit $ac_status); } &&
16391
19522
	 { ac_try='test -z "$ac_c_werror_flag"
16392
  ;
19523
			 || test ! -s conftest.err'
16393
  return 0;
19524
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394
}
19525
  (eval $ac_try) 2>&5
16395
_ACEOF
19526
  ac_status=$?
16396
if ac_fn_c_try_link "$LINENO"; then :
19527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19528
  (exit $ac_status); }; } &&
16398
$as_echo "yes" >&6; }
19529
	 { ac_try='test -s conftest$ac_exeext'
19530
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531
  (eval $ac_try) 2>&5
19532
  ac_status=$?
19533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534
  (exit $ac_status); }; }; then
19535
  ac_R_nospace=yes
19536
else
19537
  echo "$as_me: failed program was:" >&5
19538
sed 's/^/| /' conftest.$ac_ext >&5
19539
19540
ac_R_nospace=no
19541
fi
19542
rm -f conftest.err conftest.$ac_objext \
19543
      conftest$ac_exeext conftest.$ac_ext
19544
      if test $ac_R_nospace = yes; then
19545
	echo "$as_me:$LINENO: result: no" >&5
19546
echo "${ECHO_T}no" >&6
19547
	X_LIBS="$X_LIBS -R$x_libraries"
19548
      else
19549
	LIBS="$ac_xsave_LIBS -R $x_libraries"
19550
	cat >conftest.$ac_ext <<_ACEOF
19551
/* confdefs.h.  */
19552
_ACEOF
19553
cat confdefs.h >>conftest.$ac_ext
19554
cat >>conftest.$ac_ext <<_ACEOF
19555
/* end confdefs.h.  */
19556
19557
int
19558
main ()
19559
{
19560
19561
  ;
19562
  return 0;
19563
}
19564
_ACEOF
19565
rm -f conftest.$ac_objext conftest$ac_exeext
19566
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19567
  (eval $ac_link) 2>conftest.er1
19568
  ac_status=$?
19569
  grep -v '^ *+' conftest.er1 >conftest.err
19570
  rm -f conftest.er1
19571
  cat conftest.err >&5
19572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573
  (exit $ac_status); } &&
19574
	 { ac_try='test -z "$ac_c_werror_flag"
19575
			 || test ! -s conftest.err'
19576
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577
  (eval $ac_try) 2>&5
19578
  ac_status=$?
19579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580
  (exit $ac_status); }; } &&
19581
	 { ac_try='test -s conftest$ac_exeext'
19582
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583
  (eval $ac_try) 2>&5
19584
  ac_status=$?
19585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586
  (exit $ac_status); }; }; then
19587
  ac_R_space=yes
19588
else
19589
  echo "$as_me: failed program was:" >&5
19590
sed 's/^/| /' conftest.$ac_ext >&5
19591
19592
ac_R_space=no
19593
fi
19594
rm -f conftest.err conftest.$ac_objext \
19595
      conftest$ac_exeext conftest.$ac_ext
19596
	if test $ac_R_space = yes; then
19597
	  echo "$as_me:$LINENO: result: yes" >&5
19598
echo "${ECHO_T}yes" >&6
19599
	  X_LIBS="$X_LIBS -R $x_libraries"
16399
	  X_LIBS="$X_LIBS -R $x_libraries"
19600
	else
16400
else
19601
	  echo "$as_me:$LINENO: result: neither works" >&5
16401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19602
echo "${ECHO_T}neither works" >&6
16402
$as_echo "neither works" >&6; }
19603
	fi
16403
fi
19604
      fi
16404
rm -f core conftest.err conftest.$ac_objext \
19605
      LIBS=$ac_xsave_LIBS
16405
    conftest$ac_exeext conftest.$ac_ext
19606
    esac
16406
fi
16407
rm -f core conftest.err conftest.$ac_objext \
16408
    conftest$ac_exeext conftest.$ac_ext
16409
    ac_c_werror_flag=$ac_xsave_c_werror_flag
16410
    LIBS=$ac_xsave_LIBS
19607
  fi
16411
  fi
19608
16412
19609
  # Check for system-dependent libraries X programs must link with.
16413
  # Check for system-dependent libraries X programs must link with.
Lines 19617-19812 Link Here
19617
    # libraries were built with DECnet support.  And Karl Berry says
16421
    # libraries were built with DECnet support.  And Karl Berry says
19618
    # the Alpha needs dnet_stub (dnet does not exist).
16422
    # the Alpha needs dnet_stub (dnet does not exist).
19619
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
16423
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19620
    cat >conftest.$ac_ext <<_ACEOF
16424
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621
/* confdefs.h.  */
16425
/* end confdefs.h.  */
19622
_ACEOF
16426
19623
cat confdefs.h >>conftest.$ac_ext
16427
/* Override any GCC internal prototype to avoid an error.
19624
cat >>conftest.$ac_ext <<_ACEOF
16428
   Use char because int might match the return type of a GCC
19625
/* end confdefs.h.  */
16429
   builtin and then its argument prototype would still apply.  */
19626
19627
/* Override any gcc2 internal prototype to avoid an error.  */
19628
#ifdef __cplusplus
16430
#ifdef __cplusplus
19629
extern "C"
16431
extern "C"
19630
#endif
16432
#endif
19631
/* We use char because int might match the return type of a gcc2
19632
   builtin and then its argument prototype would still apply.  */
19633
char XOpenDisplay ();
16433
char XOpenDisplay ();
19634
int
16434
int
19635
main ()
16435
main ()
19636
{
16436
{
19637
XOpenDisplay ();
16437
return XOpenDisplay ();
19638
  ;
16438
  ;
19639
  return 0;
16439
  return 0;
19640
}
16440
}
19641
_ACEOF
16441
_ACEOF
19642
rm -f conftest.$ac_objext conftest$ac_exeext
16442
if ac_fn_c_try_link "$LINENO"; then :
19643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443
19644
  (eval $ac_link) 2>conftest.er1
16444
else
19645
  ac_status=$?
16445
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19646
  grep -v '^ *+' conftest.er1 >conftest.err
16446
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19647
  rm -f conftest.er1
16447
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19648
  cat conftest.err >&5
16448
  $as_echo_n "(cached) " >&6
19649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650
  (exit $ac_status); } &&
19651
	 { ac_try='test -z "$ac_c_werror_flag"
19652
			 || test ! -s conftest.err'
19653
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654
  (eval $ac_try) 2>&5
19655
  ac_status=$?
19656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657
  (exit $ac_status); }; } &&
19658
	 { ac_try='test -s conftest$ac_exeext'
19659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660
  (eval $ac_try) 2>&5
19661
  ac_status=$?
19662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663
  (exit $ac_status); }; }; then
19664
  :
19665
else
19666
  echo "$as_me: failed program was:" >&5
19667
sed 's/^/| /' conftest.$ac_ext >&5
19668
19669
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19670
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19671
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19672
  echo $ECHO_N "(cached) $ECHO_C" >&6
19673
else
16449
else
19674
  ac_check_lib_save_LIBS=$LIBS
16450
  ac_check_lib_save_LIBS=$LIBS
19675
LIBS="-ldnet  $LIBS"
16451
LIBS="-ldnet  $LIBS"
19676
cat >conftest.$ac_ext <<_ACEOF
16452
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677
/* confdefs.h.  */
16453
/* end confdefs.h.  */
19678
_ACEOF
16454
19679
cat confdefs.h >>conftest.$ac_ext
16455
/* Override any GCC internal prototype to avoid an error.
19680
cat >>conftest.$ac_ext <<_ACEOF
16456
   Use char because int might match the return type of a GCC
19681
/* end confdefs.h.  */
16457
   builtin and then its argument prototype would still apply.  */
19682
19683
/* Override any gcc2 internal prototype to avoid an error.  */
19684
#ifdef __cplusplus
16458
#ifdef __cplusplus
19685
extern "C"
16459
extern "C"
19686
#endif
16460
#endif
19687
/* We use char because int might match the return type of a gcc2
19688
   builtin and then its argument prototype would still apply.  */
19689
char dnet_ntoa ();
16461
char dnet_ntoa ();
19690
int
16462
int
19691
main ()
16463
main ()
19692
{
16464
{
19693
dnet_ntoa ();
16465
return dnet_ntoa ();
19694
  ;
16466
  ;
19695
  return 0;
16467
  return 0;
19696
}
16468
}
19697
_ACEOF
16469
_ACEOF
19698
rm -f conftest.$ac_objext conftest$ac_exeext
16470
if ac_fn_c_try_link "$LINENO"; then :
19699
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700
  (eval $ac_link) 2>conftest.er1
19701
  ac_status=$?
19702
  grep -v '^ *+' conftest.er1 >conftest.err
19703
  rm -f conftest.er1
19704
  cat conftest.err >&5
19705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706
  (exit $ac_status); } &&
19707
	 { ac_try='test -z "$ac_c_werror_flag"
19708
			 || test ! -s conftest.err'
19709
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710
  (eval $ac_try) 2>&5
19711
  ac_status=$?
19712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713
  (exit $ac_status); }; } &&
19714
	 { ac_try='test -s conftest$ac_exeext'
19715
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716
  (eval $ac_try) 2>&5
19717
  ac_status=$?
19718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719
  (exit $ac_status); }; }; then
19720
  ac_cv_lib_dnet_dnet_ntoa=yes
16471
  ac_cv_lib_dnet_dnet_ntoa=yes
19721
else
16472
else
19722
  echo "$as_me: failed program was:" >&5
16473
  ac_cv_lib_dnet_dnet_ntoa=no
19723
sed 's/^/| /' conftest.$ac_ext >&5
16474
fi
19724
16475
rm -f core conftest.err conftest.$ac_objext \
19725
ac_cv_lib_dnet_dnet_ntoa=no
16476
    conftest$ac_exeext conftest.$ac_ext
19726
fi
19727
rm -f conftest.err conftest.$ac_objext \
19728
      conftest$ac_exeext conftest.$ac_ext
19729
LIBS=$ac_check_lib_save_LIBS
16477
LIBS=$ac_check_lib_save_LIBS
19730
fi
16478
fi
19731
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19732
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
16480
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19733
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
16481
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19734
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
16482
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19735
fi
16483
fi
19736
16484
19737
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
16485
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19738
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
16486
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19739
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
16487
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19740
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
16488
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19741
  echo $ECHO_N "(cached) $ECHO_C" >&6
16489
  $as_echo_n "(cached) " >&6
19742
else
16490
else
19743
  ac_check_lib_save_LIBS=$LIBS
16491
  ac_check_lib_save_LIBS=$LIBS
19744
LIBS="-ldnet_stub  $LIBS"
16492
LIBS="-ldnet_stub  $LIBS"
19745
cat >conftest.$ac_ext <<_ACEOF
16493
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746
/* confdefs.h.  */
16494
/* end confdefs.h.  */
19747
_ACEOF
16495
19748
cat confdefs.h >>conftest.$ac_ext
16496
/* Override any GCC internal prototype to avoid an error.
19749
cat >>conftest.$ac_ext <<_ACEOF
16497
   Use char because int might match the return type of a GCC
19750
/* end confdefs.h.  */
16498
   builtin and then its argument prototype would still apply.  */
19751
19752
/* Override any gcc2 internal prototype to avoid an error.  */
19753
#ifdef __cplusplus
16499
#ifdef __cplusplus
19754
extern "C"
16500
extern "C"
19755
#endif
16501
#endif
19756
/* We use char because int might match the return type of a gcc2
19757
   builtin and then its argument prototype would still apply.  */
19758
char dnet_ntoa ();
16502
char dnet_ntoa ();
19759
int
16503
int
19760
main ()
16504
main ()
19761
{
16505
{
19762
dnet_ntoa ();
16506
return dnet_ntoa ();
19763
  ;
16507
  ;
19764
  return 0;
16508
  return 0;
19765
}
16509
}
19766
_ACEOF
16510
_ACEOF
19767
rm -f conftest.$ac_objext conftest$ac_exeext
16511
if ac_fn_c_try_link "$LINENO"; then :
19768
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19769
  (eval $ac_link) 2>conftest.er1
19770
  ac_status=$?
19771
  grep -v '^ *+' conftest.er1 >conftest.err
19772
  rm -f conftest.er1
19773
  cat conftest.err >&5
19774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775
  (exit $ac_status); } &&
19776
	 { ac_try='test -z "$ac_c_werror_flag"
19777
			 || test ! -s conftest.err'
19778
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779
  (eval $ac_try) 2>&5
19780
  ac_status=$?
19781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782
  (exit $ac_status); }; } &&
19783
	 { ac_try='test -s conftest$ac_exeext'
19784
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785
  (eval $ac_try) 2>&5
19786
  ac_status=$?
19787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788
  (exit $ac_status); }; }; then
19789
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
16512
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
19790
else
16513
else
19791
  echo "$as_me: failed program was:" >&5
16514
  ac_cv_lib_dnet_stub_dnet_ntoa=no
19792
sed 's/^/| /' conftest.$ac_ext >&5
16515
fi
19793
16516
rm -f core conftest.err conftest.$ac_objext \
19794
ac_cv_lib_dnet_stub_dnet_ntoa=no
16517
    conftest$ac_exeext conftest.$ac_ext
19795
fi
19796
rm -f conftest.err conftest.$ac_objext \
19797
      conftest$ac_exeext conftest.$ac_ext
19798
LIBS=$ac_check_lib_save_LIBS
16518
LIBS=$ac_check_lib_save_LIBS
19799
fi
16519
fi
19800
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
16520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19801
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
16521
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19802
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
16522
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19803
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
16523
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19804
fi
16524
fi
19805
16525
19806
    fi
16526
    fi
19807
fi
16527
fi
19808
rm -f conftest.err conftest.$ac_objext \
16528
rm -f core conftest.err conftest.$ac_objext \
19809
      conftest$ac_exeext conftest.$ac_ext
16529
    conftest$ac_exeext conftest.$ac_ext
19810
    LIBS="$ac_xsave_LIBS"
16530
    LIBS="$ac_xsave_LIBS"
19811
16531
19812
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
16532
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
Lines 19817-20048 Link Here
19817
    # on Irix 5.2, according to T.E. Dickey.
16537
    # on Irix 5.2, according to T.E. Dickey.
19818
    # The functions gethostbyname, getservbyname, and inet_addr are
16538
    # The functions gethostbyname, getservbyname, and inet_addr are
19819
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16539
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19820
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
16540
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19821
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
16541
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19822
if test "${ac_cv_func_gethostbyname+set}" = set; then
16542
19823
  echo $ECHO_N "(cached) $ECHO_C" >&6
16543
fi
19824
else
16544
19825
  cat >conftest.$ac_ext <<_ACEOF
16545
    if test $ac_cv_func_gethostbyname = no; then
19826
/* confdefs.h.  */
16546
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19827
_ACEOF
16547
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19828
cat confdefs.h >>conftest.$ac_ext
16548
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19829
cat >>conftest.$ac_ext <<_ACEOF
16549
  $as_echo_n "(cached) " >&6
19830
/* end confdefs.h.  */
16550
else
19831
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
16551
  ac_check_lib_save_LIBS=$LIBS
19832
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16552
LIBS="-lnsl  $LIBS"
19833
#define gethostbyname innocuous_gethostbyname
16553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834
16554
/* end confdefs.h.  */
19835
/* System header to define __stub macros and hopefully few prototypes,
16555
19836
    which can conflict with char gethostbyname (); below.
16556
/* Override any GCC internal prototype to avoid an error.
19837
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16557
   Use char because int might match the return type of a GCC
19838
    <limits.h> exists even on freestanding compilers.  */
16558
   builtin and then its argument prototype would still apply.  */
19839
19840
#ifdef __STDC__
19841
# include <limits.h>
19842
#else
19843
# include <assert.h>
19844
#endif
19845
19846
#undef gethostbyname
19847
19848
/* Override any gcc2 internal prototype to avoid an error.  */
19849
#ifdef __cplusplus
16559
#ifdef __cplusplus
19850
extern "C"
16560
extern "C"
19851
{
16561
#endif
19852
#endif
16562
char gethostbyname ();
19853
/* We use char because int might match the return type of a gcc2
16563
int
16564
main ()
16565
{
16566
return gethostbyname ();
16567
  ;
16568
  return 0;
16569
}
16570
_ACEOF
16571
if ac_fn_c_try_link "$LINENO"; then :
16572
  ac_cv_lib_nsl_gethostbyname=yes
16573
else
16574
  ac_cv_lib_nsl_gethostbyname=no
16575
fi
16576
rm -f core conftest.err conftest.$ac_objext \
16577
    conftest$ac_exeext conftest.$ac_ext
16578
LIBS=$ac_check_lib_save_LIBS
16579
fi
16580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
16581
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
16582
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
16583
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
16584
fi
16585
16586
      if test $ac_cv_lib_nsl_gethostbyname = no; then
16587
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
16588
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
16589
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
16590
  $as_echo_n "(cached) " >&6
16591
else
16592
  ac_check_lib_save_LIBS=$LIBS
16593
LIBS="-lbsd  $LIBS"
16594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595
/* end confdefs.h.  */
16596
16597
/* Override any GCC internal prototype to avoid an error.
16598
   Use char because int might match the return type of a GCC
19854
   builtin and then its argument prototype would still apply.  */
16599
   builtin and then its argument prototype would still apply.  */
19855
char gethostbyname ();
19856
/* The GNU C library defines this for functions which it implements
19857
    to always fail with ENOSYS.  Some functions are actually named
19858
    something starting with __ and the normal name is an alias.  */
19859
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19860
choke me
19861
#else
19862
char (*f) () = gethostbyname;
19863
#endif
19864
#ifdef __cplusplus
19865
}
19866
#endif
19867
19868
int
19869
main ()
19870
{
19871
return f != gethostbyname;
19872
  ;
19873
  return 0;
19874
}
19875
_ACEOF
19876
rm -f conftest.$ac_objext conftest$ac_exeext
19877
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19878
  (eval $ac_link) 2>conftest.er1
19879
  ac_status=$?
19880
  grep -v '^ *+' conftest.er1 >conftest.err
19881
  rm -f conftest.er1
19882
  cat conftest.err >&5
19883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884
  (exit $ac_status); } &&
19885
	 { ac_try='test -z "$ac_c_werror_flag"
19886
			 || test ! -s conftest.err'
19887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888
  (eval $ac_try) 2>&5
19889
  ac_status=$?
19890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891
  (exit $ac_status); }; } &&
19892
	 { ac_try='test -s conftest$ac_exeext'
19893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894
  (eval $ac_try) 2>&5
19895
  ac_status=$?
19896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897
  (exit $ac_status); }; }; then
19898
  ac_cv_func_gethostbyname=yes
19899
else
19900
  echo "$as_me: failed program was:" >&5
19901
sed 's/^/| /' conftest.$ac_ext >&5
19902
19903
ac_cv_func_gethostbyname=no
19904
fi
19905
rm -f conftest.err conftest.$ac_objext \
19906
      conftest$ac_exeext conftest.$ac_ext
19907
fi
19908
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19909
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19910
19911
    if test $ac_cv_func_gethostbyname = no; then
19912
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19913
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19914
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19915
  echo $ECHO_N "(cached) $ECHO_C" >&6
19916
else
19917
  ac_check_lib_save_LIBS=$LIBS
19918
LIBS="-lnsl  $LIBS"
19919
cat >conftest.$ac_ext <<_ACEOF
19920
/* confdefs.h.  */
19921
_ACEOF
19922
cat confdefs.h >>conftest.$ac_ext
19923
cat >>conftest.$ac_ext <<_ACEOF
19924
/* end confdefs.h.  */
19925
19926
/* Override any gcc2 internal prototype to avoid an error.  */
19927
#ifdef __cplusplus
16600
#ifdef __cplusplus
19928
extern "C"
16601
extern "C"
19929
#endif
16602
#endif
19930
/* We use char because int might match the return type of a gcc2
19931
   builtin and then its argument prototype would still apply.  */
19932
char gethostbyname ();
16603
char gethostbyname ();
19933
int
16604
int
19934
main ()
16605
main ()
19935
{
16606
{
19936
gethostbyname ();
16607
return gethostbyname ();
19937
  ;
16608
  ;
19938
  return 0;
16609
  return 0;
19939
}
16610
}
19940
_ACEOF
16611
_ACEOF
19941
rm -f conftest.$ac_objext conftest$ac_exeext
16612
if ac_fn_c_try_link "$LINENO"; then :
19942
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613
  ac_cv_lib_bsd_gethostbyname=yes
19943
  (eval $ac_link) 2>conftest.er1
16614
else
19944
  ac_status=$?
16615
  ac_cv_lib_bsd_gethostbyname=no
19945
  grep -v '^ *+' conftest.er1 >conftest.err
16616
fi
19946
  rm -f conftest.er1
16617
rm -f core conftest.err conftest.$ac_objext \
19947
  cat conftest.err >&5
16618
    conftest$ac_exeext conftest.$ac_ext
19948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949
  (exit $ac_status); } &&
19950
	 { ac_try='test -z "$ac_c_werror_flag"
19951
			 || test ! -s conftest.err'
19952
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953
  (eval $ac_try) 2>&5
19954
  ac_status=$?
19955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956
  (exit $ac_status); }; } &&
19957
	 { ac_try='test -s conftest$ac_exeext'
19958
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959
  (eval $ac_try) 2>&5
19960
  ac_status=$?
19961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962
  (exit $ac_status); }; }; then
19963
  ac_cv_lib_nsl_gethostbyname=yes
19964
else
19965
  echo "$as_me: failed program was:" >&5
19966
sed 's/^/| /' conftest.$ac_ext >&5
19967
19968
ac_cv_lib_nsl_gethostbyname=no
19969
fi
19970
rm -f conftest.err conftest.$ac_objext \
19971
      conftest$ac_exeext conftest.$ac_ext
19972
LIBS=$ac_check_lib_save_LIBS
16619
LIBS=$ac_check_lib_save_LIBS
19973
fi
16620
fi
19974
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19975
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
16622
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19976
if test $ac_cv_lib_nsl_gethostbyname = yes; then
16623
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
19977
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
19978
fi
19979
19980
      if test $ac_cv_lib_nsl_gethostbyname = no; then
19981
	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19982
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19983
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19984
  echo $ECHO_N "(cached) $ECHO_C" >&6
19985
else
19986
  ac_check_lib_save_LIBS=$LIBS
19987
LIBS="-lbsd  $LIBS"
19988
cat >conftest.$ac_ext <<_ACEOF
19989
/* confdefs.h.  */
19990
_ACEOF
19991
cat confdefs.h >>conftest.$ac_ext
19992
cat >>conftest.$ac_ext <<_ACEOF
19993
/* end confdefs.h.  */
19994
19995
/* Override any gcc2 internal prototype to avoid an error.  */
19996
#ifdef __cplusplus
19997
extern "C"
19998
#endif
19999
/* We use char because int might match the return type of a gcc2
20000
   builtin and then its argument prototype would still apply.  */
20001
char gethostbyname ();
20002
int
20003
main ()
20004
{
20005
gethostbyname ();
20006
  ;
20007
  return 0;
20008
}
20009
_ACEOF
20010
rm -f conftest.$ac_objext conftest$ac_exeext
20011
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012
  (eval $ac_link) 2>conftest.er1
20013
  ac_status=$?
20014
  grep -v '^ *+' conftest.er1 >conftest.err
20015
  rm -f conftest.er1
20016
  cat conftest.err >&5
20017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018
  (exit $ac_status); } &&
20019
	 { ac_try='test -z "$ac_c_werror_flag"
20020
			 || test ! -s conftest.err'
20021
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022
  (eval $ac_try) 2>&5
20023
  ac_status=$?
20024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025
  (exit $ac_status); }; } &&
20026
	 { ac_try='test -s conftest$ac_exeext'
20027
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028
  (eval $ac_try) 2>&5
20029
  ac_status=$?
20030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031
  (exit $ac_status); }; }; then
20032
  ac_cv_lib_bsd_gethostbyname=yes
20033
else
20034
  echo "$as_me: failed program was:" >&5
20035
sed 's/^/| /' conftest.$ac_ext >&5
20036
20037
ac_cv_lib_bsd_gethostbyname=no
20038
fi
20039
rm -f conftest.err conftest.$ac_objext \
20040
      conftest$ac_exeext conftest.$ac_ext
20041
LIBS=$ac_check_lib_save_LIBS
20042
fi
20043
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20044
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20045
if test $ac_cv_lib_bsd_gethostbyname = yes; then
20046
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
16624
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20047
fi
16625
fi
20048
16626
Lines 20056-20544 Link Here
20056
    # variants that don't use the name server (or something).  -lsocket
16634
    # variants that don't use the name server (or something).  -lsocket
20057
    # must be given before -lnsl if both are needed.  We assume that
16635
    # must be given before -lnsl if both are needed.  We assume that
20058
    # if connect needs -lnsl, so does gethostbyname.
16636
    # if connect needs -lnsl, so does gethostbyname.
20059
    echo "$as_me:$LINENO: checking for connect" >&5
16637
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20060
echo $ECHO_N "checking for connect... $ECHO_C" >&6
16638
if test "x$ac_cv_func_connect" = x""yes; then :
20061
if test "${ac_cv_func_connect+set}" = set; then
16639
20062
  echo $ECHO_N "(cached) $ECHO_C" >&6
16640
fi
20063
else
16641
20064
  cat >conftest.$ac_ext <<_ACEOF
16642
    if test $ac_cv_func_connect = no; then
20065
/* confdefs.h.  */
16643
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20066
_ACEOF
16644
$as_echo_n "checking for connect in -lsocket... " >&6; }
20067
cat confdefs.h >>conftest.$ac_ext
16645
if test "${ac_cv_lib_socket_connect+set}" = set; then :
20068
cat >>conftest.$ac_ext <<_ACEOF
16646
  $as_echo_n "(cached) " >&6
20069
/* end confdefs.h.  */
16647
else
20070
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
16648
  ac_check_lib_save_LIBS=$LIBS
20071
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16649
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20072
#define connect innocuous_connect
16650
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20073
16651
/* end confdefs.h.  */
20074
/* System header to define __stub macros and hopefully few prototypes,
16652
20075
    which can conflict with char connect (); below.
16653
/* Override any GCC internal prototype to avoid an error.
20076
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16654
   Use char because int might match the return type of a GCC
20077
    <limits.h> exists even on freestanding compilers.  */
16655
   builtin and then its argument prototype would still apply.  */
20078
20079
#ifdef __STDC__
20080
# include <limits.h>
20081
#else
20082
# include <assert.h>
20083
#endif
20084
20085
#undef connect
20086
20087
/* Override any gcc2 internal prototype to avoid an error.  */
20088
#ifdef __cplusplus
16656
#ifdef __cplusplus
20089
extern "C"
16657
extern "C"
20090
{
16658
#endif
20091
#endif
16659
char connect ();
20092
/* We use char because int might match the return type of a gcc2
16660
int
16661
main ()
16662
{
16663
return connect ();
16664
  ;
16665
  return 0;
16666
}
16667
_ACEOF
16668
if ac_fn_c_try_link "$LINENO"; then :
16669
  ac_cv_lib_socket_connect=yes
16670
else
16671
  ac_cv_lib_socket_connect=no
16672
fi
16673
rm -f core conftest.err conftest.$ac_objext \
16674
    conftest$ac_exeext conftest.$ac_ext
16675
LIBS=$ac_check_lib_save_LIBS
16676
fi
16677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
16678
$as_echo "$ac_cv_lib_socket_connect" >&6; }
16679
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
16680
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
16681
fi
16682
16683
    fi
16684
16685
    # Guillermo Gomez says -lposix is necessary on A/UX.
16686
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
16687
if test "x$ac_cv_func_remove" = x""yes; then :
16688
16689
fi
16690
16691
    if test $ac_cv_func_remove = no; then
16692
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
16693
$as_echo_n "checking for remove in -lposix... " >&6; }
16694
if test "${ac_cv_lib_posix_remove+set}" = set; then :
16695
  $as_echo_n "(cached) " >&6
16696
else
16697
  ac_check_lib_save_LIBS=$LIBS
16698
LIBS="-lposix  $LIBS"
16699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700
/* end confdefs.h.  */
16701
16702
/* Override any GCC internal prototype to avoid an error.
16703
   Use char because int might match the return type of a GCC
20093
   builtin and then its argument prototype would still apply.  */
16704
   builtin and then its argument prototype would still apply.  */
20094
char connect ();
20095
/* The GNU C library defines this for functions which it implements
20096
    to always fail with ENOSYS.  Some functions are actually named
20097
    something starting with __ and the normal name is an alias.  */
20098
#if defined (__stub_connect) || defined (__stub___connect)
20099
choke me
20100
#else
20101
char (*f) () = connect;
20102
#endif
20103
#ifdef __cplusplus
20104
}
20105
#endif
20106
20107
int
20108
main ()
20109
{
20110
return f != connect;
20111
  ;
20112
  return 0;
20113
}
20114
_ACEOF
20115
rm -f conftest.$ac_objext conftest$ac_exeext
20116
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20117
  (eval $ac_link) 2>conftest.er1
20118
  ac_status=$?
20119
  grep -v '^ *+' conftest.er1 >conftest.err
20120
  rm -f conftest.er1
20121
  cat conftest.err >&5
20122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123
  (exit $ac_status); } &&
20124
	 { ac_try='test -z "$ac_c_werror_flag"
20125
			 || test ! -s conftest.err'
20126
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127
  (eval $ac_try) 2>&5
20128
  ac_status=$?
20129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130
  (exit $ac_status); }; } &&
20131
	 { ac_try='test -s conftest$ac_exeext'
20132
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133
  (eval $ac_try) 2>&5
20134
  ac_status=$?
20135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136
  (exit $ac_status); }; }; then
20137
  ac_cv_func_connect=yes
20138
else
20139
  echo "$as_me: failed program was:" >&5
20140
sed 's/^/| /' conftest.$ac_ext >&5
20141
20142
ac_cv_func_connect=no
20143
fi
20144
rm -f conftest.err conftest.$ac_objext \
20145
      conftest$ac_exeext conftest.$ac_ext
20146
fi
20147
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20148
echo "${ECHO_T}$ac_cv_func_connect" >&6
20149
20150
    if test $ac_cv_func_connect = no; then
20151
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20152
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20153
if test "${ac_cv_lib_socket_connect+set}" = set; then
20154
  echo $ECHO_N "(cached) $ECHO_C" >&6
20155
else
20156
  ac_check_lib_save_LIBS=$LIBS
20157
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20158
cat >conftest.$ac_ext <<_ACEOF
20159
/* confdefs.h.  */
20160
_ACEOF
20161
cat confdefs.h >>conftest.$ac_ext
20162
cat >>conftest.$ac_ext <<_ACEOF
20163
/* end confdefs.h.  */
20164
20165
/* Override any gcc2 internal prototype to avoid an error.  */
20166
#ifdef __cplusplus
16705
#ifdef __cplusplus
20167
extern "C"
16706
extern "C"
20168
#endif
16707
#endif
20169
/* We use char because int might match the return type of a gcc2
16708
char remove ();
16709
int
16710
main ()
16711
{
16712
return remove ();
16713
  ;
16714
  return 0;
16715
}
16716
_ACEOF
16717
if ac_fn_c_try_link "$LINENO"; then :
16718
  ac_cv_lib_posix_remove=yes
16719
else
16720
  ac_cv_lib_posix_remove=no
16721
fi
16722
rm -f core conftest.err conftest.$ac_objext \
16723
    conftest$ac_exeext conftest.$ac_ext
16724
LIBS=$ac_check_lib_save_LIBS
16725
fi
16726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
16727
$as_echo "$ac_cv_lib_posix_remove" >&6; }
16728
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
16729
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
16730
fi
16731
16732
    fi
16733
16734
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
16735
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
16736
if test "x$ac_cv_func_shmat" = x""yes; then :
16737
16738
fi
16739
16740
    if test $ac_cv_func_shmat = no; then
16741
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
16742
$as_echo_n "checking for shmat in -lipc... " >&6; }
16743
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
16744
  $as_echo_n "(cached) " >&6
16745
else
16746
  ac_check_lib_save_LIBS=$LIBS
16747
LIBS="-lipc  $LIBS"
16748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749
/* end confdefs.h.  */
16750
16751
/* Override any GCC internal prototype to avoid an error.
16752
   Use char because int might match the return type of a GCC
20170
   builtin and then its argument prototype would still apply.  */
16753
   builtin and then its argument prototype would still apply.  */
20171
char connect ();
20172
int
20173
main ()
20174
{
20175
connect ();
20176
  ;
20177
  return 0;
20178
}
20179
_ACEOF
20180
rm -f conftest.$ac_objext conftest$ac_exeext
20181
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20182
  (eval $ac_link) 2>conftest.er1
20183
  ac_status=$?
20184
  grep -v '^ *+' conftest.er1 >conftest.err
20185
  rm -f conftest.er1
20186
  cat conftest.err >&5
20187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188
  (exit $ac_status); } &&
20189
	 { ac_try='test -z "$ac_c_werror_flag"
20190
			 || test ! -s conftest.err'
20191
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192
  (eval $ac_try) 2>&5
20193
  ac_status=$?
20194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195
  (exit $ac_status); }; } &&
20196
	 { ac_try='test -s conftest$ac_exeext'
20197
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198
  (eval $ac_try) 2>&5
20199
  ac_status=$?
20200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201
  (exit $ac_status); }; }; then
20202
  ac_cv_lib_socket_connect=yes
20203
else
20204
  echo "$as_me: failed program was:" >&5
20205
sed 's/^/| /' conftest.$ac_ext >&5
20206
20207
ac_cv_lib_socket_connect=no
20208
fi
20209
rm -f conftest.err conftest.$ac_objext \
20210
      conftest$ac_exeext conftest.$ac_ext
20211
LIBS=$ac_check_lib_save_LIBS
20212
fi
20213
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20214
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20215
if test $ac_cv_lib_socket_connect = yes; then
20216
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20217
fi
20218
20219
    fi
20220
20221
    # Guillermo Gomez says -lposix is necessary on A/UX.
20222
    echo "$as_me:$LINENO: checking for remove" >&5
20223
echo $ECHO_N "checking for remove... $ECHO_C" >&6
20224
if test "${ac_cv_func_remove+set}" = set; then
20225
  echo $ECHO_N "(cached) $ECHO_C" >&6
20226
else
20227
  cat >conftest.$ac_ext <<_ACEOF
20228
/* confdefs.h.  */
20229
_ACEOF
20230
cat confdefs.h >>conftest.$ac_ext
20231
cat >>conftest.$ac_ext <<_ACEOF
20232
/* end confdefs.h.  */
20233
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
20234
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20235
#define remove innocuous_remove
20236
20237
/* System header to define __stub macros and hopefully few prototypes,
20238
    which can conflict with char remove (); below.
20239
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20240
    <limits.h> exists even on freestanding compilers.  */
20241
20242
#ifdef __STDC__
20243
# include <limits.h>
20244
#else
20245
# include <assert.h>
20246
#endif
20247
20248
#undef remove
20249
20250
/* Override any gcc2 internal prototype to avoid an error.  */
20251
#ifdef __cplusplus
16754
#ifdef __cplusplus
20252
extern "C"
16755
extern "C"
20253
{
16756
#endif
20254
#endif
16757
char shmat ();
20255
/* We use char because int might match the return type of a gcc2
16758
int
20256
   builtin and then its argument prototype would still apply.  */
16759
main ()
20257
char remove ();
16760
{
20258
/* The GNU C library defines this for functions which it implements
16761
return shmat ();
20259
    to always fail with ENOSYS.  Some functions are actually named
16762
  ;
20260
    something starting with __ and the normal name is an alias.  */
16763
  return 0;
20261
#if defined (__stub_remove) || defined (__stub___remove)
16764
}
20262
choke me
16765
_ACEOF
20263
#else
16766
if ac_fn_c_try_link "$LINENO"; then :
20264
char (*f) () = remove;
16767
  ac_cv_lib_ipc_shmat=yes
20265
#endif
16768
else
20266
#ifdef __cplusplus
16769
  ac_cv_lib_ipc_shmat=no
20267
}
16770
fi
20268
#endif
16771
rm -f core conftest.err conftest.$ac_objext \
20269
16772
    conftest$ac_exeext conftest.$ac_ext
20270
int
20271
main ()
20272
{
20273
return f != remove;
20274
  ;
20275
  return 0;
20276
}
20277
_ACEOF
20278
rm -f conftest.$ac_objext conftest$ac_exeext
20279
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20280
  (eval $ac_link) 2>conftest.er1
20281
  ac_status=$?
20282
  grep -v '^ *+' conftest.er1 >conftest.err
20283
  rm -f conftest.er1
20284
  cat conftest.err >&5
20285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286
  (exit $ac_status); } &&
20287
	 { ac_try='test -z "$ac_c_werror_flag"
20288
			 || test ! -s conftest.err'
20289
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290
  (eval $ac_try) 2>&5
20291
  ac_status=$?
20292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293
  (exit $ac_status); }; } &&
20294
	 { ac_try='test -s conftest$ac_exeext'
20295
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296
  (eval $ac_try) 2>&5
20297
  ac_status=$?
20298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299
  (exit $ac_status); }; }; then
20300
  ac_cv_func_remove=yes
20301
else
20302
  echo "$as_me: failed program was:" >&5
20303
sed 's/^/| /' conftest.$ac_ext >&5
20304
20305
ac_cv_func_remove=no
20306
fi
20307
rm -f conftest.err conftest.$ac_objext \
20308
      conftest$ac_exeext conftest.$ac_ext
20309
fi
20310
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20311
echo "${ECHO_T}$ac_cv_func_remove" >&6
20312
20313
    if test $ac_cv_func_remove = no; then
20314
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20315
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20316
if test "${ac_cv_lib_posix_remove+set}" = set; then
20317
  echo $ECHO_N "(cached) $ECHO_C" >&6
20318
else
20319
  ac_check_lib_save_LIBS=$LIBS
20320
LIBS="-lposix  $LIBS"
20321
cat >conftest.$ac_ext <<_ACEOF
20322
/* confdefs.h.  */
20323
_ACEOF
20324
cat confdefs.h >>conftest.$ac_ext
20325
cat >>conftest.$ac_ext <<_ACEOF
20326
/* end confdefs.h.  */
20327
20328
/* Override any gcc2 internal prototype to avoid an error.  */
20329
#ifdef __cplusplus
20330
extern "C"
20331
#endif
20332
/* We use char because int might match the return type of a gcc2
20333
   builtin and then its argument prototype would still apply.  */
20334
char remove ();
20335
int
20336
main ()
20337
{
20338
remove ();
20339
  ;
20340
  return 0;
20341
}
20342
_ACEOF
20343
rm -f conftest.$ac_objext conftest$ac_exeext
20344
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20345
  (eval $ac_link) 2>conftest.er1
20346
  ac_status=$?
20347
  grep -v '^ *+' conftest.er1 >conftest.err
20348
  rm -f conftest.er1
20349
  cat conftest.err >&5
20350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351
  (exit $ac_status); } &&
20352
	 { ac_try='test -z "$ac_c_werror_flag"
20353
			 || test ! -s conftest.err'
20354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355
  (eval $ac_try) 2>&5
20356
  ac_status=$?
20357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358
  (exit $ac_status); }; } &&
20359
	 { ac_try='test -s conftest$ac_exeext'
20360
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361
  (eval $ac_try) 2>&5
20362
  ac_status=$?
20363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364
  (exit $ac_status); }; }; then
20365
  ac_cv_lib_posix_remove=yes
20366
else
20367
  echo "$as_me: failed program was:" >&5
20368
sed 's/^/| /' conftest.$ac_ext >&5
20369
20370
ac_cv_lib_posix_remove=no
20371
fi
20372
rm -f conftest.err conftest.$ac_objext \
20373
      conftest$ac_exeext conftest.$ac_ext
20374
LIBS=$ac_check_lib_save_LIBS
16773
LIBS=$ac_check_lib_save_LIBS
20375
fi
16774
fi
20376
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
16775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20377
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
16776
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20378
if test $ac_cv_lib_posix_remove = yes; then
16777
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20379
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20380
fi
20381
20382
    fi
20383
20384
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20385
    echo "$as_me:$LINENO: checking for shmat" >&5
20386
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20387
if test "${ac_cv_func_shmat+set}" = set; then
20388
  echo $ECHO_N "(cached) $ECHO_C" >&6
20389
else
20390
  cat >conftest.$ac_ext <<_ACEOF
20391
/* confdefs.h.  */
20392
_ACEOF
20393
cat confdefs.h >>conftest.$ac_ext
20394
cat >>conftest.$ac_ext <<_ACEOF
20395
/* end confdefs.h.  */
20396
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20397
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20398
#define shmat innocuous_shmat
20399
20400
/* System header to define __stub macros and hopefully few prototypes,
20401
    which can conflict with char shmat (); below.
20402
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20403
    <limits.h> exists even on freestanding compilers.  */
20404
20405
#ifdef __STDC__
20406
# include <limits.h>
20407
#else
20408
# include <assert.h>
20409
#endif
20410
20411
#undef shmat
20412
20413
/* Override any gcc2 internal prototype to avoid an error.  */
20414
#ifdef __cplusplus
20415
extern "C"
20416
{
20417
#endif
20418
/* We use char because int might match the return type of a gcc2
20419
   builtin and then its argument prototype would still apply.  */
20420
char shmat ();
20421
/* The GNU C library defines this for functions which it implements
20422
    to always fail with ENOSYS.  Some functions are actually named
20423
    something starting with __ and the normal name is an alias.  */
20424
#if defined (__stub_shmat) || defined (__stub___shmat)
20425
choke me
20426
#else
20427
char (*f) () = shmat;
20428
#endif
20429
#ifdef __cplusplus
20430
}
20431
#endif
20432
20433
int
20434
main ()
20435
{
20436
return f != shmat;
20437
  ;
20438
  return 0;
20439
}
20440
_ACEOF
20441
rm -f conftest.$ac_objext conftest$ac_exeext
20442
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443
  (eval $ac_link) 2>conftest.er1
20444
  ac_status=$?
20445
  grep -v '^ *+' conftest.er1 >conftest.err
20446
  rm -f conftest.er1
20447
  cat conftest.err >&5
20448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449
  (exit $ac_status); } &&
20450
	 { ac_try='test -z "$ac_c_werror_flag"
20451
			 || test ! -s conftest.err'
20452
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453
  (eval $ac_try) 2>&5
20454
  ac_status=$?
20455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456
  (exit $ac_status); }; } &&
20457
	 { ac_try='test -s conftest$ac_exeext'
20458
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459
  (eval $ac_try) 2>&5
20460
  ac_status=$?
20461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462
  (exit $ac_status); }; }; then
20463
  ac_cv_func_shmat=yes
20464
else
20465
  echo "$as_me: failed program was:" >&5
20466
sed 's/^/| /' conftest.$ac_ext >&5
20467
20468
ac_cv_func_shmat=no
20469
fi
20470
rm -f conftest.err conftest.$ac_objext \
20471
      conftest$ac_exeext conftest.$ac_ext
20472
fi
20473
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20474
echo "${ECHO_T}$ac_cv_func_shmat" >&6
20475
20476
    if test $ac_cv_func_shmat = no; then
20477
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20478
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20479
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20480
  echo $ECHO_N "(cached) $ECHO_C" >&6
20481
else
20482
  ac_check_lib_save_LIBS=$LIBS
20483
LIBS="-lipc  $LIBS"
20484
cat >conftest.$ac_ext <<_ACEOF
20485
/* confdefs.h.  */
20486
_ACEOF
20487
cat confdefs.h >>conftest.$ac_ext
20488
cat >>conftest.$ac_ext <<_ACEOF
20489
/* end confdefs.h.  */
20490
20491
/* Override any gcc2 internal prototype to avoid an error.  */
20492
#ifdef __cplusplus
20493
extern "C"
20494
#endif
20495
/* We use char because int might match the return type of a gcc2
20496
   builtin and then its argument prototype would still apply.  */
20497
char shmat ();
20498
int
20499
main ()
20500
{
20501
shmat ();
20502
  ;
20503
  return 0;
20504
}
20505
_ACEOF
20506
rm -f conftest.$ac_objext conftest$ac_exeext
20507
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20508
  (eval $ac_link) 2>conftest.er1
20509
  ac_status=$?
20510
  grep -v '^ *+' conftest.er1 >conftest.err
20511
  rm -f conftest.er1
20512
  cat conftest.err >&5
20513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514
  (exit $ac_status); } &&
20515
	 { ac_try='test -z "$ac_c_werror_flag"
20516
			 || test ! -s conftest.err'
20517
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518
  (eval $ac_try) 2>&5
20519
  ac_status=$?
20520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521
  (exit $ac_status); }; } &&
20522
	 { ac_try='test -s conftest$ac_exeext'
20523
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524
  (eval $ac_try) 2>&5
20525
  ac_status=$?
20526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527
  (exit $ac_status); }; }; then
20528
  ac_cv_lib_ipc_shmat=yes
20529
else
20530
  echo "$as_me: failed program was:" >&5
20531
sed 's/^/| /' conftest.$ac_ext >&5
20532
20533
ac_cv_lib_ipc_shmat=no
20534
fi
20535
rm -f conftest.err conftest.$ac_objext \
20536
      conftest$ac_exeext conftest.$ac_ext
20537
LIBS=$ac_check_lib_save_LIBS
20538
fi
20539
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20540
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20541
if test $ac_cv_lib_ipc_shmat = yes; then
20542
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
16778
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20543
fi
16779
fi
20544
16780
Lines 20554-20624 Link Here
20554
  # These have to be linked with before -lX11, unlike the other
16790
  # These have to be linked with before -lX11, unlike the other
20555
  # libraries we check for below, so use a different variable.
16791
  # libraries we check for below, so use a different variable.
20556
  # John Interrante, Karl Berry
16792
  # John Interrante, Karl Berry
20557
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
16793
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20558
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
16794
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20559
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
16795
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20560
  echo $ECHO_N "(cached) $ECHO_C" >&6
16796
  $as_echo_n "(cached) " >&6
20561
else
16797
else
20562
  ac_check_lib_save_LIBS=$LIBS
16798
  ac_check_lib_save_LIBS=$LIBS
20563
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
16799
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20564
cat >conftest.$ac_ext <<_ACEOF
16800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565
/* confdefs.h.  */
16801
/* end confdefs.h.  */
20566
_ACEOF
16802
20567
cat confdefs.h >>conftest.$ac_ext
16803
/* Override any GCC internal prototype to avoid an error.
20568
cat >>conftest.$ac_ext <<_ACEOF
16804
   Use char because int might match the return type of a GCC
20569
/* end confdefs.h.  */
16805
   builtin and then its argument prototype would still apply.  */
20570
20571
/* Override any gcc2 internal prototype to avoid an error.  */
20572
#ifdef __cplusplus
16806
#ifdef __cplusplus
20573
extern "C"
16807
extern "C"
20574
#endif
16808
#endif
20575
/* We use char because int might match the return type of a gcc2
20576
   builtin and then its argument prototype would still apply.  */
20577
char IceConnectionNumber ();
16809
char IceConnectionNumber ();
20578
int
16810
int
20579
main ()
16811
main ()
20580
{
16812
{
20581
IceConnectionNumber ();
16813
return IceConnectionNumber ();
20582
  ;
16814
  ;
20583
  return 0;
16815
  return 0;
20584
}
16816
}
20585
_ACEOF
16817
_ACEOF
20586
rm -f conftest.$ac_objext conftest$ac_exeext
16818
if ac_fn_c_try_link "$LINENO"; then :
20587
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20588
  (eval $ac_link) 2>conftest.er1
20589
  ac_status=$?
20590
  grep -v '^ *+' conftest.er1 >conftest.err
20591
  rm -f conftest.er1
20592
  cat conftest.err >&5
20593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594
  (exit $ac_status); } &&
20595
	 { ac_try='test -z "$ac_c_werror_flag"
20596
			 || test ! -s conftest.err'
20597
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598
  (eval $ac_try) 2>&5
20599
  ac_status=$?
20600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601
  (exit $ac_status); }; } &&
20602
	 { ac_try='test -s conftest$ac_exeext'
20603
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604
  (eval $ac_try) 2>&5
20605
  ac_status=$?
20606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607
  (exit $ac_status); }; }; then
20608
  ac_cv_lib_ICE_IceConnectionNumber=yes
16819
  ac_cv_lib_ICE_IceConnectionNumber=yes
20609
else
16820
else
20610
  echo "$as_me: failed program was:" >&5
16821
  ac_cv_lib_ICE_IceConnectionNumber=no
20611
sed 's/^/| /' conftest.$ac_ext >&5
16822
fi
20612
16823
rm -f core conftest.err conftest.$ac_objext \
20613
ac_cv_lib_ICE_IceConnectionNumber=no
16824
    conftest$ac_exeext conftest.$ac_ext
20614
fi
20615
rm -f conftest.err conftest.$ac_objext \
20616
      conftest$ac_exeext conftest.$ac_ext
20617
LIBS=$ac_check_lib_save_LIBS
16825
LIBS=$ac_check_lib_save_LIBS
20618
fi
16826
fi
20619
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
16827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20620
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
16828
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20621
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
16829
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20622
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
16830
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20623
fi
16831
fi
20624
16832
Lines 20635-20788 Link Here
20635
     x_libraries="default_x_libraries"
16843
     x_libraries="default_x_libraries"
20636
   fi
16844
   fi
20637
      if test -z "$x_libraries"; then
16845
      if test -z "$x_libraries"; then
20638
      { { echo "$as_me:$LINENO: error: No X libraries found" >&5
16846
      as_fn_error "No X libraries found" "$LINENO" 5 # Exit
20639
echo "$as_me: error: No X libraries found" >&2;}
20640
   { (exit 1); exit 1; }; } # Exit
20641
   fi
16847
   fi
20642
   if test -z "$x_includes"; then
16848
   if test -z "$x_includes"; then
20643
      { { echo "$as_me:$LINENO: error: No X includes found" >&5
16849
      as_fn_error "No X includes found" "$LINENO" 5 # Exit
20644
echo "$as_me: error: No X includes found" >&2;}
20645
   { (exit 1); exit 1; }; } # Exit
20646
   fi
16850
   fi
20647
   CFLAGS=$X_CFLAGS
16851
   CFLAGS=$X_CFLAGS
20648
   LDFLAGS="$X_LDFLAGS $X_LIBS"
16852
   LDFLAGS="$X_LDFLAGS $X_LIBS"
20649
   echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
16853
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
20650
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
16854
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
20651
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
16855
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
20652
  echo $ECHO_N "(cached) $ECHO_C" >&6
16856
  $as_echo_n "(cached) " >&6
20653
else
16857
else
20654
  ac_check_lib_save_LIBS=$LIBS
16858
  ac_check_lib_save_LIBS=$LIBS
20655
LIBS="-lX11  $LIBS"
16859
LIBS="-lX11  $LIBS"
20656
cat >conftest.$ac_ext <<_ACEOF
16860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657
/* confdefs.h.  */
16861
/* end confdefs.h.  */
20658
_ACEOF
16862
20659
cat confdefs.h >>conftest.$ac_ext
16863
/* Override any GCC internal prototype to avoid an error.
20660
cat >>conftest.$ac_ext <<_ACEOF
16864
   Use char because int might match the return type of a GCC
20661
/* end confdefs.h.  */
16865
   builtin and then its argument prototype would still apply.  */
20662
20663
/* Override any gcc2 internal prototype to avoid an error.  */
20664
#ifdef __cplusplus
16866
#ifdef __cplusplus
20665
extern "C"
16867
extern "C"
20666
#endif
16868
#endif
20667
/* We use char because int might match the return type of a gcc2
20668
   builtin and then its argument prototype would still apply.  */
20669
char XOpenDisplay ();
16869
char XOpenDisplay ();
20670
int
16870
int
20671
main ()
16871
main ()
20672
{
16872
{
20673
XOpenDisplay ();
16873
return XOpenDisplay ();
20674
  ;
16874
  ;
20675
  return 0;
16875
  return 0;
20676
}
16876
}
20677
_ACEOF
16877
_ACEOF
20678
rm -f conftest.$ac_objext conftest$ac_exeext
16878
if ac_fn_c_try_link "$LINENO"; then :
20679
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20680
  (eval $ac_link) 2>conftest.er1
20681
  ac_status=$?
20682
  grep -v '^ *+' conftest.er1 >conftest.err
20683
  rm -f conftest.er1
20684
  cat conftest.err >&5
20685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686
  (exit $ac_status); } &&
20687
	 { ac_try='test -z "$ac_c_werror_flag"
20688
			 || test ! -s conftest.err'
20689
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690
  (eval $ac_try) 2>&5
20691
  ac_status=$?
20692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693
  (exit $ac_status); }; } &&
20694
	 { ac_try='test -s conftest$ac_exeext'
20695
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696
  (eval $ac_try) 2>&5
20697
  ac_status=$?
20698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699
  (exit $ac_status); }; }; then
20700
  ac_cv_lib_X11_XOpenDisplay=yes
16879
  ac_cv_lib_X11_XOpenDisplay=yes
20701
else
16880
else
20702
  echo "$as_me: failed program was:" >&5
16881
  ac_cv_lib_X11_XOpenDisplay=no
20703
sed 's/^/| /' conftest.$ac_ext >&5
16882
fi
20704
16883
rm -f core conftest.err conftest.$ac_objext \
20705
ac_cv_lib_X11_XOpenDisplay=no
16884
    conftest$ac_exeext conftest.$ac_ext
20706
fi
20707
rm -f conftest.err conftest.$ac_objext \
20708
      conftest$ac_exeext conftest.$ac_ext
20709
LIBS=$ac_check_lib_save_LIBS
16885
LIBS=$ac_check_lib_save_LIBS
20710
fi
16886
fi
20711
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
16887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
20712
echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
16888
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
20713
if test $ac_cv_lib_X11_XOpenDisplay = yes; then
16889
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then :
20714
  x_libs="-lX11 $X_EXTRA_LIBS"
16890
  x_libs="-lX11 $X_EXTRA_LIBS"
20715
else
16891
else
20716
  { { echo "$as_me:$LINENO: error: X Development libraries not found" >&5
16892
  as_fn_error "X Development libraries not found" "$LINENO" 5
20717
echo "$as_me: error: X Development libraries not found" >&2;}
16893
fi
20718
   { (exit 1); exit 1; }; }
16894
20719
fi
16895
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauDisposeAuth in -lXau" >&5
20720
16896
$as_echo_n "checking for XauDisposeAuth in -lXau... " >&6; }
20721
      echo "$as_me:$LINENO: checking for XauDisposeAuth in -lXau" >&5
16897
if test "${ac_cv_lib_Xau_XauDisposeAuth+set}" = set; then :
20722
echo $ECHO_N "checking for XauDisposeAuth in -lXau... $ECHO_C" >&6
16898
  $as_echo_n "(cached) " >&6
20723
if test "${ac_cv_lib_Xau_XauDisposeAuth+set}" = set; then
20724
  echo $ECHO_N "(cached) $ECHO_C" >&6
20725
else
16899
else
20726
  ac_check_lib_save_LIBS=$LIBS
16900
  ac_check_lib_save_LIBS=$LIBS
20727
LIBS="-lXau  $LIBS"
16901
LIBS="-lXau  $LIBS"
20728
cat >conftest.$ac_ext <<_ACEOF
16902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729
/* confdefs.h.  */
16903
/* end confdefs.h.  */
20730
_ACEOF
16904
20731
cat confdefs.h >>conftest.$ac_ext
16905
/* Override any GCC internal prototype to avoid an error.
20732
cat >>conftest.$ac_ext <<_ACEOF
16906
   Use char because int might match the return type of a GCC
20733
/* end confdefs.h.  */
16907
   builtin and then its argument prototype would still apply.  */
20734
20735
/* Override any gcc2 internal prototype to avoid an error.  */
20736
#ifdef __cplusplus
16908
#ifdef __cplusplus
20737
extern "C"
16909
extern "C"
20738
#endif
16910
#endif
20739
/* We use char because int might match the return type of a gcc2
20740
   builtin and then its argument prototype would still apply.  */
20741
char XauDisposeAuth ();
16911
char XauDisposeAuth ();
20742
int
16912
int
20743
main ()
16913
main ()
20744
{
16914
{
20745
XauDisposeAuth ();
16915
return XauDisposeAuth ();
20746
  ;
16916
  ;
20747
  return 0;
16917
  return 0;
20748
}
16918
}
20749
_ACEOF
16919
_ACEOF
20750
rm -f conftest.$ac_objext conftest$ac_exeext
16920
if ac_fn_c_try_link "$LINENO"; then :
20751
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20752
  (eval $ac_link) 2>conftest.er1
20753
  ac_status=$?
20754
  grep -v '^ *+' conftest.er1 >conftest.err
20755
  rm -f conftest.er1
20756
  cat conftest.err >&5
20757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758
  (exit $ac_status); } &&
20759
	 { ac_try='test -z "$ac_c_werror_flag"
20760
			 || test ! -s conftest.err'
20761
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762
  (eval $ac_try) 2>&5
20763
  ac_status=$?
20764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765
  (exit $ac_status); }; } &&
20766
	 { ac_try='test -s conftest$ac_exeext'
20767
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768
  (eval $ac_try) 2>&5
20769
  ac_status=$?
20770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771
  (exit $ac_status); }; }; then
20772
  ac_cv_lib_Xau_XauDisposeAuth=yes
16921
  ac_cv_lib_Xau_XauDisposeAuth=yes
20773
else
16922
else
20774
  echo "$as_me: failed program was:" >&5
16923
  ac_cv_lib_Xau_XauDisposeAuth=no
20775
sed 's/^/| /' conftest.$ac_ext >&5
16924
fi
20776
16925
rm -f core conftest.err conftest.$ac_objext \
20777
ac_cv_lib_Xau_XauDisposeAuth=no
16926
    conftest$ac_exeext conftest.$ac_ext
20778
fi
20779
rm -f conftest.err conftest.$ac_objext \
20780
      conftest$ac_exeext conftest.$ac_ext
20781
LIBS=$ac_check_lib_save_LIBS
16927
LIBS=$ac_check_lib_save_LIBS
20782
fi
16928
fi
20783
echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauDisposeAuth" >&5
16929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauDisposeAuth" >&5
20784
echo "${ECHO_T}$ac_cv_lib_Xau_XauDisposeAuth" >&6
16930
$as_echo "$ac_cv_lib_Xau_XauDisposeAuth" >&6; }
20785
if test $ac_cv_lib_Xau_XauDisposeAuth = yes; then
16931
if test "x$ac_cv_lib_Xau_XauDisposeAuth" = x""yes; then :
20786
  XAU_LIBS="-lXau"
16932
  XAU_LIBS="-lXau"
20787
fi
16933
fi
20788
16934
Lines 20814-21018 Link Here
20814
16960
20815
16961
20816
if test "$_os" != "WINNT" -a "$_os" != "OS2" -a "$_os" != "Darwin"; then
16962
if test "$_os" != "WINNT" -a "$_os" != "OS2" -a "$_os" != "Darwin"; then
20817
            echo "$as_me:$LINENO: checking whether to use Xaw" >&5
16963
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use Xaw" >&5
20818
echo $ECHO_N "checking whether to use Xaw... $ECHO_C" >&6
16964
$as_echo_n "checking whether to use Xaw... " >&6; }
20819
   if test "$enable_Xaw" = "no"; then
16965
   if test "$enable_Xaw" = "no"; then
20820
       DISABLE_XAW=TRUE
16966
       DISABLE_XAW=TRUE
20821
       echo "$as_me:$LINENO: result: no" >&5
16967
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20822
echo "${ECHO_T}no" >&6
16968
$as_echo "no" >&6; }
20823
16969
       for ac_header in X11/Composite.h
20824
for ac_header in X11/Composite.h
16970
do :
20825
do
16971
  ac_fn_c_check_header_compile "$LINENO" "X11/Composite.h" "ac_cv_header_X11_Composite_h" "#include <X11/Intrinsic.h>
20826
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16972
"
20827
echo "$as_me:$LINENO: checking for $ac_header" >&5
16973
if test "x$ac_cv_header_X11_Composite_h" = x""yes; then :
20828
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20829
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20830
  echo $ECHO_N "(cached) $ECHO_C" >&6
20831
else
20832
  cat >conftest.$ac_ext <<_ACEOF
20833
/* confdefs.h.  */
20834
_ACEOF
20835
cat confdefs.h >>conftest.$ac_ext
20836
cat >>conftest.$ac_ext <<_ACEOF
20837
/* end confdefs.h.  */
20838
#include <X11/Intrinsic.h>
20839
20840
#include <$ac_header>
20841
_ACEOF
20842
rm -f conftest.$ac_objext
20843
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20844
  (eval $ac_compile) 2>conftest.er1
20845
  ac_status=$?
20846
  grep -v '^ *+' conftest.er1 >conftest.err
20847
  rm -f conftest.er1
20848
  cat conftest.err >&5
20849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850
  (exit $ac_status); } &&
20851
	 { ac_try='test -z "$ac_c_werror_flag"
20852
			 || test ! -s conftest.err'
20853
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854
  (eval $ac_try) 2>&5
20855
  ac_status=$?
20856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857
  (exit $ac_status); }; } &&
20858
	 { ac_try='test -s conftest.$ac_objext'
20859
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860
  (eval $ac_try) 2>&5
20861
  ac_status=$?
20862
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863
  (exit $ac_status); }; }; then
20864
  eval "$as_ac_Header=yes"
20865
else
20866
  echo "$as_me: failed program was:" >&5
20867
sed 's/^/| /' conftest.$ac_ext >&5
20868
20869
eval "$as_ac_Header=no"
20870
fi
20871
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20872
fi
20873
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20874
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20875
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20876
  cat >>confdefs.h <<_ACEOF
16974
  cat >>confdefs.h <<_ACEOF
20877
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16975
#define HAVE_X11_COMPOSITE_H 1
20878
_ACEOF
16976
_ACEOF
20879
16977
20880
else
16978
else
20881
  { { echo "$as_me:$LINENO: error: Xt include headers not found" >&5
16979
  as_fn_error "Xt include headers not found" "$LINENO" 5
20882
echo "$as_me: error: Xt include headers not found" >&2;}
16980
fi
20883
   { (exit 1); exit 1; }; }
16981
20884
fi
16982
done
20885
16983
20886
done
16984
   else
20887
16985
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20888
   else
16986
$as_echo "yes" >&6; }
20889
       echo "$as_me:$LINENO: result: yes" >&5
16987
       for ac_header in X11/Xaw/Label.h
20890
echo "${ECHO_T}yes" >&6
16988
do :
20891
16989
  ac_fn_c_check_header_compile "$LINENO" "X11/Xaw/Label.h" "ac_cv_header_X11_Xaw_Label_h" "#include <X11/Intrinsic.h>
20892
for ac_header in X11/Xaw/Label.h
16990
"
20893
do
16991
if test "x$ac_cv_header_X11_Xaw_Label_h" = x""yes; then :
20894
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20895
echo "$as_me:$LINENO: checking for $ac_header" >&5
20896
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20897
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20898
  echo $ECHO_N "(cached) $ECHO_C" >&6
20899
else
20900
  cat >conftest.$ac_ext <<_ACEOF
20901
/* confdefs.h.  */
20902
_ACEOF
20903
cat confdefs.h >>conftest.$ac_ext
20904
cat >>conftest.$ac_ext <<_ACEOF
20905
/* end confdefs.h.  */
20906
#include <X11/Intrinsic.h>
20907
20908
#include <$ac_header>
20909
_ACEOF
20910
rm -f conftest.$ac_objext
20911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20912
  (eval $ac_compile) 2>conftest.er1
20913
  ac_status=$?
20914
  grep -v '^ *+' conftest.er1 >conftest.err
20915
  rm -f conftest.er1
20916
  cat conftest.err >&5
20917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918
  (exit $ac_status); } &&
20919
	 { ac_try='test -z "$ac_c_werror_flag"
20920
			 || test ! -s conftest.err'
20921
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922
  (eval $ac_try) 2>&5
20923
  ac_status=$?
20924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925
  (exit $ac_status); }; } &&
20926
	 { ac_try='test -s conftest.$ac_objext'
20927
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928
  (eval $ac_try) 2>&5
20929
  ac_status=$?
20930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931
  (exit $ac_status); }; }; then
20932
  eval "$as_ac_Header=yes"
20933
else
20934
  echo "$as_me: failed program was:" >&5
20935
sed 's/^/| /' conftest.$ac_ext >&5
20936
20937
eval "$as_ac_Header=no"
20938
fi
20939
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20940
fi
20941
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20942
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20943
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20944
  cat >>confdefs.h <<_ACEOF
16992
  cat >>confdefs.h <<_ACEOF
20945
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16993
#define HAVE_X11_XAW_LABEL_H 1
20946
_ACEOF
16994
_ACEOF
20947
16995
20948
else
16996
else
20949
  { { echo "$as_me:$LINENO: error: Xaw include headers not found" >&5
16997
  as_fn_error "Xaw include headers not found" "$LINENO" 5
20950
echo "$as_me: error: Xaw include headers not found" >&2;}
16998
fi
20951
   { (exit 1); exit 1; }; }
16999
20952
fi
17000
done
20953
17001
20954
done
17002
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXaw" >&5
20955
17003
$as_echo_n "checking for main in -lXaw... " >&6; }
20956
17004
if test "${ac_cv_lib_Xaw_main+set}" = set; then :
20957
echo "$as_me:$LINENO: checking for main in -lXaw" >&5
17005
  $as_echo_n "(cached) " >&6
20958
echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6
20959
if test "${ac_cv_lib_Xaw_main+set}" = set; then
20960
  echo $ECHO_N "(cached) $ECHO_C" >&6
20961
else
17006
else
20962
  ac_check_lib_save_LIBS=$LIBS
17007
  ac_check_lib_save_LIBS=$LIBS
20963
LIBS="-lXaw  $LIBS"
17008
LIBS="-lXaw  $LIBS"
20964
cat >conftest.$ac_ext <<_ACEOF
17009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965
/* confdefs.h.  */
17010
/* end confdefs.h.  */
20966
_ACEOF
17011
20967
cat confdefs.h >>conftest.$ac_ext
17012
20968
cat >>conftest.$ac_ext <<_ACEOF
17013
int
20969
/* end confdefs.h.  */
17014
main ()
20970
17015
{
20971
17016
return main ();
20972
int
17017
  ;
20973
main ()
17018
  return 0;
20974
{
17019
}
20975
main ();
17020
_ACEOF
20976
  ;
17021
if ac_fn_c_try_link "$LINENO"; then :
20977
  return 0;
20978
}
20979
_ACEOF
20980
rm -f conftest.$ac_objext conftest$ac_exeext
20981
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982
  (eval $ac_link) 2>conftest.er1
20983
  ac_status=$?
20984
  grep -v '^ *+' conftest.er1 >conftest.err
20985
  rm -f conftest.er1
20986
  cat conftest.err >&5
20987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988
  (exit $ac_status); } &&
20989
	 { ac_try='test -z "$ac_c_werror_flag"
20990
			 || test ! -s conftest.err'
20991
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992
  (eval $ac_try) 2>&5
20993
  ac_status=$?
20994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995
  (exit $ac_status); }; } &&
20996
	 { ac_try='test -s conftest$ac_exeext'
20997
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998
  (eval $ac_try) 2>&5
20999
  ac_status=$?
21000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001
  (exit $ac_status); }; }; then
21002
  ac_cv_lib_Xaw_main=yes
17022
  ac_cv_lib_Xaw_main=yes
21003
else
17023
else
21004
  echo "$as_me: failed program was:" >&5
17024
  ac_cv_lib_Xaw_main=no
21005
sed 's/^/| /' conftest.$ac_ext >&5
17025
fi
21006
17026
rm -f core conftest.err conftest.$ac_objext \
21007
ac_cv_lib_Xaw_main=no
17027
    conftest$ac_exeext conftest.$ac_ext
21008
fi
21009
rm -f conftest.err conftest.$ac_objext \
21010
      conftest$ac_exeext conftest.$ac_ext
21011
LIBS=$ac_check_lib_save_LIBS
17028
LIBS=$ac_check_lib_save_LIBS
21012
fi
17029
fi
21013
echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
17030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_main" >&5
21014
echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6
17031
$as_echo "$ac_cv_lib_Xaw_main" >&6; }
21015
if test $ac_cv_lib_Xaw_main = yes; then
17032
if test "x$ac_cv_lib_Xaw_main" = x""yes; then :
21016
  cat >>confdefs.h <<_ACEOF
17033
  cat >>confdefs.h <<_ACEOF
21017
#define HAVE_LIBXAW 1
17034
#define HAVE_LIBXAW 1
21018
_ACEOF
17035
_ACEOF
Lines 21020-21028 Link Here
21020
  LIBS="-lXaw $LIBS"
17037
  LIBS="-lXaw $LIBS"
21021
17038
21022
else
17039
else
21023
  { { echo "$as_me:$LINENO: error: Xaw library not found or functional" >&5
17040
  as_fn_error "Xaw library not found or functional" "$LINENO" 5
21024
echo "$as_me: error: Xaw library not found or functional" >&2;}
21025
   { (exit 1); exit 1; }; }
21026
fi
17041
fi
21027
17042
21028
   fi
17043
   fi
Lines 21032-21197 Link Here
21032
17047
21033
17048
21034
if test "$ENABLE_FONTCONFIG" = "TRUE" ; then
17049
if test "$ENABLE_FONTCONFIG" = "TRUE" ; then
21035
    if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
17050
    ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
21036
  echo "$as_me:$LINENO: checking for fontconfig/fontconfig.h" >&5
17051
if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
21037
echo $ECHO_N "checking for fontconfig/fontconfig.h... $ECHO_C" >&6
17052
21038
if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
17053
else
21039
  echo $ECHO_N "(cached) $ECHO_C" >&6
17054
  as_fn_error "fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?" "$LINENO" 5
21040
fi
17055
fi
21041
echo "$as_me:$LINENO: result: $ac_cv_header_fontconfig_fontconfig_h" >&5
17056
21042
echo "${ECHO_T}$ac_cv_header_fontconfig_fontconfig_h" >&6
17057
21043
else
17058
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fontconfig is >= 2.2.0" >&5
21044
  # Is the header compilable?
17059
$as_echo_n "checking whether fontconfig is >= 2.2.0... " >&6; }
21045
echo "$as_me:$LINENO: checking fontconfig/fontconfig.h usability" >&5
17060
    if test "$cross_compiling" = yes; then :
21046
echo $ECHO_N "checking fontconfig/fontconfig.h usability... $ECHO_C" >&6
17061
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21047
cat >conftest.$ac_ext <<_ACEOF
17062
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21048
/* confdefs.h.  */
17063
as_fn_error "cannot run test program while cross compiling
21049
_ACEOF
17064
See \`config.log' for more details." "$LINENO" 5; }
21050
cat confdefs.h >>conftest.$ac_ext
17065
else
21051
cat >>conftest.$ac_ext <<_ACEOF
17066
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052
/* end confdefs.h.  */
21053
$ac_includes_default
21054
#include <fontconfig/fontconfig.h>
21055
_ACEOF
21056
rm -f conftest.$ac_objext
21057
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21058
  (eval $ac_compile) 2>conftest.er1
21059
  ac_status=$?
21060
  grep -v '^ *+' conftest.er1 >conftest.err
21061
  rm -f conftest.er1
21062
  cat conftest.err >&5
21063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064
  (exit $ac_status); } &&
21065
	 { ac_try='test -z "$ac_c_werror_flag"
21066
			 || test ! -s conftest.err'
21067
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068
  (eval $ac_try) 2>&5
21069
  ac_status=$?
21070
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071
  (exit $ac_status); }; } &&
21072
	 { ac_try='test -s conftest.$ac_objext'
21073
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074
  (eval $ac_try) 2>&5
21075
  ac_status=$?
21076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077
  (exit $ac_status); }; }; then
21078
  ac_header_compiler=yes
21079
else
21080
  echo "$as_me: failed program was:" >&5
21081
sed 's/^/| /' conftest.$ac_ext >&5
21082
21083
ac_header_compiler=no
21084
fi
21085
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21086
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21087
echo "${ECHO_T}$ac_header_compiler" >&6
21088
21089
# Is the header present?
21090
echo "$as_me:$LINENO: checking fontconfig/fontconfig.h presence" >&5
21091
echo $ECHO_N "checking fontconfig/fontconfig.h presence... $ECHO_C" >&6
21092
cat >conftest.$ac_ext <<_ACEOF
21093
/* confdefs.h.  */
21094
_ACEOF
21095
cat confdefs.h >>conftest.$ac_ext
21096
cat >>conftest.$ac_ext <<_ACEOF
21097
/* end confdefs.h.  */
21098
#include <fontconfig/fontconfig.h>
21099
_ACEOF
21100
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21101
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21102
  ac_status=$?
21103
  grep -v '^ *+' conftest.er1 >conftest.err
21104
  rm -f conftest.er1
21105
  cat conftest.err >&5
21106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107
  (exit $ac_status); } >/dev/null; then
21108
  if test -s conftest.err; then
21109
    ac_cpp_err=$ac_c_preproc_warn_flag
21110
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21111
  else
21112
    ac_cpp_err=
21113
  fi
21114
else
21115
  ac_cpp_err=yes
21116
fi
21117
if test -z "$ac_cpp_err"; then
21118
  ac_header_preproc=yes
21119
else
21120
  echo "$as_me: failed program was:" >&5
21121
sed 's/^/| /' conftest.$ac_ext >&5
21122
21123
  ac_header_preproc=no
21124
fi
21125
rm -f conftest.err conftest.$ac_ext
21126
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21127
echo "${ECHO_T}$ac_header_preproc" >&6
21128
21129
# So?  What about this header?
21130
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21131
  yes:no: )
21132
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5
21133
echo "$as_me: WARNING: fontconfig/fontconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21134
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: proceeding with the compiler's result" >&5
21135
echo "$as_me: WARNING: fontconfig/fontconfig.h: proceeding with the compiler's result" >&2;}
21136
    ac_header_preproc=yes
21137
    ;;
21138
  no:yes:* )
21139
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: present but cannot be compiled" >&5
21140
echo "$as_me: WARNING: fontconfig/fontconfig.h: present but cannot be compiled" >&2;}
21141
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h:     check for missing prerequisite headers?" >&5
21142
echo "$as_me: WARNING: fontconfig/fontconfig.h:     check for missing prerequisite headers?" >&2;}
21143
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: see the Autoconf documentation" >&5
21144
echo "$as_me: WARNING: fontconfig/fontconfig.h: see the Autoconf documentation" >&2;}
21145
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h:     section \"Present But Cannot Be Compiled\"" >&5
21146
echo "$as_me: WARNING: fontconfig/fontconfig.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21147
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: proceeding with the preprocessor's result" >&5
21148
echo "$as_me: WARNING: fontconfig/fontconfig.h: proceeding with the preprocessor's result" >&2;}
21149
    { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: in the future, the compiler will take precedence" >&5
21150
echo "$as_me: WARNING: fontconfig/fontconfig.h: in the future, the compiler will take precedence" >&2;}
21151
    (
21152
      cat <<\_ASBOX
21153
## ------------------------------------------ ##
21154
## Report this to the AC_PACKAGE_NAME lists.  ##
21155
## ------------------------------------------ ##
21156
_ASBOX
21157
    ) |
21158
      sed "s/^/$as_me: WARNING:     /" >&2
21159
    ;;
21160
esac
21161
echo "$as_me:$LINENO: checking for fontconfig/fontconfig.h" >&5
21162
echo $ECHO_N "checking for fontconfig/fontconfig.h... $ECHO_C" >&6
21163
if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
21164
  echo $ECHO_N "(cached) $ECHO_C" >&6
21165
else
21166
  ac_cv_header_fontconfig_fontconfig_h=$ac_header_preproc
21167
fi
21168
echo "$as_me:$LINENO: result: $ac_cv_header_fontconfig_fontconfig_h" >&5
21169
echo "${ECHO_T}$ac_cv_header_fontconfig_fontconfig_h" >&6
21170
21171
fi
21172
if test $ac_cv_header_fontconfig_fontconfig_h = yes; then
21173
  :
21174
else
21175
  { { echo "$as_me:$LINENO: error: fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?" >&5
21176
echo "$as_me: error: fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?" >&2;}
21177
   { (exit 1); exit 1; }; }
21178
fi
21179
21180
21181
    echo "$as_me:$LINENO: checking whether fontconfig is >= 2.2.0" >&5
21182
echo $ECHO_N "checking whether fontconfig is >= 2.2.0... $ECHO_C" >&6
21183
    if test "$cross_compiling" = yes; then
21184
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21185
See \`config.log' for more details." >&5
21186
echo "$as_me: error: cannot run test program while cross compiling
21187
See \`config.log' for more details." >&2;}
21188
   { (exit 1); exit 1; }; }
21189
else
21190
  cat >conftest.$ac_ext <<_ACEOF
21191
/* confdefs.h.  */
21192
_ACEOF
21193
cat confdefs.h >>conftest.$ac_ext
21194
cat >>conftest.$ac_ext <<_ACEOF
21195
/* end confdefs.h.  */
17067
/* end confdefs.h.  */
21196
17068
21197
#include <fontconfig/fontconfig.h>
17069
#include <fontconfig/fontconfig.h>
Lines 21202-21472 Link Here
21202
}
17074
}
21203
17075
21204
_ACEOF
17076
_ACEOF
21205
rm -f conftest$ac_exeext
17077
if ac_fn_c_try_run "$LINENO"; then :
21206
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21207
  (eval $ac_link) 2>&5
17079
$as_echo "yes" >&6; }
21208
  ac_status=$?
17080
else
21209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081
  as_fn_error "no, fontconfig >= 2.2.0 needed" "$LINENO" 5
21210
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17082
fi
21211
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21212
  (eval $ac_try) 2>&5
17084
  conftest.$ac_objext conftest.beam conftest.$ac_ext
21213
  ac_status=$?
17085
fi
21214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086
21215
  (exit $ac_status); }; }; then
17087
fi
21216
  echo "$as_me:$LINENO: result: yes" >&5
17088
21217
echo "${ECHO_T}yes" >&6
17089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link to Xrender" >&5
21218
else
17090
$as_echo_n "checking whether to link to Xrender... " >&6; }
21219
  echo "$as_me: program exited with status $ac_status" >&5
21220
echo "$as_me: failed program was:" >&5
21221
sed 's/^/| /' conftest.$ac_ext >&5
21222
21223
( exit $ac_status )
21224
{ { echo "$as_me:$LINENO: error: no, fontconfig >= 2.2.0 needed" >&5
21225
echo "$as_me: error: no, fontconfig >= 2.2.0 needed" >&2;}
21226
   { (exit 1); exit 1; }; }
21227
fi
21228
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21229
fi
21230
fi
21231
21232
echo "$as_me:$LINENO: checking whether to link to Xrender" >&5
21233
echo $ECHO_N "checking whether to link to Xrender... $ECHO_C" >&6
21234
if test -n "$enable_xrender_link" -a "$enable_xrender_link" != "no"; then
17091
if test -n "$enable_xrender_link" -a "$enable_xrender_link" != "no"; then
21235
   echo "$as_me:$LINENO: result: yes" >&5
17092
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21236
echo "${ECHO_T}yes" >&6
17093
$as_echo "yes" >&6; }
21237
   XRENDER_LINK=YES
17094
   XRENDER_LINK=YES
21238
   with_system_xrender_headers=yes
17095
   with_system_xrender_headers=yes
21239
else
17096
else
21240
   echo "$as_me:$LINENO: result: no, dynamically open it" >&5
17097
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, dynamically open it" >&5
21241
echo "${ECHO_T}no, dynamically open it" >&6
17098
$as_echo "no, dynamically open it" >&6; }
21242
   XRENDER_LINK=NO
17099
   XRENDER_LINK=NO
21243
fi
17100
fi
21244
echo "$as_me:$LINENO: checking which Xrender headers to use" >&5
17101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which Xrender headers to use" >&5
21245
echo $ECHO_N "checking which Xrender headers to use... $ECHO_C" >&6
17102
$as_echo_n "checking which Xrender headers to use... " >&6; }
21246
if test -n "$with_system_xrender_headers" -o -n "$with_system_headers" && \
17103
if test -n "$with_system_xrender_headers" -o -n "$with_system_headers" && \
21247
	test "$with_system_xrender_headers" != "no"; then
17104
	test "$with_system_xrender_headers" != "no"; then
21248
   echo "$as_me:$LINENO: result: external" >&5
17105
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
21249
echo "${ECHO_T}external" >&6
17106
$as_echo "external" >&6; }
21250
   SYSTEM_XRENDER_HEADERS=YES
17107
   SYSTEM_XRENDER_HEADERS=YES
21251
   if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
17108
   ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
21252
  echo "$as_me:$LINENO: checking for X11/extensions/Xrender.h" >&5
17109
if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
21253
echo $ECHO_N "checking for X11/extensions/Xrender.h... $ECHO_C" >&6
17110
21254
if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
17111
else
21255
  echo $ECHO_N "(cached) $ECHO_C" >&6
17112
  as_fn_error "Xrender not found. install X" "$LINENO" 5
21256
fi
17113
fi
21257
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrender_h" >&5
17114
21258
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrender_h" >&6
17115
21259
else
17116
else
21260
  # Is the header compilable?
17117
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
21261
echo "$as_me:$LINENO: checking X11/extensions/Xrender.h usability" >&5
17118
$as_echo "internal" >&6; }
21262
echo $ECHO_N "checking X11/extensions/Xrender.h usability... $ECHO_C" >&6
21263
cat >conftest.$ac_ext <<_ACEOF
21264
/* confdefs.h.  */
21265
_ACEOF
21266
cat confdefs.h >>conftest.$ac_ext
21267
cat >>conftest.$ac_ext <<_ACEOF
21268
/* end confdefs.h.  */
21269
$ac_includes_default
21270
#include <X11/extensions/Xrender.h>
21271
_ACEOF
21272
rm -f conftest.$ac_objext
21273
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274
  (eval $ac_compile) 2>conftest.er1
21275
  ac_status=$?
21276
  grep -v '^ *+' conftest.er1 >conftest.err
21277
  rm -f conftest.er1
21278
  cat conftest.err >&5
21279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280
  (exit $ac_status); } &&
21281
	 { ac_try='test -z "$ac_c_werror_flag"
21282
			 || test ! -s conftest.err'
21283
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284
  (eval $ac_try) 2>&5
21285
  ac_status=$?
21286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287
  (exit $ac_status); }; } &&
21288
	 { ac_try='test -s conftest.$ac_objext'
21289
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290
  (eval $ac_try) 2>&5
21291
  ac_status=$?
21292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293
  (exit $ac_status); }; }; then
21294
  ac_header_compiler=yes
21295
else
21296
  echo "$as_me: failed program was:" >&5
21297
sed 's/^/| /' conftest.$ac_ext >&5
21298
21299
ac_header_compiler=no
21300
fi
21301
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21302
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21303
echo "${ECHO_T}$ac_header_compiler" >&6
21304
21305
# Is the header present?
21306
echo "$as_me:$LINENO: checking X11/extensions/Xrender.h presence" >&5
21307
echo $ECHO_N "checking X11/extensions/Xrender.h presence... $ECHO_C" >&6
21308
cat >conftest.$ac_ext <<_ACEOF
21309
/* confdefs.h.  */
21310
_ACEOF
21311
cat confdefs.h >>conftest.$ac_ext
21312
cat >>conftest.$ac_ext <<_ACEOF
21313
/* end confdefs.h.  */
21314
#include <X11/extensions/Xrender.h>
21315
_ACEOF
21316
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21317
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21318
  ac_status=$?
21319
  grep -v '^ *+' conftest.er1 >conftest.err
21320
  rm -f conftest.er1
21321
  cat conftest.err >&5
21322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323
  (exit $ac_status); } >/dev/null; then
21324
  if test -s conftest.err; then
21325
    ac_cpp_err=$ac_c_preproc_warn_flag
21326
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21327
  else
21328
    ac_cpp_err=
21329
  fi
21330
else
21331
  ac_cpp_err=yes
21332
fi
21333
if test -z "$ac_cpp_err"; then
21334
  ac_header_preproc=yes
21335
else
21336
  echo "$as_me: failed program was:" >&5
21337
sed 's/^/| /' conftest.$ac_ext >&5
21338
21339
  ac_header_preproc=no
21340
fi
21341
rm -f conftest.err conftest.$ac_ext
21342
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21343
echo "${ECHO_T}$ac_header_preproc" >&6
21344
21345
# So?  What about this header?
21346
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21347
  yes:no: )
21348
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: accepted by the compiler, rejected by the preprocessor!" >&5
21349
echo "$as_me: WARNING: X11/extensions/Xrender.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21350
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: proceeding with the compiler's result" >&5
21351
echo "$as_me: WARNING: X11/extensions/Xrender.h: proceeding with the compiler's result" >&2;}
21352
    ac_header_preproc=yes
21353
    ;;
21354
  no:yes:* )
21355
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: present but cannot be compiled" >&5
21356
echo "$as_me: WARNING: X11/extensions/Xrender.h: present but cannot be compiled" >&2;}
21357
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h:     check for missing prerequisite headers?" >&5
21358
echo "$as_me: WARNING: X11/extensions/Xrender.h:     check for missing prerequisite headers?" >&2;}
21359
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: see the Autoconf documentation" >&5
21360
echo "$as_me: WARNING: X11/extensions/Xrender.h: see the Autoconf documentation" >&2;}
21361
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h:     section \"Present But Cannot Be Compiled\"" >&5
21362
echo "$as_me: WARNING: X11/extensions/Xrender.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21363
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: proceeding with the preprocessor's result" >&5
21364
echo "$as_me: WARNING: X11/extensions/Xrender.h: proceeding with the preprocessor's result" >&2;}
21365
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: in the future, the compiler will take precedence" >&5
21366
echo "$as_me: WARNING: X11/extensions/Xrender.h: in the future, the compiler will take precedence" >&2;}
21367
    (
21368
      cat <<\_ASBOX
21369
## ------------------------------------------ ##
21370
## Report this to the AC_PACKAGE_NAME lists.  ##
21371
## ------------------------------------------ ##
21372
_ASBOX
21373
    ) |
21374
      sed "s/^/$as_me: WARNING:     /" >&2
21375
    ;;
21376
esac
21377
echo "$as_me:$LINENO: checking for X11/extensions/Xrender.h" >&5
21378
echo $ECHO_N "checking for X11/extensions/Xrender.h... $ECHO_C" >&6
21379
if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
21380
  echo $ECHO_N "(cached) $ECHO_C" >&6
21381
else
21382
  ac_cv_header_X11_extensions_Xrender_h=$ac_header_preproc
21383
fi
21384
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrender_h" >&5
21385
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrender_h" >&6
21386
21387
fi
21388
if test $ac_cv_header_X11_extensions_Xrender_h = yes; then
21389
  :
21390
else
21391
  { { echo "$as_me:$LINENO: error: Xrender not found. install X" >&5
21392
echo "$as_me: error: Xrender not found. install X" >&2;}
21393
   { (exit 1); exit 1; }; }
21394
fi
21395
21396
21397
else
21398
   echo "$as_me:$LINENO: result: internal" >&5
21399
echo "${ECHO_T}internal" >&6
21400
   SYSTEM_XRENDER_HEADERS=NO
17119
   SYSTEM_XRENDER_HEADERS=NO
21401
   BUILD_TYPE="$BUILD_TYPE X11_EXTENSIONS"
17120
   BUILD_TYPE="$BUILD_TYPE X11_EXTENSIONS"
21402
fi
17121
fi
21403
if test "$XRENDER_LINK" = "YES"; then
17122
if test "$XRENDER_LINK" = "YES"; then
21404
17123
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryVersion in -lXrender" >&5
21405
echo "$as_me:$LINENO: checking for XRenderQueryVersion in -lXrender" >&5
17124
$as_echo_n "checking for XRenderQueryVersion in -lXrender... " >&6; }
21406
echo $ECHO_N "checking for XRenderQueryVersion in -lXrender... $ECHO_C" >&6
17125
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then :
21407
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then
17126
  $as_echo_n "(cached) " >&6
21408
  echo $ECHO_N "(cached) $ECHO_C" >&6
21409
else
17127
else
21410
  ac_check_lib_save_LIBS=$LIBS
17128
  ac_check_lib_save_LIBS=$LIBS
21411
LIBS="-lXrender  $LIBS"
17129
LIBS="-lXrender  $LIBS"
21412
cat >conftest.$ac_ext <<_ACEOF
17130
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21413
/* confdefs.h.  */
17131
/* end confdefs.h.  */
21414
_ACEOF
17132
21415
cat confdefs.h >>conftest.$ac_ext
17133
/* Override any GCC internal prototype to avoid an error.
21416
cat >>conftest.$ac_ext <<_ACEOF
17134
   Use char because int might match the return type of a GCC
21417
/* end confdefs.h.  */
17135
   builtin and then its argument prototype would still apply.  */
21418
21419
/* Override any gcc2 internal prototype to avoid an error.  */
21420
#ifdef __cplusplus
17136
#ifdef __cplusplus
21421
extern "C"
17137
extern "C"
21422
#endif
17138
#endif
21423
/* We use char because int might match the return type of a gcc2
21424
   builtin and then its argument prototype would still apply.  */
21425
char XRenderQueryVersion ();
17139
char XRenderQueryVersion ();
21426
int
17140
int
21427
main ()
17141
main ()
21428
{
17142
{
21429
XRenderQueryVersion ();
17143
return XRenderQueryVersion ();
21430
  ;
17144
  ;
21431
  return 0;
17145
  return 0;
21432
}
17146
}
21433
_ACEOF
17147
_ACEOF
21434
rm -f conftest.$ac_objext conftest$ac_exeext
17148
if ac_fn_c_try_link "$LINENO"; then :
21435
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436
  (eval $ac_link) 2>conftest.er1
21437
  ac_status=$?
21438
  grep -v '^ *+' conftest.er1 >conftest.err
21439
  rm -f conftest.er1
21440
  cat conftest.err >&5
21441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442
  (exit $ac_status); } &&
21443
	 { ac_try='test -z "$ac_c_werror_flag"
21444
			 || test ! -s conftest.err'
21445
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446
  (eval $ac_try) 2>&5
21447
  ac_status=$?
21448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449
  (exit $ac_status); }; } &&
21450
	 { ac_try='test -s conftest$ac_exeext'
21451
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452
  (eval $ac_try) 2>&5
21453
  ac_status=$?
21454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455
  (exit $ac_status); }; }; then
21456
  ac_cv_lib_Xrender_XRenderQueryVersion=yes
17149
  ac_cv_lib_Xrender_XRenderQueryVersion=yes
21457
else
17150
else
21458
  echo "$as_me: failed program was:" >&5
17151
  ac_cv_lib_Xrender_XRenderQueryVersion=no
21459
sed 's/^/| /' conftest.$ac_ext >&5
17152
fi
21460
17153
rm -f core conftest.err conftest.$ac_objext \
21461
ac_cv_lib_Xrender_XRenderQueryVersion=no
17154
    conftest$ac_exeext conftest.$ac_ext
21462
fi
21463
rm -f conftest.err conftest.$ac_objext \
21464
      conftest$ac_exeext conftest.$ac_ext
21465
LIBS=$ac_check_lib_save_LIBS
17155
LIBS=$ac_check_lib_save_LIBS
21466
fi
17156
fi
21467
echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
17157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
21468
echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryVersion" >&6
17158
$as_echo "$ac_cv_lib_Xrender_XRenderQueryVersion" >&6; }
21469
if test $ac_cv_lib_Xrender_XRenderQueryVersion = yes; then
17159
if test "x$ac_cv_lib_Xrender_XRenderQueryVersion" = x""yes; then :
21470
  cat >>confdefs.h <<_ACEOF
17160
  cat >>confdefs.h <<_ACEOF
21471
#define HAVE_LIBXRENDER 1
17161
#define HAVE_LIBXRENDER 1
21472
_ACEOF
17162
_ACEOF
Lines 21474-21495 Link Here
21474
  LIBS="-lXrender $LIBS"
17164
  LIBS="-lXrender $LIBS"
21475
17165
21476
else
17166
else
21477
  { { echo "$as_me:$LINENO: error: libXrender not found or functional" >&5
17167
  as_fn_error "libXrender not found or functional" "$LINENO" 5
21478
echo "$as_me: error: libXrender not found or functional" >&2;}
17168
fi
21479
   { (exit 1); exit 1; }; }
17169
21480
fi
17170
fi
21481
17171
21482
fi
17172
21483
17173
21484
17174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable RandR support" >&5
21485
17175
$as_echo_n "checking whether to enable RandR support... " >&6; }
21486
echo "$as_me:$LINENO: checking whether to enable RandR support" >&5
21487
echo $ECHO_N "checking whether to enable RandR support... $ECHO_C" >&6
21488
if test "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \) ; then
17176
if test "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \) ; then
21489
   if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
17177
   if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
21490
	  XRANDR_DLOPEN="TRUE"
17178
	  XRANDR_DLOPEN="TRUE"
21491
	  echo "$as_me:$LINENO: result: resorting to dlopen libXrandr at runtime" >&5
17179
	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: resorting to dlopen libXrandr at runtime" >&5
21492
echo "${ECHO_T}resorting to dlopen libXrandr at runtime" >&6
17180
$as_echo "resorting to dlopen libXrandr at runtime" >&6; }
21493
   else
17181
   else
21494
	  XRANDR_DLOPEN="FALSE"
17182
	  XRANDR_DLOPEN="FALSE"
21495
17183
Lines 21498-21507 Link Here
21498
  if test -z "$PKG_CONFIG"; then
17186
  if test -z "$PKG_CONFIG"; then
21499
    # Extract the first word of "pkg-config", so it can be a program name with args.
17187
    # Extract the first word of "pkg-config", so it can be a program name with args.
21500
set dummy pkg-config; ac_word=$2
17188
set dummy pkg-config; ac_word=$2
21501
echo "$as_me:$LINENO: checking for $ac_word" >&5
17189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21502
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17190
$as_echo_n "checking for $ac_word... " >&6; }
21503
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17191
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21504
  echo $ECHO_N "(cached) $ECHO_C" >&6
17192
  $as_echo_n "(cached) " >&6
21505
else
17193
else
21506
  case $PKG_CONFIG in
17194
  case $PKG_CONFIG in
21507
  [\\/]* | ?:[\\/]*)
17195
  [\\/]* | ?:[\\/]*)
Lines 21513-21540 Link Here
21513
do
17201
do
21514
  IFS=$as_save_IFS
17202
  IFS=$as_save_IFS
21515
  test -z "$as_dir" && as_dir=.
17203
  test -z "$as_dir" && as_dir=.
21516
  for ac_exec_ext in '' $ac_executable_extensions; do
17204
    for ac_exec_ext in '' $ac_executable_extensions; do
21517
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21518
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17206
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21519
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21520
    break 2
17208
    break 2
21521
  fi
17209
  fi
21522
done
17210
done
21523
done
17211
  done
17212
IFS=$as_save_IFS
21524
17213
21525
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17214
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21526
  ;;
17215
  ;;
21527
esac
17216
esac
21528
fi
17217
fi
21529
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17218
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21530
21531
if test -n "$PKG_CONFIG"; then
17219
if test -n "$PKG_CONFIG"; then
21532
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21533
echo "${ECHO_T}$PKG_CONFIG" >&6
17221
$as_echo "$PKG_CONFIG" >&6; }
21534
else
17222
else
21535
  echo "$as_me:$LINENO: result: no" >&5
17223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21536
echo "${ECHO_T}no" >&6
17224
$as_echo "no" >&6; }
21537
fi
17225
fi
17226
21538
17227
21539
  fi
17228
  fi
21540
17229
Lines 21546-21570 Link Here
21546
  else
17235
  else
21547
     PKG_CONFIG_MIN_VERSION=0.9.0
17236
     PKG_CONFIG_MIN_VERSION=0.9.0
21548
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17237
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21549
        echo "$as_me:$LINENO: checking for xrandr >= 1.2" >&5
17238
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrandr >= 1.2" >&5
21550
echo $ECHO_N "checking for xrandr >= 1.2... $ECHO_C" >&6
17239
$as_echo_n "checking for xrandr >= 1.2... " >&6; }
21551
17240
21552
        if $PKG_CONFIG --exists "xrandr >= 1.2" ; then
17241
        if $PKG_CONFIG --exists "xrandr >= 1.2" ; then
21553
            echo "$as_me:$LINENO: result: yes" >&5
17242
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21554
echo "${ECHO_T}yes" >&6
17243
$as_echo "yes" >&6; }
21555
            succeeded=yes
17244
            succeeded=yes
21556
17245
21557
            echo "$as_me:$LINENO: checking XRANDR_CFLAGS" >&5
17246
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking XRANDR_CFLAGS" >&5
21558
echo $ECHO_N "checking XRANDR_CFLAGS... $ECHO_C" >&6
17247
$as_echo_n "checking XRANDR_CFLAGS... " >&6; }
21559
            XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.2"`
17248
            XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.2"`
21560
            echo "$as_me:$LINENO: result: $XRANDR_CFLAGS" >&5
17249
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XRANDR_CFLAGS" >&5
21561
echo "${ECHO_T}$XRANDR_CFLAGS" >&6
17250
$as_echo "$XRANDR_CFLAGS" >&6; }
21562
17251
21563
            echo "$as_me:$LINENO: checking XRANDR_LIBS" >&5
17252
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking XRANDR_LIBS" >&5
21564
echo $ECHO_N "checking XRANDR_LIBS... $ECHO_C" >&6
17253
$as_echo_n "checking XRANDR_LIBS... " >&6; }
21565
            XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.2"`
17254
            XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.2"`
21566
            echo "$as_me:$LINENO: result: $XRANDR_LIBS" >&5
17255
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XRANDR_LIBS" >&5
21567
echo "${ECHO_T}$XRANDR_LIBS" >&6
17256
$as_echo "$XRANDR_LIBS" >&6; }
21568
        else
17257
        else
21569
            XRANDR_CFLAGS=""
17258
            XRANDR_CFLAGS=""
21570
            XRANDR_LIBS=""
17259
            XRANDR_LIBS=""
Lines 21589-21807 Link Here
21589
  fi
17278
  fi
21590
17279
21591
      if test "$ENABLE_RANDR" != "TRUE"; then
17280
      if test "$ENABLE_RANDR" != "TRUE"; then
21592
         if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
17281
         ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$ac_includes_default"
21593
  echo "$as_me:$LINENO: checking for X11/extensions/Xrandr.h" >&5
17282
if test "x$ac_cv_header_X11_extensions_Xrandr_h" = x""yes; then :
21594
echo $ECHO_N "checking for X11/extensions/Xrandr.h... $ECHO_C" >&6
17283
21595
if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
17284
else
21596
  echo $ECHO_N "(cached) $ECHO_C" >&6
17285
  as_fn_error "X11/extensions/Xrandr.h could not be found. X11 dev missing?" "$LINENO" 5
21597
fi
21598
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrandr_h" >&5
21599
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrandr_h" >&6
21600
else
21601
  # Is the header compilable?
21602
echo "$as_me:$LINENO: checking X11/extensions/Xrandr.h usability" >&5
21603
echo $ECHO_N "checking X11/extensions/Xrandr.h usability... $ECHO_C" >&6
21604
cat >conftest.$ac_ext <<_ACEOF
21605
/* confdefs.h.  */
21606
_ACEOF
21607
cat confdefs.h >>conftest.$ac_ext
21608
cat >>conftest.$ac_ext <<_ACEOF
21609
/* end confdefs.h.  */
21610
$ac_includes_default
21611
#include <X11/extensions/Xrandr.h>
21612
_ACEOF
21613
rm -f conftest.$ac_objext
21614
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21615
  (eval $ac_compile) 2>conftest.er1
21616
  ac_status=$?
21617
  grep -v '^ *+' conftest.er1 >conftest.err
21618
  rm -f conftest.er1
21619
  cat conftest.err >&5
21620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621
  (exit $ac_status); } &&
21622
	 { ac_try='test -z "$ac_c_werror_flag"
21623
			 || test ! -s conftest.err'
21624
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625
  (eval $ac_try) 2>&5
21626
  ac_status=$?
21627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628
  (exit $ac_status); }; } &&
21629
	 { ac_try='test -s conftest.$ac_objext'
21630
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631
  (eval $ac_try) 2>&5
21632
  ac_status=$?
21633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634
  (exit $ac_status); }; }; then
21635
  ac_header_compiler=yes
21636
else
21637
  echo "$as_me: failed program was:" >&5
21638
sed 's/^/| /' conftest.$ac_ext >&5
21639
21640
ac_header_compiler=no
21641
fi
21642
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21643
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21644
echo "${ECHO_T}$ac_header_compiler" >&6
21645
21646
# Is the header present?
21647
echo "$as_me:$LINENO: checking X11/extensions/Xrandr.h presence" >&5
21648
echo $ECHO_N "checking X11/extensions/Xrandr.h presence... $ECHO_C" >&6
21649
cat >conftest.$ac_ext <<_ACEOF
21650
/* confdefs.h.  */
21651
_ACEOF
21652
cat confdefs.h >>conftest.$ac_ext
21653
cat >>conftest.$ac_ext <<_ACEOF
21654
/* end confdefs.h.  */
21655
#include <X11/extensions/Xrandr.h>
21656
_ACEOF
21657
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21658
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21659
  ac_status=$?
21660
  grep -v '^ *+' conftest.er1 >conftest.err
21661
  rm -f conftest.er1
21662
  cat conftest.err >&5
21663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664
  (exit $ac_status); } >/dev/null; then
21665
  if test -s conftest.err; then
21666
    ac_cpp_err=$ac_c_preproc_warn_flag
21667
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21668
  else
21669
    ac_cpp_err=
21670
  fi
21671
else
21672
  ac_cpp_err=yes
21673
fi
21674
if test -z "$ac_cpp_err"; then
21675
  ac_header_preproc=yes
21676
else
21677
  echo "$as_me: failed program was:" >&5
21678
sed 's/^/| /' conftest.$ac_ext >&5
21679
21680
  ac_header_preproc=no
21681
fi
21682
rm -f conftest.err conftest.$ac_ext
21683
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21684
echo "${ECHO_T}$ac_header_preproc" >&6
21685
21686
# So?  What about this header?
21687
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21688
  yes:no: )
21689
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: accepted by the compiler, rejected by the preprocessor!" >&5
21690
echo "$as_me: WARNING: X11/extensions/Xrandr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21691
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: proceeding with the compiler's result" >&5
21692
echo "$as_me: WARNING: X11/extensions/Xrandr.h: proceeding with the compiler's result" >&2;}
21693
    ac_header_preproc=yes
21694
    ;;
21695
  no:yes:* )
21696
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled" >&5
21697
echo "$as_me: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled" >&2;}
21698
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h:     check for missing prerequisite headers?" >&5
21699
echo "$as_me: WARNING: X11/extensions/Xrandr.h:     check for missing prerequisite headers?" >&2;}
21700
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: see the Autoconf documentation" >&5
21701
echo "$as_me: WARNING: X11/extensions/Xrandr.h: see the Autoconf documentation" >&2;}
21702
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h:     section \"Present But Cannot Be Compiled\"" >&5
21703
echo "$as_me: WARNING: X11/extensions/Xrandr.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21704
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: proceeding with the preprocessor's result" >&5
21705
echo "$as_me: WARNING: X11/extensions/Xrandr.h: proceeding with the preprocessor's result" >&2;}
21706
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: in the future, the compiler will take precedence" >&5
21707
echo "$as_me: WARNING: X11/extensions/Xrandr.h: in the future, the compiler will take precedence" >&2;}
21708
    (
21709
      cat <<\_ASBOX
21710
## ------------------------------------------ ##
21711
## Report this to the AC_PACKAGE_NAME lists.  ##
21712
## ------------------------------------------ ##
21713
_ASBOX
21714
    ) |
21715
      sed "s/^/$as_me: WARNING:     /" >&2
21716
    ;;
21717
esac
21718
echo "$as_me:$LINENO: checking for X11/extensions/Xrandr.h" >&5
21719
echo $ECHO_N "checking for X11/extensions/Xrandr.h... $ECHO_C" >&6
21720
if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
21721
  echo $ECHO_N "(cached) $ECHO_C" >&6
21722
else
21723
  ac_cv_header_X11_extensions_Xrandr_h=$ac_header_preproc
21724
fi
21725
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrandr_h" >&5
21726
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrandr_h" >&6
21727
21728
fi
21729
if test $ac_cv_header_X11_extensions_Xrandr_h = yes; then
21730
  :
21731
else
21732
  { { echo "$as_me:$LINENO: error: X11/extensions/Xrandr.h could not be found. X11 dev missing?" >&5
21733
echo "$as_me: error: X11/extensions/Xrandr.h could not be found. X11 dev missing?" >&2;}
21734
   { (exit 1); exit 1; }; }
21735
fi
17286
fi
21736
17287
21737
17288
21738
         XRANDR_CFLAGS=" "
17289
         XRANDR_CFLAGS=" "
21739
17290
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
21740
echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
17291
$as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
21741
echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
17292
if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
21742
if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
17293
  $as_echo_n "(cached) " >&6
21743
  echo $ECHO_N "(cached) $ECHO_C" >&6
21744
else
17294
else
21745
  ac_check_lib_save_LIBS=$LIBS
17295
  ac_check_lib_save_LIBS=$LIBS
21746
LIBS="-lXrandr  $LIBS"
17296
LIBS="-lXrandr  $LIBS"
21747
cat >conftest.$ac_ext <<_ACEOF
17297
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21748
/* confdefs.h.  */
17298
/* end confdefs.h.  */
21749
_ACEOF
17299
21750
cat confdefs.h >>conftest.$ac_ext
17300
/* Override any GCC internal prototype to avoid an error.
21751
cat >>conftest.$ac_ext <<_ACEOF
17301
   Use char because int might match the return type of a GCC
21752
/* end confdefs.h.  */
17302
   builtin and then its argument prototype would still apply.  */
21753
21754
/* Override any gcc2 internal prototype to avoid an error.  */
21755
#ifdef __cplusplus
17303
#ifdef __cplusplus
21756
extern "C"
17304
extern "C"
21757
#endif
17305
#endif
21758
/* We use char because int might match the return type of a gcc2
21759
   builtin and then its argument prototype would still apply.  */
21760
char XRRQueryExtension ();
17306
char XRRQueryExtension ();
21761
int
17307
int
21762
main ()
17308
main ()
21763
{
17309
{
21764
XRRQueryExtension ();
17310
return XRRQueryExtension ();
21765
  ;
17311
  ;
21766
  return 0;
17312
  return 0;
21767
}
17313
}
21768
_ACEOF
17314
_ACEOF
21769
rm -f conftest.$ac_objext conftest$ac_exeext
17315
if ac_fn_c_try_link "$LINENO"; then :
21770
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21771
  (eval $ac_link) 2>conftest.er1
21772
  ac_status=$?
21773
  grep -v '^ *+' conftest.er1 >conftest.err
21774
  rm -f conftest.er1
21775
  cat conftest.err >&5
21776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777
  (exit $ac_status); } &&
21778
	 { ac_try='test -z "$ac_c_werror_flag"
21779
			 || test ! -s conftest.err'
21780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781
  (eval $ac_try) 2>&5
21782
  ac_status=$?
21783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784
  (exit $ac_status); }; } &&
21785
	 { ac_try='test -s conftest$ac_exeext'
21786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787
  (eval $ac_try) 2>&5
21788
  ac_status=$?
21789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790
  (exit $ac_status); }; }; then
21791
  ac_cv_lib_Xrandr_XRRQueryExtension=yes
17316
  ac_cv_lib_Xrandr_XRRQueryExtension=yes
21792
else
17317
else
21793
  echo "$as_me: failed program was:" >&5
17318
  ac_cv_lib_Xrandr_XRRQueryExtension=no
21794
sed 's/^/| /' conftest.$ac_ext >&5
17319
fi
21795
17320
rm -f core conftest.err conftest.$ac_objext \
21796
ac_cv_lib_Xrandr_XRRQueryExtension=no
17321
    conftest$ac_exeext conftest.$ac_ext
21797
fi
21798
rm -f conftest.err conftest.$ac_objext \
21799
      conftest$ac_exeext conftest.$ac_ext
21800
LIBS=$ac_check_lib_save_LIBS
17322
LIBS=$ac_check_lib_save_LIBS
21801
fi
17323
fi
21802
echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
17324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21803
echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
17325
$as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
21804
if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
17326
if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then :
21805
  cat >>confdefs.h <<_ACEOF
17327
  cat >>confdefs.h <<_ACEOF
21806
#define HAVE_LIBXRANDR 1
17328
#define HAVE_LIBXRANDR 1
21807
_ACEOF
17329
_ACEOF
Lines 21809-21861 Link Here
21809
  LIBS="-lXrandr $LIBS"
17331
  LIBS="-lXrandr $LIBS"
21810
17332
21811
else
17333
else
21812
   { { echo "$as_me:$LINENO: error: libXrandr not found or functional" >&5
17334
   as_fn_error "libXrandr not found or functional" "$LINENO" 5
21813
echo "$as_me: error: libXrandr not found or functional" >&2;}
21814
   { (exit 1); exit 1; }; }
21815
fi
17335
fi
21816
17336
21817
         XRANDR_LIBS="-lXrandr "
17337
         XRANDR_LIBS="-lXrandr "
21818
         ENABLE_RANDR="TRUE"
17338
         ENABLE_RANDR="TRUE"
21819
	     echo "$as_me:$LINENO: result: enabling RandR support" >&5
17339
	     { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling RandR support" >&5
21820
echo "${ECHO_T}enabling RandR support" >&6
17340
$as_echo "enabling RandR support" >&6; }
21821
      fi
17341
      fi
21822
   fi
17342
   fi
21823
else
17343
else
21824
   ENABLE_RANDR=""
17344
   ENABLE_RANDR=""
21825
   echo "$as_me:$LINENO: result: no" >&5
17345
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21826
echo "${ECHO_T}no" >&6
17346
$as_echo "no" >&6; }
21827
fi
17347
fi
21828
17348
21829
17349
21830
17350
21831
17351
21832
17352
21833
echo "$as_me:$LINENO: checking whether to use neon" >&5
17353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use neon" >&5
21834
echo $ECHO_N "checking whether to use neon... $ECHO_C" >&6
17354
$as_echo_n "checking whether to use neon... " >&6; }
21835
if test "$enable_neon" = "no"; then
17355
if test "$enable_neon" = "no"; then
21836
    echo "$as_me:$LINENO: result: no" >&5
17356
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21837
echo "${ECHO_T}no" >&6
17357
$as_echo "no" >&6; }
21838
    DISABLE_NEON=TRUE
17358
    DISABLE_NEON=TRUE
21839
17359
21840
else
17360
else
21841
    echo "$as_me:$LINENO: result: yes" >&5
17361
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21842
echo "${ECHO_T}yes" >&6
17362
$as_echo "yes" >&6; }
21843
echo "$as_me:$LINENO: checking which neon to use" >&5
17363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which neon to use" >&5
21844
echo $ECHO_N "checking which neon to use... $ECHO_C" >&6
17364
$as_echo_n "checking which neon to use... " >&6; }
21845
if test -n "$with_system_neon" -o -n "$with_system_libs" && \
17365
if test -n "$with_system_neon" -o -n "$with_system_libs" && \
21846
	test "$with_system_neon" != "no"; then
17366
	test "$with_system_neon" != "no"; then
21847
        echo "$as_me:$LINENO: result: external" >&5
17367
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
21848
echo "${ECHO_T}external" >&6
17368
$as_echo "external" >&6; }
21849
17369
21850
  succeeded=no
17370
  succeeded=no
21851
17371
21852
  if test -z "$PKG_CONFIG"; then
17372
  if test -z "$PKG_CONFIG"; then
21853
    # Extract the first word of "pkg-config", so it can be a program name with args.
17373
    # Extract the first word of "pkg-config", so it can be a program name with args.
21854
set dummy pkg-config; ac_word=$2
17374
set dummy pkg-config; ac_word=$2
21855
echo "$as_me:$LINENO: checking for $ac_word" >&5
17375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21856
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17376
$as_echo_n "checking for $ac_word... " >&6; }
21857
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17377
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21858
  echo $ECHO_N "(cached) $ECHO_C" >&6
17378
  $as_echo_n "(cached) " >&6
21859
else
17379
else
21860
  case $PKG_CONFIG in
17380
  case $PKG_CONFIG in
21861
  [\\/]* | ?:[\\/]*)
17381
  [\\/]* | ?:[\\/]*)
Lines 21867-21894 Link Here
21867
do
17387
do
21868
  IFS=$as_save_IFS
17388
  IFS=$as_save_IFS
21869
  test -z "$as_dir" && as_dir=.
17389
  test -z "$as_dir" && as_dir=.
21870
  for ac_exec_ext in '' $ac_executable_extensions; do
17390
    for ac_exec_ext in '' $ac_executable_extensions; do
21871
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17391
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21872
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17392
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21873
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17393
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21874
    break 2
17394
    break 2
21875
  fi
17395
  fi
21876
done
17396
done
21877
done
17397
  done
17398
IFS=$as_save_IFS
21878
17399
21879
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17400
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21880
  ;;
17401
  ;;
21881
esac
17402
esac
21882
fi
17403
fi
21883
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17404
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21884
21885
if test -n "$PKG_CONFIG"; then
17405
if test -n "$PKG_CONFIG"; then
21886
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21887
echo "${ECHO_T}$PKG_CONFIG" >&6
17407
$as_echo "$PKG_CONFIG" >&6; }
21888
else
17408
else
21889
  echo "$as_me:$LINENO: result: no" >&5
17409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21890
echo "${ECHO_T}no" >&6
17410
$as_echo "no" >&6; }
21891
fi
17411
fi
17412
21892
17413
21893
  fi
17414
  fi
21894
17415
Lines 21900-21924 Link Here
21900
  else
17421
  else
21901
     PKG_CONFIG_MIN_VERSION=0.9.0
17422
     PKG_CONFIG_MIN_VERSION=0.9.0
21902
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17423
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21903
        echo "$as_me:$LINENO: checking for neon >= 0.24.0" >&5
17424
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for neon >= 0.24.0" >&5
21904
echo $ECHO_N "checking for neon >= 0.24.0... $ECHO_C" >&6
17425
$as_echo_n "checking for neon >= 0.24.0... " >&6; }
21905
17426
21906
        if $PKG_CONFIG --exists "neon >= 0.24.0" ; then
17427
        if $PKG_CONFIG --exists "neon >= 0.24.0" ; then
21907
            echo "$as_me:$LINENO: result: yes" >&5
17428
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21908
echo "${ECHO_T}yes" >&6
17429
$as_echo "yes" >&6; }
21909
            succeeded=yes
17430
            succeeded=yes
21910
17431
21911
            echo "$as_me:$LINENO: checking NEON_CFLAGS" >&5
17432
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking NEON_CFLAGS" >&5
21912
echo $ECHO_N "checking NEON_CFLAGS... $ECHO_C" >&6
17433
$as_echo_n "checking NEON_CFLAGS... " >&6; }
21913
            NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.24.0"`
17434
            NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.24.0"`
21914
            echo "$as_me:$LINENO: result: $NEON_CFLAGS" >&5
17435
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NEON_CFLAGS" >&5
21915
echo "${ECHO_T}$NEON_CFLAGS" >&6
17436
$as_echo "$NEON_CFLAGS" >&6; }
21916
17437
21917
            echo "$as_me:$LINENO: checking NEON_LIBS" >&5
17438
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking NEON_LIBS" >&5
21918
echo $ECHO_N "checking NEON_LIBS... $ECHO_C" >&6
17439
$as_echo_n "checking NEON_LIBS... " >&6; }
21919
            NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.24.0"`
17440
            NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.24.0"`
21920
            echo "$as_me:$LINENO: result: $NEON_LIBS" >&5
17441
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NEON_LIBS" >&5
21921
echo "${ECHO_T}$NEON_LIBS" >&6
17442
$as_echo "$NEON_LIBS" >&6; }
21922
        else
17443
        else
21923
            NEON_CFLAGS=""
17444
            NEON_CFLAGS=""
21924
            NEON_LIBS=""
17445
            NEON_LIBS=""
Lines 21939-21955 Link Here
21939
  if test $succeeded = yes; then
17460
  if test $succeeded = yes; then
21940
     :
17461
     :
21941
  else
17462
  else
21942
     { { echo "$as_me:$LINENO: error: you need neon >= 0.24.x for system-neon" >&5
17463
     as_fn_error "you need neon >= 0.24.x for system-neon" "$LINENO" 5
21943
echo "$as_me: error: you need neon >= 0.24.x for system-neon" >&2;}
21944
   { (exit 1); exit 1; }; }
21945
  fi
17464
  fi
21946
17465
21947
        NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
17466
        NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
21948
        NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
17467
        NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
21949
        SYSTEM_NEON=YES
17468
        SYSTEM_NEON=YES
21950
else
17469
else
21951
    echo "$as_me:$LINENO: result: internal" >&5
17470
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
21952
echo "${ECHO_T}internal" >&6
17471
$as_echo "internal" >&6; }
21953
    SYSTEM_NEON=NO
17472
    SYSTEM_NEON=NO
21954
    NEON_LIBS=-lneon
17473
    NEON_LIBS=-lneon
21955
    NEON_CFLAGS=
17474
    NEON_CFLAGS=
Lines 21964-21975 Link Here
21964
if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
17483
if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
21965
   with_system_openssl=yes
17484
   with_system_openssl=yes
21966
fi
17485
fi
21967
echo "$as_me:$LINENO: checking which libssl to use" >&5
17486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which libssl to use" >&5
21968
echo $ECHO_N "checking which libssl to use... $ECHO_C" >&6
17487
$as_echo_n "checking which libssl to use... " >&6; }
21969
if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
17488
if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
21970
        test "$with_system_openssl" != "no"; then
17489
        test "$with_system_openssl" != "no"; then
21971
    echo "$as_me:$LINENO: result: external" >&5
17490
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
21972
echo "${ECHO_T}external" >&6
17491
$as_echo "external" >&6; }
21973
    # Mac OS builds should get out without extra stuff is the Mac porters'
17492
    # Mac OS builds should get out without extra stuff is the Mac porters'
21974
    # wish. And pkg-config is although Xcode ships a .pc for openssl
17493
    # wish. And pkg-config is although Xcode ships a .pc for openssl
21975
    if test "$_os" = "Darwin"; then
17494
    if test "$_os" = "Darwin"; then
Lines 21982-21991 Link Here
21982
  if test -z "$PKG_CONFIG"; then
17501
  if test -z "$PKG_CONFIG"; then
21983
    # Extract the first word of "pkg-config", so it can be a program name with args.
17502
    # Extract the first word of "pkg-config", so it can be a program name with args.
21984
set dummy pkg-config; ac_word=$2
17503
set dummy pkg-config; ac_word=$2
21985
echo "$as_me:$LINENO: checking for $ac_word" >&5
17504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21986
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17505
$as_echo_n "checking for $ac_word... " >&6; }
21987
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17506
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21988
  echo $ECHO_N "(cached) $ECHO_C" >&6
17507
  $as_echo_n "(cached) " >&6
21989
else
17508
else
21990
  case $PKG_CONFIG in
17509
  case $PKG_CONFIG in
21991
  [\\/]* | ?:[\\/]*)
17510
  [\\/]* | ?:[\\/]*)
Lines 21997-22024 Link Here
21997
do
17516
do
21998
  IFS=$as_save_IFS
17517
  IFS=$as_save_IFS
21999
  test -z "$as_dir" && as_dir=.
17518
  test -z "$as_dir" && as_dir=.
22000
  for ac_exec_ext in '' $ac_executable_extensions; do
17519
    for ac_exec_ext in '' $ac_executable_extensions; do
22001
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17520
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22002
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17521
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22003
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17522
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22004
    break 2
17523
    break 2
22005
  fi
17524
  fi
22006
done
17525
done
22007
done
17526
  done
17527
IFS=$as_save_IFS
22008
17528
22009
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17529
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22010
  ;;
17530
  ;;
22011
esac
17531
esac
22012
fi
17532
fi
22013
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17533
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22014
22015
if test -n "$PKG_CONFIG"; then
17534
if test -n "$PKG_CONFIG"; then
22016
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22017
echo "${ECHO_T}$PKG_CONFIG" >&6
17536
$as_echo "$PKG_CONFIG" >&6; }
22018
else
17537
else
22019
  echo "$as_me:$LINENO: result: no" >&5
17538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22020
echo "${ECHO_T}no" >&6
17539
$as_echo "no" >&6; }
22021
fi
17540
fi
17541
22022
17542
22023
  fi
17543
  fi
22024
17544
Lines 22030-22054 Link Here
22030
  else
17550
  else
22031
     PKG_CONFIG_MIN_VERSION=0.9.0
17551
     PKG_CONFIG_MIN_VERSION=0.9.0
22032
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17552
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22033
        echo "$as_me:$LINENO: checking for openssl " >&5
17553
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl " >&5
22034
echo $ECHO_N "checking for openssl ... $ECHO_C" >&6
17554
$as_echo_n "checking for openssl ... " >&6; }
22035
17555
22036
        if $PKG_CONFIG --exists "openssl " ; then
17556
        if $PKG_CONFIG --exists "openssl " ; then
22037
            echo "$as_me:$LINENO: result: yes" >&5
17557
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22038
echo "${ECHO_T}yes" >&6
17558
$as_echo "yes" >&6; }
22039
            succeeded=yes
17559
            succeeded=yes
22040
17560
22041
            echo "$as_me:$LINENO: checking OPENSSL_CFLAGS" >&5
17561
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENSSL_CFLAGS" >&5
22042
echo $ECHO_N "checking OPENSSL_CFLAGS... $ECHO_C" >&6
17562
$as_echo_n "checking OPENSSL_CFLAGS... " >&6; }
22043
            OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl "`
17563
            OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl "`
22044
            echo "$as_me:$LINENO: result: $OPENSSL_CFLAGS" >&5
17564
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_CFLAGS" >&5
22045
echo "${ECHO_T}$OPENSSL_CFLAGS" >&6
17565
$as_echo "$OPENSSL_CFLAGS" >&6; }
22046
17566
22047
            echo "$as_me:$LINENO: checking OPENSSL_LIBS" >&5
17567
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENSSL_LIBS" >&5
22048
echo $ECHO_N "checking OPENSSL_LIBS... $ECHO_C" >&6
17568
$as_echo_n "checking OPENSSL_LIBS... " >&6; }
22049
            OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl "`
17569
            OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl "`
22050
            echo "$as_me:$LINENO: result: $OPENSSL_LIBS" >&5
17570
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_LIBS" >&5
22051
echo "${ECHO_T}$OPENSSL_LIBS" >&6
17571
$as_echo "$OPENSSL_LIBS" >&6; }
22052
        else
17572
        else
22053
            OPENSSL_CFLAGS=""
17573
            OPENSSL_CFLAGS=""
22054
            OPENSSL_LIBS=""
17574
            OPENSSL_LIBS=""
Lines 22069-22084 Link Here
22069
  if test $succeeded = yes; then
17589
  if test $succeeded = yes; then
22070
     :
17590
     :
22071
  else
17591
  else
22072
     { { echo "$as_me:$LINENO: error: Library requirements (openssl ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
17592
     as_fn_error "Library requirements (openssl ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
22073
echo "$as_me: error: Library requirements (openssl ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22074
   { (exit 1); exit 1; }; }
22075
  fi
17593
  fi
22076
17594
22077
    fi
17595
    fi
22078
    SYSTEM_OPENSSL=YES
17596
    SYSTEM_OPENSSL=YES
22079
else
17597
else
22080
    echo "$as_me:$LINENO: result: internal" >&5
17598
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
22081
echo "${ECHO_T}internal" >&6
17599
$as_echo "internal" >&6; }
22082
    SYSTEM_OPENSSL=NO
17600
    SYSTEM_OPENSSL=NO
22083
    BUILD_TYPE="$BUILD_TYPE OPENSSL"
17601
    BUILD_TYPE="$BUILD_TYPE OPENSSL"
22084
fi
17602
fi
Lines 22086-22118 Link Here
22086
17604
22087
17605
22088
17606
22089
echo "$as_me:$LINENO: checking whether to enable agg" >&5
17607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable agg" >&5
22090
echo $ECHO_N "checking whether to enable agg... $ECHO_C" >&6
17608
$as_echo_n "checking whether to enable agg... " >&6; }
22091
if test "$with_agg" = "no"; then
17609
if test "$with_agg" = "no"; then
22092
  echo "$as_me:$LINENO: result: no" >&5
17610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22093
echo "${ECHO_T}no" >&6
17611
$as_echo "no" >&6; }
22094
else
17612
else
22095
  echo "$as_me:$LINENO: result: yes" >&5
17613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22096
echo "${ECHO_T}yes" >&6
17614
$as_echo "yes" >&6; }
22097
  ENABLE_AGG=YES
17615
  ENABLE_AGG=YES
22098
17616
22099
17617
22100
        echo "$as_me:$LINENO: checking which AGG to use" >&5
17618
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking which AGG to use" >&5
22101
echo $ECHO_N "checking which AGG to use... $ECHO_C" >&6
17619
$as_echo_n "checking which AGG to use... " >&6; }
22102
  if test -n "$with_system_agg" -o -n "$with_system_libs" && \
17620
  if test -n "$with_system_agg" -o -n "$with_system_libs" && \
22103
     test "$with_system_agg" != "no"; then
17621
     test "$with_system_agg" != "no"; then
22104
         echo "$as_me:$LINENO: result: external" >&5
17622
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
22105
echo "${ECHO_T}external" >&6
17623
$as_echo "external" >&6; }
22106
17624
22107
  succeeded=no
17625
  succeeded=no
22108
17626
22109
  if test -z "$PKG_CONFIG"; then
17627
  if test -z "$PKG_CONFIG"; then
22110
    # Extract the first word of "pkg-config", so it can be a program name with args.
17628
    # Extract the first word of "pkg-config", so it can be a program name with args.
22111
set dummy pkg-config; ac_word=$2
17629
set dummy pkg-config; ac_word=$2
22112
echo "$as_me:$LINENO: checking for $ac_word" >&5
17630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17631
$as_echo_n "checking for $ac_word... " >&6; }
22114
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17632
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22115
  echo $ECHO_N "(cached) $ECHO_C" >&6
17633
  $as_echo_n "(cached) " >&6
22116
else
17634
else
22117
  case $PKG_CONFIG in
17635
  case $PKG_CONFIG in
22118
  [\\/]* | ?:[\\/]*)
17636
  [\\/]* | ?:[\\/]*)
Lines 22124-22151 Link Here
22124
do
17642
do
22125
  IFS=$as_save_IFS
17643
  IFS=$as_save_IFS
22126
  test -z "$as_dir" && as_dir=.
17644
  test -z "$as_dir" && as_dir=.
22127
  for ac_exec_ext in '' $ac_executable_extensions; do
17645
    for ac_exec_ext in '' $ac_executable_extensions; do
22128
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22129
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17647
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22130
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22131
    break 2
17649
    break 2
22132
  fi
17650
  fi
22133
done
17651
done
22134
done
17652
  done
17653
IFS=$as_save_IFS
22135
17654
22136
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17655
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22137
  ;;
17656
  ;;
22138
esac
17657
esac
22139
fi
17658
fi
22140
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17659
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22141
22142
if test -n "$PKG_CONFIG"; then
17660
if test -n "$PKG_CONFIG"; then
22143
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22144
echo "${ECHO_T}$PKG_CONFIG" >&6
17662
$as_echo "$PKG_CONFIG" >&6; }
22145
else
17663
else
22146
  echo "$as_me:$LINENO: result: no" >&5
17664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22147
echo "${ECHO_T}no" >&6
17665
$as_echo "no" >&6; }
22148
fi
17666
fi
17667
22149
17668
22150
  fi
17669
  fi
22151
17670
Lines 22157-22181 Link Here
22157
  else
17676
  else
22158
     PKG_CONFIG_MIN_VERSION=0.9.0
17677
     PKG_CONFIG_MIN_VERSION=0.9.0
22159
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17678
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22160
        echo "$as_me:$LINENO: checking for libagg >= 2.3" >&5
17679
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libagg >= 2.3" >&5
22161
echo $ECHO_N "checking for libagg >= 2.3... $ECHO_C" >&6
17680
$as_echo_n "checking for libagg >= 2.3... " >&6; }
22162
17681
22163
        if $PKG_CONFIG --exists "libagg >= 2.3" ; then
17682
        if $PKG_CONFIG --exists "libagg >= 2.3" ; then
22164
            echo "$as_me:$LINENO: result: yes" >&5
17683
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22165
echo "${ECHO_T}yes" >&6
17684
$as_echo "yes" >&6; }
22166
            succeeded=yes
17685
            succeeded=yes
22167
17686
22168
            echo "$as_me:$LINENO: checking AGG_CFLAGS" >&5
17687
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking AGG_CFLAGS" >&5
22169
echo $ECHO_N "checking AGG_CFLAGS... $ECHO_C" >&6
17688
$as_echo_n "checking AGG_CFLAGS... " >&6; }
22170
            AGG_CFLAGS=`$PKG_CONFIG --cflags "libagg >= 2.3"`
17689
            AGG_CFLAGS=`$PKG_CONFIG --cflags "libagg >= 2.3"`
22171
            echo "$as_me:$LINENO: result: $AGG_CFLAGS" >&5
17690
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AGG_CFLAGS" >&5
22172
echo "${ECHO_T}$AGG_CFLAGS" >&6
17691
$as_echo "$AGG_CFLAGS" >&6; }
22173
17692
22174
            echo "$as_me:$LINENO: checking AGG_LIBS" >&5
17693
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking AGG_LIBS" >&5
22175
echo $ECHO_N "checking AGG_LIBS... $ECHO_C" >&6
17694
$as_echo_n "checking AGG_LIBS... " >&6; }
22176
            AGG_LIBS=`$PKG_CONFIG --libs "libagg >= 2.3"`
17695
            AGG_LIBS=`$PKG_CONFIG --libs "libagg >= 2.3"`
22177
            echo "$as_me:$LINENO: result: $AGG_LIBS" >&5
17696
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AGG_LIBS" >&5
22178
echo "${ECHO_T}$AGG_LIBS" >&6
17697
$as_echo "$AGG_LIBS" >&6; }
22179
        else
17698
        else
22180
            AGG_CFLAGS=""
17699
            AGG_CFLAGS=""
22181
            AGG_LIBS=""
17700
            AGG_LIBS=""
Lines 22196-22208 Link Here
22196
  if test $succeeded = yes; then
17715
  if test $succeeded = yes; then
22197
     :
17716
     :
22198
  else
17717
  else
22199
     { { echo "$as_me:$LINENO: error: Library requirements (libagg >= 2.3) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
17718
     as_fn_error "Library requirements (libagg >= 2.3) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
22200
echo "$as_me: error: Library requirements (libagg >= 2.3) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17719
  fi
22201
   { (exit 1); exit 1; }; }
17720
22202
  fi
17721
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking agg version" >&5
22203
17722
$as_echo_n "checking agg version... " >&6; }
22204
         echo "$as_me:$LINENO: checking agg version" >&5
22205
echo $ECHO_N "checking agg version... $ECHO_C" >&6
22206
         # workaround; if AGG_CFLAGS is empty (broken libagg.pc in 2.3), add /usr/include/agg2 anyway
17723
         # workaround; if AGG_CFLAGS is empty (broken libagg.pc in 2.3), add /usr/include/agg2 anyway
22207
         # (/usr/include gets stripped from pkg-config output)
17724
         # (/usr/include gets stripped from pkg-config output)
22208
         if test -z "$AGG_CFLAGS" || test "$AGG_CFLAGS" = " "; then
17725
         if test -z "$AGG_CFLAGS" || test "$AGG_CFLAGS" = " "; then
Lines 22214-22236 Link Here
22214
	 	$PKG_CONFIG --modversion libagg | grep -q 2.4; then
17731
	 	$PKG_CONFIG --modversion libagg | grep -q 2.4; then
22215
            # 2.4's libagg.pc.in still contains 2.3 :/
17732
            # 2.4's libagg.pc.in still contains 2.3 :/
22216
            if $EGREP -q "Version 2.4" `echo $AGG_INCDIR`/agg_basics.h; then
17733
            if $EGREP -q "Version 2.4" `echo $AGG_INCDIR`/agg_basics.h; then
22217
               echo "$as_me:$LINENO: result: 2.4" >&5
17734
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.4" >&5
22218
echo "${ECHO_T}2.4" >&6
17735
$as_echo "2.4" >&6; }
22219
               AGG_VERSION=2400
17736
               AGG_VERSION=2400
22220
            else
17737
            else
22221
               echo "$as_me:$LINENO: result: 2.3" >&5
17738
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.3" >&5
22222
echo "${ECHO_T}2.3" >&6
17739
$as_echo "2.3" >&6; }
22223
               AGG_VERSION=2300
17740
               AGG_VERSION=2300
22224
            fi
17741
            fi
22225
            SYSTEM_AGG=YES
17742
            SYSTEM_AGG=YES
22226
	 else
17743
	 else
22227
	    { { echo "$as_me:$LINENO: error: only agg 2.3 and 2.4 are supported" >&5
17744
	    as_fn_error "only agg 2.3 and 2.4 are supported" "$LINENO" 5
22228
echo "$as_me: error: only agg 2.3 and 2.4 are supported" >&2;}
22229
   { (exit 1); exit 1; }; }
22230
	 fi
17745
	 fi
22231
  else
17746
  else
22232
         echo "$as_me:$LINENO: result: internal" >&5
17747
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
22233
echo "${ECHO_T}internal" >&6
17748
$as_echo "internal" >&6; }
22234
         SYSTEM_AGG=NO
17749
         SYSTEM_AGG=NO
22235
         AGG_VERSION=2300
17750
         AGG_VERSION=2300
22236
         BUILD_TYPE="$BUILD_TYPE AGG"
17751
         BUILD_TYPE="$BUILD_TYPE AGG"
Lines 22239-22250 Link Here
22239
17754
22240
fi
17755
fi
22241
17756
22242
echo "$as_me:$LINENO: checking which redland library to use" >&5
17757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which redland library to use" >&5
22243
echo $ECHO_N "checking which redland library to use... $ECHO_C" >&6
17758
$as_echo_n "checking which redland library to use... " >&6; }
22244
if test -n "$with_system_redland" && \
17759
if test -n "$with_system_redland" && \
22245
	test "$with_system_redland" != "no"; then
17760
	test "$with_system_redland" != "no"; then
22246
	echo "$as_me:$LINENO: result: external" >&5
17761
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
22247
echo "${ECHO_T}external" >&6
17762
$as_echo "external" >&6; }
22248
	SYSTEM_REDLAND=YES
17763
	SYSTEM_REDLAND=YES
22249
17764
22250
  succeeded=no
17765
  succeeded=no
Lines 22252-22261 Link Here
22252
  if test -z "$PKG_CONFIG"; then
17767
  if test -z "$PKG_CONFIG"; then
22253
    # Extract the first word of "pkg-config", so it can be a program name with args.
17768
    # Extract the first word of "pkg-config", so it can be a program name with args.
22254
set dummy pkg-config; ac_word=$2
17769
set dummy pkg-config; ac_word=$2
22255
echo "$as_me:$LINENO: checking for $ac_word" >&5
17770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22256
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17771
$as_echo_n "checking for $ac_word... " >&6; }
22257
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17772
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22258
  echo $ECHO_N "(cached) $ECHO_C" >&6
17773
  $as_echo_n "(cached) " >&6
22259
else
17774
else
22260
  case $PKG_CONFIG in
17775
  case $PKG_CONFIG in
22261
  [\\/]* | ?:[\\/]*)
17776
  [\\/]* | ?:[\\/]*)
Lines 22267-22294 Link Here
22267
do
17782
do
22268
  IFS=$as_save_IFS
17783
  IFS=$as_save_IFS
22269
  test -z "$as_dir" && as_dir=.
17784
  test -z "$as_dir" && as_dir=.
22270
  for ac_exec_ext in '' $ac_executable_extensions; do
17785
    for ac_exec_ext in '' $ac_executable_extensions; do
22271
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22272
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17787
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22273
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17788
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22274
    break 2
17789
    break 2
22275
  fi
17790
  fi
22276
done
17791
done
22277
done
17792
  done
17793
IFS=$as_save_IFS
22278
17794
22279
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17795
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22280
  ;;
17796
  ;;
22281
esac
17797
esac
22282
fi
17798
fi
22283
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17799
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22284
22285
if test -n "$PKG_CONFIG"; then
17800
if test -n "$PKG_CONFIG"; then
22286
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22287
echo "${ECHO_T}$PKG_CONFIG" >&6
17802
$as_echo "$PKG_CONFIG" >&6; }
22288
else
17803
else
22289
  echo "$as_me:$LINENO: result: no" >&5
17804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22290
echo "${ECHO_T}no" >&6
17805
$as_echo "no" >&6; }
22291
fi
17806
fi
17807
22292
17808
22293
  fi
17809
  fi
22294
17810
Lines 22300-22324 Link Here
22300
  else
17816
  else
22301
     PKG_CONFIG_MIN_VERSION=0.9.0
17817
     PKG_CONFIG_MIN_VERSION=0.9.0
22302
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17818
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22303
        echo "$as_me:$LINENO: checking for redland" >&5
17819
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5
22304
echo $ECHO_N "checking for redland... $ECHO_C" >&6
17820
$as_echo_n "checking for redland... " >&6; }
22305
17821
22306
        if $PKG_CONFIG --exists "redland" ; then
17822
        if $PKG_CONFIG --exists "redland" ; then
22307
            echo "$as_me:$LINENO: result: yes" >&5
17823
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22308
echo "${ECHO_T}yes" >&6
17824
$as_echo "yes" >&6; }
22309
            succeeded=yes
17825
            succeeded=yes
22310
17826
22311
            echo "$as_me:$LINENO: checking REDLAND_CFLAGS" >&5
17827
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking REDLAND_CFLAGS" >&5
22312
echo $ECHO_N "checking REDLAND_CFLAGS... $ECHO_C" >&6
17828
$as_echo_n "checking REDLAND_CFLAGS... " >&6; }
22313
            REDLAND_CFLAGS=`$PKG_CONFIG --cflags "redland"`
17829
            REDLAND_CFLAGS=`$PKG_CONFIG --cflags "redland"`
22314
            echo "$as_me:$LINENO: result: $REDLAND_CFLAGS" >&5
17830
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REDLAND_CFLAGS" >&5
22315
echo "${ECHO_T}$REDLAND_CFLAGS" >&6
17831
$as_echo "$REDLAND_CFLAGS" >&6; }
22316
17832
22317
            echo "$as_me:$LINENO: checking REDLAND_LIBS" >&5
17833
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking REDLAND_LIBS" >&5
22318
echo $ECHO_N "checking REDLAND_LIBS... $ECHO_C" >&6
17834
$as_echo_n "checking REDLAND_LIBS... " >&6; }
22319
            REDLAND_LIBS=`$PKG_CONFIG --libs "redland"`
17835
            REDLAND_LIBS=`$PKG_CONFIG --libs "redland"`
22320
            echo "$as_me:$LINENO: result: $REDLAND_LIBS" >&5
17836
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REDLAND_LIBS" >&5
22321
echo "${ECHO_T}$REDLAND_LIBS" >&6
17837
$as_echo "$REDLAND_LIBS" >&6; }
22322
        else
17838
        else
22323
            REDLAND_CFLAGS=""
17839
            REDLAND_CFLAGS=""
22324
            REDLAND_LIBS=""
17840
            REDLAND_LIBS=""
Lines 22339-22366 Link Here
22339
  if test $succeeded = yes; then
17855
  if test $succeeded = yes; then
22340
     :
17856
     :
22341
  else
17857
  else
22342
     { { echo "$as_me:$LINENO: error: Library requirements (redland) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
17858
     as_fn_error "Library requirements (redland) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
22343
echo "$as_me: error: Library requirements (redland) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
17859
  fi
22344
   { (exit 1); exit 1; }; }
17860
22345
  fi
17861
else
22346
17862
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
22347
else
17863
$as_echo "internal" >&6; }
22348
	echo "$as_me:$LINENO: result: internal" >&5
22349
echo "${ECHO_T}internal" >&6
22350
	BUILD_TYPE="$BUILD_TYPE REDLAND"
17864
	BUILD_TYPE="$BUILD_TYPE REDLAND"
22351
	SYSTEM_REDLAND=NO
17865
	SYSTEM_REDLAND=NO
22352
fi
17866
fi
22353
17867
22354
17868
22355
17869
22356
echo "$as_me:$LINENO: checking which libhunspell to use" >&5
17870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which libhunspell to use" >&5
22357
echo $ECHO_N "checking which libhunspell to use... $ECHO_C" >&6
17871
$as_echo_n "checking which libhunspell to use... " >&6; }
22358
if test -n "$with_system_hunspell" -o -n "$with_system_libs" && \
17872
if test -n "$with_system_hunspell" -o -n "$with_system_libs" && \
22359
	test "$with_system_hunspell" != "no"; then
17873
	test "$with_system_hunspell" != "no"; then
22360
    echo "$as_me:$LINENO: result: external" >&5
17874
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
22361
echo "${ECHO_T}external" >&6
17875
$as_echo "external" >&6; }
22362
    SYSTEM_HUNSPELL=YES
17876
    SYSTEM_HUNSPELL=YES
22363
    ac_ext=cc
17877
    ac_ext=cpp
22364
ac_cpp='$CXXCPP $CPPFLAGS'
17878
ac_cpp='$CXXCPP $CPPFLAGS'
22365
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 22372-22381 Link Here
22372
  if test -z "$PKG_CONFIG"; then
17886
  if test -z "$PKG_CONFIG"; then
22373
    # Extract the first word of "pkg-config", so it can be a program name with args.
17887
    # Extract the first word of "pkg-config", so it can be a program name with args.
22374
set dummy pkg-config; ac_word=$2
17888
set dummy pkg-config; ac_word=$2
22375
echo "$as_me:$LINENO: checking for $ac_word" >&5
17889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22376
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17890
$as_echo_n "checking for $ac_word... " >&6; }
22377
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17891
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22378
  echo $ECHO_N "(cached) $ECHO_C" >&6
17892
  $as_echo_n "(cached) " >&6
22379
else
17893
else
22380
  case $PKG_CONFIG in
17894
  case $PKG_CONFIG in
22381
  [\\/]* | ?:[\\/]*)
17895
  [\\/]* | ?:[\\/]*)
Lines 22387-22414 Link Here
22387
do
17901
do
22388
  IFS=$as_save_IFS
17902
  IFS=$as_save_IFS
22389
  test -z "$as_dir" && as_dir=.
17903
  test -z "$as_dir" && as_dir=.
22390
  for ac_exec_ext in '' $ac_executable_extensions; do
17904
    for ac_exec_ext in '' $ac_executable_extensions; do
22391
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22392
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17906
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22393
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22394
    break 2
17908
    break 2
22395
  fi
17909
  fi
22396
done
17910
done
22397
done
17911
  done
17912
IFS=$as_save_IFS
22398
17913
22399
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17914
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22400
  ;;
17915
  ;;
22401
esac
17916
esac
22402
fi
17917
fi
22403
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17918
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22404
22405
if test -n "$PKG_CONFIG"; then
17919
if test -n "$PKG_CONFIG"; then
22406
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22407
echo "${ECHO_T}$PKG_CONFIG" >&6
17921
$as_echo "$PKG_CONFIG" >&6; }
22408
else
17922
else
22409
  echo "$as_me:$LINENO: result: no" >&5
17923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22410
echo "${ECHO_T}no" >&6
17924
$as_echo "no" >&6; }
22411
fi
17925
fi
17926
22412
17927
22413
  fi
17928
  fi
22414
17929
Lines 22420-22444 Link Here
22420
  else
17935
  else
22421
     PKG_CONFIG_MIN_VERSION=0.9.0
17936
     PKG_CONFIG_MIN_VERSION=0.9.0
22422
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17937
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22423
        echo "$as_me:$LINENO: checking for hunspell" >&5
17938
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hunspell" >&5
22424
echo $ECHO_N "checking for hunspell... $ECHO_C" >&6
17939
$as_echo_n "checking for hunspell... " >&6; }
22425
17940
22426
        if $PKG_CONFIG --exists "hunspell" ; then
17941
        if $PKG_CONFIG --exists "hunspell" ; then
22427
            echo "$as_me:$LINENO: result: yes" >&5
17942
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22428
echo "${ECHO_T}yes" >&6
17943
$as_echo "yes" >&6; }
22429
            succeeded=yes
17944
            succeeded=yes
22430
17945
22431
            echo "$as_me:$LINENO: checking HUNSPELL_CFLAGS" >&5
17946
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking HUNSPELL_CFLAGS" >&5
22432
echo $ECHO_N "checking HUNSPELL_CFLAGS... $ECHO_C" >&6
17947
$as_echo_n "checking HUNSPELL_CFLAGS... " >&6; }
22433
            HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell"`
17948
            HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell"`
22434
            echo "$as_me:$LINENO: result: $HUNSPELL_CFLAGS" >&5
17949
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HUNSPELL_CFLAGS" >&5
22435
echo "${ECHO_T}$HUNSPELL_CFLAGS" >&6
17950
$as_echo "$HUNSPELL_CFLAGS" >&6; }
22436
17951
22437
            echo "$as_me:$LINENO: checking HUNSPELL_LIBS" >&5
17952
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking HUNSPELL_LIBS" >&5
22438
echo $ECHO_N "checking HUNSPELL_LIBS... $ECHO_C" >&6
17953
$as_echo_n "checking HUNSPELL_LIBS... " >&6; }
22439
            HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell"`
17954
            HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell"`
22440
            echo "$as_me:$LINENO: result: $HUNSPELL_LIBS" >&5
17955
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HUNSPELL_LIBS" >&5
22441
echo "${ECHO_T}$HUNSPELL_LIBS" >&6
17956
$as_echo "$HUNSPELL_LIBS" >&6; }
22442
        else
17957
        else
22443
            HUNSPELL_CFLAGS=""
17958
            HUNSPELL_CFLAGS=""
22444
            HUNSPELL_LIBS=""
17959
            HUNSPELL_LIBS=""
Lines 22463-22819 Link Here
22463
  fi
17978
  fi
22464
17979
22465
    if test "$HUNSPELL_PC" != "TRUE"; then
17980
    if test "$HUNSPELL_PC" != "TRUE"; then
22466
      if test "${ac_cv_header_hunspell_hxx+set}" = set; then
17981
      ac_fn_cxx_check_header_mongrel "$LINENO" "hunspell.hxx" "ac_cv_header_hunspell_hxx" "$ac_includes_default"
22467
  echo "$as_me:$LINENO: checking for hunspell.hxx" >&5
17982
if test "x$ac_cv_header_hunspell_hxx" = x""yes; then :
22468
echo $ECHO_N "checking for hunspell.hxx... $ECHO_C" >&6
17983
22469
if test "${ac_cv_header_hunspell_hxx+set}" = set; then
17984
else
22470
  echo $ECHO_N "(cached) $ECHO_C" >&6
17985
22471
fi
17986
      ac_fn_cxx_check_header_mongrel "$LINENO" "hunspell/hunspell.hxx" "ac_cv_header_hunspell_hunspell_hxx" "$ac_includes_default"
22472
echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hxx" >&5
17987
if test "x$ac_cv_header_hunspell_hunspell_hxx" = x""yes; then :
22473
echo "${ECHO_T}$ac_cv_header_hunspell_hxx" >&6
22474
else
22475
  # Is the header compilable?
22476
echo "$as_me:$LINENO: checking hunspell.hxx usability" >&5
22477
echo $ECHO_N "checking hunspell.hxx usability... $ECHO_C" >&6
22478
cat >conftest.$ac_ext <<_ACEOF
22479
/* confdefs.h.  */
22480
_ACEOF
22481
cat confdefs.h >>conftest.$ac_ext
22482
cat >>conftest.$ac_ext <<_ACEOF
22483
/* end confdefs.h.  */
22484
$ac_includes_default
22485
#include <hunspell.hxx>
22486
_ACEOF
22487
rm -f conftest.$ac_objext
22488
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489
  (eval $ac_compile) 2>conftest.er1
22490
  ac_status=$?
22491
  grep -v '^ *+' conftest.er1 >conftest.err
22492
  rm -f conftest.er1
22493
  cat conftest.err >&5
22494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495
  (exit $ac_status); } &&
22496
	 { ac_try='test -z "$ac_cxx_werror_flag"
22497
			 || test ! -s conftest.err'
22498
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499
  (eval $ac_try) 2>&5
22500
  ac_status=$?
22501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502
  (exit $ac_status); }; } &&
22503
	 { ac_try='test -s conftest.$ac_objext'
22504
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505
  (eval $ac_try) 2>&5
22506
  ac_status=$?
22507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508
  (exit $ac_status); }; }; then
22509
  ac_header_compiler=yes
22510
else
22511
  echo "$as_me: failed program was:" >&5
22512
sed 's/^/| /' conftest.$ac_ext >&5
22513
22514
ac_header_compiler=no
22515
fi
22516
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22518
echo "${ECHO_T}$ac_header_compiler" >&6
22519
22520
# Is the header present?
22521
echo "$as_me:$LINENO: checking hunspell.hxx presence" >&5
22522
echo $ECHO_N "checking hunspell.hxx presence... $ECHO_C" >&6
22523
cat >conftest.$ac_ext <<_ACEOF
22524
/* confdefs.h.  */
22525
_ACEOF
22526
cat confdefs.h >>conftest.$ac_ext
22527
cat >>conftest.$ac_ext <<_ACEOF
22528
/* end confdefs.h.  */
22529
#include <hunspell.hxx>
22530
_ACEOF
22531
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22532
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22533
  ac_status=$?
22534
  grep -v '^ *+' conftest.er1 >conftest.err
22535
  rm -f conftest.er1
22536
  cat conftest.err >&5
22537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538
  (exit $ac_status); } >/dev/null; then
22539
  if test -s conftest.err; then
22540
    ac_cpp_err=$ac_cxx_preproc_warn_flag
22541
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22542
  else
22543
    ac_cpp_err=
22544
  fi
22545
else
22546
  ac_cpp_err=yes
22547
fi
22548
if test -z "$ac_cpp_err"; then
22549
  ac_header_preproc=yes
22550
else
22551
  echo "$as_me: failed program was:" >&5
22552
sed 's/^/| /' conftest.$ac_ext >&5
22553
22554
  ac_header_preproc=no
22555
fi
22556
rm -f conftest.err conftest.$ac_ext
22557
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22558
echo "${ECHO_T}$ac_header_preproc" >&6
22559
22560
# So?  What about this header?
22561
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22562
  yes:no: )
22563
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
22564
echo "$as_me: WARNING: hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
22565
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: proceeding with the compiler's result" >&5
22566
echo "$as_me: WARNING: hunspell.hxx: proceeding with the compiler's result" >&2;}
22567
    ac_header_preproc=yes
22568
    ;;
22569
  no:yes:* )
22570
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: present but cannot be compiled" >&5
22571
echo "$as_me: WARNING: hunspell.hxx: present but cannot be compiled" >&2;}
22572
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx:     check for missing prerequisite headers?" >&5
22573
echo "$as_me: WARNING: hunspell.hxx:     check for missing prerequisite headers?" >&2;}
22574
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: see the Autoconf documentation" >&5
22575
echo "$as_me: WARNING: hunspell.hxx: see the Autoconf documentation" >&2;}
22576
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx:     section \"Present But Cannot Be Compiled\"" >&5
22577
echo "$as_me: WARNING: hunspell.hxx:     section \"Present But Cannot Be Compiled\"" >&2;}
22578
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: proceeding with the preprocessor's result" >&5
22579
echo "$as_me: WARNING: hunspell.hxx: proceeding with the preprocessor's result" >&2;}
22580
    { echo "$as_me:$LINENO: WARNING: hunspell.hxx: in the future, the compiler will take precedence" >&5
22581
echo "$as_me: WARNING: hunspell.hxx: in the future, the compiler will take precedence" >&2;}
22582
    (
22583
      cat <<\_ASBOX
22584
## ------------------------------------------ ##
22585
## Report this to the AC_PACKAGE_NAME lists.  ##
22586
## ------------------------------------------ ##
22587
_ASBOX
22588
    ) |
22589
      sed "s/^/$as_me: WARNING:     /" >&2
22590
    ;;
22591
esac
22592
echo "$as_me:$LINENO: checking for hunspell.hxx" >&5
22593
echo $ECHO_N "checking for hunspell.hxx... $ECHO_C" >&6
22594
if test "${ac_cv_header_hunspell_hxx+set}" = set; then
22595
  echo $ECHO_N "(cached) $ECHO_C" >&6
22596
else
22597
  ac_cv_header_hunspell_hxx=$ac_header_preproc
22598
fi
22599
echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hxx" >&5
22600
echo "${ECHO_T}$ac_cv_header_hunspell_hxx" >&6
22601
22602
fi
22603
if test $ac_cv_header_hunspell_hxx = yes; then
22604
  :
22605
else
22606
22607
      if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
22608
  echo "$as_me:$LINENO: checking for hunspell/hunspell.hxx" >&5
22609
echo $ECHO_N "checking for hunspell/hunspell.hxx... $ECHO_C" >&6
22610
if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
22611
  echo $ECHO_N "(cached) $ECHO_C" >&6
22612
fi
22613
echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hunspell_hxx" >&5
22614
echo "${ECHO_T}$ac_cv_header_hunspell_hunspell_hxx" >&6
22615
else
22616
  # Is the header compilable?
22617
echo "$as_me:$LINENO: checking hunspell/hunspell.hxx usability" >&5
22618
echo $ECHO_N "checking hunspell/hunspell.hxx usability... $ECHO_C" >&6
22619
cat >conftest.$ac_ext <<_ACEOF
22620
/* confdefs.h.  */
22621
_ACEOF
22622
cat confdefs.h >>conftest.$ac_ext
22623
cat >>conftest.$ac_ext <<_ACEOF
22624
/* end confdefs.h.  */
22625
$ac_includes_default
22626
#include <hunspell/hunspell.hxx>
22627
_ACEOF
22628
rm -f conftest.$ac_objext
22629
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22630
  (eval $ac_compile) 2>conftest.er1
22631
  ac_status=$?
22632
  grep -v '^ *+' conftest.er1 >conftest.err
22633
  rm -f conftest.er1
22634
  cat conftest.err >&5
22635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636
  (exit $ac_status); } &&
22637
	 { ac_try='test -z "$ac_cxx_werror_flag"
22638
			 || test ! -s conftest.err'
22639
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640
  (eval $ac_try) 2>&5
22641
  ac_status=$?
22642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643
  (exit $ac_status); }; } &&
22644
	 { ac_try='test -s conftest.$ac_objext'
22645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646
  (eval $ac_try) 2>&5
22647
  ac_status=$?
22648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649
  (exit $ac_status); }; }; then
22650
  ac_header_compiler=yes
22651
else
22652
  echo "$as_me: failed program was:" >&5
22653
sed 's/^/| /' conftest.$ac_ext >&5
22654
22655
ac_header_compiler=no
22656
fi
22657
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22658
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22659
echo "${ECHO_T}$ac_header_compiler" >&6
22660
22661
# Is the header present?
22662
echo "$as_me:$LINENO: checking hunspell/hunspell.hxx presence" >&5
22663
echo $ECHO_N "checking hunspell/hunspell.hxx presence... $ECHO_C" >&6
22664
cat >conftest.$ac_ext <<_ACEOF
22665
/* confdefs.h.  */
22666
_ACEOF
22667
cat confdefs.h >>conftest.$ac_ext
22668
cat >>conftest.$ac_ext <<_ACEOF
22669
/* end confdefs.h.  */
22670
#include <hunspell/hunspell.hxx>
22671
_ACEOF
22672
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22673
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22674
  ac_status=$?
22675
  grep -v '^ *+' conftest.er1 >conftest.err
22676
  rm -f conftest.er1
22677
  cat conftest.err >&5
22678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679
  (exit $ac_status); } >/dev/null; then
22680
  if test -s conftest.err; then
22681
    ac_cpp_err=$ac_cxx_preproc_warn_flag
22682
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22683
  else
22684
    ac_cpp_err=
22685
  fi
22686
else
22687
  ac_cpp_err=yes
22688
fi
22689
if test -z "$ac_cpp_err"; then
22690
  ac_header_preproc=yes
22691
else
22692
  echo "$as_me: failed program was:" >&5
22693
sed 's/^/| /' conftest.$ac_ext >&5
22694
22695
  ac_header_preproc=no
22696
fi
22697
rm -f conftest.err conftest.$ac_ext
22698
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22699
echo "${ECHO_T}$ac_header_preproc" >&6
22700
22701
# So?  What about this header?
22702
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22703
  yes:no: )
22704
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
22705
echo "$as_me: WARNING: hunspell/hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
22706
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: proceeding with the compiler's result" >&5
22707
echo "$as_me: WARNING: hunspell/hunspell.hxx: proceeding with the compiler's result" >&2;}
22708
    ac_header_preproc=yes
22709
    ;;
22710
  no:yes:* )
22711
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: present but cannot be compiled" >&5
22712
echo "$as_me: WARNING: hunspell/hunspell.hxx: present but cannot be compiled" >&2;}
22713
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx:     check for missing prerequisite headers?" >&5
22714
echo "$as_me: WARNING: hunspell/hunspell.hxx:     check for missing prerequisite headers?" >&2;}
22715
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: see the Autoconf documentation" >&5
22716
echo "$as_me: WARNING: hunspell/hunspell.hxx: see the Autoconf documentation" >&2;}
22717
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx:     section \"Present But Cannot Be Compiled\"" >&5
22718
echo "$as_me: WARNING: hunspell/hunspell.hxx:     section \"Present But Cannot Be Compiled\"" >&2;}
22719
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: proceeding with the preprocessor's result" >&5
22720
echo "$as_me: WARNING: hunspell/hunspell.hxx: proceeding with the preprocessor's result" >&2;}
22721
    { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: in the future, the compiler will take precedence" >&5
22722
echo "$as_me: WARNING: hunspell/hunspell.hxx: in the future, the compiler will take precedence" >&2;}
22723
    (
22724
      cat <<\_ASBOX
22725
## ------------------------------------------ ##
22726
## Report this to the AC_PACKAGE_NAME lists.  ##
22727
## ------------------------------------------ ##
22728
_ASBOX
22729
    ) |
22730
      sed "s/^/$as_me: WARNING:     /" >&2
22731
    ;;
22732
esac
22733
echo "$as_me:$LINENO: checking for hunspell/hunspell.hxx" >&5
22734
echo $ECHO_N "checking for hunspell/hunspell.hxx... $ECHO_C" >&6
22735
if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
22736
  echo $ECHO_N "(cached) $ECHO_C" >&6
22737
else
22738
  ac_cv_header_hunspell_hunspell_hxx=$ac_header_preproc
22739
fi
22740
echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hunspell_hxx" >&5
22741
echo "${ECHO_T}$ac_cv_header_hunspell_hunspell_hxx" >&6
22742
22743
fi
22744
if test $ac_cv_header_hunspell_hunspell_hxx = yes; then
22745
   HUNSPELL_CFLAGS=-I/usr/include/hunspell
17988
   HUNSPELL_CFLAGS=-I/usr/include/hunspell
22746
else
17989
else
22747
  { { echo "$as_me:$LINENO: error: hunspell headers not found." >&5
17990
  as_fn_error "hunspell headers not found." "$LINENO" 5
22748
echo "$as_me: error: hunspell headers not found." >&2;}
17991
fi
22749
   { (exit 1); exit 1; }; }
17992
22750
fi
17993
22751
17994
22752
17995
fi
22753
17996
22754
fi
17997
22755
17998
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhunspell" >&5
22756
17999
$as_echo_n "checking for main in -lhunspell... " >&6; }
22757
18000
if test "${ac_cv_lib_hunspell_main+set}" = set; then :
22758
echo "$as_me:$LINENO: checking for main in -lhunspell" >&5
18001
  $as_echo_n "(cached) " >&6
22759
echo $ECHO_N "checking for main in -lhunspell... $ECHO_C" >&6
22760
if test "${ac_cv_lib_hunspell_main+set}" = set; then
22761
  echo $ECHO_N "(cached) $ECHO_C" >&6
22762
else
18002
else
22763
  ac_check_lib_save_LIBS=$LIBS
18003
  ac_check_lib_save_LIBS=$LIBS
22764
LIBS="-lhunspell  $LIBS"
18004
LIBS="-lhunspell  $LIBS"
22765
cat >conftest.$ac_ext <<_ACEOF
18005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766
/* confdefs.h.  */
18006
/* end confdefs.h.  */
22767
_ACEOF
18007
22768
cat confdefs.h >>conftest.$ac_ext
18008
22769
cat >>conftest.$ac_ext <<_ACEOF
18009
int
22770
/* end confdefs.h.  */
18010
main ()
22771
18011
{
22772
18012
return main ();
22773
int
18013
  ;
22774
main ()
18014
  return 0;
22775
{
18015
}
22776
main ();
18016
_ACEOF
22777
  ;
18017
if ac_fn_cxx_try_link "$LINENO"; then :
22778
  return 0;
22779
}
22780
_ACEOF
22781
rm -f conftest.$ac_objext conftest$ac_exeext
22782
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22783
  (eval $ac_link) 2>conftest.er1
22784
  ac_status=$?
22785
  grep -v '^ *+' conftest.er1 >conftest.err
22786
  rm -f conftest.er1
22787
  cat conftest.err >&5
22788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789
  (exit $ac_status); } &&
22790
	 { ac_try='test -z "$ac_cxx_werror_flag"
22791
			 || test ! -s conftest.err'
22792
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793
  (eval $ac_try) 2>&5
22794
  ac_status=$?
22795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796
  (exit $ac_status); }; } &&
22797
	 { ac_try='test -s conftest$ac_exeext'
22798
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799
  (eval $ac_try) 2>&5
22800
  ac_status=$?
22801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802
  (exit $ac_status); }; }; then
22803
  ac_cv_lib_hunspell_main=yes
18018
  ac_cv_lib_hunspell_main=yes
22804
else
18019
else
22805
  echo "$as_me: failed program was:" >&5
18020
  ac_cv_lib_hunspell_main=no
22806
sed 's/^/| /' conftest.$ac_ext >&5
18021
fi
22807
18022
rm -f core conftest.err conftest.$ac_objext \
22808
ac_cv_lib_hunspell_main=no
18023
    conftest$ac_exeext conftest.$ac_ext
22809
fi
22810
rm -f conftest.err conftest.$ac_objext \
22811
      conftest$ac_exeext conftest.$ac_ext
22812
LIBS=$ac_check_lib_save_LIBS
18024
LIBS=$ac_check_lib_save_LIBS
22813
fi
18025
fi
22814
echo "$as_me:$LINENO: result: $ac_cv_lib_hunspell_main" >&5
18026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hunspell_main" >&5
22815
echo "${ECHO_T}$ac_cv_lib_hunspell_main" >&6
18027
$as_echo "$ac_cv_lib_hunspell_main" >&6; }
22816
if test $ac_cv_lib_hunspell_main = yes; then
18028
if test "x$ac_cv_lib_hunspell_main" = x""yes; then :
22817
  cat >>confdefs.h <<_ACEOF
18029
  cat >>confdefs.h <<_ACEOF
22818
#define HAVE_LIBHUNSPELL 1
18030
#define HAVE_LIBHUNSPELL 1
22819
_ACEOF
18031
_ACEOF
Lines 22821-22829 Link Here
22821
  LIBS="-lhunspell $LIBS"
18033
  LIBS="-lhunspell $LIBS"
22822
18034
22823
else
18035
else
22824
   { { echo "$as_me:$LINENO: error: hunspell library not found." >&5
18036
   as_fn_error "hunspell library not found." "$LINENO" 5
22825
echo "$as_me: error: hunspell library not found." >&2;}
22826
   { (exit 1); exit 1; }; }
22827
fi
18037
fi
22828
18038
22829
      HUNSPELL_LIBS=-lhunspell
18039
      HUNSPELL_LIBS=-lhunspell
Lines 22835-22842 Link Here
22835
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18045
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836
18046
22837
else
18047
else
22838
    echo "$as_me:$LINENO: result: internal" >&5
18048
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
22839
echo "${ECHO_T}internal" >&6
18049
$as_echo "internal" >&6; }
22840
    SYSTEM_HUNSPELL=NO
18050
    SYSTEM_HUNSPELL=NO
22841
    BUILD_TYPE="$BUILD_TYPE HUNSPELL"
18051
    BUILD_TYPE="$BUILD_TYPE HUNSPELL"
22842
fi
18052
fi
Lines 22844-23554 Link Here
22844
18054
22845
18055
22846
18056
22847
echo "$as_me:$LINENO: checking which altlinuxhyph to use" >&5
18057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which altlinuxhyph to use" >&5
22848
echo $ECHO_N "checking which altlinuxhyph to use... $ECHO_C" >&6
18058
$as_echo_n "checking which altlinuxhyph to use... " >&6; }
22849
if test -n "$with_system_altlinuxhyph" -o -n "$with_system_libs" && \
18059
if test -n "$with_system_altlinuxhyph" -o -n "$with_system_libs" && \
22850
	test "$with_system_altlinuxhyph" != "no"; then
18060
	test "$with_system_altlinuxhyph" != "no"; then
22851
    echo "$as_me:$LINENO: result: external" >&5
18061
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
22852
echo "${ECHO_T}external" >&6
18062
$as_echo "external" >&6; }
22853
    SYSTEM_HYPH=YES
18063
    SYSTEM_HYPH=YES
22854
    if test "${ac_cv_header_hyphen_h+set}" = set; then
18064
    ac_fn_c_check_header_mongrel "$LINENO" "hyphen.h" "ac_cv_header_hyphen_h" "$ac_includes_default"
22855
  echo "$as_me:$LINENO: checking for hyphen.h" >&5
18065
if test "x$ac_cv_header_hyphen_h" = x""yes; then :
22856
echo $ECHO_N "checking for hyphen.h... $ECHO_C" >&6
18066
22857
if test "${ac_cv_header_hyphen_h+set}" = set; then
18067
else
22858
  echo $ECHO_N "(cached) $ECHO_C" >&6
18068
   as_fn_error "altlinuxhyph headers not found." "$LINENO" 5
22859
fi
18069
fi
22860
echo "$as_me:$LINENO: result: $ac_cv_header_hyphen_h" >&5
18070
22861
echo "${ECHO_T}$ac_cv_header_hyphen_h" >&6
18071
22862
else
18072
    ac_fn_c_check_member "$LINENO" "struct _HyphenDict" "cset" "ac_cv_member_struct__HyphenDict_cset" "#include <hyphen.h>
22863
  # Is the header compilable?
18073
"
22864
echo "$as_me:$LINENO: checking hyphen.h usability" >&5
18074
if test "x$ac_cv_member_struct__HyphenDict_cset" = x""yes; then :
22865
echo $ECHO_N "checking hyphen.h usability... $ECHO_C" >&6
18075
22866
cat >conftest.$ac_ext <<_ACEOF
18076
else
22867
/* confdefs.h.  */
18077
   as_fn_error "no. You are sure you have altlinuyhyph headers?" "$LINENO" 5
22868
_ACEOF
18078
fi
22869
cat confdefs.h >>conftest.$ac_ext
18079
22870
cat >>conftest.$ac_ext <<_ACEOF
18080
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hnj_hyphen_hyphenate2 in -lhyphen" >&5
22871
/* end confdefs.h.  */
18081
$as_echo_n "checking for hnj_hyphen_hyphenate2 in -lhyphen... " >&6; }
22872
$ac_includes_default
18082
if test "${ac_cv_lib_hyphen_hnj_hyphen_hyphenate2+set}" = set; then :
22873
#include <hyphen.h>
18083
  $as_echo_n "(cached) " >&6
22874
_ACEOF
22875
rm -f conftest.$ac_objext
22876
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22877
  (eval $ac_compile) 2>conftest.er1
22878
  ac_status=$?
22879
  grep -v '^ *+' conftest.er1 >conftest.err
22880
  rm -f conftest.er1
22881
  cat conftest.err >&5
22882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883
  (exit $ac_status); } &&
22884
	 { ac_try='test -z "$ac_c_werror_flag"
22885
			 || test ! -s conftest.err'
22886
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887
  (eval $ac_try) 2>&5
22888
  ac_status=$?
22889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890
  (exit $ac_status); }; } &&
22891
	 { ac_try='test -s conftest.$ac_objext'
22892
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893
  (eval $ac_try) 2>&5
22894
  ac_status=$?
22895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896
  (exit $ac_status); }; }; then
22897
  ac_header_compiler=yes
22898
else
22899
  echo "$as_me: failed program was:" >&5
22900
sed 's/^/| /' conftest.$ac_ext >&5
22901
22902
ac_header_compiler=no
22903
fi
22904
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22905
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22906
echo "${ECHO_T}$ac_header_compiler" >&6
22907
22908
# Is the header present?
22909
echo "$as_me:$LINENO: checking hyphen.h presence" >&5
22910
echo $ECHO_N "checking hyphen.h presence... $ECHO_C" >&6
22911
cat >conftest.$ac_ext <<_ACEOF
22912
/* confdefs.h.  */
22913
_ACEOF
22914
cat confdefs.h >>conftest.$ac_ext
22915
cat >>conftest.$ac_ext <<_ACEOF
22916
/* end confdefs.h.  */
22917
#include <hyphen.h>
22918
_ACEOF
22919
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22920
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22921
  ac_status=$?
22922
  grep -v '^ *+' conftest.er1 >conftest.err
22923
  rm -f conftest.er1
22924
  cat conftest.err >&5
22925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926
  (exit $ac_status); } >/dev/null; then
22927
  if test -s conftest.err; then
22928
    ac_cpp_err=$ac_c_preproc_warn_flag
22929
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22930
  else
22931
    ac_cpp_err=
22932
  fi
22933
else
22934
  ac_cpp_err=yes
22935
fi
22936
if test -z "$ac_cpp_err"; then
22937
  ac_header_preproc=yes
22938
else
22939
  echo "$as_me: failed program was:" >&5
22940
sed 's/^/| /' conftest.$ac_ext >&5
22941
22942
  ac_header_preproc=no
22943
fi
22944
rm -f conftest.err conftest.$ac_ext
22945
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22946
echo "${ECHO_T}$ac_header_preproc" >&6
22947
22948
# So?  What about this header?
22949
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22950
  yes:no: )
22951
    { echo "$as_me:$LINENO: WARNING: hyphen.h: accepted by the compiler, rejected by the preprocessor!" >&5
22952
echo "$as_me: WARNING: hyphen.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22953
    { echo "$as_me:$LINENO: WARNING: hyphen.h: proceeding with the compiler's result" >&5
22954
echo "$as_me: WARNING: hyphen.h: proceeding with the compiler's result" >&2;}
22955
    ac_header_preproc=yes
22956
    ;;
22957
  no:yes:* )
22958
    { echo "$as_me:$LINENO: WARNING: hyphen.h: present but cannot be compiled" >&5
22959
echo "$as_me: WARNING: hyphen.h: present but cannot be compiled" >&2;}
22960
    { echo "$as_me:$LINENO: WARNING: hyphen.h:     check for missing prerequisite headers?" >&5
22961
echo "$as_me: WARNING: hyphen.h:     check for missing prerequisite headers?" >&2;}
22962
    { echo "$as_me:$LINENO: WARNING: hyphen.h: see the Autoconf documentation" >&5
22963
echo "$as_me: WARNING: hyphen.h: see the Autoconf documentation" >&2;}
22964
    { echo "$as_me:$LINENO: WARNING: hyphen.h:     section \"Present But Cannot Be Compiled\"" >&5
22965
echo "$as_me: WARNING: hyphen.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22966
    { echo "$as_me:$LINENO: WARNING: hyphen.h: proceeding with the preprocessor's result" >&5
22967
echo "$as_me: WARNING: hyphen.h: proceeding with the preprocessor's result" >&2;}
22968
    { echo "$as_me:$LINENO: WARNING: hyphen.h: in the future, the compiler will take precedence" >&5
22969
echo "$as_me: WARNING: hyphen.h: in the future, the compiler will take precedence" >&2;}
22970
    (
22971
      cat <<\_ASBOX
22972
## ------------------------------------------ ##
22973
## Report this to the AC_PACKAGE_NAME lists.  ##
22974
## ------------------------------------------ ##
22975
_ASBOX
22976
    ) |
22977
      sed "s/^/$as_me: WARNING:     /" >&2
22978
    ;;
22979
esac
22980
echo "$as_me:$LINENO: checking for hyphen.h" >&5
22981
echo $ECHO_N "checking for hyphen.h... $ECHO_C" >&6
22982
if test "${ac_cv_header_hyphen_h+set}" = set; then
22983
  echo $ECHO_N "(cached) $ECHO_C" >&6
22984
else
22985
  ac_cv_header_hyphen_h=$ac_header_preproc
22986
fi
22987
echo "$as_me:$LINENO: result: $ac_cv_header_hyphen_h" >&5
22988
echo "${ECHO_T}$ac_cv_header_hyphen_h" >&6
22989
22990
fi
22991
if test $ac_cv_header_hyphen_h = yes; then
22992
  :
22993
else
22994
   { { echo "$as_me:$LINENO: error: altlinuxhyph headers not found." >&5
22995
echo "$as_me: error: altlinuxhyph headers not found." >&2;}
22996
   { (exit 1); exit 1; }; }
22997
fi
22998
22999
23000
    echo "$as_me:$LINENO: checking for struct _HyphenDict.cset" >&5
23001
echo $ECHO_N "checking for struct _HyphenDict.cset... $ECHO_C" >&6
23002
if test "${ac_cv_member_struct__HyphenDict_cset+set}" = set; then
23003
  echo $ECHO_N "(cached) $ECHO_C" >&6
23004
else
23005
  cat >conftest.$ac_ext <<_ACEOF
23006
/* confdefs.h.  */
23007
_ACEOF
23008
cat confdefs.h >>conftest.$ac_ext
23009
cat >>conftest.$ac_ext <<_ACEOF
23010
/* end confdefs.h.  */
23011
#include <hyphen.h>
23012
23013
int
23014
main ()
23015
{
23016
static struct _HyphenDict ac_aggr;
23017
if (ac_aggr.cset)
23018
return 0;
23019
  ;
23020
  return 0;
23021
}
23022
_ACEOF
23023
rm -f conftest.$ac_objext
23024
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025
  (eval $ac_compile) 2>conftest.er1
23026
  ac_status=$?
23027
  grep -v '^ *+' conftest.er1 >conftest.err
23028
  rm -f conftest.er1
23029
  cat conftest.err >&5
23030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031
  (exit $ac_status); } &&
23032
	 { ac_try='test -z "$ac_c_werror_flag"
23033
			 || test ! -s conftest.err'
23034
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035
  (eval $ac_try) 2>&5
23036
  ac_status=$?
23037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038
  (exit $ac_status); }; } &&
23039
	 { ac_try='test -s conftest.$ac_objext'
23040
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041
  (eval $ac_try) 2>&5
23042
  ac_status=$?
23043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044
  (exit $ac_status); }; }; then
23045
  ac_cv_member_struct__HyphenDict_cset=yes
23046
else
23047
  echo "$as_me: failed program was:" >&5
23048
sed 's/^/| /' conftest.$ac_ext >&5
23049
23050
cat >conftest.$ac_ext <<_ACEOF
23051
/* confdefs.h.  */
23052
_ACEOF
23053
cat confdefs.h >>conftest.$ac_ext
23054
cat >>conftest.$ac_ext <<_ACEOF
23055
/* end confdefs.h.  */
23056
#include <hyphen.h>
23057
23058
int
23059
main ()
23060
{
23061
static struct _HyphenDict ac_aggr;
23062
if (sizeof ac_aggr.cset)
23063
return 0;
23064
  ;
23065
  return 0;
23066
}
23067
_ACEOF
23068
rm -f conftest.$ac_objext
23069
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23070
  (eval $ac_compile) 2>conftest.er1
23071
  ac_status=$?
23072
  grep -v '^ *+' conftest.er1 >conftest.err
23073
  rm -f conftest.er1
23074
  cat conftest.err >&5
23075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076
  (exit $ac_status); } &&
23077
	 { ac_try='test -z "$ac_c_werror_flag"
23078
			 || test ! -s conftest.err'
23079
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080
  (eval $ac_try) 2>&5
23081
  ac_status=$?
23082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083
  (exit $ac_status); }; } &&
23084
	 { ac_try='test -s conftest.$ac_objext'
23085
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086
  (eval $ac_try) 2>&5
23087
  ac_status=$?
23088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089
  (exit $ac_status); }; }; then
23090
  ac_cv_member_struct__HyphenDict_cset=yes
23091
else
23092
  echo "$as_me: failed program was:" >&5
23093
sed 's/^/| /' conftest.$ac_ext >&5
23094
23095
ac_cv_member_struct__HyphenDict_cset=no
23096
fi
23097
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23098
fi
23099
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23100
fi
23101
echo "$as_me:$LINENO: result: $ac_cv_member_struct__HyphenDict_cset" >&5
23102
echo "${ECHO_T}$ac_cv_member_struct__HyphenDict_cset" >&6
23103
if test $ac_cv_member_struct__HyphenDict_cset = yes; then
23104
  :
23105
else
23106
   { { echo "$as_me:$LINENO: error: no. You are sure you have altlinuyhyph headers?" >&5
23107
echo "$as_me: error: no. You are sure you have altlinuyhyph headers?" >&2;}
23108
   { (exit 1); exit 1; }; }
23109
fi
23110
23111
    echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhyphen" >&5
23112
echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhyphen... $ECHO_C" >&6
23113
if test "${ac_cv_lib_hyphen_hnj_hyphen_hyphenate2+set}" = set; then
23114
  echo $ECHO_N "(cached) $ECHO_C" >&6
23115
else
18084
else
23116
  ac_check_lib_save_LIBS=$LIBS
18085
  ac_check_lib_save_LIBS=$LIBS
23117
LIBS="-lhyphen  $LIBS"
18086
LIBS="-lhyphen  $LIBS"
23118
cat >conftest.$ac_ext <<_ACEOF
18087
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23119
/* confdefs.h.  */
18088
/* end confdefs.h.  */
23120
_ACEOF
18089
23121
cat confdefs.h >>conftest.$ac_ext
18090
/* Override any GCC internal prototype to avoid an error.
23122
cat >>conftest.$ac_ext <<_ACEOF
18091
   Use char because int might match the return type of a GCC
23123
/* end confdefs.h.  */
18092
   builtin and then its argument prototype would still apply.  */
23124
23125
/* Override any gcc2 internal prototype to avoid an error.  */
23126
#ifdef __cplusplus
18093
#ifdef __cplusplus
23127
extern "C"
18094
extern "C"
23128
#endif
18095
#endif
23129
/* We use char because int might match the return type of a gcc2
23130
   builtin and then its argument prototype would still apply.  */
23131
char hnj_hyphen_hyphenate2 ();
18096
char hnj_hyphen_hyphenate2 ();
23132
int
18097
int
23133
main ()
18098
main ()
23134
{
18099
{
23135
hnj_hyphen_hyphenate2 ();
18100
return hnj_hyphen_hyphenate2 ();
23136
  ;
18101
  ;
23137
  return 0;
18102
  return 0;
23138
}
18103
}
23139
_ACEOF
18104
_ACEOF
23140
rm -f conftest.$ac_objext conftest$ac_exeext
18105
if ac_fn_c_try_link "$LINENO"; then :
23141
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23142
  (eval $ac_link) 2>conftest.er1
23143
  ac_status=$?
23144
  grep -v '^ *+' conftest.er1 >conftest.err
23145
  rm -f conftest.er1
23146
  cat conftest.err >&5
23147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148
  (exit $ac_status); } &&
23149
	 { ac_try='test -z "$ac_c_werror_flag"
23150
			 || test ! -s conftest.err'
23151
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152
  (eval $ac_try) 2>&5
23153
  ac_status=$?
23154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155
  (exit $ac_status); }; } &&
23156
	 { ac_try='test -s conftest$ac_exeext'
23157
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158
  (eval $ac_try) 2>&5
23159
  ac_status=$?
23160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161
  (exit $ac_status); }; }; then
23162
  ac_cv_lib_hyphen_hnj_hyphen_hyphenate2=yes
18106
  ac_cv_lib_hyphen_hnj_hyphen_hyphenate2=yes
23163
else
18107
else
23164
  echo "$as_me: failed program was:" >&5
18108
  ac_cv_lib_hyphen_hnj_hyphen_hyphenate2=no
23165
sed 's/^/| /' conftest.$ac_ext >&5
18109
fi
23166
18110
rm -f core conftest.err conftest.$ac_objext \
23167
ac_cv_lib_hyphen_hnj_hyphen_hyphenate2=no
18111
    conftest$ac_exeext conftest.$ac_ext
23168
fi
23169
rm -f conftest.err conftest.$ac_objext \
23170
      conftest$ac_exeext conftest.$ac_ext
23171
LIBS=$ac_check_lib_save_LIBS
18112
LIBS=$ac_check_lib_save_LIBS
23172
fi
18113
fi
23173
echo "$as_me:$LINENO: result: $ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&5
18114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&5
23174
echo "${ECHO_T}$ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&6
18115
$as_echo "$ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&6; }
23175
if test $ac_cv_lib_hyphen_hnj_hyphen_hyphenate2 = yes; then
18116
if test "x$ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" = x""yes; then :
23176
  HYPHEN_LIB=-lhyphen
18117
  HYPHEN_LIB=-lhyphen
23177
else
18118
else
23178
   { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
18119
   as_fn_error "altlinuxhyph library not found or too old." "$LINENO" 5
23179
echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
23180
   { (exit 1); exit 1; }; }
23181
fi
18120
fi
23182
18121
23183
    if test -z "$HYPHEN_LIB"; then
18122
    if test -z "$HYPHEN_LIB"; then
23184
       echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhyph" >&5
18123
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hnj_hyphen_hyphenate2 in -lhyph" >&5
23185
echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhyph... $ECHO_C" >&6
18124
$as_echo_n "checking for hnj_hyphen_hyphenate2 in -lhyph... " >&6; }
23186
if test "${ac_cv_lib_hyph_hnj_hyphen_hyphenate2+set}" = set; then
18125
if test "${ac_cv_lib_hyph_hnj_hyphen_hyphenate2+set}" = set; then :
23187
  echo $ECHO_N "(cached) $ECHO_C" >&6
18126
  $as_echo_n "(cached) " >&6
23188
else
18127
else
23189
  ac_check_lib_save_LIBS=$LIBS
18128
  ac_check_lib_save_LIBS=$LIBS
23190
LIBS="-lhyph  $LIBS"
18129
LIBS="-lhyph  $LIBS"
23191
cat >conftest.$ac_ext <<_ACEOF
18130
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192
/* confdefs.h.  */
18131
/* end confdefs.h.  */
23193
_ACEOF
18132
23194
cat confdefs.h >>conftest.$ac_ext
18133
/* Override any GCC internal prototype to avoid an error.
23195
cat >>conftest.$ac_ext <<_ACEOF
18134
   Use char because int might match the return type of a GCC
23196
/* end confdefs.h.  */
18135
   builtin and then its argument prototype would still apply.  */
23197
23198
/* Override any gcc2 internal prototype to avoid an error.  */
23199
#ifdef __cplusplus
18136
#ifdef __cplusplus
23200
extern "C"
18137
extern "C"
23201
#endif
18138
#endif
23202
/* We use char because int might match the return type of a gcc2
23203
   builtin and then its argument prototype would still apply.  */
23204
char hnj_hyphen_hyphenate2 ();
18139
char hnj_hyphen_hyphenate2 ();
23205
int
18140
int
23206
main ()
18141
main ()
23207
{
18142
{
23208
hnj_hyphen_hyphenate2 ();
18143
return hnj_hyphen_hyphenate2 ();
23209
  ;
18144
  ;
23210
  return 0;
18145
  return 0;
23211
}
18146
}
23212
_ACEOF
18147
_ACEOF
23213
rm -f conftest.$ac_objext conftest$ac_exeext
18148
if ac_fn_c_try_link "$LINENO"; then :
23214
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215
  (eval $ac_link) 2>conftest.er1
23216
  ac_status=$?
23217
  grep -v '^ *+' conftest.er1 >conftest.err
23218
  rm -f conftest.er1
23219
  cat conftest.err >&5
23220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221
  (exit $ac_status); } &&
23222
	 { ac_try='test -z "$ac_c_werror_flag"
23223
			 || test ! -s conftest.err'
23224
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225
  (eval $ac_try) 2>&5
23226
  ac_status=$?
23227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228
  (exit $ac_status); }; } &&
23229
	 { ac_try='test -s conftest$ac_exeext'
23230
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231
  (eval $ac_try) 2>&5
23232
  ac_status=$?
23233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234
  (exit $ac_status); }; }; then
23235
  ac_cv_lib_hyph_hnj_hyphen_hyphenate2=yes
18149
  ac_cv_lib_hyph_hnj_hyphen_hyphenate2=yes
23236
else
18150
else
23237
  echo "$as_me: failed program was:" >&5
18151
  ac_cv_lib_hyph_hnj_hyphen_hyphenate2=no
23238
sed 's/^/| /' conftest.$ac_ext >&5
18152
fi
23239
18153
rm -f core conftest.err conftest.$ac_objext \
23240
ac_cv_lib_hyph_hnj_hyphen_hyphenate2=no
18154
    conftest$ac_exeext conftest.$ac_ext
23241
fi
23242
rm -f conftest.err conftest.$ac_objext \
23243
      conftest$ac_exeext conftest.$ac_ext
23244
LIBS=$ac_check_lib_save_LIBS
18155
LIBS=$ac_check_lib_save_LIBS
23245
fi
18156
fi
23246
echo "$as_me:$LINENO: result: $ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&5
18157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&5
23247
echo "${ECHO_T}$ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&6
18158
$as_echo "$ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&6; }
23248
if test $ac_cv_lib_hyph_hnj_hyphen_hyphenate2 = yes; then
18159
if test "x$ac_cv_lib_hyph_hnj_hyphen_hyphenate2" = x""yes; then :
23249
  HYPHEN_LIB=-lhyph
18160
  HYPHEN_LIB=-lhyph
23250
else
18161
else
23251
   { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
18162
   as_fn_error "altlinuxhyph library not found or too old." "$LINENO" 5
23252
echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
23253
   { (exit 1); exit 1; }; }
23254
fi
18163
fi
23255
18164
23256
    fi
18165
    fi
23257
    if test -z "$HYPHEN_LIB"; then
18166
    if test -z "$HYPHEN_LIB"; then
23258
       echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhnj" >&5
18167
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hnj_hyphen_hyphenate2 in -lhnj" >&5
23259
echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhnj... $ECHO_C" >&6
18168
$as_echo_n "checking for hnj_hyphen_hyphenate2 in -lhnj... " >&6; }
23260
if test "${ac_cv_lib_hnj_hnj_hyphen_hyphenate2+set}" = set; then
18169
if test "${ac_cv_lib_hnj_hnj_hyphen_hyphenate2+set}" = set; then :
23261
  echo $ECHO_N "(cached) $ECHO_C" >&6
18170
  $as_echo_n "(cached) " >&6
23262
else
18171
else
23263
  ac_check_lib_save_LIBS=$LIBS
18172
  ac_check_lib_save_LIBS=$LIBS
23264
LIBS="-lhnj  $LIBS"
18173
LIBS="-lhnj  $LIBS"
23265
cat >conftest.$ac_ext <<_ACEOF
18174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266
/* confdefs.h.  */
18175
/* end confdefs.h.  */
23267
_ACEOF
18176
23268
cat confdefs.h >>conftest.$ac_ext
18177
/* Override any GCC internal prototype to avoid an error.
23269
cat >>conftest.$ac_ext <<_ACEOF
18178
   Use char because int might match the return type of a GCC
23270
/* end confdefs.h.  */
18179
   builtin and then its argument prototype would still apply.  */
23271
23272
/* Override any gcc2 internal prototype to avoid an error.  */
23273
#ifdef __cplusplus
18180
#ifdef __cplusplus
23274
extern "C"
18181
extern "C"
23275
#endif
18182
#endif
23276
/* We use char because int might match the return type of a gcc2
23277
   builtin and then its argument prototype would still apply.  */
23278
char hnj_hyphen_hyphenate2 ();
18183
char hnj_hyphen_hyphenate2 ();
23279
int
18184
int
23280
main ()
18185
main ()
23281
{
18186
{
23282
hnj_hyphen_hyphenate2 ();
18187
return hnj_hyphen_hyphenate2 ();
23283
  ;
18188
  ;
23284
  return 0;
18189
  return 0;
23285
}
18190
}
23286
_ACEOF
18191
_ACEOF
23287
rm -f conftest.$ac_objext conftest$ac_exeext
18192
if ac_fn_c_try_link "$LINENO"; then :
23288
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23289
  (eval $ac_link) 2>conftest.er1
23290
  ac_status=$?
23291
  grep -v '^ *+' conftest.er1 >conftest.err
23292
  rm -f conftest.er1
23293
  cat conftest.err >&5
23294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295
  (exit $ac_status); } &&
23296
	 { ac_try='test -z "$ac_c_werror_flag"
23297
			 || test ! -s conftest.err'
23298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299
  (eval $ac_try) 2>&5
23300
  ac_status=$?
23301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302
  (exit $ac_status); }; } &&
23303
	 { ac_try='test -s conftest$ac_exeext'
23304
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305
  (eval $ac_try) 2>&5
23306
  ac_status=$?
23307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308
  (exit $ac_status); }; }; then
23309
  ac_cv_lib_hnj_hnj_hyphen_hyphenate2=yes
18193
  ac_cv_lib_hnj_hnj_hyphen_hyphenate2=yes
23310
else
18194
else
23311
  echo "$as_me: failed program was:" >&5
18195
  ac_cv_lib_hnj_hnj_hyphen_hyphenate2=no
23312
sed 's/^/| /' conftest.$ac_ext >&5
18196
fi
23313
18197
rm -f core conftest.err conftest.$ac_objext \
23314
ac_cv_lib_hnj_hnj_hyphen_hyphenate2=no
18198
    conftest$ac_exeext conftest.$ac_ext
23315
fi
23316
rm -f conftest.err conftest.$ac_objext \
23317
      conftest$ac_exeext conftest.$ac_ext
23318
LIBS=$ac_check_lib_save_LIBS
18199
LIBS=$ac_check_lib_save_LIBS
23319
fi
18200
fi
23320
echo "$as_me:$LINENO: result: $ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&5
18201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&5
23321
echo "${ECHO_T}$ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&6
18202
$as_echo "$ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&6; }
23322
if test $ac_cv_lib_hnj_hnj_hyphen_hyphenate2 = yes; then
18203
if test "x$ac_cv_lib_hnj_hnj_hyphen_hyphenate2" = x""yes; then :
23323
  HYPHEN_LIB=-lhnj
18204
  HYPHEN_LIB=-lhnj
23324
else
18205
else
23325
   { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
18206
   as_fn_error "altlinuxhyph library not found or too old." "$LINENO" 5
23326
echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
18207
fi
23327
   { (exit 1); exit 1; }; }
18208
23328
fi
18209
    fi
23329
18210
else
23330
    fi
18211
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
23331
else
18212
$as_echo "internal" >&6; }
23332
    echo "$as_me:$LINENO: result: internal" >&5
23333
echo "${ECHO_T}internal" >&6
23334
    SYSTEM_HYPH=NO
18213
    SYSTEM_HYPH=NO
23335
    BUILD_TYPE="$BUILD_TYPE HYPHEN"
18214
    BUILD_TYPE="$BUILD_TYPE HYPHEN"
23336
fi
18215
fi
23337
18216
23338
18217
23339
18218
23340
echo "$as_me:$LINENO: checking which mythes to use" >&5
18219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which mythes to use" >&5
23341
echo $ECHO_N "checking which mythes to use... $ECHO_C" >&6
18220
$as_echo_n "checking which mythes to use... " >&6; }
23342
if test -n "$with_system_mythes" && test "$with_system_mythes" != "no"; then
18221
if test -n "$with_system_mythes" && test "$with_system_mythes" != "no"; then
23343
    echo "$as_me:$LINENO: result: external" >&5
18222
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
23344
echo "${ECHO_T}external" >&6
18223
$as_echo "external" >&6; }
23345
    SYSTEM_MYTHES=YES
18224
    SYSTEM_MYTHES=YES
23346
    if test "${ac_cv_header_mythes_hxx+set}" = set; then
18225
    ac_fn_c_check_header_mongrel "$LINENO" "mythes.hxx" "ac_cv_header_mythes_hxx" "$ac_includes_default"
23347
  echo "$as_me:$LINENO: checking for mythes.hxx" >&5
18226
if test "x$ac_cv_header_mythes_hxx" = x""yes; then :
23348
echo $ECHO_N "checking for mythes.hxx... $ECHO_C" >&6
18227
23349
if test "${ac_cv_header_mythes_hxx+set}" = set; then
18228
else
23350
  echo $ECHO_N "(cached) $ECHO_C" >&6
18229
   as_fn_error "mythes.hxx headers not found." "$LINENO" 5
23351
fi
18230
fi
23352
echo "$as_me:$LINENO: result: $ac_cv_header_mythes_hxx" >&5
18231
23353
echo "${ECHO_T}$ac_cv_header_mythes_hxx" >&6
18232
23354
else
18233
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmythes" >&5
23355
  # Is the header compilable?
18234
$as_echo_n "checking for main in -lmythes... " >&6; }
23356
echo "$as_me:$LINENO: checking mythes.hxx usability" >&5
18235
if test "${ac_cv_lib_mythes_main+set}" = set; then :
23357
echo $ECHO_N "checking mythes.hxx usability... $ECHO_C" >&6
18236
  $as_echo_n "(cached) " >&6
23358
cat >conftest.$ac_ext <<_ACEOF
23359
/* confdefs.h.  */
23360
_ACEOF
23361
cat confdefs.h >>conftest.$ac_ext
23362
cat >>conftest.$ac_ext <<_ACEOF
23363
/* end confdefs.h.  */
23364
$ac_includes_default
23365
#include <mythes.hxx>
23366
_ACEOF
23367
rm -f conftest.$ac_objext
23368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23369
  (eval $ac_compile) 2>conftest.er1
23370
  ac_status=$?
23371
  grep -v '^ *+' conftest.er1 >conftest.err
23372
  rm -f conftest.er1
23373
  cat conftest.err >&5
23374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375
  (exit $ac_status); } &&
23376
	 { ac_try='test -z "$ac_c_werror_flag"
23377
			 || test ! -s conftest.err'
23378
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379
  (eval $ac_try) 2>&5
23380
  ac_status=$?
23381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382
  (exit $ac_status); }; } &&
23383
	 { ac_try='test -s conftest.$ac_objext'
23384
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385
  (eval $ac_try) 2>&5
23386
  ac_status=$?
23387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388
  (exit $ac_status); }; }; then
23389
  ac_header_compiler=yes
23390
else
23391
  echo "$as_me: failed program was:" >&5
23392
sed 's/^/| /' conftest.$ac_ext >&5
23393
23394
ac_header_compiler=no
23395
fi
23396
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23397
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23398
echo "${ECHO_T}$ac_header_compiler" >&6
23399
23400
# Is the header present?
23401
echo "$as_me:$LINENO: checking mythes.hxx presence" >&5
23402
echo $ECHO_N "checking mythes.hxx presence... $ECHO_C" >&6
23403
cat >conftest.$ac_ext <<_ACEOF
23404
/* confdefs.h.  */
23405
_ACEOF
23406
cat confdefs.h >>conftest.$ac_ext
23407
cat >>conftest.$ac_ext <<_ACEOF
23408
/* end confdefs.h.  */
23409
#include <mythes.hxx>
23410
_ACEOF
23411
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23412
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23413
  ac_status=$?
23414
  grep -v '^ *+' conftest.er1 >conftest.err
23415
  rm -f conftest.er1
23416
  cat conftest.err >&5
23417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418
  (exit $ac_status); } >/dev/null; then
23419
  if test -s conftest.err; then
23420
    ac_cpp_err=$ac_c_preproc_warn_flag
23421
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23422
  else
23423
    ac_cpp_err=
23424
  fi
23425
else
23426
  ac_cpp_err=yes
23427
fi
23428
if test -z "$ac_cpp_err"; then
23429
  ac_header_preproc=yes
23430
else
23431
  echo "$as_me: failed program was:" >&5
23432
sed 's/^/| /' conftest.$ac_ext >&5
23433
23434
  ac_header_preproc=no
23435
fi
23436
rm -f conftest.err conftest.$ac_ext
23437
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23438
echo "${ECHO_T}$ac_header_preproc" >&6
23439
23440
# So?  What about this header?
23441
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23442
  yes:no: )
23443
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
23444
echo "$as_me: WARNING: mythes.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
23445
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: proceeding with the compiler's result" >&5
23446
echo "$as_me: WARNING: mythes.hxx: proceeding with the compiler's result" >&2;}
23447
    ac_header_preproc=yes
23448
    ;;
23449
  no:yes:* )
23450
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: present but cannot be compiled" >&5
23451
echo "$as_me: WARNING: mythes.hxx: present but cannot be compiled" >&2;}
23452
    { echo "$as_me:$LINENO: WARNING: mythes.hxx:     check for missing prerequisite headers?" >&5
23453
echo "$as_me: WARNING: mythes.hxx:     check for missing prerequisite headers?" >&2;}
23454
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: see the Autoconf documentation" >&5
23455
echo "$as_me: WARNING: mythes.hxx: see the Autoconf documentation" >&2;}
23456
    { echo "$as_me:$LINENO: WARNING: mythes.hxx:     section \"Present But Cannot Be Compiled\"" >&5
23457
echo "$as_me: WARNING: mythes.hxx:     section \"Present But Cannot Be Compiled\"" >&2;}
23458
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: proceeding with the preprocessor's result" >&5
23459
echo "$as_me: WARNING: mythes.hxx: proceeding with the preprocessor's result" >&2;}
23460
    { echo "$as_me:$LINENO: WARNING: mythes.hxx: in the future, the compiler will take precedence" >&5
23461
echo "$as_me: WARNING: mythes.hxx: in the future, the compiler will take precedence" >&2;}
23462
    (
23463
      cat <<\_ASBOX
23464
## ------------------------------------------ ##
23465
## Report this to the AC_PACKAGE_NAME lists.  ##
23466
## ------------------------------------------ ##
23467
_ASBOX
23468
    ) |
23469
      sed "s/^/$as_me: WARNING:     /" >&2
23470
    ;;
23471
esac
23472
echo "$as_me:$LINENO: checking for mythes.hxx" >&5
23473
echo $ECHO_N "checking for mythes.hxx... $ECHO_C" >&6
23474
if test "${ac_cv_header_mythes_hxx+set}" = set; then
23475
  echo $ECHO_N "(cached) $ECHO_C" >&6
23476
else
23477
  ac_cv_header_mythes_hxx=$ac_header_preproc
23478
fi
23479
echo "$as_me:$LINENO: result: $ac_cv_header_mythes_hxx" >&5
23480
echo "${ECHO_T}$ac_cv_header_mythes_hxx" >&6
23481
23482
fi
23483
if test $ac_cv_header_mythes_hxx = yes; then
23484
  :
23485
else
23486
   { { echo "$as_me:$LINENO: error: mythes.hxx headers not found." >&5
23487
echo "$as_me: error: mythes.hxx headers not found." >&2;}
23488
   { (exit 1); exit 1; }; }
23489
fi
23490
23491
23492
23493
echo "$as_me:$LINENO: checking for main in -lmythes" >&5
23494
echo $ECHO_N "checking for main in -lmythes... $ECHO_C" >&6
23495
if test "${ac_cv_lib_mythes_main+set}" = set; then
23496
  echo $ECHO_N "(cached) $ECHO_C" >&6
23497
else
18237
else
23498
  ac_check_lib_save_LIBS=$LIBS
18238
  ac_check_lib_save_LIBS=$LIBS
23499
LIBS="-lmythes  $LIBS"
18239
LIBS="-lmythes  $LIBS"
23500
cat >conftest.$ac_ext <<_ACEOF
18240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23501
/* confdefs.h.  */
18241
/* end confdefs.h.  */
23502
_ACEOF
18242
23503
cat confdefs.h >>conftest.$ac_ext
18243
23504
cat >>conftest.$ac_ext <<_ACEOF
18244
int
23505
/* end confdefs.h.  */
18245
main ()
23506
18246
{
23507
18247
return main ();
23508
int
18248
  ;
23509
main ()
18249
  return 0;
23510
{
18250
}
23511
main ();
18251
_ACEOF
23512
  ;
18252
if ac_fn_c_try_link "$LINENO"; then :
23513
  return 0;
23514
}
23515
_ACEOF
23516
rm -f conftest.$ac_objext conftest$ac_exeext
23517
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23518
  (eval $ac_link) 2>conftest.er1
23519
  ac_status=$?
23520
  grep -v '^ *+' conftest.er1 >conftest.err
23521
  rm -f conftest.er1
23522
  cat conftest.err >&5
23523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524
  (exit $ac_status); } &&
23525
	 { ac_try='test -z "$ac_c_werror_flag"
23526
			 || test ! -s conftest.err'
23527
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23528
  (eval $ac_try) 2>&5
23529
  ac_status=$?
23530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531
  (exit $ac_status); }; } &&
23532
	 { ac_try='test -s conftest$ac_exeext'
23533
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534
  (eval $ac_try) 2>&5
23535
  ac_status=$?
23536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537
  (exit $ac_status); }; }; then
23538
  ac_cv_lib_mythes_main=yes
18253
  ac_cv_lib_mythes_main=yes
23539
else
18254
else
23540
  echo "$as_me: failed program was:" >&5
18255
  ac_cv_lib_mythes_main=no
23541
sed 's/^/| /' conftest.$ac_ext >&5
18256
fi
23542
18257
rm -f core conftest.err conftest.$ac_objext \
23543
ac_cv_lib_mythes_main=no
18258
    conftest$ac_exeext conftest.$ac_ext
23544
fi
23545
rm -f conftest.err conftest.$ac_objext \
23546
      conftest$ac_exeext conftest.$ac_ext
23547
LIBS=$ac_check_lib_save_LIBS
18259
LIBS=$ac_check_lib_save_LIBS
23548
fi
18260
fi
23549
echo "$as_me:$LINENO: result: $ac_cv_lib_mythes_main" >&5
18261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mythes_main" >&5
23550
echo "${ECHO_T}$ac_cv_lib_mythes_main" >&6
18262
$as_echo "$ac_cv_lib_mythes_main" >&6; }
23551
if test $ac_cv_lib_mythes_main = yes; then
18263
if test "x$ac_cv_lib_mythes_main" = x""yes; then :
23552
  cat >>confdefs.h <<_ACEOF
18264
  cat >>confdefs.h <<_ACEOF
23553
#define HAVE_LIBMYTHES 1
18265
#define HAVE_LIBMYTHES 1
23554
_ACEOF
18266
_ACEOF
Lines 23556-23792 Link Here
23556
  LIBS="-lmythes $LIBS"
18268
  LIBS="-lmythes $LIBS"
23557
18269
23558
else
18270
else
23559
   { { echo "$as_me:$LINENO: error: mythes library not found." >&5
18271
   as_fn_error "mythes library not found." "$LINENO" 5
23560
echo "$as_me: error: mythes library not found." >&2;}
18272
fi
23561
   { (exit 1); exit 1; }; }
18273
23562
fi
18274
else
23563
18275
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
23564
else
18276
$as_echo "internal" >&6; }
23565
    echo "$as_me:$LINENO: result: internal" >&5
23566
echo "${ECHO_T}internal" >&6
23567
    SYSTEM_MYTHES=NO
18277
    SYSTEM_MYTHES=NO
23568
fi
18278
fi
23569
18279
23570
18280
23571
echo "$as_me:$LINENO: checking which lpsolve to use" >&5
18281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which lpsolve to use" >&5
23572
echo $ECHO_N "checking which lpsolve to use... $ECHO_C" >&6
18282
$as_echo_n "checking which lpsolve to use... " >&6; }
23573
if test -n "$with_system_lpsolve" -o -n "$with_system_libs" && \
18283
if test -n "$with_system_lpsolve" -o -n "$with_system_libs" && \
23574
	test "$with_system_lpsolve" != "no"; then
18284
	test "$with_system_lpsolve" != "no"; then
23575
    echo "$as_me:$LINENO: result: external" >&5
18285
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
23576
echo "${ECHO_T}external" >&6
18286
$as_echo "external" >&6; }
23577
    SYSTEM_LPSOLVE=YES
18287
    SYSTEM_LPSOLVE=YES
23578
    if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
18288
    ac_fn_c_check_header_mongrel "$LINENO" "lpsolve/lp_lib.h" "ac_cv_header_lpsolve_lp_lib_h" "$ac_includes_default"
23579
  echo "$as_me:$LINENO: checking for lpsolve/lp_lib.h" >&5
18289
if test "x$ac_cv_header_lpsolve_lp_lib_h" = x""yes; then :
23580
echo $ECHO_N "checking for lpsolve/lp_lib.h... $ECHO_C" >&6
18290
23581
if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
18291
else
23582
  echo $ECHO_N "(cached) $ECHO_C" >&6
18292
   as_fn_error "lpsolve headers not found." "$LINENO" 5
23583
fi
18293
fi
23584
echo "$as_me:$LINENO: result: $ac_cv_header_lpsolve_lp_lib_h" >&5
18294
23585
echo "${ECHO_T}$ac_cv_header_lpsolve_lp_lib_h" >&6
18295
23586
else
18296
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for make_lp in -llpsolve55" >&5
23587
  # Is the header compilable?
18297
$as_echo_n "checking for make_lp in -llpsolve55... " >&6; }
23588
echo "$as_me:$LINENO: checking lpsolve/lp_lib.h usability" >&5
18298
if test "${ac_cv_lib_lpsolve55_make_lp+set}" = set; then :
23589
echo $ECHO_N "checking lpsolve/lp_lib.h usability... $ECHO_C" >&6
18299
  $as_echo_n "(cached) " >&6
23590
cat >conftest.$ac_ext <<_ACEOF
23591
/* confdefs.h.  */
23592
_ACEOF
23593
cat confdefs.h >>conftest.$ac_ext
23594
cat >>conftest.$ac_ext <<_ACEOF
23595
/* end confdefs.h.  */
23596
$ac_includes_default
23597
#include <lpsolve/lp_lib.h>
23598
_ACEOF
23599
rm -f conftest.$ac_objext
23600
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23601
  (eval $ac_compile) 2>conftest.er1
23602
  ac_status=$?
23603
  grep -v '^ *+' conftest.er1 >conftest.err
23604
  rm -f conftest.er1
23605
  cat conftest.err >&5
23606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607
  (exit $ac_status); } &&
23608
	 { ac_try='test -z "$ac_c_werror_flag"
23609
			 || test ! -s conftest.err'
23610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611
  (eval $ac_try) 2>&5
23612
  ac_status=$?
23613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614
  (exit $ac_status); }; } &&
23615
	 { ac_try='test -s conftest.$ac_objext'
23616
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617
  (eval $ac_try) 2>&5
23618
  ac_status=$?
23619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620
  (exit $ac_status); }; }; then
23621
  ac_header_compiler=yes
23622
else
23623
  echo "$as_me: failed program was:" >&5
23624
sed 's/^/| /' conftest.$ac_ext >&5
23625
23626
ac_header_compiler=no
23627
fi
23628
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23629
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23630
echo "${ECHO_T}$ac_header_compiler" >&6
23631
23632
# Is the header present?
23633
echo "$as_me:$LINENO: checking lpsolve/lp_lib.h presence" >&5
23634
echo $ECHO_N "checking lpsolve/lp_lib.h presence... $ECHO_C" >&6
23635
cat >conftest.$ac_ext <<_ACEOF
23636
/* confdefs.h.  */
23637
_ACEOF
23638
cat confdefs.h >>conftest.$ac_ext
23639
cat >>conftest.$ac_ext <<_ACEOF
23640
/* end confdefs.h.  */
23641
#include <lpsolve/lp_lib.h>
23642
_ACEOF
23643
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23644
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23645
  ac_status=$?
23646
  grep -v '^ *+' conftest.er1 >conftest.err
23647
  rm -f conftest.er1
23648
  cat conftest.err >&5
23649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650
  (exit $ac_status); } >/dev/null; then
23651
  if test -s conftest.err; then
23652
    ac_cpp_err=$ac_c_preproc_warn_flag
23653
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23654
  else
23655
    ac_cpp_err=
23656
  fi
23657
else
23658
  ac_cpp_err=yes
23659
fi
23660
if test -z "$ac_cpp_err"; then
23661
  ac_header_preproc=yes
23662
else
23663
  echo "$as_me: failed program was:" >&5
23664
sed 's/^/| /' conftest.$ac_ext >&5
23665
23666
  ac_header_preproc=no
23667
fi
23668
rm -f conftest.err conftest.$ac_ext
23669
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23670
echo "${ECHO_T}$ac_header_preproc" >&6
23671
23672
# So?  What about this header?
23673
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23674
  yes:no: )
23675
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23676
echo "$as_me: WARNING: lpsolve/lp_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23677
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: proceeding with the compiler's result" >&5
23678
echo "$as_me: WARNING: lpsolve/lp_lib.h: proceeding with the compiler's result" >&2;}
23679
    ac_header_preproc=yes
23680
    ;;
23681
  no:yes:* )
23682
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: present but cannot be compiled" >&5
23683
echo "$as_me: WARNING: lpsolve/lp_lib.h: present but cannot be compiled" >&2;}
23684
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h:     check for missing prerequisite headers?" >&5
23685
echo "$as_me: WARNING: lpsolve/lp_lib.h:     check for missing prerequisite headers?" >&2;}
23686
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: see the Autoconf documentation" >&5
23687
echo "$as_me: WARNING: lpsolve/lp_lib.h: see the Autoconf documentation" >&2;}
23688
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h:     section \"Present But Cannot Be Compiled\"" >&5
23689
echo "$as_me: WARNING: lpsolve/lp_lib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23690
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: proceeding with the preprocessor's result" >&5
23691
echo "$as_me: WARNING: lpsolve/lp_lib.h: proceeding with the preprocessor's result" >&2;}
23692
    { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: in the future, the compiler will take precedence" >&5
23693
echo "$as_me: WARNING: lpsolve/lp_lib.h: in the future, the compiler will take precedence" >&2;}
23694
    (
23695
      cat <<\_ASBOX
23696
## ------------------------------------------ ##
23697
## Report this to the AC_PACKAGE_NAME lists.  ##
23698
## ------------------------------------------ ##
23699
_ASBOX
23700
    ) |
23701
      sed "s/^/$as_me: WARNING:     /" >&2
23702
    ;;
23703
esac
23704
echo "$as_me:$LINENO: checking for lpsolve/lp_lib.h" >&5
23705
echo $ECHO_N "checking for lpsolve/lp_lib.h... $ECHO_C" >&6
23706
if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
23707
  echo $ECHO_N "(cached) $ECHO_C" >&6
23708
else
23709
  ac_cv_header_lpsolve_lp_lib_h=$ac_header_preproc
23710
fi
23711
echo "$as_me:$LINENO: result: $ac_cv_header_lpsolve_lp_lib_h" >&5
23712
echo "${ECHO_T}$ac_cv_header_lpsolve_lp_lib_h" >&6
23713
23714
fi
23715
if test $ac_cv_header_lpsolve_lp_lib_h = yes; then
23716
  :
23717
else
23718
   { { echo "$as_me:$LINENO: error: lpsolve headers not found." >&5
23719
echo "$as_me: error: lpsolve headers not found." >&2;}
23720
   { (exit 1); exit 1; }; }
23721
fi
23722
23723
23724
23725
echo "$as_me:$LINENO: checking for make_lp in -llpsolve55" >&5
23726
echo $ECHO_N "checking for make_lp in -llpsolve55... $ECHO_C" >&6
23727
if test "${ac_cv_lib_lpsolve55_make_lp+set}" = set; then
23728
  echo $ECHO_N "(cached) $ECHO_C" >&6
23729
else
18300
else
23730
  ac_check_lib_save_LIBS=$LIBS
18301
  ac_check_lib_save_LIBS=$LIBS
23731
LIBS="-llpsolve55  $LIBS"
18302
LIBS="-llpsolve55  $LIBS"
23732
cat >conftest.$ac_ext <<_ACEOF
18303
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23733
/* confdefs.h.  */
18304
/* end confdefs.h.  */
23734
_ACEOF
18305
23735
cat confdefs.h >>conftest.$ac_ext
18306
/* Override any GCC internal prototype to avoid an error.
23736
cat >>conftest.$ac_ext <<_ACEOF
18307
   Use char because int might match the return type of a GCC
23737
/* end confdefs.h.  */
18308
   builtin and then its argument prototype would still apply.  */
23738
23739
/* Override any gcc2 internal prototype to avoid an error.  */
23740
#ifdef __cplusplus
18309
#ifdef __cplusplus
23741
extern "C"
18310
extern "C"
23742
#endif
18311
#endif
23743
/* We use char because int might match the return type of a gcc2
23744
   builtin and then its argument prototype would still apply.  */
23745
char make_lp ();
18312
char make_lp ();
23746
int
18313
int
23747
main ()
18314
main ()
23748
{
18315
{
23749
make_lp ();
18316
return make_lp ();
23750
  ;
18317
  ;
23751
  return 0;
18318
  return 0;
23752
}
18319
}
23753
_ACEOF
18320
_ACEOF
23754
rm -f conftest.$ac_objext conftest$ac_exeext
18321
if ac_fn_c_try_link "$LINENO"; then :
23755
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23756
  (eval $ac_link) 2>conftest.er1
23757
  ac_status=$?
23758
  grep -v '^ *+' conftest.er1 >conftest.err
23759
  rm -f conftest.er1
23760
  cat conftest.err >&5
23761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762
  (exit $ac_status); } &&
23763
	 { ac_try='test -z "$ac_c_werror_flag"
23764
			 || test ! -s conftest.err'
23765
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766
  (eval $ac_try) 2>&5
23767
  ac_status=$?
23768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769
  (exit $ac_status); }; } &&
23770
	 { ac_try='test -s conftest$ac_exeext'
23771
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772
  (eval $ac_try) 2>&5
23773
  ac_status=$?
23774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775
  (exit $ac_status); }; }; then
23776
  ac_cv_lib_lpsolve55_make_lp=yes
18322
  ac_cv_lib_lpsolve55_make_lp=yes
23777
else
18323
else
23778
  echo "$as_me: failed program was:" >&5
18324
  ac_cv_lib_lpsolve55_make_lp=no
23779
sed 's/^/| /' conftest.$ac_ext >&5
18325
fi
23780
18326
rm -f core conftest.err conftest.$ac_objext \
23781
ac_cv_lib_lpsolve55_make_lp=no
18327
    conftest$ac_exeext conftest.$ac_ext
23782
fi
23783
rm -f conftest.err conftest.$ac_objext \
23784
      conftest$ac_exeext conftest.$ac_ext
23785
LIBS=$ac_check_lib_save_LIBS
18328
LIBS=$ac_check_lib_save_LIBS
23786
fi
18329
fi
23787
echo "$as_me:$LINENO: result: $ac_cv_lib_lpsolve55_make_lp" >&5
18330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lpsolve55_make_lp" >&5
23788
echo "${ECHO_T}$ac_cv_lib_lpsolve55_make_lp" >&6
18331
$as_echo "$ac_cv_lib_lpsolve55_make_lp" >&6; }
23789
if test $ac_cv_lib_lpsolve55_make_lp = yes; then
18332
if test "x$ac_cv_lib_lpsolve55_make_lp" = x""yes; then :
23790
  cat >>confdefs.h <<_ACEOF
18333
  cat >>confdefs.h <<_ACEOF
23791
#define HAVE_LIBLPSOLVE55 1
18334
#define HAVE_LIBLPSOLVE55 1
23792
_ACEOF
18335
_ACEOF
Lines 23794-23898 Link Here
23794
  LIBS="-llpsolve55 $LIBS"
18337
  LIBS="-llpsolve55 $LIBS"
23795
18338
23796
else
18339
else
23797
   { { echo "$as_me:$LINENO: error: lpsolve library not found or too old." >&5
18340
   as_fn_error "lpsolve library not found or too old." "$LINENO" 5
23798
echo "$as_me: error: lpsolve library not found or too old." >&2;}
18341
fi
23799
   { (exit 1); exit 1; }; }
18342
23800
fi
18343
else
23801
18344
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
23802
else
18345
$as_echo "internal" >&6; }
23803
    echo "$as_me:$LINENO: result: internal" >&5
23804
echo "${ECHO_T}internal" >&6
23805
    SYSTEM_LPSOLVE=NO
18346
    SYSTEM_LPSOLVE=NO
23806
    BUILD_TYPE="$BUILD_TYPE LPSOLVE"
18347
    BUILD_TYPE="$BUILD_TYPE LPSOLVE"
23807
fi
18348
fi
23808
18349
23809
18350
23810
if test "$_os" = "Linux"; then
18351
if test "$_os" = "Linux"; then
23811
   echo "$as_me:$LINENO: checking whether libc is >= 2.1.1" >&5
18352
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libc is >= 2.1.1" >&5
23812
echo $ECHO_N "checking whether libc is >= 2.1.1... $ECHO_C" >&6
18353
$as_echo_n "checking whether libc is >= 2.1.1... " >&6; }
23813
   exec 6>/dev/null # no output
18354
   exec 6>/dev/null # no output
23814
   echo "$as_me:$LINENO: checking for gnu_get_libc_version in -lc" >&5
18355
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnu_get_libc_version in -lc" >&5
23815
echo $ECHO_N "checking for gnu_get_libc_version in -lc... $ECHO_C" >&6
18356
$as_echo_n "checking for gnu_get_libc_version in -lc... " >&6; }
23816
if test "${ac_cv_lib_c_gnu_get_libc_version+set}" = set; then
18357
if test "${ac_cv_lib_c_gnu_get_libc_version+set}" = set; then :
23817
  echo $ECHO_N "(cached) $ECHO_C" >&6
18358
  $as_echo_n "(cached) " >&6
23818
else
18359
else
23819
  ac_check_lib_save_LIBS=$LIBS
18360
  ac_check_lib_save_LIBS=$LIBS
23820
LIBS="-lc  $LIBS"
18361
LIBS="-lc  $LIBS"
23821
cat >conftest.$ac_ext <<_ACEOF
18362
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23822
/* confdefs.h.  */
18363
/* end confdefs.h.  */
23823
_ACEOF
18364
23824
cat confdefs.h >>conftest.$ac_ext
18365
/* Override any GCC internal prototype to avoid an error.
23825
cat >>conftest.$ac_ext <<_ACEOF
18366
   Use char because int might match the return type of a GCC
23826
/* end confdefs.h.  */
18367
   builtin and then its argument prototype would still apply.  */
23827
23828
/* Override any gcc2 internal prototype to avoid an error.  */
23829
#ifdef __cplusplus
18368
#ifdef __cplusplus
23830
extern "C"
18369
extern "C"
23831
#endif
18370
#endif
23832
/* We use char because int might match the return type of a gcc2
23833
   builtin and then its argument prototype would still apply.  */
23834
char gnu_get_libc_version ();
18371
char gnu_get_libc_version ();
23835
int
18372
int
23836
main ()
18373
main ()
23837
{
18374
{
23838
gnu_get_libc_version ();
18375
return gnu_get_libc_version ();
23839
  ;
18376
  ;
23840
  return 0;
18377
  return 0;
23841
}
18378
}
23842
_ACEOF
18379
_ACEOF
23843
rm -f conftest.$ac_objext conftest$ac_exeext
18380
if ac_fn_c_try_link "$LINENO"; then :
23844
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23845
  (eval $ac_link) 2>conftest.er1
23846
  ac_status=$?
23847
  grep -v '^ *+' conftest.er1 >conftest.err
23848
  rm -f conftest.er1
23849
  cat conftest.err >&5
23850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851
  (exit $ac_status); } &&
23852
	 { ac_try='test -z "$ac_c_werror_flag"
23853
			 || test ! -s conftest.err'
23854
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855
  (eval $ac_try) 2>&5
23856
  ac_status=$?
23857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858
  (exit $ac_status); }; } &&
23859
	 { ac_try='test -s conftest$ac_exeext'
23860
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861
  (eval $ac_try) 2>&5
23862
  ac_status=$?
23863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864
  (exit $ac_status); }; }; then
23865
  ac_cv_lib_c_gnu_get_libc_version=yes
18381
  ac_cv_lib_c_gnu_get_libc_version=yes
23866
else
18382
else
23867
  echo "$as_me: failed program was:" >&5
18383
  ac_cv_lib_c_gnu_get_libc_version=no
23868
sed 's/^/| /' conftest.$ac_ext >&5
18384
fi
23869
18385
rm -f core conftest.err conftest.$ac_objext \
23870
ac_cv_lib_c_gnu_get_libc_version=no
18386
    conftest$ac_exeext conftest.$ac_ext
23871
fi
23872
rm -f conftest.err conftest.$ac_objext \
23873
      conftest$ac_exeext conftest.$ac_ext
23874
LIBS=$ac_check_lib_save_LIBS
18387
LIBS=$ac_check_lib_save_LIBS
23875
fi
18388
fi
23876
echo "$as_me:$LINENO: result: $ac_cv_lib_c_gnu_get_libc_version" >&5
18389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gnu_get_libc_version" >&5
23877
echo "${ECHO_T}$ac_cv_lib_c_gnu_get_libc_version" >&6
18390
$as_echo "$ac_cv_lib_c_gnu_get_libc_version" >&6; }
23878
if test $ac_cv_lib_c_gnu_get_libc_version = yes; then
18391
if test "x$ac_cv_lib_c_gnu_get_libc_version" = x""yes; then :
23879
  HAVE_LIBC=yes; export HAVE_LIBC
18392
  HAVE_LIBC=yes; export HAVE_LIBC
23880
fi
18393
fi
23881
18394
23882
   exec 6>&1 # output on again
18395
   exec 6>&1 # output on again
23883
   if test "$HAVE_LIBC"; then
18396
   if test "$HAVE_LIBC"; then
23884
      echo "$as_me:$LINENO: result: yes" >&5
18397
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23885
echo "${ECHO_T}yes" >&6
18398
$as_echo "yes" >&6; }
23886
   else
18399
   else
23887
      { { echo "$as_me:$LINENO: error: no, upgrade libc" >&5
18400
      as_fn_error "no, upgrade libc" "$LINENO" 5
23888
echo "$as_me: error: no, upgrade libc" >&2;}
23889
   { (exit 1); exit 1; }; }
23890
   fi
18401
   fi
23891
fi
18402
fi
23892
18403
23893
if test \( "$_os" = "WINNT" \) ; then
18404
if test \( "$_os" = "WINNT" \) ; then
23894
	echo "$as_me:$LINENO: checking for PSDK files" >&5
18405
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PSDK files" >&5
23895
echo $ECHO_N "checking for PSDK files... $ECHO_C" >&6
18406
$as_echo_n "checking for PSDK files... " >&6; }
23896
	if test -z "$with_psdk_home"; then
18407
	if test -z "$with_psdk_home"; then
23897
		# This first line will detect a February 2003 Microsoft Platform SDK
18408
		# This first line will detect a February 2003 Microsoft Platform SDK
23898
		PSDK_HOME=`./oowintool --psdk-home`
18409
		PSDK_HOME=`./oowintool --psdk-home`
Lines 23913-23931 Link Here
23913
        PSDK_HOME=`echo $PSDK_HOME | $SED 's/\/$//'`
18424
        PSDK_HOME=`echo $PSDK_HOME | $SED 's/\/$//'`
23914
    # Problem with current PSDK (iz 49865)
18425
    # Problem with current PSDK (iz 49865)
23915
    if test -f "$PSDK_HOME/Lib/libcp.lib"; then
18426
    if test -f "$PSDK_HOME/Lib/libcp.lib"; then
23916
        { { echo "$as_me:$LINENO: error:
18427
        as_fn_error "
23917
18428
23918
Some modules do not build correctly with MS Platform SDK - April 2005
18429
Some modules do not build correctly with MS Platform SDK - April 2005
23919
Edition if the library ($PSDK_HOME/Lib/libcp.lib) is found.
18430
Edition if the library ($PSDK_HOME/Lib/libcp.lib) is found.
23920
Remove/rename/backup that file and restart configure. Details about this
18431
Remove/rename/backup that file and restart configure. Details about this
23921
problem can be found in issue 49856." >&5
18432
problem can be found in issue 49856." "$LINENO" 5
23922
echo "$as_me: error:
23923
23924
Some modules do not build correctly with MS Platform SDK - April 2005
23925
Edition if the library ($PSDK_HOME/Lib/libcp.lib) is found.
23926
Remove/rename/backup that file and restart configure. Details about this
23927
problem can be found in issue 49856." >&2;}
23928
   { (exit 1); exit 1; }; }
23929
    fi
18433
    fi
23930
# WIndows SDK has different headers
18434
# WIndows SDK has different headers
23931
	if test \( -f "$PSDK_HOME/Include/adoint.h" \) \
18435
	if test \( -f "$PSDK_HOME/Include/adoint.h" \) \
Lines 23941-23981 Link Here
23941
		HAVE_PSDK_LIB="no"
18445
		HAVE_PSDK_LIB="no"
23942
	fi
18446
	fi
23943
    if test "$HAVE_PSDK_H" = "no" -o "$HAVE_PSDK_LIB" = "no"; then
18447
    if test "$HAVE_PSDK_H" = "no" -o "$HAVE_PSDK_LIB" = "no"; then
23944
        { { echo "$as_me:$LINENO: error: Some (all?) PSDK files not found, please check if all needed Platform SDKs
18448
        as_fn_error "Some (all?) PSDK files not found, please check if all needed Platform SDKs
23945
are installed or use --with-psdk-home ." >&5
18449
are installed or use --with-psdk-home ." "$LINENO" 5
23946
echo "$as_me: error: Some (all?) PSDK files not found, please check if all needed Platform SDKs
23947
are installed or use --with-psdk-home ." >&2;}
23948
   { (exit 1); exit 1; }; }
23949
    fi
18450
    fi
23950
    if test ! -x "$PSDK_HOME/bin/msiinfo.exe" \
18451
    if test ! -x "$PSDK_HOME/bin/msiinfo.exe" \
23951
         -o ! -x "$PSDK_HOME/bin/msidb.exe" \
18452
         -o ! -x "$PSDK_HOME/bin/msidb.exe" \
23952
         -o ! -x "$PSDK_HOME/bin/uuidgen.exe" \
18453
         -o ! -x "$PSDK_HOME/bin/uuidgen.exe" \
23953
         -o ! -x "$PSDK_HOME/bin/msitran.exe" ; then
18454
         -o ! -x "$PSDK_HOME/bin/msitran.exe" ; then
23954
        { { echo "$as_me:$LINENO: error: Some (all) files of the Windows Installer SDK are missing, please install." >&5
18455
        as_fn_error "Some (all) files of the Windows Installer SDK are missing, please install." "$LINENO" 5
23955
echo "$as_me: error: Some (all) files of the Windows Installer SDK are missing, please install." >&2;}
18456
    fi
23956
   { (exit 1); exit 1; }; }
18457
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK files found ...)" >&5
23957
    fi
18458
$as_echo "SDK files found ...)" >&6; }
23958
    echo "$as_me:$LINENO: result: SDK files found ...)" >&5
23959
echo "${ECHO_T}SDK files found ...)" >&6
23960
    if echo $PSDK_HOME | grep "v6.1" >/dev/null 2>/dev/null; then
18459
    if echo $PSDK_HOME | grep "v6.1" >/dev/null 2>/dev/null; then
23961
        echo "$as_me:$LINENO: result: Found Windows SDK 6.1 ($PSDK_HOME)" >&5
18460
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found Windows SDK 6.1 ($PSDK_HOME)" >&5
23962
echo "${ECHO_T}Found Windows SDK 6.1 ($PSDK_HOME)" >&6
18461
$as_echo "Found Windows SDK 6.1 ($PSDK_HOME)" >&6; }
23963
        WINDOWS_VISTA_PSDK=TRUE
18462
        WINDOWS_VISTA_PSDK=TRUE
23964
    elif echo $PSDK_HOME | grep "v6.0" >/dev/null 2>/dev/null; then
18463
    elif echo $PSDK_HOME | grep "v6.0" >/dev/null 2>/dev/null; then
23965
        echo "$as_me:$LINENO: result: Found Windows SDK 6.0 ($PSDK_HOME)" >&5
18464
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found Windows SDK 6.0 ($PSDK_HOME)" >&5
23966
echo "${ECHO_T}Found Windows SDK 6.0 ($PSDK_HOME)" >&6
18465
$as_echo "Found Windows SDK 6.0 ($PSDK_HOME)" >&6; }
23967
        WINDOWS_VISTA_PSDK=TRUE
18466
        WINDOWS_VISTA_PSDK=TRUE
23968
    else
18467
    else
23969
        echo "$as_me:$LINENO: result: Found Legacy Windows Platform SDK ($PSDK_HOME)" >&5
18468
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found Legacy Windows Platform SDK ($PSDK_HOME)" >&5
23970
echo "${ECHO_T}Found Legacy Windows Platform SDK ($PSDK_HOME)" >&6
18469
$as_echo "Found Legacy Windows Platform SDK ($PSDK_HOME)" >&6; }
23971
    fi
18470
    fi
23972
fi
18471
fi
23973
18472
23974
18473
23975
18474
23976
if test \( "$_os" = "WINNT" \) ; then
18475
if test \( "$_os" = "WINNT" \) ; then
23977
    echo "$as_me:$LINENO: checking for DirectX SDK files" >&5
18476
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX SDK files" >&5
23978
echo $ECHO_N "checking for DirectX SDK files... $ECHO_C" >&6
18477
$as_echo_n "checking for DirectX SDK files... " >&6; }
23979
    if test -z "$with_directx_home"; then
18478
    if test -z "$with_directx_home"; then
23980
                if test -n "$DXSDK_DIR"; then
18479
                if test -n "$DXSDK_DIR"; then
23981
            DIRECTXSDK_HOME=`cygpath -d "$DXSDK_DIR"`
18480
            DIRECTXSDK_HOME=`cygpath -d "$DXSDK_DIR"`
Lines 24007-24023 Link Here
24007
    fi
18506
    fi
24008
    if test -n "$ENABLE_DIRECTX"; then
18507
    if test -n "$ENABLE_DIRECTX"; then
24009
	    if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
18508
	    if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
24010
		    echo "$as_me:$LINENO: result: found" >&5
18509
		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24011
echo "${ECHO_T}found" >&6
18510
$as_echo "found" >&6; }
24012
	    else
18511
	    else
24013
		    { { echo "$as_me:$LINENO: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx." >&5
18512
		    as_fn_error "DirectX SDK files not found, please use --with-directx-home or -disable-directx." "$LINENO" 5
24014
echo "$as_me: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx." >&2;}
24015
   { (exit 1); exit 1; }; }
24016
	    fi
18513
	    fi
24017
    else
18514
    else
24018
		DIRECTXSDK_HOME=""
18515
		DIRECTXSDK_HOME=""
24019
		echo "$as_me:$LINENO: result: disabled" >&5
18516
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
24020
echo "${ECHO_T}disabled" >&6
18517
$as_echo "disabled" >&6; }
24021
    fi
18518
    fi
24022
fi
18519
fi
24023
18520
Lines 24025-24038 Link Here
24025
18522
24026
NSIS_PATH=""
18523
NSIS_PATH=""
24027
if test "$_os" = "WINNT" ; then
18524
if test "$_os" = "WINNT" ; then
24028
    echo "$as_me:$LINENO: checking for NSIS" >&5
18525
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSIS" >&5
24029
echo $ECHO_N "checking for NSIS... $ECHO_C" >&6
18526
$as_echo_n "checking for NSIS... " >&6; }
24030
    # Extract the first word of "nsis.exe", so it can be a program name with args.
18527
    # Extract the first word of "nsis.exe", so it can be a program name with args.
24031
set dummy nsis.exe; ac_word=$2
18528
set dummy nsis.exe; ac_word=$2
24032
echo "$as_me:$LINENO: checking for $ac_word" >&5
18529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24033
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18530
$as_echo_n "checking for $ac_word... " >&6; }
24034
if test "${ac_cv_path_NSIS_PATH+set}" = set; then
18531
if test "${ac_cv_path_NSIS_PATH+set}" = set; then :
24035
  echo $ECHO_N "(cached) $ECHO_C" >&6
18532
  $as_echo_n "(cached) " >&6
24036
else
18533
else
24037
  case $NSIS_PATH in
18534
  case $NSIS_PATH in
24038
  [\\/]* | ?:[\\/]*)
18535
  [\\/]* | ?:[\\/]*)
Lines 24044-24070 Link Here
24044
do
18541
do
24045
  IFS=$as_save_IFS
18542
  IFS=$as_save_IFS
24046
  test -z "$as_dir" && as_dir=.
18543
  test -z "$as_dir" && as_dir=.
24047
  for ac_exec_ext in '' $ac_executable_extensions; do
18544
    for ac_exec_ext in '' $ac_executable_extensions; do
24048
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24049
    ac_cv_path_NSIS_PATH="$as_dir/$ac_word$ac_exec_ext"
18546
    ac_cv_path_NSIS_PATH="$as_dir/$ac_word$ac_exec_ext"
24050
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24051
    break 2
18548
    break 2
24052
  fi
18549
  fi
24053
done
18550
done
24054
done
18551
  done
18552
IFS=$as_save_IFS
24055
18553
24056
  ;;
18554
  ;;
24057
esac
18555
esac
24058
fi
18556
fi
24059
NSIS_PATH=$ac_cv_path_NSIS_PATH
18557
NSIS_PATH=$ac_cv_path_NSIS_PATH
24060
24061
if test -n "$NSIS_PATH"; then
18558
if test -n "$NSIS_PATH"; then
24062
  echo "$as_me:$LINENO: result: $NSIS_PATH" >&5
18559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSIS_PATH" >&5
24063
echo "${ECHO_T}$NSIS_PATH" >&6
18560
$as_echo "$NSIS_PATH" >&6; }
24064
else
18561
else
24065
  echo "$as_me:$LINENO: result: no" >&5
18562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24066
echo "${ECHO_T}no" >&6
18563
$as_echo "no" >&6; }
24067
fi
18564
fi
18565
24068
18566
24069
    if test -n "$NSIS_PATH"; then
18567
    if test -n "$NSIS_PATH"; then
24070
        NSIS_PATH=`dirname "$NSIS_PATH"`
18568
        NSIS_PATH=`dirname "$NSIS_PATH"`
Lines 24080-24103 Link Here
24080
        NSIS_PATH="$nsistest"
18578
        NSIS_PATH="$nsistest"
24081
    fi
18579
    fi
24082
    if test -z "$NSIS_PATH"; then
18580
    if test -z "$NSIS_PATH"; then
24083
        { echo "$as_me:$LINENO: WARNING: NSIS not found, no self contained installer will be build." >&5
18581
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NSIS not found, no self contained installer will be build." >&5
24084
echo "$as_me: WARNING: NSIS not found, no self contained installer will be build." >&2;}
18582
$as_echo "$as_me: WARNING: NSIS not found, no self contained installer will be build." >&2;}
24085
        echo "NSIS not found, no self contained installer will be build." >> warn
18583
        echo "NSIS not found, no self contained installer will be build." >> warn
24086
    else
18584
    else
24087
        NSIS_PATH=`cygpath -d "$NSIS_PATH"`
18585
        NSIS_PATH=`cygpath -d "$NSIS_PATH"`
24088
        NSIS_PATH=`cygpath -u "$NSIS_PATH"`
18586
        NSIS_PATH=`cygpath -u "$NSIS_PATH"`
24089
        echo "$as_me:$LINENO: result: found ($NSIS_PATH)" >&5
18587
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ($NSIS_PATH)" >&5
24090
echo "${ECHO_T}found ($NSIS_PATH)" >&6
18588
$as_echo "found ($NSIS_PATH)" >&6; }
24091
    fi
18589
    fi
24092
fi
18590
fi
24093
18591
24094
18592
24095
# Extract the first word of "bison", so it can be a program name with args.
18593
# Extract the first word of "bison", so it can be a program name with args.
24096
set dummy bison; ac_word=$2
18594
set dummy bison; ac_word=$2
24097
echo "$as_me:$LINENO: checking for $ac_word" >&5
18595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24098
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18596
$as_echo_n "checking for $ac_word... " >&6; }
24099
if test "${ac_cv_path_BISON+set}" = set; then
18597
if test "${ac_cv_path_BISON+set}" = set; then :
24100
  echo $ECHO_N "(cached) $ECHO_C" >&6
18598
  $as_echo_n "(cached) " >&6
24101
else
18599
else
24102
  case $BISON in
18600
  case $BISON in
24103
  [\\/]* | ?:[\\/]*)
18601
  [\\/]* | ?:[\\/]*)
Lines 24109-24167 Link Here
24109
do
18607
do
24110
  IFS=$as_save_IFS
18608
  IFS=$as_save_IFS
24111
  test -z "$as_dir" && as_dir=.
18609
  test -z "$as_dir" && as_dir=.
24112
  for ac_exec_ext in '' $ac_executable_extensions; do
18610
    for ac_exec_ext in '' $ac_executable_extensions; do
24113
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18611
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24114
    ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
18612
    ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
24115
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18613
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24116
    break 2
18614
    break 2
24117
  fi
18615
  fi
24118
done
18616
done
24119
done
18617
  done
18618
IFS=$as_save_IFS
24120
18619
24121
  ;;
18620
  ;;
24122
esac
18621
esac
24123
fi
18622
fi
24124
BISON=$ac_cv_path_BISON
18623
BISON=$ac_cv_path_BISON
24125
24126
if test -n "$BISON"; then
18624
if test -n "$BISON"; then
24127
  echo "$as_me:$LINENO: result: $BISON" >&5
18625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
24128
echo "${ECHO_T}$BISON" >&6
18626
$as_echo "$BISON" >&6; }
24129
else
18627
else
24130
  echo "$as_me:$LINENO: result: no" >&5
18628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24131
echo "${ECHO_T}no" >&6
18629
$as_echo "no" >&6; }
24132
fi
18630
fi
18631
24133
18632
24134
if test -z "$BISON"; then
18633
if test -z "$BISON"; then
24135
   { { echo "$as_me:$LINENO: error: no bison found in \$PATH, install bison" >&5
18634
   as_fn_error "no bison found in \$PATH, install bison" "$LINENO" 5
24136
echo "$as_me: error: no bison found in \$PATH, install bison" >&2;}
18635
else
24137
   { (exit 1); exit 1; }; }
18636
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the bison version" >&5
24138
else
18637
$as_echo_n "checking the bison version... " >&6; }
24139
   echo "$as_me:$LINENO: checking the bison version" >&5
24140
echo $ECHO_N "checking the bison version... $ECHO_C" >&6
24141
   _bison_version=`$BISON --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
18638
   _bison_version=`$BISON --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
24142
    _bison_longver=`echo $_bison_version | $AWK -F. '{ print \$1*1000+\$2}'`
18639
    _bison_longver=`echo $_bison_version | $AWK -F. '{ print \$1*1000+\$2}'`
24143
    # Accept newer than 1.875 or older(equal) than 1.75
18640
    # Accept newer than 1.875 or older(equal) than 1.75
24144
    if test "$_bison_longver" -ge 1875 -o "$_bison_longver" -le 1075; then
18641
    if test "$_bison_longver" -ge 1875 -o "$_bison_longver" -le 1075; then
24145
       if test "$_bison_version" = "1.875" ; then
18642
       if test "$_bison_version" = "1.875" ; then
24146
          { echo "$as_me:$LINENO: WARNING: suspect ($BISON $_bison_version)" >&5
18643
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: suspect ($BISON $_bison_version)" >&5
24147
echo "$as_me: WARNING: suspect ($BISON $_bison_version)" >&2;}
18644
$as_echo "$as_me: WARNING: suspect ($BISON $_bison_version)" >&2;}
24148
          echo "Suspect ($BISON $_bison_version) suggest upgrade" >> warn
18645
          echo "Suspect ($BISON $_bison_version) suggest upgrade" >> warn
24149
       else
18646
       else
24150
          echo "$as_me:$LINENO: result: checked ($BISON $_bison_version)" >&5
18647
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked ($BISON $_bison_version)" >&5
24151
echo "${ECHO_T}checked ($BISON $_bison_version)" >&6
18648
$as_echo "checked ($BISON $_bison_version)" >&6; }
24152
       fi
18649
       fi
24153
    else
18650
    else
24154
       { { echo "$as_me:$LINENO: error: failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))" >&5
18651
       as_fn_error "failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))" "$LINENO" 5
24155
echo "$as_me: error: failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))" >&2;}
24156
   { (exit 1); exit 1; }; }
24157
    fi
18652
    fi
24158
fi
18653
fi
24159
# Extract the first word of "flex", so it can be a program name with args.
18654
# Extract the first word of "flex", so it can be a program name with args.
24160
set dummy flex; ac_word=$2
18655
set dummy flex; ac_word=$2
24161
echo "$as_me:$LINENO: checking for $ac_word" >&5
18656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24162
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18657
$as_echo_n "checking for $ac_word... " >&6; }
24163
if test "${ac_cv_path_FLEX+set}" = set; then
18658
if test "${ac_cv_path_FLEX+set}" = set; then :
24164
  echo $ECHO_N "(cached) $ECHO_C" >&6
18659
  $as_echo_n "(cached) " >&6
24165
else
18660
else
24166
  case $FLEX in
18661
  case $FLEX in
24167
  [\\/]* | ?:[\\/]*)
18662
  [\\/]* | ?:[\\/]*)
Lines 24173-24211 Link Here
24173
do
18668
do
24174
  IFS=$as_save_IFS
18669
  IFS=$as_save_IFS
24175
  test -z "$as_dir" && as_dir=.
18670
  test -z "$as_dir" && as_dir=.
24176
  for ac_exec_ext in '' $ac_executable_extensions; do
18671
    for ac_exec_ext in '' $ac_executable_extensions; do
24177
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18672
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24178
    ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
18673
    ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
24179
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24180
    break 2
18675
    break 2
24181
  fi
18676
  fi
24182
done
18677
done
24183
done
18678
  done
18679
IFS=$as_save_IFS
24184
18680
24185
  ;;
18681
  ;;
24186
esac
18682
esac
24187
fi
18683
fi
24188
FLEX=$ac_cv_path_FLEX
18684
FLEX=$ac_cv_path_FLEX
24189
24190
if test -n "$FLEX"; then
18685
if test -n "$FLEX"; then
24191
  echo "$as_me:$LINENO: result: $FLEX" >&5
18686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
24192
echo "${ECHO_T}$FLEX" >&6
18687
$as_echo "$FLEX" >&6; }
24193
else
18688
else
24194
  echo "$as_me:$LINENO: result: no" >&5
18689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24195
echo "${ECHO_T}no" >&6
18690
$as_echo "no" >&6; }
24196
fi
18691
fi
18692
24197
18693
24198
if test -z "$FLEX"; then
18694
if test -z "$FLEX"; then
24199
   { { echo "$as_me:$LINENO: error: no flex found in \$PATH, install flex" >&5
18695
   as_fn_error "no flex found in \$PATH, install flex" "$LINENO" 5
24200
echo "$as_me: error: no flex found in \$PATH, install flex" >&2;}
24201
   { (exit 1); exit 1; }; }
24202
fi
18696
fi
24203
# Extract the first word of "patch", so it can be a program name with args.
18697
# Extract the first word of "patch", so it can be a program name with args.
24204
set dummy patch; ac_word=$2
18698
set dummy patch; ac_word=$2
24205
echo "$as_me:$LINENO: checking for $ac_word" >&5
18699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24206
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18700
$as_echo_n "checking for $ac_word... " >&6; }
24207
if test "${ac_cv_path_PATCH+set}" = set; then
18701
if test "${ac_cv_path_PATCH+set}" = set; then :
24208
  echo $ECHO_N "(cached) $ECHO_C" >&6
18702
  $as_echo_n "(cached) " >&6
24209
else
18703
else
24210
  case $PATCH in
18704
  case $PATCH in
24211
  [\\/]* | ?:[\\/]*)
18705
  [\\/]* | ?:[\\/]*)
Lines 24217-24248 Link Here
24217
do
18711
do
24218
  IFS=$as_save_IFS
18712
  IFS=$as_save_IFS
24219
  test -z "$as_dir" && as_dir=.
18713
  test -z "$as_dir" && as_dir=.
24220
  for ac_exec_ext in '' $ac_executable_extensions; do
18714
    for ac_exec_ext in '' $ac_executable_extensions; do
24221
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18715
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24222
    ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext"
18716
    ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext"
24223
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18717
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24224
    break 2
18718
    break 2
24225
  fi
18719
  fi
24226
done
18720
done
24227
done
18721
  done
18722
IFS=$as_save_IFS
24228
18723
24229
  ;;
18724
  ;;
24230
esac
18725
esac
24231
fi
18726
fi
24232
PATCH=$ac_cv_path_PATCH
18727
PATCH=$ac_cv_path_PATCH
24233
24234
if test -n "$PATCH"; then
18728
if test -n "$PATCH"; then
24235
  echo "$as_me:$LINENO: result: $PATCH" >&5
18729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
24236
echo "${ECHO_T}$PATCH" >&6
18730
$as_echo "$PATCH" >&6; }
24237
else
18731
else
24238
  echo "$as_me:$LINENO: result: no" >&5
18732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24239
echo "${ECHO_T}no" >&6
18733
$as_echo "no" >&6; }
24240
fi
18734
fi
18735
24241
18736
24242
if test -z "$PATCH"; then
18737
if test -z "$PATCH"; then
24243
   { { echo "$as_me:$LINENO: error: \\"patch\\" not found in \$PATH, install the development tool named\\"patch\"\" >&5
18738
   as_fn_error "\\"patch\\" not found in \$PATH, install the development tool named\\"patch\"\" "$LINENO" 5
24244
echo "$as_me: error: \\"patch\\" not found in \$PATH, install the development tool named\\"patch\"\" >&2;}
24245
   { (exit 1); exit 1; }; }
24246
fi
18739
fi
24247
18740
24248
if test "$_os" = "SunOS" -o "$_os" = "FreeBSD" -o "$_os" = "Darwin"; then
18741
if test "$_os" = "SunOS" -o "$_os" = "FreeBSD" -o "$_os" = "Darwin"; then
Lines 24252-24272 Link Here
24252
      if test -x "$with_gnu_patch"; then
18745
      if test -x "$with_gnu_patch"; then
24253
	GNUPATCH=$with_gnu_patch
18746
	GNUPATCH=$with_gnu_patch
24254
      else
18747
      else
24255
        { { echo "$as_me:$LINENO: error: --with-gnu-patch did not point to an executable" >&5
18748
        as_fn_error "--with-gnu-patch did not point to an executable" "$LINENO" 5
24256
echo "$as_me: error: --with-gnu-patch did not point to an executable" >&2;}
18749
      fi
24257
   { (exit 1); exit 1; }; }
18750
   fi
24258
      fi
18751
24259
   fi
18752
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $GNUPATCH is GNU patch" >&5
24260
18753
$as_echo_n "checking whether $GNUPATCH is GNU patch... " >&6; }
24261
   echo "$as_me:$LINENO: checking whether $GNUPATCH is GNU patch" >&5
24262
echo $ECHO_N "checking whether $GNUPATCH is GNU patch... $ECHO_C" >&6
24263
   if $GNUPATCH --version | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
18754
   if $GNUPATCH --version | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
24264
	echo "$as_me:$LINENO: result: yes" >&5
18755
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24265
echo "${ECHO_T}yes" >&6
18756
$as_echo "yes" >&6; }
24266
   else
18757
   else
24267
  	{ { echo "$as_me:$LINENO: error: no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it" >&5
18758
  	as_fn_error "no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it" "$LINENO" 5
24268
echo "$as_me: error: no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it" >&2;}
24269
   { (exit 1); exit 1; }; }
24270
   fi
18759
   fi
24271
18760
24272
18761
Lines 24275-24284 Link Here
24275
do
18764
do
24276
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18765
  # Extract the first word of "$ac_prog", so it can be a program name with args.
24277
set dummy $ac_prog; ac_word=$2
18766
set dummy $ac_prog; ac_word=$2
24278
echo "$as_me:$LINENO: checking for $ac_word" >&5
18767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24279
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18768
$as_echo_n "checking for $ac_word... " >&6; }
24280
if test "${ac_cv_path_GNUCP+set}" = set; then
18769
if test "${ac_cv_path_GNUCP+set}" = set; then :
24281
  echo $ECHO_N "(cached) $ECHO_C" >&6
18770
  $as_echo_n "(cached) " >&6
24282
else
18771
else
24283
  case $GNUCP in
18772
  case $GNUCP in
24284
  [\\/]* | ?:[\\/]*)
18773
  [\\/]* | ?:[\\/]*)
Lines 24290-24353 Link Here
24290
do
18779
do
24291
  IFS=$as_save_IFS
18780
  IFS=$as_save_IFS
24292
  test -z "$as_dir" && as_dir=.
18781
  test -z "$as_dir" && as_dir=.
24293
  for ac_exec_ext in '' $ac_executable_extensions; do
18782
    for ac_exec_ext in '' $ac_executable_extensions; do
24294
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18783
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24295
    ac_cv_path_GNUCP="$as_dir/$ac_word$ac_exec_ext"
18784
    ac_cv_path_GNUCP="$as_dir/$ac_word$ac_exec_ext"
24296
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24297
    break 2
18786
    break 2
24298
  fi
18787
  fi
24299
done
18788
done
24300
done
18789
  done
18790
IFS=$as_save_IFS
24301
18791
24302
  ;;
18792
  ;;
24303
esac
18793
esac
24304
fi
18794
fi
24305
GNUCP=$ac_cv_path_GNUCP
18795
GNUCP=$ac_cv_path_GNUCP
24306
24307
if test -n "$GNUCP"; then
18796
if test -n "$GNUCP"; then
24308
  echo "$as_me:$LINENO: result: $GNUCP" >&5
18797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUCP" >&5
24309
echo "${ECHO_T}$GNUCP" >&6
18798
$as_echo "$GNUCP" >&6; }
24310
else
18799
else
24311
  echo "$as_me:$LINENO: result: no" >&5
18800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24312
echo "${ECHO_T}no" >&6
18801
$as_echo "no" >&6; }
24313
fi
18802
fi
18803
24314
18804
24315
  test -n "$GNUCP" && break
18805
  test -n "$GNUCP" && break
24316
done
18806
done
24317
18807
24318
    if test -z $GNUCP; then
18808
    if test -z $GNUCP; then
24319
      { { echo "$as_me:$LINENO: error: Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it" >&5
18809
      as_fn_error "Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it" "$LINENO" 5
24320
echo "$as_me: error: Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it" >&2;}
24321
   { (exit 1); exit 1; }; }
24322
    fi
18810
    fi
24323
  else
18811
  else
24324
    if test -x "$with_gnu_cp"; then
18812
    if test -x "$with_gnu_cp"; then
24325
      GNUCP=$with_gnu_cp
18813
      GNUCP=$with_gnu_cp
24326
    else
18814
    else
24327
      { { echo "$as_me:$LINENO: error: --with-gnu-cp did not point to an executable" >&5
18815
      as_fn_error "--with-gnu-cp did not point to an executable" "$LINENO" 5
24328
echo "$as_me: error: --with-gnu-cp did not point to an executable" >&2;}
18816
    fi
24329
   { (exit 1); exit 1; }; }
18817
  fi
24330
    fi
18818
24331
  fi
18819
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $GNUCP is GNU cp" >&5
24332
18820
$as_echo_n "checking whether $GNUCP is GNU cp... " >&6; }
24333
  echo "$as_me:$LINENO: checking whether $GNUCP is GNU cp" >&5
24334
echo $ECHO_N "checking whether $GNUCP is GNU cp... $ECHO_C" >&6
24335
  if $GNUCP --version 2>/dev/null | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
18821
  if $GNUCP --version 2>/dev/null | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
24336
	echo "$as_me:$LINENO: result: yes" >&5
18822
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24337
echo "${ECHO_T}yes" >&6
18823
$as_echo "yes" >&6; }
24338
  else
18824
  else
24339
   if $GNUCP --version 2>/dev/null | grep "GNU fileutils" >/dev/null 2>/dev/null; then
18825
   if $GNUCP --version 2>/dev/null | grep "GNU fileutils" >/dev/null 2>/dev/null; then
24340
	echo "$as_me:$LINENO: result: yes" >&5
18826
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24341
echo "${ECHO_T}yes" >&6
18827
$as_echo "yes" >&6; }
24342
   else
18828
   else
24343
      if test "$_os" = "Darwin"; then
18829
      if test "$_os" = "Darwin"; then
24344
         GNUCP=''
18830
         GNUCP=''
24345
         echo "$as_me:$LINENO: result: no gnucp found - using the system's cp command" >&5
18831
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gnucp found - using the system's cp command" >&5
24346
echo "${ECHO_T}no gnucp found - using the system's cp command" >&6
18832
$as_echo "no gnucp found - using the system's cp command" >&6; }
24347
      else
18833
      else
24348
         { { echo "$as_me:$LINENO: error: no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it" >&5
18834
         as_fn_error "no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it" "$LINENO" 5
24349
echo "$as_me: error: no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it" >&2;}
24350
   { (exit 1); exit 1; }; }
24351
      fi
18835
      fi
24352
   fi
18836
   fi
24353
  fi
18837
  fi
Lines 24360-24369 Link Here
24360
    CYGWIN_PATH=""
18844
    CYGWIN_PATH=""
24361
    # Extract the first word of "bash", so it can be a program name with args.
18845
    # Extract the first word of "bash", so it can be a program name with args.
24362
set dummy bash; ac_word=$2
18846
set dummy bash; ac_word=$2
24363
echo "$as_me:$LINENO: checking for $ac_word" >&5
18847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24364
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18848
$as_echo_n "checking for $ac_word... " >&6; }
24365
if test "${ac_cv_path_CYGWIN_PATH+set}" = set; then
18849
if test "${ac_cv_path_CYGWIN_PATH+set}" = set; then :
24366
  echo $ECHO_N "(cached) $ECHO_C" >&6
18850
  $as_echo_n "(cached) " >&6
24367
else
18851
else
24368
  case $CYGWIN_PATH in
18852
  case $CYGWIN_PATH in
24369
  [\\/]* | ?:[\\/]*)
18853
  [\\/]* | ?:[\\/]*)
Lines 24375-24401 Link Here
24375
do
18859
do
24376
  IFS=$as_save_IFS
18860
  IFS=$as_save_IFS
24377
  test -z "$as_dir" && as_dir=.
18861
  test -z "$as_dir" && as_dir=.
24378
  for ac_exec_ext in '' $ac_executable_extensions; do
18862
    for ac_exec_ext in '' $ac_executable_extensions; do
24379
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18863
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24380
    ac_cv_path_CYGWIN_PATH="$as_dir/$ac_word$ac_exec_ext"
18864
    ac_cv_path_CYGWIN_PATH="$as_dir/$ac_word$ac_exec_ext"
24381
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18865
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24382
    break 2
18866
    break 2
24383
  fi
18867
  fi
24384
done
18868
done
24385
done
18869
  done
18870
IFS=$as_save_IFS
24386
18871
24387
  ;;
18872
  ;;
24388
esac
18873
esac
24389
fi
18874
fi
24390
CYGWIN_PATH=$ac_cv_path_CYGWIN_PATH
18875
CYGWIN_PATH=$ac_cv_path_CYGWIN_PATH
24391
24392
if test -n "$CYGWIN_PATH"; then
18876
if test -n "$CYGWIN_PATH"; then
24393
  echo "$as_me:$LINENO: result: $CYGWIN_PATH" >&5
18877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGWIN_PATH" >&5
24394
echo "${ECHO_T}$CYGWIN_PATH" >&6
18878
$as_echo "$CYGWIN_PATH" >&6; }
24395
else
18879
else
24396
  echo "$as_me:$LINENO: result: no" >&5
18880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24397
echo "${ECHO_T}no" >&6
18881
$as_echo "no" >&6; }
24398
fi
18882
fi
18883
24399
18884
24400
    CYGWIN_PATH=`dirname "$CYGWIN_PATH"`
18885
    CYGWIN_PATH=`dirname "$CYGWIN_PATH"`
24401
fi
18886
fi
Lines 24405-24422 Link Here
24405
18890
24406
18891
24407
if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
18892
if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
24408
  echo "$as_me:$LINENO: checking ml.exe assembler path" >&5
18893
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking ml.exe assembler path" >&5
24409
echo $ECHO_N "checking ml.exe assembler path... $ECHO_C" >&6
18894
$as_echo_n "checking ml.exe assembler path... " >&6; }
24410
  if test -n "$with_asm_home"; then
18895
  if test -n "$with_asm_home"; then
24411
    with_asm_home=`cygpath -u "$with_asm_home"`
18896
    with_asm_home=`cygpath -u "$with_asm_home"`
24412
  fi
18897
  fi
24413
  if test ! -x "$with_asm_home/ml.exe"; then
18898
  if test ! -x "$with_asm_home/ml.exe"; then
24414
    # Extract the first word of "ml.exe", so it can be a program name with args.
18899
    # Extract the first word of "ml.exe", so it can be a program name with args.
24415
set dummy ml.exe; ac_word=$2
18900
set dummy ml.exe; ac_word=$2
24416
echo "$as_me:$LINENO: checking for $ac_word" >&5
18901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18902
$as_echo_n "checking for $ac_word... " >&6; }
24418
if test "${ac_cv_path_ML_EXE+set}" = set; then
18903
if test "${ac_cv_path_ML_EXE+set}" = set; then :
24419
  echo $ECHO_N "(cached) $ECHO_C" >&6
18904
  $as_echo_n "(cached) " >&6
24420
else
18905
else
24421
  case $ML_EXE in
18906
  case $ML_EXE in
24422
  [\\/]* | ?:[\\/]*)
18907
  [\\/]* | ?:[\\/]*)
Lines 24428-24464 Link Here
24428
do
18913
do
24429
  IFS=$as_save_IFS
18914
  IFS=$as_save_IFS
24430
  test -z "$as_dir" && as_dir=.
18915
  test -z "$as_dir" && as_dir=.
24431
  for ac_exec_ext in '' $ac_executable_extensions; do
18916
    for ac_exec_ext in '' $ac_executable_extensions; do
24432
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24433
    ac_cv_path_ML_EXE="$as_dir/$ac_word$ac_exec_ext"
18918
    ac_cv_path_ML_EXE="$as_dir/$ac_word$ac_exec_ext"
24434
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18919
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24435
    break 2
18920
    break 2
24436
  fi
18921
  fi
24437
done
18922
done
24438
done
18923
  done
18924
IFS=$as_save_IFS
24439
18925
24440
  ;;
18926
  ;;
24441
esac
18927
esac
24442
fi
18928
fi
24443
ML_EXE=$ac_cv_path_ML_EXE
18929
ML_EXE=$ac_cv_path_ML_EXE
24444
24445
if test -n "$ML_EXE"; then
18930
if test -n "$ML_EXE"; then
24446
  echo "$as_me:$LINENO: result: $ML_EXE" >&5
18931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ML_EXE" >&5
24447
echo "${ECHO_T}$ML_EXE" >&6
18932
$as_echo "$ML_EXE" >&6; }
24448
else
18933
else
24449
  echo "$as_me:$LINENO: result: no" >&5
18934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24450
echo "${ECHO_T}no" >&6
18935
$as_echo "no" >&6; }
24451
fi
18936
fi
18937
24452
18938
24453
    if test -z "$ML_EXE"; then
18939
    if test -z "$ML_EXE"; then
24454
      if test -x "$with_cl_home/bin/ml.exe"; then
18940
      if test -x "$with_cl_home/bin/ml.exe"; then
24455
        with_asm_home=$with_cl_home/bin
18941
        with_asm_home=$with_cl_home/bin
24456
        echo "$as_me:$LINENO: result: found ($with_asm_home)" >&5
18942
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ($with_asm_home)" >&5
24457
echo "${ECHO_T}found ($with_asm_home)" >&6
18943
$as_echo "found ($with_asm_home)" >&6; }
24458
      else
18944
      else
24459
        { { echo "$as_me:$LINENO: error: Configure did not find ml.exe assembler." >&5
18945
        as_fn_error "Configure did not find ml.exe assembler." "$LINENO" 5
24460
echo "$as_me: error: Configure did not find ml.exe assembler." >&2;}
24461
   { (exit 1); exit 1; }; }
24462
      fi
18946
      fi
24463
    else
18947
    else
24464
       with_asm_home="ASM_IN_PATH"
18948
       with_asm_home="ASM_IN_PATH"
Lines 24469-24476 Link Here
24469
fi
18953
fi
24470
ASM_HOME="$with_asm_home"
18954
ASM_HOME="$with_asm_home"
24471
if test -n "$ASM_HOME"; then
18955
if test -n "$ASM_HOME"; then
24472
  echo "$as_me:$LINENO: result: $ASM_HOME" >&5
18956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASM_HOME" >&5
24473
echo "${ECHO_T}$ASM_HOME" >&6
18957
$as_echo "$ASM_HOME" >&6; }
24474
fi
18958
fi
24475
18959
24476
18960
Lines 24487-24496 Link Here
24487
else
18971
else
24488
    # Extract the first word of "zip", so it can be a program name with args.
18972
    # Extract the first word of "zip", so it can be a program name with args.
24489
set dummy zip; ac_word=$2
18973
set dummy zip; ac_word=$2
24490
echo "$as_me:$LINENO: checking for $ac_word" >&5
18974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24491
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18975
$as_echo_n "checking for $ac_word... " >&6; }
24492
if test "${ac_cv_path_ZIP+set}" = set; then
18976
if test "${ac_cv_path_ZIP+set}" = set; then :
24493
  echo $ECHO_N "(cached) $ECHO_C" >&6
18977
  $as_echo_n "(cached) " >&6
24494
else
18978
else
24495
  case $ZIP in
18979
  case $ZIP in
24496
  [\\/]* | ?:[\\/]*)
18980
  [\\/]* | ?:[\\/]*)
Lines 24502-24535 Link Here
24502
do
18986
do
24503
  IFS=$as_save_IFS
18987
  IFS=$as_save_IFS
24504
  test -z "$as_dir" && as_dir=.
18988
  test -z "$as_dir" && as_dir=.
24505
  for ac_exec_ext in '' $ac_executable_extensions; do
18989
    for ac_exec_ext in '' $ac_executable_extensions; do
24506
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24507
    ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
18991
    ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
24508
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24509
    break 2
18993
    break 2
24510
  fi
18994
  fi
24511
done
18995
done
24512
done
18996
  done
18997
IFS=$as_save_IFS
24513
18998
24514
  ;;
18999
  ;;
24515
esac
19000
esac
24516
fi
19001
fi
24517
ZIP=$ac_cv_path_ZIP
19002
ZIP=$ac_cv_path_ZIP
24518
24519
if test -n "$ZIP"; then
19003
if test -n "$ZIP"; then
24520
  echo "$as_me:$LINENO: result: $ZIP" >&5
19004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
24521
echo "${ECHO_T}$ZIP" >&6
19005
$as_echo "$ZIP" >&6; }
24522
else
19006
else
24523
  echo "$as_me:$LINENO: result: no" >&5
19007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24524
echo "${ECHO_T}no" >&6
19008
$as_echo "no" >&6; }
24525
fi
19009
fi
19010
24526
19011
24527
    # Extract the first word of "unzip", so it can be a program name with args.
19012
    # Extract the first word of "unzip", so it can be a program name with args.
24528
set dummy unzip; ac_word=$2
19013
set dummy unzip; ac_word=$2
24529
echo "$as_me:$LINENO: checking for $ac_word" >&5
19014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24530
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19015
$as_echo_n "checking for $ac_word... " >&6; }
24531
if test "${ac_cv_path_UNZIP+set}" = set; then
19016
if test "${ac_cv_path_UNZIP+set}" = set; then :
24532
  echo $ECHO_N "(cached) $ECHO_C" >&6
19017
  $as_echo_n "(cached) " >&6
24533
else
19018
else
24534
  case $UNZIP in
19019
  case $UNZIP in
24535
  [\\/]* | ?:[\\/]*)
19020
  [\\/]* | ?:[\\/]*)
Lines 24541-24624 Link Here
24541
do
19026
do
24542
  IFS=$as_save_IFS
19027
  IFS=$as_save_IFS
24543
  test -z "$as_dir" && as_dir=.
19028
  test -z "$as_dir" && as_dir=.
24544
  for ac_exec_ext in '' $ac_executable_extensions; do
19029
    for ac_exec_ext in '' $ac_executable_extensions; do
24545
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24546
    ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext"
19031
    ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext"
24547
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24548
    break 2
19033
    break 2
24549
  fi
19034
  fi
24550
done
19035
done
24551
done
19036
  done
19037
IFS=$as_save_IFS
24552
19038
24553
  ;;
19039
  ;;
24554
esac
19040
esac
24555
fi
19041
fi
24556
UNZIP=$ac_cv_path_UNZIP
19042
UNZIP=$ac_cv_path_UNZIP
24557
24558
if test -n "$UNZIP"; then
19043
if test -n "$UNZIP"; then
24559
  echo "$as_me:$LINENO: result: $UNZIP" >&5
19044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
24560
echo "${ECHO_T}$UNZIP" >&6
19045
$as_echo "$UNZIP" >&6; }
24561
else
19046
else
24562
  echo "$as_me:$LINENO: result: no" >&5
19047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24563
echo "${ECHO_T}no" >&6
19048
$as_echo "no" >&6; }
24564
fi
19049
fi
19050
24565
19051
24566
    ZIP_HOME=`dirname "$ZIP"`
19052
    ZIP_HOME=`dirname "$ZIP"`
24567
fi
19053
fi
24568
if test -z "$ZIP" -o -z "$UNZIP"; then
19054
if test -z "$ZIP" -o -z "$UNZIP"; then
24569
    { { echo "$as_me:$LINENO: error: Zip/Unzip are required to build, please install or use --with-zip-home" >&5
19055
    as_fn_error "Zip/Unzip are required to build, please install or use --with-zip-home" "$LINENO" 5
24570
echo "$as_me: error: Zip/Unzip are required to build, please install or use --with-zip-home" >&2;}
24571
   { (exit 1); exit 1; }; }
24572
fi
19056
fi
24573
19057
24574
if test "$_os" = "WINNT"; then
19058
if test "$_os" = "WINNT"; then
24575
    if test -n "`$ZIP -h | grep -i WinNT`" ; then
19059
    if test -n "`$ZIP -h | grep -i WinNT`" ; then
24576
{ { echo "$as_me:$LINENO: error: $ZIP found in the path is not the required cygwin version of Info-ZIPs zip.exe." >&5
19060
as_fn_error "$ZIP found in the path is not the required cygwin version of Info-ZIPs zip.exe." "$LINENO" 5
24577
echo "$as_me: error: $ZIP found in the path is not the required cygwin version of Info-ZIPs zip.exe." >&2;}
24578
   { (exit 1); exit 1; }; }
24579
    fi
19061
    fi
24580
fi
19062
fi
24581
19063
24582
19064
24583
if test "$_os" = "WINNT"; then
19065
if test "$_os" = "WINNT"; then
24584
   echo "$as_me:$LINENO: checking for unicows.dll" >&5
19066
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unicows.dll" >&5
24585
echo $ECHO_N "checking for unicows.dll... $ECHO_C" >&6
19067
$as_echo_n "checking for unicows.dll... " >&6; }
24586
   if test -x ./external/unicows/unicows.dll; then
19068
   if test -x ./external/unicows/unicows.dll; then
24587
      echo "$as_me:$LINENO: result: found" >&5
19069
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24588
echo "${ECHO_T}found" >&6
19070
$as_echo "found" >&6; }
24589
   else
19071
   else
24590
      { { echo "$as_me:$LINENO: error: The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/.
19072
      as_fn_error "The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/.
24591
Get it from the Microsoft site and put it into external/unicows.
19073
Get it from the Microsoft site and put it into external/unicows.
24592
(Note: Microsoft seems to enjoy changing the exact location of this file. You
19074
(Note: Microsoft seems to enjoy changing the exact location of this file. You
24593
may have to search Microsoft's website.) Last time it was seen at:
19075
may have to search Microsoft's website.) Last time it was seen at:
24594
<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>." >&5
19076
<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>." "$LINENO" 5
24595
echo "$as_me: error: The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/.
24596
Get it from the Microsoft site and put it into external/unicows.
24597
(Note: Microsoft seems to enjoy changing the exact location of this file. You
24598
may have to search Microsoft's website.) Last time it was seen at:
24599
<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>." >&2;}
24600
   { (exit 1); exit 1; }; }
24601
   fi
19077
   fi
24602
fi
19078
fi
24603
19079
24604
if test "$_os" = "WINNT"; then
19080
if test "$_os" = "WINNT"; then
24605
   echo "$as_me:$LINENO: checking for dbghelp.dll" >&5
19081
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbghelp.dll" >&5
24606
echo $ECHO_N "checking for dbghelp.dll... $ECHO_C" >&6
19082
$as_echo_n "checking for dbghelp.dll... " >&6; }
24607
   if test -x ./external/dbghelp/dbghelp.dll; then
19083
   if test -x ./external/dbghelp/dbghelp.dll; then
24608
      echo "$as_me:$LINENO: result: found" >&5
19084
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24609
echo "${ECHO_T}found" >&6
19085
$as_echo "found" >&6; }
24610
   else
19086
   else
24611
      { { echo "$as_me:$LINENO: error: dbghelp.dll is missing in external/dbghelp/.
19087
      as_fn_error "dbghelp.dll is missing in external/dbghelp/.
24612
Get it from the Microsoft site and put it into external/dbghelp.
19088
Get it from the Microsoft site and put it into external/dbghelp.
24613
(Note: Microsoft seems to enjoy changing the exact location of this file. You
19089
(Note: Microsoft seems to enjoy changing the exact location of this file. You
24614
may have to search Microsoft's website.) Last time it was seen at:
19090
may have to search Microsoft's website.) Last time it was seen at:
24615
<http://www.microsoft.com/downloads/release.asp?releaseid=30682>." >&5
19091
<http://www.microsoft.com/downloads/release.asp?releaseid=30682>." "$LINENO" 5
24616
echo "$as_me: error: dbghelp.dll is missing in external/dbghelp/.
24617
Get it from the Microsoft site and put it into external/dbghelp.
24618
(Note: Microsoft seems to enjoy changing the exact location of this file. You
24619
may have to search Microsoft's website.) Last time it was seen at:
24620
<http://www.microsoft.com/downloads/release.asp?releaseid=30682>." >&2;}
24621
   { (exit 1); exit 1; }; }
24622
   fi
19092
   fi
24623
fi
19093
fi
24624
19094
Lines 24626-24653 Link Here
24626
       if ./oowintool --msvc-copy-dlls ./external/msvcp ; then
19096
       if ./oowintool --msvc-copy-dlls ./external/msvcp ; then
24627
          :
19097
          :
24628
       else
19098
       else
24629
          { { echo "$as_me:$LINENO: error: oowintool failed to copy CRT" >&5
19099
          as_fn_error "oowintool failed to copy CRT" "$LINENO" 5
24630
echo "$as_me: error: oowintool failed to copy CRT" >&2;}
24631
   { (exit 1); exit 1; }; }
24632
       fi
19100
       fi
24633
fi
19101
fi
24634
19102
24635
if test "$_os" = "WINNT"; then
19103
if test "$_os" = "WINNT"; then
24636
   echo "$as_me:$LINENO: checking for gdiplus.dll" >&5
19104
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdiplus.dll" >&5
24637
echo $ECHO_N "checking for gdiplus.dll... $ECHO_C" >&6
19105
$as_echo_n "checking for gdiplus.dll... " >&6; }
24638
   if test -x ./external/gdiplus/gdiplus.dll; then
19106
   if test -x ./external/gdiplus/gdiplus.dll; then
24639
      echo "$as_me:$LINENO: result: found" >&5
19107
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24640
echo "${ECHO_T}found" >&6
19108
$as_echo "found" >&6; }
24641
   else
19109
   else
24642
      { { echo "$as_me:$LINENO: error: gdiplus.dll is missing in external/gdiplus/.
19110
      as_fn_error "gdiplus.dll is missing in external/gdiplus/.
24643
Get it from the Microsoft site and put it into external/gdiplus.
19111
Get it from the Microsoft site and put it into external/gdiplus.
24644
You may have to search Microsoft's website. Last time it was seen at:
19112
You may have to search Microsoft's website. Last time it was seen at:
24645
<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>." >&5
19113
<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>." "$LINENO" 5
24646
echo "$as_me: error: gdiplus.dll is missing in external/gdiplus/.
24647
Get it from the Microsoft site and put it into external/gdiplus.
24648
You may have to search Microsoft's website. Last time it was seen at:
24649
<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>." >&2;}
24650
   { (exit 1); exit 1; }; }
24651
   fi
19114
   fi
24652
fi
19115
fi
24653
19116
Lines 24657-24667 Link Here
24657
19120
24658
if test "$_os" = "WINNT"; then
19121
if test "$_os" = "WINNT"; then
24659
   if test  "$WITH_MINGWIN" = "yes" || test "$COMEX" -ge "10"; then
19122
   if test  "$WITH_MINGWIN" = "yes" || test "$COMEX" -ge "10"; then
24660
   echo "$as_me:$LINENO: checking for instmsia.exe/instmsiw.exe" >&5
19123
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for instmsia.exe/instmsiw.exe" >&5
24661
echo $ECHO_N "checking for instmsia.exe/instmsiw.exe... $ECHO_C" >&6
19124
$as_echo_n "checking for instmsia.exe/instmsiw.exe... " >&6; }
24662
   if test -x ./external/msi/instmsia.exe -a -x ./external/msi/instmsiw.exe; then
19125
   if test -x ./external/msi/instmsia.exe -a -x ./external/msi/instmsiw.exe; then
24663
      echo "$as_me:$LINENO: result: found" >&5
19126
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24664
echo "${ECHO_T}found" >&6
19127
$as_echo "found" >&6; }
24665
   else
19128
   else
24666
      MSIAPATH=`/bin/find "$COMPATH/.." -iname instmsia.exe | head -n 1`
19129
      MSIAPATH=`/bin/find "$COMPATH/.." -iname instmsia.exe | head -n 1`
24667
      MSIWPATH=`/bin/find "$COMPATH/.." -iname instmsiw.exe | head -n 1`
19130
      MSIWPATH=`/bin/find "$COMPATH/.." -iname instmsiw.exe | head -n 1`
Lines 24670-24696 Link Here
24670
         cp "$MSIWPATH" ./external/msi/ && chmod +x ./external/msi/instmsiw.exe && MSIWCOPY="OK"
19133
         cp "$MSIWPATH" ./external/msi/ && chmod +x ./external/msi/instmsiw.exe && MSIWCOPY="OK"
24671
      fi
19134
      fi
24672
      if test -z "$MSIACOPY" -o -z "$MSIWCOPY"; then
19135
      if test -z "$MSIACOPY" -o -z "$MSIWCOPY"; then
24673
         { { echo "$as_me:$LINENO: error: instmsia.exe and/or instmsiw.exe are/is missing in the default location.
19136
         as_fn_error "instmsia.exe and/or instmsiw.exe are/is missing in the default location.
24674
These programs are part of the Visual Studio installation and should be found in a
19137
These programs are part of the Visual Studio installation and should be found in a
24675
directory similar to:
19138
directory similar to:
24676
\"c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\\"
19139
\"c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\\"
24677
As the automatic detection fails please copy the files to external/msi/." >&5
19140
As the automatic detection fails please copy the files to external/msi/." "$LINENO" 5
24678
echo "$as_me: error: instmsia.exe and/or instmsiw.exe are/is missing in the default location.
19141
      else
24679
These programs are part of the Visual Studio installation and should be found in a
19142
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found and copied" >&5
24680
directory similar to:
19143
$as_echo "found and copied" >&6; }
24681
\"c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\\"
19144
      fi
24682
As the automatic detection fails please copy the files to external/msi/." >&2;}
19145
   fi
24683
   { (exit 1); exit 1; }; }
19146
fi
24684
      else
19147
fi
24685
         echo "$as_me:$LINENO: result: found and copied" >&5
19148
24686
echo "${ECHO_T}found and copied" >&6
19149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which VCLplugs shall be built" >&5
24687
      fi
19150
$as_echo_n "checking which VCLplugs shall be built... " >&6; }
24688
   fi
24689
fi
24690
fi
24691
24692
echo "$as_me:$LINENO: checking which VCLplugs shall be built" >&5
24693
echo $ECHO_N "checking which VCLplugs shall be built... $ECHO_C" >&6
24694
ENABLE_GTK=""
19151
ENABLE_GTK=""
24695
if test "x$enable_gtk" = "xyes"; then
19152
if test "x$enable_gtk" = "xyes"; then
24696
    ENABLE_GTK="TRUE"
19153
    ENABLE_GTK="TRUE"
Lines 24713-24743 Link Here
24713
19170
24714
19171
24715
if test -z "$R"; then
19172
if test -z "$R"; then
24716
	echo "$as_me:$LINENO: result: none" >&5
19173
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
24717
echo "${ECHO_T}none" >&6
19174
$as_echo "none" >&6; }
24718
else
19175
else
24719
	echo "$as_me:$LINENO: result: $R" >&5
19176
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
24720
echo "${ECHO_T}$R" >&6
19177
$as_echo "$R" >&6; }
24721
fi
19178
fi
24722
19179
24723
19180
24724
ENABLE_GCONF=""
19181
ENABLE_GCONF=""
24725
echo "$as_me:$LINENO: checking whether to enable GConf support" >&5
19182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GConf support" >&5
24726
echo $ECHO_N "checking whether to enable GConf support... $ECHO_C" >&6
19183
$as_echo_n "checking whether to enable GConf support... " >&6; }
24727
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$_os" != "OS2" -a "$enable_gconf" = "yes"; then
19184
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$_os" != "OS2" -a "$enable_gconf" = "yes"; then
24728
    ENABLE_GCONF="TRUE"
19185
    ENABLE_GCONF="TRUE"
24729
    echo "$as_me:$LINENO: result: yes" >&5
19186
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24730
echo "${ECHO_T}yes" >&6
19187
$as_echo "yes" >&6; }
24731
19188
24732
  succeeded=no
19189
  succeeded=no
24733
19190
24734
  if test -z "$PKG_CONFIG"; then
19191
  if test -z "$PKG_CONFIG"; then
24735
    # Extract the first word of "pkg-config", so it can be a program name with args.
19192
    # Extract the first word of "pkg-config", so it can be a program name with args.
24736
set dummy pkg-config; ac_word=$2
19193
set dummy pkg-config; ac_word=$2
24737
echo "$as_me:$LINENO: checking for $ac_word" >&5
19194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24738
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19195
$as_echo_n "checking for $ac_word... " >&6; }
24739
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19196
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24740
  echo $ECHO_N "(cached) $ECHO_C" >&6
19197
  $as_echo_n "(cached) " >&6
24741
else
19198
else
24742
  case $PKG_CONFIG in
19199
  case $PKG_CONFIG in
24743
  [\\/]* | ?:[\\/]*)
19200
  [\\/]* | ?:[\\/]*)
Lines 24749-24776 Link Here
24749
do
19206
do
24750
  IFS=$as_save_IFS
19207
  IFS=$as_save_IFS
24751
  test -z "$as_dir" && as_dir=.
19208
  test -z "$as_dir" && as_dir=.
24752
  for ac_exec_ext in '' $ac_executable_extensions; do
19209
    for ac_exec_ext in '' $ac_executable_extensions; do
24753
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24754
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19211
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24755
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19212
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24756
    break 2
19213
    break 2
24757
  fi
19214
  fi
24758
done
19215
done
24759
done
19216
  done
19217
IFS=$as_save_IFS
24760
19218
24761
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19219
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24762
  ;;
19220
  ;;
24763
esac
19221
esac
24764
fi
19222
fi
24765
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19223
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24766
24767
if test -n "$PKG_CONFIG"; then
19224
if test -n "$PKG_CONFIG"; then
24768
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24769
echo "${ECHO_T}$PKG_CONFIG" >&6
19226
$as_echo "$PKG_CONFIG" >&6; }
24770
else
19227
else
24771
  echo "$as_me:$LINENO: result: no" >&5
19228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24772
echo "${ECHO_T}no" >&6
19229
$as_echo "no" >&6; }
24773
fi
19230
fi
19231
24774
19232
24775
  fi
19233
  fi
24776
19234
Lines 24782-24806 Link Here
24782
  else
19240
  else
24783
     PKG_CONFIG_MIN_VERSION=0.9.0
19241
     PKG_CONFIG_MIN_VERSION=0.9.0
24784
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19242
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24785
        echo "$as_me:$LINENO: checking for gconf-2.0 " >&5
19243
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 " >&5
24786
echo $ECHO_N "checking for gconf-2.0 ... $ECHO_C" >&6
19244
$as_echo_n "checking for gconf-2.0 ... " >&6; }
24787
19245
24788
        if $PKG_CONFIG --exists "gconf-2.0 " ; then
19246
        if $PKG_CONFIG --exists "gconf-2.0 " ; then
24789
            echo "$as_me:$LINENO: result: yes" >&5
19247
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24790
echo "${ECHO_T}yes" >&6
19248
$as_echo "yes" >&6; }
24791
            succeeded=yes
19249
            succeeded=yes
24792
19250
24793
            echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
19251
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
24794
echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
19252
$as_echo_n "checking GCONF_CFLAGS... " >&6; }
24795
            GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 "`
19253
            GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 "`
24796
            echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
19254
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
24797
echo "${ECHO_T}$GCONF_CFLAGS" >&6
19255
$as_echo "$GCONF_CFLAGS" >&6; }
24798
19256
24799
            echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
19257
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
24800
echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
19258
$as_echo_n "checking GCONF_LIBS... " >&6; }
24801
            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 "`
19259
            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 "`
24802
            echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
19260
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
24803
echo "${ECHO_T}$GCONF_LIBS" >&6
19261
$as_echo "$GCONF_LIBS" >&6; }
24804
        else
19262
        else
24805
            GCONF_CFLAGS=""
19263
            GCONF_CFLAGS=""
24806
            GCONF_LIBS=""
19264
            GCONF_LIBS=""
Lines 24821-24855 Link Here
24821
  if test $succeeded = yes; then
19279
  if test $succeeded = yes; then
24822
     :
19280
     :
24823
  else
19281
  else
24824
     { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19282
     as_fn_error "Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
24825
echo "$as_me: error: Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19283
  fi
24826
   { (exit 1); exit 1; }; }
19284
24827
  fi
19285
else
24828
19286
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24829
else
19287
$as_echo "no" >&6; }
24830
    echo "$as_me:$LINENO: result: no" >&5
24831
echo "${ECHO_T}no" >&6
24832
fi
19288
fi
24833
19289
24834
19290
24835
19291
24836
ENABLE_GNOMEVFS=""
19292
ENABLE_GNOMEVFS=""
24837
echo "$as_me:$LINENO: checking whether to enable GNOME VFS support" >&5
19293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GNOME VFS support" >&5
24838
echo $ECHO_N "checking whether to enable GNOME VFS support... $ECHO_C" >&6
19294
$as_echo_n "checking whether to enable GNOME VFS support... " >&6; }
24839
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gnome_vfs" = "yes"; then
19295
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gnome_vfs" = "yes"; then
24840
    ENABLE_GNOMEVFS="TRUE"
19296
    ENABLE_GNOMEVFS="TRUE"
24841
    echo "$as_me:$LINENO: result: yes" >&5
19297
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24842
echo "${ECHO_T}yes" >&6
19298
$as_echo "yes" >&6; }
24843
19299
24844
  succeeded=no
19300
  succeeded=no
24845
19301
24846
  if test -z "$PKG_CONFIG"; then
19302
  if test -z "$PKG_CONFIG"; then
24847
    # Extract the first word of "pkg-config", so it can be a program name with args.
19303
    # Extract the first word of "pkg-config", so it can be a program name with args.
24848
set dummy pkg-config; ac_word=$2
19304
set dummy pkg-config; ac_word=$2
24849
echo "$as_me:$LINENO: checking for $ac_word" >&5
19305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24850
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19306
$as_echo_n "checking for $ac_word... " >&6; }
24851
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19307
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24852
  echo $ECHO_N "(cached) $ECHO_C" >&6
19308
  $as_echo_n "(cached) " >&6
24853
else
19309
else
24854
  case $PKG_CONFIG in
19310
  case $PKG_CONFIG in
24855
  [\\/]* | ?:[\\/]*)
19311
  [\\/]* | ?:[\\/]*)
Lines 24861-24888 Link Here
24861
do
19317
do
24862
  IFS=$as_save_IFS
19318
  IFS=$as_save_IFS
24863
  test -z "$as_dir" && as_dir=.
19319
  test -z "$as_dir" && as_dir=.
24864
  for ac_exec_ext in '' $ac_executable_extensions; do
19320
    for ac_exec_ext in '' $ac_executable_extensions; do
24865
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24866
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19322
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24867
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19323
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24868
    break 2
19324
    break 2
24869
  fi
19325
  fi
24870
done
19326
done
24871
done
19327
  done
19328
IFS=$as_save_IFS
24872
19329
24873
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19330
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24874
  ;;
19331
  ;;
24875
esac
19332
esac
24876
fi
19333
fi
24877
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19334
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24878
24879
if test -n "$PKG_CONFIG"; then
19335
if test -n "$PKG_CONFIG"; then
24880
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24881
echo "${ECHO_T}$PKG_CONFIG" >&6
19337
$as_echo "$PKG_CONFIG" >&6; }
24882
else
19338
else
24883
  echo "$as_me:$LINENO: result: no" >&5
19339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24884
echo "${ECHO_T}no" >&6
19340
$as_echo "no" >&6; }
24885
fi
19341
fi
19342
24886
19343
24887
  fi
19344
  fi
24888
19345
Lines 24894-24918 Link Here
24894
  else
19351
  else
24895
     PKG_CONFIG_MIN_VERSION=0.9.0
19352
     PKG_CONFIG_MIN_VERSION=0.9.0
24896
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19353
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24897
        echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.6.0 " >&5
19354
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-vfs-2.0 >= 2.6.0 " >&5
24898
echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.6.0 ... $ECHO_C" >&6
19355
$as_echo_n "checking for gnome-vfs-2.0 >= 2.6.0 ... " >&6; }
24899
19356
24900
        if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.6.0 " ; then
19357
        if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.6.0 " ; then
24901
            echo "$as_me:$LINENO: result: yes" >&5
19358
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24902
echo "${ECHO_T}yes" >&6
19359
$as_echo "yes" >&6; }
24903
            succeeded=yes
19360
            succeeded=yes
24904
19361
24905
            echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
19362
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GNOMEVFS_CFLAGS" >&5
24906
echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
19363
$as_echo_n "checking GNOMEVFS_CFLAGS... " >&6; }
24907
            GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.6.0 "`
19364
            GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.6.0 "`
24908
            echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
19365
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOMEVFS_CFLAGS" >&5
24909
echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
19366
$as_echo "$GNOMEVFS_CFLAGS" >&6; }
24910
19367
24911
            echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
19368
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GNOMEVFS_LIBS" >&5
24912
echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
19369
$as_echo_n "checking GNOMEVFS_LIBS... " >&6; }
24913
            GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.6.0 "`
19370
            GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.6.0 "`
24914
            echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
19371
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOMEVFS_LIBS" >&5
24915
echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
19372
$as_echo "$GNOMEVFS_LIBS" >&6; }
24916
        else
19373
        else
24917
            GNOMEVFS_CFLAGS=""
19374
            GNOMEVFS_CFLAGS=""
24918
            GNOMEVFS_LIBS=""
19375
            GNOMEVFS_LIBS=""
Lines 24933-24941 Link Here
24933
  if test $succeeded = yes; then
19390
  if test $succeeded = yes; then
24934
     :
19391
     :
24935
  else
19392
  else
24936
     { { echo "$as_me:$LINENO: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19393
     as_fn_error "Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
24937
echo "$as_me: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
24938
   { (exit 1); exit 1; }; }
24939
  fi
19394
  fi
24940
19395
24941
    if test "$ENABLE_GCONF" != "TRUE"; then
19396
    if test "$ENABLE_GCONF" != "TRUE"; then
Lines 24945-24954 Link Here
24945
  if test -z "$PKG_CONFIG"; then
19400
  if test -z "$PKG_CONFIG"; then
24946
    # Extract the first word of "pkg-config", so it can be a program name with args.
19401
    # Extract the first word of "pkg-config", so it can be a program name with args.
24947
set dummy pkg-config; ac_word=$2
19402
set dummy pkg-config; ac_word=$2
24948
echo "$as_me:$LINENO: checking for $ac_word" >&5
19403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24949
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19404
$as_echo_n "checking for $ac_word... " >&6; }
24950
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19405
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24951
  echo $ECHO_N "(cached) $ECHO_C" >&6
19406
  $as_echo_n "(cached) " >&6
24952
else
19407
else
24953
  case $PKG_CONFIG in
19408
  case $PKG_CONFIG in
24954
  [\\/]* | ?:[\\/]*)
19409
  [\\/]* | ?:[\\/]*)
Lines 24960-24987 Link Here
24960
do
19415
do
24961
  IFS=$as_save_IFS
19416
  IFS=$as_save_IFS
24962
  test -z "$as_dir" && as_dir=.
19417
  test -z "$as_dir" && as_dir=.
24963
  for ac_exec_ext in '' $ac_executable_extensions; do
19418
    for ac_exec_ext in '' $ac_executable_extensions; do
24964
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24965
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19420
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24966
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24967
    break 2
19422
    break 2
24968
  fi
19423
  fi
24969
done
19424
done
24970
done
19425
  done
19426
IFS=$as_save_IFS
24971
19427
24972
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19428
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24973
  ;;
19429
  ;;
24974
esac
19430
esac
24975
fi
19431
fi
24976
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19432
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24977
24978
if test -n "$PKG_CONFIG"; then
19433
if test -n "$PKG_CONFIG"; then
24979
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24980
echo "${ECHO_T}$PKG_CONFIG" >&6
19435
$as_echo "$PKG_CONFIG" >&6; }
24981
else
19436
else
24982
  echo "$as_me:$LINENO: result: no" >&5
19437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24983
echo "${ECHO_T}no" >&6
19438
$as_echo "no" >&6; }
24984
fi
19439
fi
19440
24985
19441
24986
  fi
19442
  fi
24987
19443
Lines 24993-25017 Link Here
24993
  else
19449
  else
24994
     PKG_CONFIG_MIN_VERSION=0.9.0
19450
     PKG_CONFIG_MIN_VERSION=0.9.0
24995
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19451
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24996
        echo "$as_me:$LINENO: checking for gconf-2.0 " >&5
19452
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 " >&5
24997
echo $ECHO_N "checking for gconf-2.0 ... $ECHO_C" >&6
19453
$as_echo_n "checking for gconf-2.0 ... " >&6; }
24998
19454
24999
        if $PKG_CONFIG --exists "gconf-2.0 " ; then
19455
        if $PKG_CONFIG --exists "gconf-2.0 " ; then
25000
            echo "$as_me:$LINENO: result: yes" >&5
19456
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25001
echo "${ECHO_T}yes" >&6
19457
$as_echo "yes" >&6; }
25002
            succeeded=yes
19458
            succeeded=yes
25003
19459
25004
            echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
19460
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
25005
echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
19461
$as_echo_n "checking GCONF_CFLAGS... " >&6; }
25006
            GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 "`
19462
            GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 "`
25007
            echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
19463
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
25008
echo "${ECHO_T}$GCONF_CFLAGS" >&6
19464
$as_echo "$GCONF_CFLAGS" >&6; }
25009
19465
25010
            echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
19466
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
25011
echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
19467
$as_echo_n "checking GCONF_LIBS... " >&6; }
25012
            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 "`
19468
            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 "`
25013
            echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
19469
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
25014
echo "${ECHO_T}$GCONF_LIBS" >&6
19470
$as_echo "$GCONF_LIBS" >&6; }
25015
        else
19471
        else
25016
            GCONF_CFLAGS=""
19472
            GCONF_CFLAGS=""
25017
            GCONF_LIBS=""
19473
            GCONF_LIBS=""
Lines 25032-25046 Link Here
25032
  if test $succeeded = yes; then
19488
  if test $succeeded = yes; then
25033
     :
19489
     :
25034
  else
19490
  else
25035
     { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19491
     as_fn_error "Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
25036
echo "$as_me: error: Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19492
  fi
25037
   { (exit 1); exit 1; }; }
19493
25038
  fi
19494
    fi
25039
19495
else
25040
    fi
19496
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25041
else
19497
$as_echo "no" >&6; }
25042
    echo "$as_me:$LINENO: result: no" >&5
25043
echo "${ECHO_T}no" >&6
25044
fi
19498
fi
25045
19499
25046
19500
Lines 25058-25067 Link Here
25058
  if test -z "$PKG_CONFIG"; then
19512
  if test -z "$PKG_CONFIG"; then
25059
    # Extract the first word of "pkg-config", so it can be a program name with args.
19513
    # Extract the first word of "pkg-config", so it can be a program name with args.
25060
set dummy pkg-config; ac_word=$2
19514
set dummy pkg-config; ac_word=$2
25061
echo "$as_me:$LINENO: checking for $ac_word" >&5
19515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25062
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19516
$as_echo_n "checking for $ac_word... " >&6; }
25063
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19517
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25064
  echo $ECHO_N "(cached) $ECHO_C" >&6
19518
  $as_echo_n "(cached) " >&6
25065
else
19519
else
25066
  case $PKG_CONFIG in
19520
  case $PKG_CONFIG in
25067
  [\\/]* | ?:[\\/]*)
19521
  [\\/]* | ?:[\\/]*)
Lines 25073-25100 Link Here
25073
do
19527
do
25074
  IFS=$as_save_IFS
19528
  IFS=$as_save_IFS
25075
  test -z "$as_dir" && as_dir=.
19529
  test -z "$as_dir" && as_dir=.
25076
  for ac_exec_ext in '' $ac_executable_extensions; do
19530
    for ac_exec_ext in '' $ac_executable_extensions; do
25077
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25078
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19532
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25079
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19533
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25080
    break 2
19534
    break 2
25081
  fi
19535
  fi
25082
done
19536
done
25083
done
19537
  done
19538
IFS=$as_save_IFS
25084
19539
25085
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19540
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25086
  ;;
19541
  ;;
25087
esac
19542
esac
25088
fi
19543
fi
25089
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19544
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25090
25091
if test -n "$PKG_CONFIG"; then
19545
if test -n "$PKG_CONFIG"; then
25092
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25093
echo "${ECHO_T}$PKG_CONFIG" >&6
19547
$as_echo "$PKG_CONFIG" >&6; }
25094
else
19548
else
25095
  echo "$as_me:$LINENO: result: no" >&5
19549
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25096
echo "${ECHO_T}no" >&6
19550
$as_echo "no" >&6; }
25097
fi
19551
fi
19552
25098
19553
25099
  fi
19554
  fi
25100
19555
Lines 25106-25130 Link Here
25106
  else
19561
  else
25107
     PKG_CONFIG_MIN_VERSION=0.9.0
19562
     PKG_CONFIG_MIN_VERSION=0.9.0
25108
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19563
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25109
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " >&5
19564
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " >&5
25110
echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 ... $ECHO_C" >&6
19565
$as_echo_n "checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 ... " >&6; }
25111
19566
25112
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " ; then
19567
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " ; then
25113
            echo "$as_me:$LINENO: result: yes" >&5
19568
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25114
echo "${ECHO_T}yes" >&6
19569
$as_echo "yes" >&6; }
25115
            succeeded=yes
19570
            succeeded=yes
25116
19571
25117
            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
19572
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
25118
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
19573
$as_echo_n "checking GTK_CFLAGS... " >&6; }
25119
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
19574
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
25120
            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
19575
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
25121
echo "${ECHO_T}$GTK_CFLAGS" >&6
19576
$as_echo "$GTK_CFLAGS" >&6; }
25122
19577
25123
            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
19578
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
25124
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
19579
$as_echo_n "checking GTK_LIBS... " >&6; }
25125
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
19580
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
25126
            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
19581
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
25127
echo "${ECHO_T}$GTK_LIBS" >&6
19582
$as_echo "$GTK_LIBS" >&6; }
25128
        else
19583
        else
25129
            GTK_CFLAGS=""
19584
            GTK_CFLAGS=""
25130
            GTK_LIBS=""
19585
            GTK_LIBS=""
Lines 25145-25153 Link Here
25145
  if test $succeeded = yes; then
19600
  if test $succeeded = yes; then
25146
     :
19601
     :
25147
  else
19602
  else
25148
     { { echo "$as_me:$LINENO: error: requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages" >&5
19603
     as_fn_error "requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages" "$LINENO" 5
25149
echo "$as_me: error: requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages" >&2;}
25150
   { (exit 1); exit 1; }; }
25151
  fi
19604
  fi
25152
19605
25153
      BUILD_TYPE="$BUILD_TYPE GTK"
19606
      BUILD_TYPE="$BUILD_TYPE GTK"
Lines 25157-25178 Link Here
25157
         BUILD_TYPE="$BUILD_TYPE SYSTRAY_GTK"
19610
         BUILD_TYPE="$BUILD_TYPE SYSTRAY_GTK"
25158
      fi
19611
      fi
25159
19612
25160
      echo "$as_me:$LINENO: checking whether to enable DBUS support" >&5
19613
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DBUS support" >&5
25161
echo $ECHO_N "checking whether to enable DBUS support... $ECHO_C" >&6
19614
$as_echo_n "checking whether to enable DBUS support... " >&6; }
25162
      if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_dbus" = "yes"; then
19615
      if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_dbus" = "yes"; then
25163
          ENABLE_DBUS="TRUE"
19616
          ENABLE_DBUS="TRUE"
25164
          echo "$as_me:$LINENO: result: yes" >&5
19617
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25165
echo "${ECHO_T}yes" >&6
19618
$as_echo "yes" >&6; }
25166
19619
25167
  succeeded=no
19620
  succeeded=no
25168
19621
25169
  if test -z "$PKG_CONFIG"; then
19622
  if test -z "$PKG_CONFIG"; then
25170
    # Extract the first word of "pkg-config", so it can be a program name with args.
19623
    # Extract the first word of "pkg-config", so it can be a program name with args.
25171
set dummy pkg-config; ac_word=$2
19624
set dummy pkg-config; ac_word=$2
25172
echo "$as_me:$LINENO: checking for $ac_word" >&5
19625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25173
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19626
$as_echo_n "checking for $ac_word... " >&6; }
25174
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19627
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25175
  echo $ECHO_N "(cached) $ECHO_C" >&6
19628
  $as_echo_n "(cached) " >&6
25176
else
19629
else
25177
  case $PKG_CONFIG in
19630
  case $PKG_CONFIG in
25178
  [\\/]* | ?:[\\/]*)
19631
  [\\/]* | ?:[\\/]*)
Lines 25184-25211 Link Here
25184
do
19637
do
25185
  IFS=$as_save_IFS
19638
  IFS=$as_save_IFS
25186
  test -z "$as_dir" && as_dir=.
19639
  test -z "$as_dir" && as_dir=.
25187
  for ac_exec_ext in '' $ac_executable_extensions; do
19640
    for ac_exec_ext in '' $ac_executable_extensions; do
25188
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19641
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25189
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19642
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19643
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25191
    break 2
19644
    break 2
25192
  fi
19645
  fi
25193
done
19646
done
25194
done
19647
  done
19648
IFS=$as_save_IFS
25195
19649
25196
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19650
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25197
  ;;
19651
  ;;
25198
esac
19652
esac
25199
fi
19653
fi
25200
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19654
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25201
25202
if test -n "$PKG_CONFIG"; then
19655
if test -n "$PKG_CONFIG"; then
25203
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19656
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25204
echo "${ECHO_T}$PKG_CONFIG" >&6
19657
$as_echo "$PKG_CONFIG" >&6; }
25205
else
19658
else
25206
  echo "$as_me:$LINENO: result: no" >&5
19659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25207
echo "${ECHO_T}no" >&6
19660
$as_echo "no" >&6; }
25208
fi
19661
fi
19662
25209
19663
25210
  fi
19664
  fi
25211
19665
Lines 25217-25241 Link Here
25217
  else
19671
  else
25218
     PKG_CONFIG_MIN_VERSION=0.9.0
19672
     PKG_CONFIG_MIN_VERSION=0.9.0
25219
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19673
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25220
        echo "$as_me:$LINENO: checking for dbus-glib-1 >= 0.70 " >&5
19674
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-glib-1 >= 0.70 " >&5
25221
echo $ECHO_N "checking for dbus-glib-1 >= 0.70 ... $ECHO_C" >&6
19675
$as_echo_n "checking for dbus-glib-1 >= 0.70 ... " >&6; }
25222
19676
25223
        if $PKG_CONFIG --exists "dbus-glib-1 >= 0.70 " ; then
19677
        if $PKG_CONFIG --exists "dbus-glib-1 >= 0.70 " ; then
25224
            echo "$as_me:$LINENO: result: yes" >&5
19678
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25225
echo "${ECHO_T}yes" >&6
19679
$as_echo "yes" >&6; }
25226
            succeeded=yes
19680
            succeeded=yes
25227
19681
25228
            echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
19682
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5
25229
echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6
19683
$as_echo_n "checking DBUS_CFLAGS... " >&6; }
25230
            DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70 "`
19684
            DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70 "`
25231
            echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
19685
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5
25232
echo "${ECHO_T}$DBUS_CFLAGS" >&6
19686
$as_echo "$DBUS_CFLAGS" >&6; }
25233
19687
25234
            echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
19688
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5
25235
echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6
19689
$as_echo_n "checking DBUS_LIBS... " >&6; }
25236
            DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70 "`
19690
            DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70 "`
25237
            echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
19691
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5
25238
echo "${ECHO_T}$DBUS_LIBS" >&6
19692
$as_echo "$DBUS_LIBS" >&6; }
25239
        else
19693
        else
25240
            DBUS_CFLAGS=""
19694
            DBUS_CFLAGS=""
25241
            DBUS_LIBS=""
19695
            DBUS_LIBS=""
Lines 25256-25292 Link Here
25256
  if test $succeeded = yes; then
19710
  if test $succeeded = yes; then
25257
     :
19711
     :
25258
  else
19712
  else
25259
     { { echo "$as_me:$LINENO: error: Library requirements (dbus-glib-1 >= 0.70 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19713
     as_fn_error "Library requirements (dbus-glib-1 >= 0.70 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
25260
echo "$as_me: error: Library requirements (dbus-glib-1 >= 0.70 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19714
  fi
25261
   { (exit 1); exit 1; }; }
19715
25262
  fi
19716
      else
25263
19717
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25264
      else
19718
$as_echo "no" >&6; }
25265
          echo "$as_me:$LINENO: result: no" >&5
19719
      fi
25266
echo "${ECHO_T}no" >&6
19720
25267
      fi
19721
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GIO support" >&5
25268
19722
$as_echo_n "checking whether to enable GIO support... " >&6; }
25269
      echo "$as_me:$LINENO: checking whether to enable GIO support" >&5
25270
echo $ECHO_N "checking whether to enable GIO support... $ECHO_C" >&6
25271
      if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gio" = "yes"; then
19723
      if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gio" = "yes"; then
25272
          if test "$ENABLE_GNOMEVFS" = "TRUE" ; then
19724
          if test "$ENABLE_GNOMEVFS" = "TRUE" ; then
25273
             { { echo "$as_me:$LINENO: error: please use --enable-gio only together with --disable-gnome-vfs." >&5
19725
             as_fn_error "please use --enable-gio only together with --disable-gnome-vfs." "$LINENO" 5
25274
echo "$as_me: error: please use --enable-gio only together with --disable-gnome-vfs." >&2;}
25275
   { (exit 1); exit 1; }; }
25276
          fi
19726
          fi
25277
          ENABLE_GIO="TRUE"
19727
          ENABLE_GIO="TRUE"
25278
          echo "$as_me:$LINENO: result: yes" >&5
19728
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25279
echo "${ECHO_T}yes" >&6
19729
$as_echo "yes" >&6; }
25280
19730
25281
  succeeded=no
19731
  succeeded=no
25282
19732
25283
  if test -z "$PKG_CONFIG"; then
19733
  if test -z "$PKG_CONFIG"; then
25284
    # Extract the first word of "pkg-config", so it can be a program name with args.
19734
    # Extract the first word of "pkg-config", so it can be a program name with args.
25285
set dummy pkg-config; ac_word=$2
19735
set dummy pkg-config; ac_word=$2
25286
echo "$as_me:$LINENO: checking for $ac_word" >&5
19736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25287
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19737
$as_echo_n "checking for $ac_word... " >&6; }
25288
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19738
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25289
  echo $ECHO_N "(cached) $ECHO_C" >&6
19739
  $as_echo_n "(cached) " >&6
25290
else
19740
else
25291
  case $PKG_CONFIG in
19741
  case $PKG_CONFIG in
25292
  [\\/]* | ?:[\\/]*)
19742
  [\\/]* | ?:[\\/]*)
Lines 25298-25325 Link Here
25298
do
19748
do
25299
  IFS=$as_save_IFS
19749
  IFS=$as_save_IFS
25300
  test -z "$as_dir" && as_dir=.
19750
  test -z "$as_dir" && as_dir=.
25301
  for ac_exec_ext in '' $ac_executable_extensions; do
19751
    for ac_exec_ext in '' $ac_executable_extensions; do
25302
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25303
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19753
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25304
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25305
    break 2
19755
    break 2
25306
  fi
19756
  fi
25307
done
19757
done
25308
done
19758
  done
19759
IFS=$as_save_IFS
25309
19760
25310
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19761
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25311
  ;;
19762
  ;;
25312
esac
19763
esac
25313
fi
19764
fi
25314
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19765
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25315
25316
if test -n "$PKG_CONFIG"; then
19766
if test -n "$PKG_CONFIG"; then
25317
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25318
echo "${ECHO_T}$PKG_CONFIG" >&6
19768
$as_echo "$PKG_CONFIG" >&6; }
25319
else
19769
else
25320
  echo "$as_me:$LINENO: result: no" >&5
19770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25321
echo "${ECHO_T}no" >&6
19771
$as_echo "no" >&6; }
25322
fi
19772
fi
19773
25323
19774
25324
  fi
19775
  fi
25325
19776
Lines 25331-25355 Link Here
25331
  else
19782
  else
25332
     PKG_CONFIG_MIN_VERSION=0.9.0
19783
     PKG_CONFIG_MIN_VERSION=0.9.0
25333
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19784
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25334
        echo "$as_me:$LINENO: checking for gio-2.0 " >&5
19785
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 " >&5
25335
echo $ECHO_N "checking for gio-2.0 ... $ECHO_C" >&6
19786
$as_echo_n "checking for gio-2.0 ... " >&6; }
25336
19787
25337
        if $PKG_CONFIG --exists "gio-2.0 " ; then
19788
        if $PKG_CONFIG --exists "gio-2.0 " ; then
25338
            echo "$as_me:$LINENO: result: yes" >&5
19789
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25339
echo "${ECHO_T}yes" >&6
19790
$as_echo "yes" >&6; }
25340
            succeeded=yes
19791
            succeeded=yes
25341
19792
25342
            echo "$as_me:$LINENO: checking GIO_CFLAGS" >&5
19793
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_CFLAGS" >&5
25343
echo $ECHO_N "checking GIO_CFLAGS... $ECHO_C" >&6
19794
$as_echo_n "checking GIO_CFLAGS... " >&6; }
25344
            GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 "`
19795
            GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 "`
25345
            echo "$as_me:$LINENO: result: $GIO_CFLAGS" >&5
19796
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_CFLAGS" >&5
25346
echo "${ECHO_T}$GIO_CFLAGS" >&6
19797
$as_echo "$GIO_CFLAGS" >&6; }
25347
19798
25348
            echo "$as_me:$LINENO: checking GIO_LIBS" >&5
19799
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_LIBS" >&5
25349
echo $ECHO_N "checking GIO_LIBS... $ECHO_C" >&6
19800
$as_echo_n "checking GIO_LIBS... " >&6; }
25350
            GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 "`
19801
            GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 "`
25351
            echo "$as_me:$LINENO: result: $GIO_LIBS" >&5
19802
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_LIBS" >&5
25352
echo "${ECHO_T}$GIO_LIBS" >&6
19803
$as_echo "$GIO_LIBS" >&6; }
25353
        else
19804
        else
25354
            GIO_CFLAGS=""
19805
            GIO_CFLAGS=""
25355
            GIO_LIBS=""
19806
            GIO_LIBS=""
Lines 25370-25383 Link Here
25370
  if test $succeeded = yes; then
19821
  if test $succeeded = yes; then
25371
     :
19822
     :
25372
  else
19823
  else
25373
     { { echo "$as_me:$LINENO: error: Library requirements (gio-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19824
     as_fn_error "Library requirements (gio-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
25374
echo "$as_me: error: Library requirements (gio-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19825
  fi
25375
   { (exit 1); exit 1; }; }
19826
25376
  fi
19827
      else
25377
19828
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25378
      else
19829
$as_echo "no" >&6; }
25379
          echo "$as_me:$LINENO: result: no" >&5
25380
echo "${ECHO_T}no" >&6
25381
      fi
19830
      fi
25382
19831
25383
   fi
19832
   fi
Lines 25396-25413 Link Here
25396
19845
25397
if test  "$test_cairo" = "yes"; then
19846
if test  "$test_cairo" = "yes"; then
25398
19847
25399
    echo "$as_me:$LINENO: checking whether to use cairo" >&5
19848
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use cairo" >&5
25400
echo $ECHO_N "checking whether to use cairo... $ECHO_C" >&6
19849
$as_echo_n "checking whether to use cairo... " >&6; }
25401
    if test "x$enable_cairo" != "xno" ; then
19850
    if test "x$enable_cairo" != "xno" ; then
25402
        ENABLE_CAIRO="TRUE"
19851
        ENABLE_CAIRO="TRUE"
25403
	echo "$as_me:$LINENO: result: yes" >&5
19852
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25404
echo "${ECHO_T}yes" >&6
19853
$as_echo "yes" >&6; }
25405
        echo "$as_me:$LINENO: checking which cairo to use" >&5
19854
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking which cairo to use" >&5
25406
echo $ECHO_N "checking which cairo to use... $ECHO_C" >&6
19855
$as_echo_n "checking which cairo to use... " >&6; }
25407
        if test -n "$with_system_cairo" -o -n "$with_system_libs" && \
19856
        if test -n "$with_system_cairo" -o -n "$with_system_libs" && \
25408
           test "$with_system_cairo" != "no"; then
19857
           test "$with_system_cairo" != "no"; then
25409
           echo "$as_me:$LINENO: result: external" >&5
19858
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
25410
echo "${ECHO_T}external" >&6
19859
$as_echo "external" >&6; }
25411
           SYSTEM_CAIRO=YES
19860
           SYSTEM_CAIRO=YES
25412
19861
25413
19862
Lines 25416-25425 Link Here
25416
  if test -z "$PKG_CONFIG"; then
19865
  if test -z "$PKG_CONFIG"; then
25417
    # Extract the first word of "pkg-config", so it can be a program name with args.
19866
    # Extract the first word of "pkg-config", so it can be a program name with args.
25418
set dummy pkg-config; ac_word=$2
19867
set dummy pkg-config; ac_word=$2
25419
echo "$as_me:$LINENO: checking for $ac_word" >&5
19868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25420
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19869
$as_echo_n "checking for $ac_word... " >&6; }
25421
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19870
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25422
  echo $ECHO_N "(cached) $ECHO_C" >&6
19871
  $as_echo_n "(cached) " >&6
25423
else
19872
else
25424
  case $PKG_CONFIG in
19873
  case $PKG_CONFIG in
25425
  [\\/]* | ?:[\\/]*)
19874
  [\\/]* | ?:[\\/]*)
Lines 25431-25458 Link Here
25431
do
19880
do
25432
  IFS=$as_save_IFS
19881
  IFS=$as_save_IFS
25433
  test -z "$as_dir" && as_dir=.
19882
  test -z "$as_dir" && as_dir=.
25434
  for ac_exec_ext in '' $ac_executable_extensions; do
19883
    for ac_exec_ext in '' $ac_executable_extensions; do
25435
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25436
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19885
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25437
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19886
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25438
    break 2
19887
    break 2
25439
  fi
19888
  fi
25440
done
19889
done
25441
done
19890
  done
19891
IFS=$as_save_IFS
25442
19892
25443
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19893
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25444
  ;;
19894
  ;;
25445
esac
19895
esac
25446
fi
19896
fi
25447
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19897
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25448
25449
if test -n "$PKG_CONFIG"; then
19898
if test -n "$PKG_CONFIG"; then
25450
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25451
echo "${ECHO_T}$PKG_CONFIG" >&6
19900
$as_echo "$PKG_CONFIG" >&6; }
25452
else
19901
else
25453
  echo "$as_me:$LINENO: result: no" >&5
19902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25454
echo "${ECHO_T}no" >&6
19903
$as_echo "no" >&6; }
25455
fi
19904
fi
19905
25456
19906
25457
  fi
19907
  fi
25458
19908
Lines 25464-25488 Link Here
25464
  else
19914
  else
25465
     PKG_CONFIG_MIN_VERSION=0.9.0
19915
     PKG_CONFIG_MIN_VERSION=0.9.0
25466
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19916
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25467
        echo "$as_me:$LINENO: checking for cairo >= 1.0.2 " >&5
19917
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.0.2 " >&5
25468
echo $ECHO_N "checking for cairo >= 1.0.2 ... $ECHO_C" >&6
19918
$as_echo_n "checking for cairo >= 1.0.2 ... " >&6; }
25469
19919
25470
        if $PKG_CONFIG --exists "cairo >= 1.0.2 " ; then
19920
        if $PKG_CONFIG --exists "cairo >= 1.0.2 " ; then
25471
            echo "$as_me:$LINENO: result: yes" >&5
19921
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25472
echo "${ECHO_T}yes" >&6
19922
$as_echo "yes" >&6; }
25473
            succeeded=yes
19923
            succeeded=yes
25474
19924
25475
            echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
19925
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
25476
echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
19926
$as_echo_n "checking CAIRO_CFLAGS... " >&6; }
25477
            CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.0.2 "`
19927
            CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.0.2 "`
25478
            echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
19928
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
25479
echo "${ECHO_T}$CAIRO_CFLAGS" >&6
19929
$as_echo "$CAIRO_CFLAGS" >&6; }
25480
19930
25481
            echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
19931
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
25482
echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
19932
$as_echo_n "checking CAIRO_LIBS... " >&6; }
25483
            CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.0.2 "`
19933
            CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.0.2 "`
25484
            echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
19934
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
25485
echo "${ECHO_T}$CAIRO_LIBS" >&6
19935
$as_echo "$CAIRO_LIBS" >&6; }
25486
        else
19936
        else
25487
            CAIRO_CFLAGS=""
19937
            CAIRO_CFLAGS=""
25488
            CAIRO_LIBS=""
19938
            CAIRO_LIBS=""
Lines 25503-25533 Link Here
25503
  if test $succeeded = yes; then
19953
  if test $succeeded = yes; then
25504
     :
19954
     :
25505
  else
19955
  else
25506
     { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 1.0.2 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19956
     as_fn_error "Library requirements (cairo >= 1.0.2 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
25507
echo "$as_me: error: Library requirements (cairo >= 1.0.2 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
25508
   { (exit 1); exit 1; }; }
25509
  fi
19957
  fi
25510
19958
25511
	   if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$ENABLE_FONTCONFIG" != "TRUE" ; then
19959
	   if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$ENABLE_FONTCONFIG" != "TRUE" ; then
25512
	      { { echo "$as_me:$LINENO: error: Cairo library requires fontconfig." >&5
19960
	      as_fn_error "Cairo library requires fontconfig." "$LINENO" 5
25513
echo "$as_me: error: Cairo library requires fontconfig." >&2;}
25514
   { (exit 1); exit 1; }; }
25515
	   fi
19961
	   fi
25516
           if test "$with_system_xrender_headers" = "yes"; then
19962
           if test "$with_system_xrender_headers" = "yes"; then
25517
              echo "$as_me:$LINENO: checking whether Xrender.h defines PictStandardA8" >&5
19963
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xrender.h defines PictStandardA8" >&5
25518
echo $ECHO_N "checking whether Xrender.h defines PictStandardA8... $ECHO_C" >&6
19964
$as_echo_n "checking whether Xrender.h defines PictStandardA8... " >&6; }
25519
              if test "$cross_compiling" = yes; then
19965
              if test "$cross_compiling" = yes; then :
25520
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19966
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25521
See \`config.log' for more details." >&5
19967
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25522
echo "$as_me: error: cannot run test program while cross compiling
19968
as_fn_error "cannot run test program while cross compiling
25523
See \`config.log' for more details." >&2;}
19969
See \`config.log' for more details." "$LINENO" 5; }
25524
   { (exit 1); exit 1; }; }
19970
else
25525
else
19971
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25526
  cat >conftest.$ac_ext <<_ACEOF
25527
/* confdefs.h.  */
25528
_ACEOF
25529
cat confdefs.h >>conftest.$ac_ext
25530
cat >>conftest.$ac_ext <<_ACEOF
25531
/* end confdefs.h.  */
19972
/* end confdefs.h.  */
25532
19973
25533
#include <X11/extensions/Xrender.h>
19974
#include <X11/extensions/Xrender.h>
Lines 25541-25806 Link Here
25541
}
19982
}
25542
19983
25543
_ACEOF
19984
_ACEOF
25544
rm -f conftest$ac_exeext
19985
if ac_fn_c_try_run "$LINENO"; then :
25545
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25546
  (eval $ac_link) 2>&5
19987
$as_echo "yes" >&6; }
25547
  ac_status=$?
19988
else
25548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989
  as_fn_error "no, X headers too old." "$LINENO" 5
25549
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19990
fi
25550
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25551
  (eval $ac_try) 2>&5
19992
  conftest.$ac_objext conftest.beam conftest.$ac_ext
25552
  ac_status=$?
19993
fi
25553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994
25554
  (exit $ac_status); }; }; then
25555
  echo "$as_me:$LINENO: result: yes" >&5
25556
echo "${ECHO_T}yes" >&6
25557
else
25558
  echo "$as_me: program exited with status $ac_status" >&5
25559
echo "$as_me: failed program was:" >&5
25560
sed 's/^/| /' conftest.$ac_ext >&5
25561
25562
( exit $ac_status )
25563
{ { echo "$as_me:$LINENO: error: no, X headers too old." >&5
25564
echo "$as_me: error: no, X headers too old." >&2;}
25565
   { (exit 1); exit 1; }; }
25566
fi
25567
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25568
fi
25569
           fi
19995
           fi
25570
        else
19996
        else
25571
           BUILD_TYPE="$BUILD_TYPE CAIRO"
19997
           BUILD_TYPE="$BUILD_TYPE CAIRO"
25572
	   	   if test "$build_cpu" != "x86_64"; then
19998
	   	   if test "$build_cpu" != "x86_64"; then
25573
	      BUILD_PIXMAN=YES
19999
	      BUILD_PIXMAN=YES
25574
	   fi
20000
	   fi
25575
           echo "$as_me:$LINENO: result: internal" >&5
20001
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
25576
echo "${ECHO_T}internal" >&6
20002
$as_echo "internal" >&6; }
25577
        fi
20003
        fi
25578
    else
20004
    else
25579
	   echo "$as_me:$LINENO: result: no" >&5
20005
	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25580
echo "${ECHO_T}no" >&6
20006
$as_echo "no" >&6; }
25581
    fi
20007
    fi
25582
fi
20008
fi
25583
20009
25584
20010
25585
20011
25586
20012
25587
20013
25588
20014
25589
20015
25590
20016
25591
echo "$as_me:$LINENO: checking whether to build the OpenGL Transitions component" >&5
20017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the OpenGL Transitions component" >&5
25592
echo $ECHO_N "checking whether to build the OpenGL Transitions component... $ECHO_C" >&6
20018
$as_echo_n "checking whether to build the OpenGL Transitions component... " >&6; }
25593
ENABLE_OPENGL=
20019
ENABLE_OPENGL=
25594
20020
25595
if test "x$enable_opengl" != "xno" ; then
20021
if test "x$enable_opengl" != "xno" ; then
25596
   echo "$as_me:$LINENO: result: yes" >&5
20022
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25597
echo "${ECHO_T}yes" >&6
20023
$as_echo "yes" >&6; }
25598
   if test "${ac_cv_header_GL_gl_h+set}" = set; then
20024
   ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
25599
  echo "$as_me:$LINENO: checking for GL/gl.h" >&5
20025
if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25600
echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
20026
25601
if test "${ac_cv_header_GL_gl_h+set}" = set; then
20027
else
25602
  echo $ECHO_N "(cached) $ECHO_C" >&6
20028
  as_fn_error "OpenGL headers not found" "$LINENO" 5
25603
fi
20029
fi
25604
echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
20030
25605
echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
20031
25606
else
20032
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lGL" >&5
25607
  # Is the header compilable?
20033
$as_echo_n "checking for main in -lGL... " >&6; }
25608
echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
20034
if test "${ac_cv_lib_GL_main+set}" = set; then :
25609
echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
20035
  $as_echo_n "(cached) " >&6
25610
cat >conftest.$ac_ext <<_ACEOF
25611
/* confdefs.h.  */
25612
_ACEOF
25613
cat confdefs.h >>conftest.$ac_ext
25614
cat >>conftest.$ac_ext <<_ACEOF
25615
/* end confdefs.h.  */
25616
$ac_includes_default
25617
#include <GL/gl.h>
25618
_ACEOF
25619
rm -f conftest.$ac_objext
25620
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25621
  (eval $ac_compile) 2>conftest.er1
25622
  ac_status=$?
25623
  grep -v '^ *+' conftest.er1 >conftest.err
25624
  rm -f conftest.er1
25625
  cat conftest.err >&5
25626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627
  (exit $ac_status); } &&
25628
	 { ac_try='test -z "$ac_c_werror_flag"
25629
			 || test ! -s conftest.err'
25630
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631
  (eval $ac_try) 2>&5
25632
  ac_status=$?
25633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634
  (exit $ac_status); }; } &&
25635
	 { ac_try='test -s conftest.$ac_objext'
25636
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637
  (eval $ac_try) 2>&5
25638
  ac_status=$?
25639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640
  (exit $ac_status); }; }; then
25641
  ac_header_compiler=yes
25642
else
25643
  echo "$as_me: failed program was:" >&5
25644
sed 's/^/| /' conftest.$ac_ext >&5
25645
25646
ac_header_compiler=no
25647
fi
25648
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25649
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25650
echo "${ECHO_T}$ac_header_compiler" >&6
25651
25652
# Is the header present?
25653
echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25654
echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25655
cat >conftest.$ac_ext <<_ACEOF
25656
/* confdefs.h.  */
25657
_ACEOF
25658
cat confdefs.h >>conftest.$ac_ext
25659
cat >>conftest.$ac_ext <<_ACEOF
25660
/* end confdefs.h.  */
25661
#include <GL/gl.h>
25662
_ACEOF
25663
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25664
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25665
  ac_status=$?
25666
  grep -v '^ *+' conftest.er1 >conftest.err
25667
  rm -f conftest.er1
25668
  cat conftest.err >&5
25669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670
  (exit $ac_status); } >/dev/null; then
25671
  if test -s conftest.err; then
25672
    ac_cpp_err=$ac_c_preproc_warn_flag
25673
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25674
  else
25675
    ac_cpp_err=
25676
  fi
25677
else
25678
  ac_cpp_err=yes
25679
fi
25680
if test -z "$ac_cpp_err"; then
25681
  ac_header_preproc=yes
25682
else
25683
  echo "$as_me: failed program was:" >&5
25684
sed 's/^/| /' conftest.$ac_ext >&5
25685
25686
  ac_header_preproc=no
25687
fi
25688
rm -f conftest.err conftest.$ac_ext
25689
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25690
echo "${ECHO_T}$ac_header_preproc" >&6
25691
25692
# So?  What about this header?
25693
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25694
  yes:no: )
25695
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25696
echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25697
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
25698
echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
25699
    ac_header_preproc=yes
25700
    ;;
25701
  no:yes:* )
25702
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25703
echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25704
    { echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
25705
echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
25706
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
25707
echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
25708
    { echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
25709
echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25710
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25711
echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25712
    { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
25713
echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
25714
    (
25715
      cat <<\_ASBOX
25716
## ------------------------------------------ ##
25717
## Report this to the AC_PACKAGE_NAME lists.  ##
25718
## ------------------------------------------ ##
25719
_ASBOX
25720
    ) |
25721
      sed "s/^/$as_me: WARNING:     /" >&2
25722
    ;;
25723
esac
25724
echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25725
echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25726
if test "${ac_cv_header_GL_gl_h+set}" = set; then
25727
  echo $ECHO_N "(cached) $ECHO_C" >&6
25728
else
25729
  ac_cv_header_GL_gl_h=$ac_header_preproc
25730
fi
25731
echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25732
echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25733
25734
fi
25735
if test $ac_cv_header_GL_gl_h = yes; then
25736
  :
25737
else
25738
  { { echo "$as_me:$LINENO: error: OpenGL headers not found" >&5
25739
echo "$as_me: error: OpenGL headers not found" >&2;}
25740
   { (exit 1); exit 1; }; }
25741
fi
25742
25743
25744
25745
echo "$as_me:$LINENO: checking for main in -lGL" >&5
25746
echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
25747
if test "${ac_cv_lib_GL_main+set}" = set; then
25748
  echo $ECHO_N "(cached) $ECHO_C" >&6
25749
else
20036
else
25750
  ac_check_lib_save_LIBS=$LIBS
20037
  ac_check_lib_save_LIBS=$LIBS
25751
LIBS="-lGL  $LIBS"
20038
LIBS="-lGL  $LIBS"
25752
cat >conftest.$ac_ext <<_ACEOF
20039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25753
/* confdefs.h.  */
20040
/* end confdefs.h.  */
25754
_ACEOF
20041
25755
cat confdefs.h >>conftest.$ac_ext
20042
25756
cat >>conftest.$ac_ext <<_ACEOF
20043
int
25757
/* end confdefs.h.  */
20044
main ()
25758
20045
{
25759
20046
return main ();
25760
int
20047
  ;
25761
main ()
20048
  return 0;
25762
{
20049
}
25763
main ();
20050
_ACEOF
25764
  ;
20051
if ac_fn_c_try_link "$LINENO"; then :
25765
  return 0;
25766
}
25767
_ACEOF
25768
rm -f conftest.$ac_objext conftest$ac_exeext
25769
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25770
  (eval $ac_link) 2>conftest.er1
25771
  ac_status=$?
25772
  grep -v '^ *+' conftest.er1 >conftest.err
25773
  rm -f conftest.er1
25774
  cat conftest.err >&5
25775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776
  (exit $ac_status); } &&
25777
	 { ac_try='test -z "$ac_c_werror_flag"
25778
			 || test ! -s conftest.err'
25779
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780
  (eval $ac_try) 2>&5
25781
  ac_status=$?
25782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783
  (exit $ac_status); }; } &&
25784
	 { ac_try='test -s conftest$ac_exeext'
25785
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786
  (eval $ac_try) 2>&5
25787
  ac_status=$?
25788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789
  (exit $ac_status); }; }; then
25790
  ac_cv_lib_GL_main=yes
20052
  ac_cv_lib_GL_main=yes
25791
else
20053
else
25792
  echo "$as_me: failed program was:" >&5
20054
  ac_cv_lib_GL_main=no
25793
sed 's/^/| /' conftest.$ac_ext >&5
20055
fi
25794
20056
rm -f core conftest.err conftest.$ac_objext \
25795
ac_cv_lib_GL_main=no
20057
    conftest$ac_exeext conftest.$ac_ext
25796
fi
25797
rm -f conftest.err conftest.$ac_objext \
25798
      conftest$ac_exeext conftest.$ac_ext
25799
LIBS=$ac_check_lib_save_LIBS
20058
LIBS=$ac_check_lib_save_LIBS
25800
fi
20059
fi
25801
echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
20060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_main" >&5
25802
echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
20061
$as_echo "$ac_cv_lib_GL_main" >&6; }
25803
if test $ac_cv_lib_GL_main = yes; then
20062
if test "x$ac_cv_lib_GL_main" = x""yes; then :
25804
  cat >>confdefs.h <<_ACEOF
20063
  cat >>confdefs.h <<_ACEOF
25805
#define HAVE_LIBGL 1
20064
#define HAVE_LIBGL 1
25806
_ACEOF
20065
_ACEOF
Lines 25808-25878 Link Here
25808
  LIBS="-lGL $LIBS"
20067
  LIBS="-lGL $LIBS"
25809
20068
25810
else
20069
else
25811
  { { echo "$as_me:$LINENO: error: libGL not installed or functional" >&5
20070
  as_fn_error "libGL not installed or functional" "$LINENO" 5
25812
echo "$as_me: error: libGL not installed or functional" >&2;}
20071
fi
25813
   { (exit 1); exit 1; }; }
20072
25814
fi
20073
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lGLU" >&5
25815
20074
$as_echo_n "checking for main in -lGLU... " >&6; }
25816
20075
if test "${ac_cv_lib_GLU_main+set}" = set; then :
25817
echo "$as_me:$LINENO: checking for main in -lGLU" >&5
20076
  $as_echo_n "(cached) " >&6
25818
echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6
25819
if test "${ac_cv_lib_GLU_main+set}" = set; then
25820
  echo $ECHO_N "(cached) $ECHO_C" >&6
25821
else
20077
else
25822
  ac_check_lib_save_LIBS=$LIBS
20078
  ac_check_lib_save_LIBS=$LIBS
25823
LIBS="-lGLU  $LIBS"
20079
LIBS="-lGLU  $LIBS"
25824
cat >conftest.$ac_ext <<_ACEOF
20080
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825
/* confdefs.h.  */
20081
/* end confdefs.h.  */
25826
_ACEOF
20082
25827
cat confdefs.h >>conftest.$ac_ext
20083
25828
cat >>conftest.$ac_ext <<_ACEOF
20084
int
25829
/* end confdefs.h.  */
20085
main ()
25830
20086
{
25831
20087
return main ();
25832
int
20088
  ;
25833
main ()
20089
  return 0;
25834
{
20090
}
25835
main ();
20091
_ACEOF
25836
  ;
20092
if ac_fn_c_try_link "$LINENO"; then :
25837
  return 0;
25838
}
25839
_ACEOF
25840
rm -f conftest.$ac_objext conftest$ac_exeext
25841
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25842
  (eval $ac_link) 2>conftest.er1
25843
  ac_status=$?
25844
  grep -v '^ *+' conftest.er1 >conftest.err
25845
  rm -f conftest.er1
25846
  cat conftest.err >&5
25847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848
  (exit $ac_status); } &&
25849
	 { ac_try='test -z "$ac_c_werror_flag"
25850
			 || test ! -s conftest.err'
25851
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852
  (eval $ac_try) 2>&5
25853
  ac_status=$?
25854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855
  (exit $ac_status); }; } &&
25856
	 { ac_try='test -s conftest$ac_exeext'
25857
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858
  (eval $ac_try) 2>&5
25859
  ac_status=$?
25860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861
  (exit $ac_status); }; }; then
25862
  ac_cv_lib_GLU_main=yes
20093
  ac_cv_lib_GLU_main=yes
25863
else
20094
else
25864
  echo "$as_me: failed program was:" >&5
20095
  ac_cv_lib_GLU_main=no
25865
sed 's/^/| /' conftest.$ac_ext >&5
20096
fi
25866
20097
rm -f core conftest.err conftest.$ac_objext \
25867
ac_cv_lib_GLU_main=no
20098
    conftest$ac_exeext conftest.$ac_ext
25868
fi
25869
rm -f conftest.err conftest.$ac_objext \
25870
      conftest$ac_exeext conftest.$ac_ext
25871
LIBS=$ac_check_lib_save_LIBS
20099
LIBS=$ac_check_lib_save_LIBS
25872
fi
20100
fi
25873
echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5
20101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_main" >&5
25874
echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6
20102
$as_echo "$ac_cv_lib_GLU_main" >&6; }
25875
if test $ac_cv_lib_GLU_main = yes; then
20103
if test "x$ac_cv_lib_GLU_main" = x""yes; then :
25876
  cat >>confdefs.h <<_ACEOF
20104
  cat >>confdefs.h <<_ACEOF
25877
#define HAVE_LIBGLU 1
20105
#define HAVE_LIBGLU 1
25878
_ACEOF
20106
_ACEOF
Lines 25880-25950 Link Here
25880
  LIBS="-lGLU $LIBS"
20108
  LIBS="-lGLU $LIBS"
25881
20109
25882
else
20110
else
25883
  { { echo "$as_me:$LINENO: error: libGLU not installed or functional" >&5
20111
  as_fn_error "libGLU not installed or functional" "$LINENO" 5
25884
echo "$as_me: error: libGLU not installed or functional" >&2;}
25885
   { (exit 1); exit 1; }; }
25886
fi
20112
fi
25887
20113
25888
   ENABLE_OPENGL=TRUE
20114
   ENABLE_OPENGL=TRUE
25889
else
20115
else
25890
   echo "$as_me:$LINENO: result: no" >&5
20116
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25891
echo "${ECHO_T}no" >&6
20117
$as_echo "no" >&6; }
25892
fi
20118
fi
25893
20119
25894
20120
25895
20121
25896
echo "$as_me:$LINENO: checking whether to build extra presenter ui" >&5
20122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build extra presenter ui" >&5
25897
echo $ECHO_N "checking whether to build extra presenter ui... $ECHO_C" >&6
20123
$as_echo_n "checking whether to build extra presenter ui... " >&6; }
25898
if test -n "$enable_presenter_extra_ui" -a "$enable_presenter_extra_ui" != "no"; then
20124
if test -n "$enable_presenter_extra_ui" -a "$enable_presenter_extra_ui" != "no"; then
25899
   echo "$as_me:$LINENO: result: yes" >&5
20125
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25900
echo "${ECHO_T}yes" >&6
20126
$as_echo "yes" >&6; }
25901
   ENABLE_PRESENTER_EXTRA_UI=YES
20127
   ENABLE_PRESENTER_EXTRA_UI=YES
25902
else
20128
else
25903
   echo "$as_me:$LINENO: result: no" >&5
20129
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25904
echo "${ECHO_T}no" >&6
20130
$as_echo "no" >&6; }
25905
   ENABLE_PRESENTER_EXTRA_UI=NO
20131
   ENABLE_PRESENTER_EXTRA_UI=NO
25906
fi
20132
fi
25907
20133
25908
20134
25909
echo "$as_me:$LINENO: checking whether to build the Presentation Minimizer extension" >&5
20135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the Presentation Minimizer extension" >&5
25910
echo $ECHO_N "checking whether to build the Presentation Minimizer extension... $ECHO_C" >&6
20136
$as_echo_n "checking whether to build the Presentation Minimizer extension... " >&6; }
25911
if test -n "$enable_minimizer" -a "$enable_minimizer" != "no"; then
20137
if test -n "$enable_minimizer" -a "$enable_minimizer" != "no"; then
25912
   echo "$as_me:$LINENO: result: yes" >&5
20138
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25913
echo "${ECHO_T}yes" >&6
20139
$as_echo "yes" >&6; }
25914
   ENABLE_MINIMIZER=YES
20140
   ENABLE_MINIMIZER=YES
25915
else
20141
else
25916
   echo "$as_me:$LINENO: result: no" >&5
20142
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25917
echo "${ECHO_T}no" >&6
20143
$as_echo "no" >&6; }
25918
   ENABLE_MINIMIZER=NO
20144
   ENABLE_MINIMIZER=NO
25919
fi
20145
fi
25920
20146
25921
20147
25922
echo "$as_me:$LINENO: checking whether to build the Presenter Screen extension" >&5
20148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the Presenter Screen extension" >&5
25923
echo $ECHO_N "checking whether to build the Presenter Screen extension... $ECHO_C" >&6
20149
$as_echo_n "checking whether to build the Presenter Screen extension... " >&6; }
25924
if test -n "$enable_presenter_console" -a "$enable_presenter_screen" != "no"; then
20150
if test -n "$enable_presenter_console" -a "$enable_presenter_screen" != "no"; then
25925
   echo "$as_me:$LINENO: result: yes" >&5
20151
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25926
echo "${ECHO_T}yes" >&6
20152
$as_echo "yes" >&6; }
25927
   ENABLE_PRESENTER_SCREEN=YES
20153
   ENABLE_PRESENTER_SCREEN=YES
25928
else
20154
else
25929
   echo "$as_me:$LINENO: result: no" >&5
20155
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25930
echo "${ECHO_T}no" >&6
20156
$as_echo "no" >&6; }
25931
   ENABLE_PRESENTER_SCREEN=NO
20157
   ENABLE_PRESENTER_SCREEN=NO
25932
fi
20158
fi
25933
20159
25934
20160
25935
echo "$as_me:$LINENO: checking whether to build the PDF Import extension" >&5
20161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the PDF Import extension" >&5
25936
echo $ECHO_N "checking whether to build the PDF Import extension... $ECHO_C" >&6
20162
$as_echo_n "checking whether to build the PDF Import extension... " >&6; }
25937
if test -n "$enable_pdfimport" -a "$enable_pdfimport" != "no"; then
20163
if test -n "$enable_pdfimport" -a "$enable_pdfimport" != "no"; then
25938
  echo "$as_me:$LINENO: result: yes" >&5
20164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25939
echo "${ECHO_T}yes" >&6
20165
$as_echo "yes" >&6; }
25940
  ENABLE_PDFIMPORT=YES
20166
  ENABLE_PDFIMPORT=YES
25941
20167
25942
        echo "$as_me:$LINENO: checking which pdf backend to use" >&5
20168
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking which pdf backend to use" >&5
25943
echo $ECHO_N "checking which pdf backend to use... $ECHO_C" >&6
20169
$as_echo_n "checking which pdf backend to use... " >&6; }
25944
  if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
20170
  if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
25945
       test "$with_system_poppler" != "no"; then
20171
       test "$with_system_poppler" != "no"; then
25946
      echo "$as_me:$LINENO: result: external" >&5
20172
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
25947
echo "${ECHO_T}external" >&6
20173
$as_echo "external" >&6; }
25948
      SYSTEM_POPPLER=YES
20174
      SYSTEM_POPPLER=YES
25949
20175
25950
  succeeded=no
20176
  succeeded=no
Lines 25952-25961 Link Here
25952
  if test -z "$PKG_CONFIG"; then
20178
  if test -z "$PKG_CONFIG"; then
25953
    # Extract the first word of "pkg-config", so it can be a program name with args.
20179
    # Extract the first word of "pkg-config", so it can be a program name with args.
25954
set dummy pkg-config; ac_word=$2
20180
set dummy pkg-config; ac_word=$2
25955
echo "$as_me:$LINENO: checking for $ac_word" >&5
20181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25956
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20182
$as_echo_n "checking for $ac_word... " >&6; }
25957
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20183
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25958
  echo $ECHO_N "(cached) $ECHO_C" >&6
20184
  $as_echo_n "(cached) " >&6
25959
else
20185
else
25960
  case $PKG_CONFIG in
20186
  case $PKG_CONFIG in
25961
  [\\/]* | ?:[\\/]*)
20187
  [\\/]* | ?:[\\/]*)
Lines 25967-25994 Link Here
25967
do
20193
do
25968
  IFS=$as_save_IFS
20194
  IFS=$as_save_IFS
25969
  test -z "$as_dir" && as_dir=.
20195
  test -z "$as_dir" && as_dir=.
25970
  for ac_exec_ext in '' $ac_executable_extensions; do
20196
    for ac_exec_ext in '' $ac_executable_extensions; do
25971
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25972
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20198
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25973
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25974
    break 2
20200
    break 2
25975
  fi
20201
  fi
25976
done
20202
done
25977
done
20203
  done
20204
IFS=$as_save_IFS
25978
20205
25979
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20206
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25980
  ;;
20207
  ;;
25981
esac
20208
esac
25982
fi
20209
fi
25983
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20210
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25984
25985
if test -n "$PKG_CONFIG"; then
20211
if test -n "$PKG_CONFIG"; then
25986
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20212
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25987
echo "${ECHO_T}$PKG_CONFIG" >&6
20213
$as_echo "$PKG_CONFIG" >&6; }
25988
else
20214
else
25989
  echo "$as_me:$LINENO: result: no" >&5
20215
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25990
echo "${ECHO_T}no" >&6
20216
$as_echo "no" >&6; }
25991
fi
20217
fi
20218
25992
20219
25993
  fi
20220
  fi
25994
20221
Lines 26000-26024 Link Here
26000
  else
20227
  else
26001
     PKG_CONFIG_MIN_VERSION=0.9.0
20228
     PKG_CONFIG_MIN_VERSION=0.9.0
26002
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20229
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26003
        echo "$as_me:$LINENO: checking for poppler >= 0.8.0 " >&5
20230
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poppler >= 0.8.0 " >&5
26004
echo $ECHO_N "checking for poppler >= 0.8.0 ... $ECHO_C" >&6
20231
$as_echo_n "checking for poppler >= 0.8.0 ... " >&6; }
26005
20232
26006
        if $PKG_CONFIG --exists "poppler >= 0.8.0 " ; then
20233
        if $PKG_CONFIG --exists "poppler >= 0.8.0 " ; then
26007
            echo "$as_me:$LINENO: result: yes" >&5
20234
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26008
echo "${ECHO_T}yes" >&6
20235
$as_echo "yes" >&6; }
26009
            succeeded=yes
20236
            succeeded=yes
26010
20237
26011
            echo "$as_me:$LINENO: checking POPPLER_CFLAGS" >&5
20238
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking POPPLER_CFLAGS" >&5
26012
echo $ECHO_N "checking POPPLER_CFLAGS... $ECHO_C" >&6
20239
$as_echo_n "checking POPPLER_CFLAGS... " >&6; }
26013
            POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler >= 0.8.0 "`
20240
            POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler >= 0.8.0 "`
26014
            echo "$as_me:$LINENO: result: $POPPLER_CFLAGS" >&5
20241
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POPPLER_CFLAGS" >&5
26015
echo "${ECHO_T}$POPPLER_CFLAGS" >&6
20242
$as_echo "$POPPLER_CFLAGS" >&6; }
26016
20243
26017
            echo "$as_me:$LINENO: checking POPPLER_LIBS" >&5
20244
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking POPPLER_LIBS" >&5
26018
echo $ECHO_N "checking POPPLER_LIBS... $ECHO_C" >&6
20245
$as_echo_n "checking POPPLER_LIBS... " >&6; }
26019
            POPPLER_LIBS=`$PKG_CONFIG --libs "poppler >= 0.8.0 "`
20246
            POPPLER_LIBS=`$PKG_CONFIG --libs "poppler >= 0.8.0 "`
26020
            echo "$as_me:$LINENO: result: $POPPLER_LIBS" >&5
20247
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POPPLER_LIBS" >&5
26021
echo "${ECHO_T}$POPPLER_LIBS" >&6
20248
$as_echo "$POPPLER_LIBS" >&6; }
26022
        else
20249
        else
26023
            POPPLER_CFLAGS=""
20250
            POPPLER_CFLAGS=""
26024
            POPPLER_LIBS=""
20251
            POPPLER_LIBS=""
Lines 26039-26068 Link Here
26039
  if test $succeeded = yes; then
20266
  if test $succeeded = yes; then
26040
     :
20267
     :
26041
  else
20268
  else
26042
     { { echo "$as_me:$LINENO: error: Library requirements (poppler >= 0.8.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
20269
     as_fn_error "Library requirements (poppler >= 0.8.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
26043
echo "$as_me: error: Library requirements (poppler >= 0.8.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
20270
  fi
26044
   { (exit 1); exit 1; }; }
20271
26045
  fi
20272
  else
26046
20273
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
26047
  else
20274
$as_echo "internal" >&6; }
26048
      echo "$as_me:$LINENO: result: internal" >&5
26049
echo "${ECHO_T}internal" >&6
26050
      SYSTEM_POPPLER=NO
20275
      SYSTEM_POPPLER=NO
26051
      BUILD_TYPE="$BUILD_TYPE XPDF"
20276
      BUILD_TYPE="$BUILD_TYPE XPDF"
26052
      echo "$as_me:$LINENO: checking for xpdf module" >&5
20277
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xpdf module" >&5
26053
echo $ECHO_N "checking for xpdf module... $ECHO_C" >&6
20278
$as_echo_n "checking for xpdf module... " >&6; }
26054
      if test -d ./xpdf; then
20279
      if test -d ./xpdf; then
26055
       echo "$as_me:$LINENO: result: OK" >&5
20280
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
26056
echo "${ECHO_T}OK" >&6
20281
$as_echo "OK" >&6; }
26057
      else
20282
      else
26058
        { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
20283
        as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
26059
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
20284
      fi
26060
   { (exit 1); exit 1; }; }
20285
  fi
26061
      fi
20286
else
26062
  fi
20287
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26063
else
20288
$as_echo "no" >&6; }
26064
   echo "$as_me:$LINENO: result: no" >&5
26065
echo "${ECHO_T}no" >&6
26066
   ENABLE_PDFIMPORT=NO
20289
   ENABLE_PDFIMPORT=NO
26067
fi
20290
fi
26068
20291
Lines 26071-26152 Link Here
26071
20294
26072
20295
26073
if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
20296
if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
26074
  echo "$as_me:$LINENO: checking for sdext module" >&5
20297
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdext module" >&5
26075
echo $ECHO_N "checking for sdext module... $ECHO_C" >&6
20298
$as_echo_n "checking for sdext module... " >&6; }
26076
  if test -d ./sdext; then
20299
  if test -d ./sdext; then
26077
   echo "$as_me:$LINENO: result: OK" >&5
20300
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
26078
echo "${ECHO_T}OK" >&6
20301
$as_echo "OK" >&6; }
26079
  else
20302
  else
26080
   { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
20303
   as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
26081
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
26082
   { (exit 1); exit 1; }; }
26083
  fi
20304
  fi
26084
  BUILD_TYPE="$BUILD_TYPE SDEXT"
20305
  BUILD_TYPE="$BUILD_TYPE SDEXT"
26085
fi
20306
fi
26086
20307
26087
echo "$as_me:$LINENO: checking whether to build the Wiki Publisher extension" >&5
20308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the Wiki Publisher extension" >&5
26088
echo $ECHO_N "checking whether to build the Wiki Publisher extension... $ECHO_C" >&6
20309
$as_echo_n "checking whether to build the Wiki Publisher extension... " >&6; }
26089
if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test  "$WITH_JAVA" != "no"; then
20310
if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test  "$WITH_JAVA" != "no"; then
26090
  echo "$as_me:$LINENO: result: yes" >&5
20311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26091
echo "${ECHO_T}yes" >&6
20312
$as_echo "yes" >&6; }
26092
  echo "$as_me:$LINENO: checking for swext module" >&5
20313
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for swext module" >&5
26093
echo $ECHO_N "checking for swext module... $ECHO_C" >&6
20314
$as_echo_n "checking for swext module... " >&6; }
26094
  if test -d ./swext; then
20315
  if test -d ./swext; then
26095
   echo "$as_me:$LINENO: result: OK" >&5
20316
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
26096
echo "${ECHO_T}OK" >&6
20317
$as_echo "OK" >&6; }
26097
  else
20318
  else
26098
   { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
20319
   as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
26099
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
26100
   { (exit 1); exit 1; }; }
26101
  fi
20320
  fi
26102
  ENABLE_MEDIAWIKI=YES
20321
  ENABLE_MEDIAWIKI=YES
26103
  BUILD_TYPE="$BUILD_TYPE SWEXT"
20322
  BUILD_TYPE="$BUILD_TYPE SWEXT"
26104
else
20323
else
26105
  echo "$as_me:$LINENO: result: no" >&5
20324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26106
echo "${ECHO_T}no" >&6
20325
$as_echo "no" >&6; }
26107
  ENABLE_MEDIAWIKI=NO
20326
  ENABLE_MEDIAWIKI=NO
26108
fi
20327
fi
26109
20328
26110
20329
26111
if test "$ENABLE_MEDIAWIKI" == "YES"; then
20330
if test "$ENABLE_MEDIAWIKI" == "YES"; then
26112
  echo "$as_me:$LINENO: checking which Servlet API Jar to use" >&5
20331
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Servlet API Jar to use" >&5
26113
echo $ECHO_N "checking which Servlet API Jar to use... $ECHO_C" >&6
20332
$as_echo_n "checking which Servlet API Jar to use... " >&6; }
26114
  if test -n "$with_system_servlet_api"; then
20333
  if test -n "$with_system_servlet_api"; then
26115
    echo "$as_me:$LINENO: result: external" >&5
20334
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
26116
echo "${ECHO_T}external" >&6
20335
$as_echo "external" >&6; }
26117
    SYSTEM_SERVLETAPI=YES
20336
    SYSTEM_SERVLETAPI=YES
26118
      if test -z "$SERVLETAPI_JAR"; then
20337
      if test -z "$SERVLETAPI_JAR"; then
26119
	SERVLETAPI_JAR=/usr/share/java/servlet-api.jar
20338
	SERVLETAPI_JAR=/usr/share/java/servlet-api.jar
26120
      fi
20339
      fi
26121
      as_ac_File=`echo "ac_cv_file_$SERVLETAPI_JAR" | $as_tr_sh`
20340
      as_ac_File=`$as_echo "ac_cv_file_$SERVLETAPI_JAR" | $as_tr_sh`
26122
echo "$as_me:$LINENO: checking for $SERVLETAPI_JAR" >&5
20341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SERVLETAPI_JAR" >&5
26123
echo $ECHO_N "checking for $SERVLETAPI_JAR... $ECHO_C" >&6
20342
$as_echo_n "checking for $SERVLETAPI_JAR... " >&6; }
26124
if eval "test \"\${$as_ac_File+set}\" = set"; then
20343
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26125
  echo $ECHO_N "(cached) $ECHO_C" >&6
20344
  $as_echo_n "(cached) " >&6
26126
else
20345
else
26127
  test "$cross_compiling" = yes &&
20346
  test "$cross_compiling" = yes &&
26128
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20347
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26129
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26130
   { (exit 1); exit 1; }; }
26131
if test -r "$SERVLETAPI_JAR"; then
20348
if test -r "$SERVLETAPI_JAR"; then
26132
  eval "$as_ac_File=yes"
20349
  eval "$as_ac_File=yes"
26133
else
20350
else
26134
  eval "$as_ac_File=no"
20351
  eval "$as_ac_File=no"
26135
fi
20352
fi
26136
fi
20353
fi
26137
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20354
eval ac_res=\$$as_ac_File
26138
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20355
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26139
if test `eval echo '${'$as_ac_File'}'` = yes; then
20356
$as_echo "$ac_res" >&6; }
26140
  :
20357
eval as_val=\$$as_ac_File
26141
else
20358
   if test "x$as_val" = x""yes; then :
26142
  { { echo "$as_me:$LINENO: error: servlet-api.jar not found." >&5
20359
26143
echo "$as_me: error: servlet-api.jar not found." >&2;}
20360
else
26144
   { (exit 1); exit 1; }; }
20361
  as_fn_error "servlet-api.jar not found." "$LINENO" 5
26145
fi
20362
fi
26146
20363
26147
  else
20364
  else
26148
    echo "$as_me:$LINENO: result: internal" >&5
20365
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
26149
echo "${ECHO_T}internal" >&6
20366
$as_echo "internal" >&6; }
26150
    SYSTEM_SERVLETAPI=NO
20367
    SYSTEM_SERVLETAPI=NO
26151
    BUILD_TYPE="$BUILD_TYPE TOMCAT"
20368
    BUILD_TYPE="$BUILD_TYPE TOMCAT"
26152
  fi
20369
  fi
Lines 26154-27042 Link Here
26154
20371
26155
20372
26156
20373
26157
echo "$as_me:$LINENO: checking whether to build the Report Builder extension" >&5
20374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the Report Builder extension" >&5
26158
echo $ECHO_N "checking whether to build the Report Builder extension... $ECHO_C" >&6
20375
$as_echo_n "checking whether to build the Report Builder extension... " >&6; }
26159
if test -n "$enable_report_builder" -a "$enable_report_builder" != "no" && test "$WITH_JAVA" != "no"; then
20376
if test -n "$enable_report_builder" -a "$enable_report_builder" != "no" && test "$WITH_JAVA" != "no"; then
26160
  echo "$as_me:$LINENO: result: yes" >&5
20377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26161
echo "${ECHO_T}yes" >&6
20378
$as_echo "yes" >&6; }
26162
  ENABLE_REPORTBUILDER=YES
20379
  ENABLE_REPORTBUILDER=YES
26163
  echo "$as_me:$LINENO: checking for reportbuilder module" >&5
20380
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for reportbuilder module" >&5
26164
echo $ECHO_N "checking for reportbuilder module... $ECHO_C" >&6
20381
$as_echo_n "checking for reportbuilder module... " >&6; }
26165
  if test -d ./reportbuilder; then
20382
  if test -d ./reportbuilder; then
26166
    echo "$as_me:$LINENO: result: OK" >&5
20383
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
26167
echo "${ECHO_T}OK" >&6
20384
$as_echo "OK" >&6; }
26168
  else
20385
  else
26169
    { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
20386
    as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
26170
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
20387
  fi
26171
   { (exit 1); exit 1; }; }
20388
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which jfreereport libs to use" >&5
26172
  fi
20389
$as_echo_n "checking which jfreereport libs to use... " >&6; }
26173
  echo "$as_me:$LINENO: checking which jfreereport libs to use" >&5
26174
echo $ECHO_N "checking which jfreereport libs to use... $ECHO_C" >&6
26175
  if test "$with_system_jfreereport" == "yes"; then
20390
  if test "$with_system_jfreereport" == "yes"; then
26176
   	SYSTEM_JFREEREPORT=YES
20391
   	SYSTEM_JFREEREPORT=YES
26177
  	   echo "$as_me:$LINENO: result: external" >&5
20392
  	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
26178
echo "${ECHO_T}external" >&6
20393
$as_echo "external" >&6; }
26179
      if test -z $SAC_JAR; then
20394
      if test -z $SAC_JAR; then
26180
             SAC_JAR=/usr/share/java/sac.jar
20395
             SAC_JAR=/usr/share/java/sac.jar
26181
      fi
20396
      fi
26182
      as_ac_File=`echo "ac_cv_file_$SAC_JAR" | $as_tr_sh`
20397
      as_ac_File=`$as_echo "ac_cv_file_$SAC_JAR" | $as_tr_sh`
26183
echo "$as_me:$LINENO: checking for $SAC_JAR" >&5
20398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SAC_JAR" >&5
26184
echo $ECHO_N "checking for $SAC_JAR... $ECHO_C" >&6
20399
$as_echo_n "checking for $SAC_JAR... " >&6; }
26185
if eval "test \"\${$as_ac_File+set}\" = set"; then
20400
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26186
  echo $ECHO_N "(cached) $ECHO_C" >&6
20401
  $as_echo_n "(cached) " >&6
26187
else
20402
else
26188
  test "$cross_compiling" = yes &&
20403
  test "$cross_compiling" = yes &&
26189
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20404
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26190
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26191
   { (exit 1); exit 1; }; }
26192
if test -r "$SAC_JAR"; then
20405
if test -r "$SAC_JAR"; then
26193
  eval "$as_ac_File=yes"
20406
  eval "$as_ac_File=yes"
26194
else
20407
else
26195
  eval "$as_ac_File=no"
20408
  eval "$as_ac_File=no"
26196
fi
20409
fi
26197
fi
20410
fi
26198
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20411
eval ac_res=\$$as_ac_File
26199
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20412
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26200
if test `eval echo '${'$as_ac_File'}'` = yes; then
20413
$as_echo "$ac_res" >&6; }
26201
  :
20414
eval as_val=\$$as_ac_File
26202
else
20415
   if test "x$as_val" = x""yes; then :
26203
  { { echo "$as_me:$LINENO: error: sac.jar not found." >&5
20416
26204
echo "$as_me: error: sac.jar not found." >&2;}
20417
else
26205
   { (exit 1); exit 1; }; }
20418
  as_fn_error "sac.jar not found." "$LINENO" 5
26206
fi
20419
fi
26207
20420
26208
20421
26209
      if test -z $LIBXML_JAR; then
20422
      if test -z $LIBXML_JAR; then
26210
        echo "$as_me:$LINENO: checking for /usr/share/java/libxml-1.0.0.jar" >&5
20423
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libxml-1.0.0.jar" >&5
26211
echo $ECHO_N "checking for /usr/share/java/libxml-1.0.0.jar... $ECHO_C" >&6
20424
$as_echo_n "checking for /usr/share/java/libxml-1.0.0.jar... " >&6; }
26212
if test "${ac_cv_file__usr_share_java_libxml_1_0_0_jar+set}" = set; then
20425
if test "${ac_cv_file__usr_share_java_libxml_1_0_0_jar+set}" = set; then :
26213
  echo $ECHO_N "(cached) $ECHO_C" >&6
20426
  $as_echo_n "(cached) " >&6
26214
else
20427
else
26215
  test "$cross_compiling" = yes &&
20428
  test "$cross_compiling" = yes &&
26216
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20429
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26217
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26218
   { (exit 1); exit 1; }; }
26219
if test -r "/usr/share/java/libxml-1.0.0.jar"; then
20430
if test -r "/usr/share/java/libxml-1.0.0.jar"; then
26220
  ac_cv_file__usr_share_java_libxml_1_0_0_jar=yes
20431
  ac_cv_file__usr_share_java_libxml_1_0_0_jar=yes
26221
else
20432
else
26222
  ac_cv_file__usr_share_java_libxml_1_0_0_jar=no
20433
  ac_cv_file__usr_share_java_libxml_1_0_0_jar=no
26223
fi
20434
fi
26224
fi
20435
fi
26225
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&5
20436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&5
26226
echo "${ECHO_T}$ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&6
20437
$as_echo "$ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&6; }
26227
if test $ac_cv_file__usr_share_java_libxml_1_0_0_jar = yes; then
20438
if test "x$ac_cv_file__usr_share_java_libxml_1_0_0_jar" = x""yes; then :
26228
   LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar
20439
   LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar
26229
else
20440
else
26230
20441
26231
            echo "$as_me:$LINENO: checking for /usr/share/java/libxml.jar" >&5
20442
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libxml.jar" >&5
26232
echo $ECHO_N "checking for /usr/share/java/libxml.jar... $ECHO_C" >&6
20443
$as_echo_n "checking for /usr/share/java/libxml.jar... " >&6; }
26233
if test "${ac_cv_file__usr_share_java_libxml_jar+set}" = set; then
20444
if test "${ac_cv_file__usr_share_java_libxml_jar+set}" = set; then :
26234
  echo $ECHO_N "(cached) $ECHO_C" >&6
20445
  $as_echo_n "(cached) " >&6
26235
else
20446
else
26236
  test "$cross_compiling" = yes &&
20447
  test "$cross_compiling" = yes &&
26237
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20448
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26238
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26239
   { (exit 1); exit 1; }; }
26240
if test -r "/usr/share/java/libxml.jar"; then
20449
if test -r "/usr/share/java/libxml.jar"; then
26241
  ac_cv_file__usr_share_java_libxml_jar=yes
20450
  ac_cv_file__usr_share_java_libxml_jar=yes
26242
else
20451
else
26243
  ac_cv_file__usr_share_java_libxml_jar=no
20452
  ac_cv_file__usr_share_java_libxml_jar=no
26244
fi
20453
fi
26245
fi
20454
fi
26246
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libxml_jar" >&5
20455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libxml_jar" >&5
26247
echo "${ECHO_T}$ac_cv_file__usr_share_java_libxml_jar" >&6
20456
$as_echo "$ac_cv_file__usr_share_java_libxml_jar" >&6; }
26248
if test $ac_cv_file__usr_share_java_libxml_jar = yes; then
20457
if test "x$ac_cv_file__usr_share_java_libxml_jar" = x""yes; then :
26249
   LIBXML_JAR=/usr/share/java/libxml.jar
20458
   LIBXML_JAR=/usr/share/java/libxml.jar
26250
else
20459
else
26251
  { { echo "$as_me:$LINENO: error: libxml.jar replacement not found." >&5
20460
  as_fn_error "libxml.jar replacement not found." "$LINENO" 5
26252
echo "$as_me: error: libxml.jar replacement not found." >&2;}
20461
26253
   { (exit 1); exit 1; }; }
20462
fi
26254
20463
26255
fi
20464
26256
20465
26257
20466
fi
26258
20467
26259
fi
20468
      else
26260
20469
        as_ac_File=`$as_echo "ac_cv_file_$LIBXML_JAR" | $as_tr_sh`
26261
      else
20470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBXML_JAR" >&5
26262
        as_ac_File=`echo "ac_cv_file_$LIBXML_JAR" | $as_tr_sh`
20471
$as_echo_n "checking for $LIBXML_JAR... " >&6; }
26263
echo "$as_me:$LINENO: checking for $LIBXML_JAR" >&5
20472
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26264
echo $ECHO_N "checking for $LIBXML_JAR... $ECHO_C" >&6
20473
  $as_echo_n "(cached) " >&6
26265
if eval "test \"\${$as_ac_File+set}\" = set"; then
20474
else
26266
  echo $ECHO_N "(cached) $ECHO_C" >&6
20475
  test "$cross_compiling" = yes &&
26267
else
20476
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26268
  test "$cross_compiling" = yes &&
26269
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26270
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26271
   { (exit 1); exit 1; }; }
26272
if test -r "$LIBXML_JAR"; then
20477
if test -r "$LIBXML_JAR"; then
26273
  eval "$as_ac_File=yes"
20478
  eval "$as_ac_File=yes"
26274
else
20479
else
26275
  eval "$as_ac_File=no"
20480
  eval "$as_ac_File=no"
26276
fi
20481
fi
26277
fi
20482
fi
26278
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20483
eval ac_res=\$$as_ac_File
26279
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20484
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26280
if test `eval echo '${'$as_ac_File'}'` = yes; then
20485
$as_echo "$ac_res" >&6; }
26281
  :
20486
eval as_val=\$$as_ac_File
26282
else
20487
   if test "x$as_val" = x""yes; then :
26283
  { { echo "$as_me:$LINENO: error: libxml.jar not found." >&5
20488
26284
echo "$as_me: error: libxml.jar not found." >&2;}
20489
else
26285
   { (exit 1); exit 1; }; }
20490
  as_fn_error "libxml.jar not found." "$LINENO" 5
26286
fi
20491
fi
26287
20492
26288
      fi
20493
      fi
26289
20494
26290
      if test -z $FLUTE_JAR; then
20495
      if test -z $FLUTE_JAR; then
26291
        echo "$as_me:$LINENO: checking for /usr/share/java/flute-1.3.0.jar" >&5
20496
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/flute-1.3.0.jar" >&5
26292
echo $ECHO_N "checking for /usr/share/java/flute-1.3.0.jar... $ECHO_C" >&6
20497
$as_echo_n "checking for /usr/share/java/flute-1.3.0.jar... " >&6; }
26293
if test "${ac_cv_file__usr_share_java_flute_1_3_0_jar+set}" = set; then
20498
if test "${ac_cv_file__usr_share_java_flute_1_3_0_jar+set}" = set; then :
26294
  echo $ECHO_N "(cached) $ECHO_C" >&6
20499
  $as_echo_n "(cached) " >&6
26295
else
20500
else
26296
  test "$cross_compiling" = yes &&
20501
  test "$cross_compiling" = yes &&
26297
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20502
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26298
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26299
   { (exit 1); exit 1; }; }
26300
if test -r "/usr/share/java/flute-1.3.0.jar"; then
20503
if test -r "/usr/share/java/flute-1.3.0.jar"; then
26301
  ac_cv_file__usr_share_java_flute_1_3_0_jar=yes
20504
  ac_cv_file__usr_share_java_flute_1_3_0_jar=yes
26302
else
20505
else
26303
  ac_cv_file__usr_share_java_flute_1_3_0_jar=no
20506
  ac_cv_file__usr_share_java_flute_1_3_0_jar=no
26304
fi
20507
fi
26305
fi
20508
fi
26306
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flute_1_3_0_jar" >&5
20509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_flute_1_3_0_jar" >&5
26307
echo "${ECHO_T}$ac_cv_file__usr_share_java_flute_1_3_0_jar" >&6
20510
$as_echo "$ac_cv_file__usr_share_java_flute_1_3_0_jar" >&6; }
26308
if test $ac_cv_file__usr_share_java_flute_1_3_0_jar = yes; then
20511
if test "x$ac_cv_file__usr_share_java_flute_1_3_0_jar" = x""yes; then :
26309
   FLUTE_JAR=/usr/share/java/flute-1.3.0.jar
20512
   FLUTE_JAR=/usr/share/java/flute-1.3.0.jar
26310
else
20513
else
26311
20514
26312
            echo "$as_me:$LINENO: checking for /usr/share/java/flute.jar" >&5
20515
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/flute.jar" >&5
26313
echo $ECHO_N "checking for /usr/share/java/flute.jar... $ECHO_C" >&6
20516
$as_echo_n "checking for /usr/share/java/flute.jar... " >&6; }
26314
if test "${ac_cv_file__usr_share_java_flute_jar+set}" = set; then
20517
if test "${ac_cv_file__usr_share_java_flute_jar+set}" = set; then :
26315
  echo $ECHO_N "(cached) $ECHO_C" >&6
20518
  $as_echo_n "(cached) " >&6
26316
else
20519
else
26317
  test "$cross_compiling" = yes &&
20520
  test "$cross_compiling" = yes &&
26318
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20521
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26319
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26320
   { (exit 1); exit 1; }; }
26321
if test -r "/usr/share/java/flute.jar"; then
20522
if test -r "/usr/share/java/flute.jar"; then
26322
  ac_cv_file__usr_share_java_flute_jar=yes
20523
  ac_cv_file__usr_share_java_flute_jar=yes
26323
else
20524
else
26324
  ac_cv_file__usr_share_java_flute_jar=no
20525
  ac_cv_file__usr_share_java_flute_jar=no
26325
fi
20526
fi
26326
fi
20527
fi
26327
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flute_jar" >&5
20528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_flute_jar" >&5
26328
echo "${ECHO_T}$ac_cv_file__usr_share_java_flute_jar" >&6
20529
$as_echo "$ac_cv_file__usr_share_java_flute_jar" >&6; }
26329
if test $ac_cv_file__usr_share_java_flute_jar = yes; then
20530
if test "x$ac_cv_file__usr_share_java_flute_jar" = x""yes; then :
26330
   FLUTE_JAR=/usr/share/java/flute.jar
20531
   FLUTE_JAR=/usr/share/java/flute.jar
26331
else
20532
else
26332
   { { echo "$as_me:$LINENO: error: flute-1.3.0.jar replacement not found." >&5
20533
   as_fn_error "flute-1.3.0.jar replacement not found." "$LINENO" 5
26333
echo "$as_me: error: flute-1.3.0.jar replacement not found." >&2;}
20534
26334
   { (exit 1); exit 1; }; }
20535
fi
26335
20536
26336
fi
20537
26337
20538
26338
20539
fi
26339
20540
26340
fi
20541
      else
26341
20542
        as_ac_File=`$as_echo "ac_cv_file_$FLUTE_JAR" | $as_tr_sh`
26342
      else
20543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $FLUTE_JAR" >&5
26343
        as_ac_File=`echo "ac_cv_file_$FLUTE_JAR" | $as_tr_sh`
20544
$as_echo_n "checking for $FLUTE_JAR... " >&6; }
26344
echo "$as_me:$LINENO: checking for $FLUTE_JAR" >&5
20545
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26345
echo $ECHO_N "checking for $FLUTE_JAR... $ECHO_C" >&6
20546
  $as_echo_n "(cached) " >&6
26346
if eval "test \"\${$as_ac_File+set}\" = set"; then
20547
else
26347
  echo $ECHO_N "(cached) $ECHO_C" >&6
20548
  test "$cross_compiling" = yes &&
26348
else
20549
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26349
  test "$cross_compiling" = yes &&
26350
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26351
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26352
   { (exit 1); exit 1; }; }
26353
if test -r "$FLUTE_JAR"; then
20550
if test -r "$FLUTE_JAR"; then
26354
  eval "$as_ac_File=yes"
20551
  eval "$as_ac_File=yes"
26355
else
20552
else
26356
  eval "$as_ac_File=no"
20553
  eval "$as_ac_File=no"
26357
fi
20554
fi
26358
fi
20555
fi
26359
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20556
eval ac_res=\$$as_ac_File
26360
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20557
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26361
if test `eval echo '${'$as_ac_File'}'` = yes; then
20558
$as_echo "$ac_res" >&6; }
26362
  :
20559
eval as_val=\$$as_ac_File
26363
else
20560
   if test "x$as_val" = x""yes; then :
26364
  { { echo "$as_me:$LINENO: error: flute-1.3.0.jar not found." >&5
20561
26365
echo "$as_me: error: flute-1.3.0.jar not found." >&2;}
20562
else
26366
   { (exit 1); exit 1; }; }
20563
  as_fn_error "flute-1.3.0.jar not found." "$LINENO" 5
26367
fi
20564
fi
26368
20565
26369
      fi
20566
      fi
26370
20567
26371
      if test -z $JFREEREPORT_JAR; then
20568
      if test -z $JFREEREPORT_JAR; then
26372
        echo "$as_me:$LINENO: checking for /usr/share/java/flow-engine-0.9.2.jar" >&5
20569
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/flow-engine-0.9.2.jar" >&5
26373
echo $ECHO_N "checking for /usr/share/java/flow-engine-0.9.2.jar... $ECHO_C" >&6
20570
$as_echo_n "checking for /usr/share/java/flow-engine-0.9.2.jar... " >&6; }
26374
if test "${ac_cv_file__usr_share_java_flow_engine_0_9_2_jar+set}" = set; then
20571
if test "${ac_cv_file__usr_share_java_flow_engine_0_9_2_jar+set}" = set; then :
26375
  echo $ECHO_N "(cached) $ECHO_C" >&6
20572
  $as_echo_n "(cached) " >&6
26376
else
20573
else
26377
  test "$cross_compiling" = yes &&
20574
  test "$cross_compiling" = yes &&
26378
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20575
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26379
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26380
   { (exit 1); exit 1; }; }
26381
if test -r "/usr/share/java/flow-engine-0.9.2.jar"; then
20576
if test -r "/usr/share/java/flow-engine-0.9.2.jar"; then
26382
  ac_cv_file__usr_share_java_flow_engine_0_9_2_jar=yes
20577
  ac_cv_file__usr_share_java_flow_engine_0_9_2_jar=yes
26383
else
20578
else
26384
  ac_cv_file__usr_share_java_flow_engine_0_9_2_jar=no
20579
  ac_cv_file__usr_share_java_flow_engine_0_9_2_jar=no
26385
fi
20580
fi
26386
fi
20581
fi
26387
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&5
20582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&5
26388
echo "${ECHO_T}$ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&6
20583
$as_echo "$ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&6; }
26389
if test $ac_cv_file__usr_share_java_flow_engine_0_9_2_jar = yes; then
20584
if test "x$ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" = x""yes; then :
26390
   JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar
20585
   JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar
26391
else
20586
else
26392
20587
26393
            echo "$as_me:$LINENO: checking for /usr/share/java/flow-engine.jar" >&5
20588
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/flow-engine.jar" >&5
26394
echo $ECHO_N "checking for /usr/share/java/flow-engine.jar... $ECHO_C" >&6
20589
$as_echo_n "checking for /usr/share/java/flow-engine.jar... " >&6; }
26395
if test "${ac_cv_file__usr_share_java_flow_engine_jar+set}" = set; then
20590
if test "${ac_cv_file__usr_share_java_flow_engine_jar+set}" = set; then :
26396
  echo $ECHO_N "(cached) $ECHO_C" >&6
20591
  $as_echo_n "(cached) " >&6
26397
else
20592
else
26398
  test "$cross_compiling" = yes &&
20593
  test "$cross_compiling" = yes &&
26399
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20594
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26400
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26401
   { (exit 1); exit 1; }; }
26402
if test -r "/usr/share/java/flow-engine.jar"; then
20595
if test -r "/usr/share/java/flow-engine.jar"; then
26403
  ac_cv_file__usr_share_java_flow_engine_jar=yes
20596
  ac_cv_file__usr_share_java_flow_engine_jar=yes
26404
else
20597
else
26405
  ac_cv_file__usr_share_java_flow_engine_jar=no
20598
  ac_cv_file__usr_share_java_flow_engine_jar=no
26406
fi
20599
fi
26407
fi
20600
fi
26408
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flow_engine_jar" >&5
20601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_flow_engine_jar" >&5
26409
echo "${ECHO_T}$ac_cv_file__usr_share_java_flow_engine_jar" >&6
20602
$as_echo "$ac_cv_file__usr_share_java_flow_engine_jar" >&6; }
26410
if test $ac_cv_file__usr_share_java_flow_engine_jar = yes; then
20603
if test "x$ac_cv_file__usr_share_java_flow_engine_jar" = x""yes; then :
26411
   JFREEREPORT_JAR=/usr/share/java/flow-engine.jar
20604
   JFREEREPORT_JAR=/usr/share/java/flow-engine.jar
26412
else
20605
else
26413
  { { echo "$as_me:$LINENO: error: jfreereport.jar replacement not found." >&5
20606
  as_fn_error "jfreereport.jar replacement not found." "$LINENO" 5
26414
echo "$as_me: error: jfreereport.jar replacement not found." >&2;}
20607
26415
   { (exit 1); exit 1; }; }
20608
fi
26416
20609
26417
fi
20610
26418
20611
26419
20612
fi
26420
20613
26421
fi
20614
      else
26422
20615
        as_ac_File=`$as_echo "ac_cv_file_$JFREEREPORT_JAR" | $as_tr_sh`
26423
      else
20616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $JFREEREPORT_JAR" >&5
26424
        as_ac_File=`echo "ac_cv_file_$JFREEREPORT_JAR" | $as_tr_sh`
20617
$as_echo_n "checking for $JFREEREPORT_JAR... " >&6; }
26425
echo "$as_me:$LINENO: checking for $JFREEREPORT_JAR" >&5
20618
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26426
echo $ECHO_N "checking for $JFREEREPORT_JAR... $ECHO_C" >&6
20619
  $as_echo_n "(cached) " >&6
26427
if eval "test \"\${$as_ac_File+set}\" = set"; then
20620
else
26428
  echo $ECHO_N "(cached) $ECHO_C" >&6
20621
  test "$cross_compiling" = yes &&
26429
else
20622
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26430
  test "$cross_compiling" = yes &&
26431
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26432
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26433
   { (exit 1); exit 1; }; }
26434
if test -r "$JFREEREPORT_JAR"; then
20623
if test -r "$JFREEREPORT_JAR"; then
26435
  eval "$as_ac_File=yes"
20624
  eval "$as_ac_File=yes"
26436
else
20625
else
26437
  eval "$as_ac_File=no"
20626
  eval "$as_ac_File=no"
26438
fi
20627
fi
26439
fi
20628
fi
26440
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20629
eval ac_res=\$$as_ac_File
26441
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20630
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26442
if test `eval echo '${'$as_ac_File'}'` = yes; then
20631
$as_echo "$ac_res" >&6; }
26443
  :
20632
eval as_val=\$$as_ac_File
26444
else
20633
   if test "x$as_val" = x""yes; then :
26445
  { { echo "$as_me:$LINENO: error: jfreereport.jar not found." >&5
20634
26446
echo "$as_me: error: jfreereport.jar not found." >&2;}
20635
else
26447
   { (exit 1); exit 1; }; }
20636
  as_fn_error "jfreereport.jar not found." "$LINENO" 5
26448
fi
20637
fi
26449
20638
26450
      fi
20639
      fi
26451
20640
26452
      if test -z $LIBLAYOUT_JAR; then
20641
      if test -z $LIBLAYOUT_JAR; then
26453
        echo "$as_me:$LINENO: checking for /usr/share/java/liblayout-0.2.9.jar" >&5
20642
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/liblayout-0.2.9.jar" >&5
26454
echo $ECHO_N "checking for /usr/share/java/liblayout-0.2.9.jar... $ECHO_C" >&6
20643
$as_echo_n "checking for /usr/share/java/liblayout-0.2.9.jar... " >&6; }
26455
if test "${ac_cv_file__usr_share_java_liblayout_0_2_9_jar+set}" = set; then
20644
if test "${ac_cv_file__usr_share_java_liblayout_0_2_9_jar+set}" = set; then :
26456
  echo $ECHO_N "(cached) $ECHO_C" >&6
20645
  $as_echo_n "(cached) " >&6
26457
else
20646
else
26458
  test "$cross_compiling" = yes &&
20647
  test "$cross_compiling" = yes &&
26459
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20648
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26460
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26461
   { (exit 1); exit 1; }; }
26462
if test -r "/usr/share/java/liblayout-0.2.9.jar"; then
20649
if test -r "/usr/share/java/liblayout-0.2.9.jar"; then
26463
  ac_cv_file__usr_share_java_liblayout_0_2_9_jar=yes
20650
  ac_cv_file__usr_share_java_liblayout_0_2_9_jar=yes
26464
else
20651
else
26465
  ac_cv_file__usr_share_java_liblayout_0_2_9_jar=no
20652
  ac_cv_file__usr_share_java_liblayout_0_2_9_jar=no
26466
fi
20653
fi
26467
fi
20654
fi
26468
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&5
20655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&5
26469
echo "${ECHO_T}$ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&6
20656
$as_echo "$ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&6; }
26470
if test $ac_cv_file__usr_share_java_liblayout_0_2_9_jar = yes; then
20657
if test "x$ac_cv_file__usr_share_java_liblayout_0_2_9_jar" = x""yes; then :
26471
   LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar
20658
   LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar
26472
else
20659
else
26473
20660
26474
            echo "$as_me:$LINENO: checking for /usr/share/java/liblayout.jar" >&5
20661
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/liblayout.jar" >&5
26475
echo $ECHO_N "checking for /usr/share/java/liblayout.jar... $ECHO_C" >&6
20662
$as_echo_n "checking for /usr/share/java/liblayout.jar... " >&6; }
26476
if test "${ac_cv_file__usr_share_java_liblayout_jar+set}" = set; then
20663
if test "${ac_cv_file__usr_share_java_liblayout_jar+set}" = set; then :
26477
  echo $ECHO_N "(cached) $ECHO_C" >&6
20664
  $as_echo_n "(cached) " >&6
26478
else
20665
else
26479
  test "$cross_compiling" = yes &&
20666
  test "$cross_compiling" = yes &&
26480
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20667
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26481
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26482
   { (exit 1); exit 1; }; }
26483
if test -r "/usr/share/java/liblayout.jar"; then
20668
if test -r "/usr/share/java/liblayout.jar"; then
26484
  ac_cv_file__usr_share_java_liblayout_jar=yes
20669
  ac_cv_file__usr_share_java_liblayout_jar=yes
26485
else
20670
else
26486
  ac_cv_file__usr_share_java_liblayout_jar=no
20671
  ac_cv_file__usr_share_java_liblayout_jar=no
26487
fi
20672
fi
26488
fi
20673
fi
26489
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_liblayout_jar" >&5
20674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_liblayout_jar" >&5
26490
echo "${ECHO_T}$ac_cv_file__usr_share_java_liblayout_jar" >&6
20675
$as_echo "$ac_cv_file__usr_share_java_liblayout_jar" >&6; }
26491
if test $ac_cv_file__usr_share_java_liblayout_jar = yes; then
20676
if test "x$ac_cv_file__usr_share_java_liblayout_jar" = x""yes; then :
26492
   LIBLAYOUT_JAR=/usr/share/java/liblayout.jar
20677
   LIBLAYOUT_JAR=/usr/share/java/liblayout.jar
26493
else
20678
else
26494
  { { echo "$as_me:$LINENO: error: liblayout.jar replacement not found." >&5
20679
  as_fn_error "liblayout.jar replacement not found." "$LINENO" 5
26495
echo "$as_me: error: liblayout.jar replacement not found." >&2;}
20680
26496
   { (exit 1); exit 1; }; }
20681
fi
26497
20682
26498
fi
20683
26499
20684
26500
20685
fi
26501
20686
26502
fi
20687
      else
26503
20688
        as_ac_File=`$as_echo "ac_cv_file_$LIBLAYOUT_JAR" | $as_tr_sh`
26504
      else
20689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBLAYOUT_JAR" >&5
26505
        as_ac_File=`echo "ac_cv_file_$LIBLAYOUT_JAR" | $as_tr_sh`
20690
$as_echo_n "checking for $LIBLAYOUT_JAR... " >&6; }
26506
echo "$as_me:$LINENO: checking for $LIBLAYOUT_JAR" >&5
20691
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26507
echo $ECHO_N "checking for $LIBLAYOUT_JAR... $ECHO_C" >&6
20692
  $as_echo_n "(cached) " >&6
26508
if eval "test \"\${$as_ac_File+set}\" = set"; then
20693
else
26509
  echo $ECHO_N "(cached) $ECHO_C" >&6
20694
  test "$cross_compiling" = yes &&
26510
else
20695
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26511
  test "$cross_compiling" = yes &&
26512
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26513
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26514
   { (exit 1); exit 1; }; }
26515
if test -r "$LIBLAYOUT_JAR"; then
20696
if test -r "$LIBLAYOUT_JAR"; then
26516
  eval "$as_ac_File=yes"
20697
  eval "$as_ac_File=yes"
26517
else
20698
else
26518
  eval "$as_ac_File=no"
20699
  eval "$as_ac_File=no"
26519
fi
20700
fi
26520
fi
20701
fi
26521
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20702
eval ac_res=\$$as_ac_File
26522
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20703
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26523
if test `eval echo '${'$as_ac_File'}'` = yes; then
20704
$as_echo "$ac_res" >&6; }
26524
  :
20705
eval as_val=\$$as_ac_File
26525
else
20706
   if test "x$as_val" = x""yes; then :
26526
  { { echo "$as_me:$LINENO: error: liblayout.jar not found." >&5
20707
26527
echo "$as_me: error: liblayout.jar not found." >&2;}
20708
else
26528
   { (exit 1); exit 1; }; }
20709
  as_fn_error "liblayout.jar not found." "$LINENO" 5
26529
fi
20710
fi
26530
20711
26531
      fi
20712
      fi
26532
20713
26533
      if test -z $LIBLOADER_JAR; then
20714
      if test -z $LIBLOADER_JAR; then
26534
        echo "$as_me:$LINENO: checking for /usr/share/java/libloader-1.0.0.jar" >&5
20715
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libloader-1.0.0.jar" >&5
26535
echo $ECHO_N "checking for /usr/share/java/libloader-1.0.0.jar... $ECHO_C" >&6
20716
$as_echo_n "checking for /usr/share/java/libloader-1.0.0.jar... " >&6; }
26536
if test "${ac_cv_file__usr_share_java_libloader_1_0_0_jar+set}" = set; then
20717
if test "${ac_cv_file__usr_share_java_libloader_1_0_0_jar+set}" = set; then :
26537
  echo $ECHO_N "(cached) $ECHO_C" >&6
20718
  $as_echo_n "(cached) " >&6
26538
else
20719
else
26539
  test "$cross_compiling" = yes &&
20720
  test "$cross_compiling" = yes &&
26540
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20721
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26541
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26542
   { (exit 1); exit 1; }; }
26543
if test -r "/usr/share/java/libloader-1.0.0.jar"; then
20722
if test -r "/usr/share/java/libloader-1.0.0.jar"; then
26544
  ac_cv_file__usr_share_java_libloader_1_0_0_jar=yes
20723
  ac_cv_file__usr_share_java_libloader_1_0_0_jar=yes
26545
else
20724
else
26546
  ac_cv_file__usr_share_java_libloader_1_0_0_jar=no
20725
  ac_cv_file__usr_share_java_libloader_1_0_0_jar=no
26547
fi
20726
fi
26548
fi
20727
fi
26549
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&5
20728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&5
26550
echo "${ECHO_T}$ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&6
20729
$as_echo "$ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&6; }
26551
if test $ac_cv_file__usr_share_java_libloader_1_0_0_jar = yes; then
20730
if test "x$ac_cv_file__usr_share_java_libloader_1_0_0_jar" = x""yes; then :
26552
   LIBLOADER_JAR=/usr/share/java/libloader-1.0.0.jar
20731
   LIBLOADER_JAR=/usr/share/java/libloader-1.0.0.jar
26553
else
20732
else
26554
20733
26555
            echo "$as_me:$LINENO: checking for /usr/share/java/libloader.jar" >&5
20734
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libloader.jar" >&5
26556
echo $ECHO_N "checking for /usr/share/java/libloader.jar... $ECHO_C" >&6
20735
$as_echo_n "checking for /usr/share/java/libloader.jar... " >&6; }
26557
if test "${ac_cv_file__usr_share_java_libloader_jar+set}" = set; then
20736
if test "${ac_cv_file__usr_share_java_libloader_jar+set}" = set; then :
26558
  echo $ECHO_N "(cached) $ECHO_C" >&6
20737
  $as_echo_n "(cached) " >&6
26559
else
20738
else
26560
  test "$cross_compiling" = yes &&
20739
  test "$cross_compiling" = yes &&
26561
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20740
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26562
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26563
   { (exit 1); exit 1; }; }
26564
if test -r "/usr/share/java/libloader.jar"; then
20741
if test -r "/usr/share/java/libloader.jar"; then
26565
  ac_cv_file__usr_share_java_libloader_jar=yes
20742
  ac_cv_file__usr_share_java_libloader_jar=yes
26566
else
20743
else
26567
  ac_cv_file__usr_share_java_libloader_jar=no
20744
  ac_cv_file__usr_share_java_libloader_jar=no
26568
fi
20745
fi
26569
fi
20746
fi
26570
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libloader_jar" >&5
20747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libloader_jar" >&5
26571
echo "${ECHO_T}$ac_cv_file__usr_share_java_libloader_jar" >&6
20748
$as_echo "$ac_cv_file__usr_share_java_libloader_jar" >&6; }
26572
if test $ac_cv_file__usr_share_java_libloader_jar = yes; then
20749
if test "x$ac_cv_file__usr_share_java_libloader_jar" = x""yes; then :
26573
   LIBLOADER_JAR=/usr/share/java/libloader.jar
20750
   LIBLOADER_JAR=/usr/share/java/libloader.jar
26574
else
20751
else
26575
  { { echo "$as_me:$LINENO: error: libloader.jar replacement not found." >&5
20752
  as_fn_error "libloader.jar replacement not found." "$LINENO" 5
26576
echo "$as_me: error: libloader.jar replacement not found." >&2;}
20753
26577
   { (exit 1); exit 1; }; }
20754
fi
26578
20755
26579
fi
20756
26580
20757
26581
20758
fi
26582
20759
26583
fi
20760
      else
26584
20761
        as_ac_File=`$as_echo "ac_cv_file_$LIBLOADER_JAR" | $as_tr_sh`
26585
      else
20762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBLOADER_JAR" >&5
26586
        as_ac_File=`echo "ac_cv_file_$LIBLOADER_JAR" | $as_tr_sh`
20763
$as_echo_n "checking for $LIBLOADER_JAR... " >&6; }
26587
echo "$as_me:$LINENO: checking for $LIBLOADER_JAR" >&5
20764
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26588
echo $ECHO_N "checking for $LIBLOADER_JAR... $ECHO_C" >&6
20765
  $as_echo_n "(cached) " >&6
26589
if eval "test \"\${$as_ac_File+set}\" = set"; then
20766
else
26590
  echo $ECHO_N "(cached) $ECHO_C" >&6
20767
  test "$cross_compiling" = yes &&
26591
else
20768
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26592
  test "$cross_compiling" = yes &&
26593
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26594
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26595
   { (exit 1); exit 1; }; }
26596
if test -r "$LIBLOADER_JAR"; then
20769
if test -r "$LIBLOADER_JAR"; then
26597
  eval "$as_ac_File=yes"
20770
  eval "$as_ac_File=yes"
26598
else
20771
else
26599
  eval "$as_ac_File=no"
20772
  eval "$as_ac_File=no"
26600
fi
20773
fi
26601
fi
20774
fi
26602
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20775
eval ac_res=\$$as_ac_File
26603
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20776
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26604
if test `eval echo '${'$as_ac_File'}'` = yes; then
20777
$as_echo "$ac_res" >&6; }
26605
  :
20778
eval as_val=\$$as_ac_File
26606
else
20779
   if test "x$as_val" = x""yes; then :
26607
  { { echo "$as_me:$LINENO: error: libloader.jar not found." >&5
20780
26608
echo "$as_me: error: libloader.jar not found." >&2;}
20781
else
26609
   { (exit 1); exit 1; }; }
20782
  as_fn_error "libloader.jar not found." "$LINENO" 5
26610
fi
20783
fi
26611
20784
26612
      fi
20785
      fi
26613
20786
26614
      if test -z $LIBFORMULA_JAR; then
20787
      if test -z $LIBFORMULA_JAR; then
26615
        echo "$as_me:$LINENO: checking for /usr/share/java/libformula-0.2.0.jar" >&5
20788
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libformula-0.2.0.jar" >&5
26616
echo $ECHO_N "checking for /usr/share/java/libformula-0.2.0.jar... $ECHO_C" >&6
20789
$as_echo_n "checking for /usr/share/java/libformula-0.2.0.jar... " >&6; }
26617
if test "${ac_cv_file__usr_share_java_libformula_0_2_0_jar+set}" = set; then
20790
if test "${ac_cv_file__usr_share_java_libformula_0_2_0_jar+set}" = set; then :
26618
  echo $ECHO_N "(cached) $ECHO_C" >&6
20791
  $as_echo_n "(cached) " >&6
26619
else
20792
else
26620
  test "$cross_compiling" = yes &&
20793
  test "$cross_compiling" = yes &&
26621
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20794
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26622
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26623
   { (exit 1); exit 1; }; }
26624
if test -r "/usr/share/java/libformula-0.2.0.jar"; then
20795
if test -r "/usr/share/java/libformula-0.2.0.jar"; then
26625
  ac_cv_file__usr_share_java_libformula_0_2_0_jar=yes
20796
  ac_cv_file__usr_share_java_libformula_0_2_0_jar=yes
26626
else
20797
else
26627
  ac_cv_file__usr_share_java_libformula_0_2_0_jar=no
20798
  ac_cv_file__usr_share_java_libformula_0_2_0_jar=no
26628
fi
20799
fi
26629
fi
20800
fi
26630
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&5
20801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&5
26631
echo "${ECHO_T}$ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&6
20802
$as_echo "$ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&6; }
26632
if test $ac_cv_file__usr_share_java_libformula_0_2_0_jar = yes; then
20803
if test "x$ac_cv_file__usr_share_java_libformula_0_2_0_jar" = x""yes; then :
26633
   LIBFORMULA_JAR=/usr/share/java/libformula-0.2.0.jar
20804
   LIBFORMULA_JAR=/usr/share/java/libformula-0.2.0.jar
26634
else
20805
else
26635
20806
26636
            echo "$as_me:$LINENO: checking for /usr/share/java/libformula.jar" >&5
20807
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libformula.jar" >&5
26637
echo $ECHO_N "checking for /usr/share/java/libformula.jar... $ECHO_C" >&6
20808
$as_echo_n "checking for /usr/share/java/libformula.jar... " >&6; }
26638
if test "${ac_cv_file__usr_share_java_libformula_jar+set}" = set; then
20809
if test "${ac_cv_file__usr_share_java_libformula_jar+set}" = set; then :
26639
  echo $ECHO_N "(cached) $ECHO_C" >&6
20810
  $as_echo_n "(cached) " >&6
26640
else
20811
else
26641
  test "$cross_compiling" = yes &&
20812
  test "$cross_compiling" = yes &&
26642
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20813
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26643
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26644
   { (exit 1); exit 1; }; }
26645
if test -r "/usr/share/java/libformula.jar"; then
20814
if test -r "/usr/share/java/libformula.jar"; then
26646
  ac_cv_file__usr_share_java_libformula_jar=yes
20815
  ac_cv_file__usr_share_java_libformula_jar=yes
26647
else
20816
else
26648
  ac_cv_file__usr_share_java_libformula_jar=no
20817
  ac_cv_file__usr_share_java_libformula_jar=no
26649
fi
20818
fi
26650
fi
20819
fi
26651
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libformula_jar" >&5
20820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libformula_jar" >&5
26652
echo "${ECHO_T}$ac_cv_file__usr_share_java_libformula_jar" >&6
20821
$as_echo "$ac_cv_file__usr_share_java_libformula_jar" >&6; }
26653
if test $ac_cv_file__usr_share_java_libformula_jar = yes; then
20822
if test "x$ac_cv_file__usr_share_java_libformula_jar" = x""yes; then :
26654
   LIBFORMULA_JAR=/usr/share/java/libformula.jar
20823
   LIBFORMULA_JAR=/usr/share/java/libformula.jar
26655
else
20824
else
26656
  { { echo "$as_me:$LINENO: error: libformula.jar replacement not found." >&5
20825
  as_fn_error "libformula.jar replacement not found." "$LINENO" 5
26657
echo "$as_me: error: libformula.jar replacement not found." >&2;}
20826
26658
   { (exit 1); exit 1; }; }
20827
fi
26659
20828
26660
fi
20829
26661
20830
26662
20831
fi
26663
20832
26664
fi
20833
      else
26665
20834
        as_ac_File=`$as_echo "ac_cv_file_$LIBFORMULA_JAR" | $as_tr_sh`
26666
      else
20835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBFORMULA_JAR" >&5
26667
        as_ac_File=`echo "ac_cv_file_$LIBFORMULA_JAR" | $as_tr_sh`
20836
$as_echo_n "checking for $LIBFORMULA_JAR... " >&6; }
26668
echo "$as_me:$LINENO: checking for $LIBFORMULA_JAR" >&5
20837
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26669
echo $ECHO_N "checking for $LIBFORMULA_JAR... $ECHO_C" >&6
20838
  $as_echo_n "(cached) " >&6
26670
if eval "test \"\${$as_ac_File+set}\" = set"; then
20839
else
26671
  echo $ECHO_N "(cached) $ECHO_C" >&6
20840
  test "$cross_compiling" = yes &&
26672
else
20841
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26673
  test "$cross_compiling" = yes &&
26674
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26675
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26676
   { (exit 1); exit 1; }; }
26677
if test -r "$LIBFORMULA_JAR"; then
20842
if test -r "$LIBFORMULA_JAR"; then
26678
  eval "$as_ac_File=yes"
20843
  eval "$as_ac_File=yes"
26679
else
20844
else
26680
  eval "$as_ac_File=no"
20845
  eval "$as_ac_File=no"
26681
fi
20846
fi
26682
fi
20847
fi
26683
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20848
eval ac_res=\$$as_ac_File
26684
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20849
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26685
if test `eval echo '${'$as_ac_File'}'` = yes; then
20850
$as_echo "$ac_res" >&6; }
26686
  :
20851
eval as_val=\$$as_ac_File
26687
else
20852
   if test "x$as_val" = x""yes; then :
26688
  { { echo "$as_me:$LINENO: error: libformula.jar not found." >&5
20853
26689
echo "$as_me: error: libformula.jar not found." >&2;}
20854
else
26690
   { (exit 1); exit 1; }; }
20855
  as_fn_error "libformula.jar not found." "$LINENO" 5
26691
fi
20856
fi
26692
20857
26693
      fi
20858
      fi
26694
20859
26695
      if test -z $LIBREPOSITORY_JAR; then
20860
      if test -z $LIBREPOSITORY_JAR; then
26696
        echo "$as_me:$LINENO: checking for /usr/share/java/librepository-1.0.0.jar" >&5
20861
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/librepository-1.0.0.jar" >&5
26697
echo $ECHO_N "checking for /usr/share/java/librepository-1.0.0.jar... $ECHO_C" >&6
20862
$as_echo_n "checking for /usr/share/java/librepository-1.0.0.jar... " >&6; }
26698
if test "${ac_cv_file__usr_share_java_librepository_1_0_0_jar+set}" = set; then
20863
if test "${ac_cv_file__usr_share_java_librepository_1_0_0_jar+set}" = set; then :
26699
  echo $ECHO_N "(cached) $ECHO_C" >&6
20864
  $as_echo_n "(cached) " >&6
26700
else
20865
else
26701
  test "$cross_compiling" = yes &&
20866
  test "$cross_compiling" = yes &&
26702
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20867
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26703
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26704
   { (exit 1); exit 1; }; }
26705
if test -r "/usr/share/java/librepository-1.0.0.jar"; then
20868
if test -r "/usr/share/java/librepository-1.0.0.jar"; then
26706
  ac_cv_file__usr_share_java_librepository_1_0_0_jar=yes
20869
  ac_cv_file__usr_share_java_librepository_1_0_0_jar=yes
26707
else
20870
else
26708
  ac_cv_file__usr_share_java_librepository_1_0_0_jar=no
20871
  ac_cv_file__usr_share_java_librepository_1_0_0_jar=no
26709
fi
20872
fi
26710
fi
20873
fi
26711
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&5
20874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&5
26712
echo "${ECHO_T}$ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&6
20875
$as_echo "$ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&6; }
26713
if test $ac_cv_file__usr_share_java_librepository_1_0_0_jar = yes; then
20876
if test "x$ac_cv_file__usr_share_java_librepository_1_0_0_jar" = x""yes; then :
26714
   LIBREPOSITORY_JAR=/usr/share/java/librepository-1.0.0.jar
20877
   LIBREPOSITORY_JAR=/usr/share/java/librepository-1.0.0.jar
26715
else
20878
else
26716
20879
26717
            echo "$as_me:$LINENO: checking for /usr/share/java/librepository.jar" >&5
20880
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/librepository.jar" >&5
26718
echo $ECHO_N "checking for /usr/share/java/librepository.jar... $ECHO_C" >&6
20881
$as_echo_n "checking for /usr/share/java/librepository.jar... " >&6; }
26719
if test "${ac_cv_file__usr_share_java_librepository_jar+set}" = set; then
20882
if test "${ac_cv_file__usr_share_java_librepository_jar+set}" = set; then :
26720
  echo $ECHO_N "(cached) $ECHO_C" >&6
20883
  $as_echo_n "(cached) " >&6
26721
else
20884
else
26722
  test "$cross_compiling" = yes &&
20885
  test "$cross_compiling" = yes &&
26723
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20886
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26724
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26725
   { (exit 1); exit 1; }; }
26726
if test -r "/usr/share/java/librepository.jar"; then
20887
if test -r "/usr/share/java/librepository.jar"; then
26727
  ac_cv_file__usr_share_java_librepository_jar=yes
20888
  ac_cv_file__usr_share_java_librepository_jar=yes
26728
else
20889
else
26729
  ac_cv_file__usr_share_java_librepository_jar=no
20890
  ac_cv_file__usr_share_java_librepository_jar=no
26730
fi
20891
fi
26731
fi
20892
fi
26732
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_librepository_jar" >&5
20893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_librepository_jar" >&5
26733
echo "${ECHO_T}$ac_cv_file__usr_share_java_librepository_jar" >&6
20894
$as_echo "$ac_cv_file__usr_share_java_librepository_jar" >&6; }
26734
if test $ac_cv_file__usr_share_java_librepository_jar = yes; then
20895
if test "x$ac_cv_file__usr_share_java_librepository_jar" = x""yes; then :
26735
   LIBREPOSITORY_JAR=/usr/share/java/librepository.jar
20896
   LIBREPOSITORY_JAR=/usr/share/java/librepository.jar
26736
else
20897
else
26737
  { { echo "$as_me:$LINENO: error: librepository.jar replacement not found." >&5
20898
  as_fn_error "librepository.jar replacement not found." "$LINENO" 5
26738
echo "$as_me: error: librepository.jar replacement not found." >&2;}
20899
26739
   { (exit 1); exit 1; }; }
20900
fi
26740
20901
26741
fi
20902
26742
20903
26743
20904
fi
26744
20905
26745
fi
20906
      else
26746
20907
        as_ac_File=`$as_echo "ac_cv_file_$LIBREPOSITORY_JAR" | $as_tr_sh`
26747
      else
20908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBREPOSITORY_JAR" >&5
26748
        as_ac_File=`echo "ac_cv_file_$LIBREPOSITORY_JAR" | $as_tr_sh`
20909
$as_echo_n "checking for $LIBREPOSITORY_JAR... " >&6; }
26749
echo "$as_me:$LINENO: checking for $LIBREPOSITORY_JAR" >&5
20910
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26750
echo $ECHO_N "checking for $LIBREPOSITORY_JAR... $ECHO_C" >&6
20911
  $as_echo_n "(cached) " >&6
26751
if eval "test \"\${$as_ac_File+set}\" = set"; then
20912
else
26752
  echo $ECHO_N "(cached) $ECHO_C" >&6
20913
  test "$cross_compiling" = yes &&
26753
else
20914
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26754
  test "$cross_compiling" = yes &&
26755
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26756
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26757
   { (exit 1); exit 1; }; }
26758
if test -r "$LIBREPOSITORY_JAR"; then
20915
if test -r "$LIBREPOSITORY_JAR"; then
26759
  eval "$as_ac_File=yes"
20916
  eval "$as_ac_File=yes"
26760
else
20917
else
26761
  eval "$as_ac_File=no"
20918
  eval "$as_ac_File=no"
26762
fi
20919
fi
26763
fi
20920
fi
26764
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20921
eval ac_res=\$$as_ac_File
26765
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20922
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26766
if test `eval echo '${'$as_ac_File'}'` = yes; then
20923
$as_echo "$ac_res" >&6; }
26767
  :
20924
eval as_val=\$$as_ac_File
26768
else
20925
   if test "x$as_val" = x""yes; then :
26769
  { { echo "$as_me:$LINENO: error: librepository.jar not found." >&5
20926
26770
echo "$as_me: error: librepository.jar not found." >&2;}
20927
else
26771
   { (exit 1); exit 1; }; }
20928
  as_fn_error "librepository.jar not found." "$LINENO" 5
26772
fi
20929
fi
26773
20930
26774
      fi
20931
      fi
26775
20932
26776
      if test -z $LIBFONTS_JAR; then
20933
      if test -z $LIBFONTS_JAR; then
26777
        echo "$as_me:$LINENO: checking for /usr/share/java/libfonts-1.0.0.jar" >&5
20934
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libfonts-1.0.0.jar" >&5
26778
echo $ECHO_N "checking for /usr/share/java/libfonts-1.0.0.jar... $ECHO_C" >&6
20935
$as_echo_n "checking for /usr/share/java/libfonts-1.0.0.jar... " >&6; }
26779
if test "${ac_cv_file__usr_share_java_libfonts_1_0_0_jar+set}" = set; then
20936
if test "${ac_cv_file__usr_share_java_libfonts_1_0_0_jar+set}" = set; then :
26780
  echo $ECHO_N "(cached) $ECHO_C" >&6
20937
  $as_echo_n "(cached) " >&6
26781
else
20938
else
26782
  test "$cross_compiling" = yes &&
20939
  test "$cross_compiling" = yes &&
26783
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20940
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26784
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26785
   { (exit 1); exit 1; }; }
26786
if test -r "/usr/share/java/libfonts-1.0.0.jar"; then
20941
if test -r "/usr/share/java/libfonts-1.0.0.jar"; then
26787
  ac_cv_file__usr_share_java_libfonts_1_0_0_jar=yes
20942
  ac_cv_file__usr_share_java_libfonts_1_0_0_jar=yes
26788
else
20943
else
26789
  ac_cv_file__usr_share_java_libfonts_1_0_0_jar=no
20944
  ac_cv_file__usr_share_java_libfonts_1_0_0_jar=no
26790
fi
20945
fi
26791
fi
20946
fi
26792
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&5
20947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&5
26793
echo "${ECHO_T}$ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&6
20948
$as_echo "$ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&6; }
26794
if test $ac_cv_file__usr_share_java_libfonts_1_0_0_jar = yes; then
20949
if test "x$ac_cv_file__usr_share_java_libfonts_1_0_0_jar" = x""yes; then :
26795
   LIBFONTS_JAR=/usr/share/java/libfonts-1.0.0.jar
20950
   LIBFONTS_JAR=/usr/share/java/libfonts-1.0.0.jar
26796
else
20951
else
26797
20952
26798
            echo "$as_me:$LINENO: checking for /usr/share/java/libfonts.jar" >&5
20953
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libfonts.jar" >&5
26799
echo $ECHO_N "checking for /usr/share/java/libfonts.jar... $ECHO_C" >&6
20954
$as_echo_n "checking for /usr/share/java/libfonts.jar... " >&6; }
26800
if test "${ac_cv_file__usr_share_java_libfonts_jar+set}" = set; then
20955
if test "${ac_cv_file__usr_share_java_libfonts_jar+set}" = set; then :
26801
  echo $ECHO_N "(cached) $ECHO_C" >&6
20956
  $as_echo_n "(cached) " >&6
26802
else
20957
else
26803
  test "$cross_compiling" = yes &&
20958
  test "$cross_compiling" = yes &&
26804
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20959
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26805
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26806
   { (exit 1); exit 1; }; }
26807
if test -r "/usr/share/java/libfonts.jar"; then
20960
if test -r "/usr/share/java/libfonts.jar"; then
26808
  ac_cv_file__usr_share_java_libfonts_jar=yes
20961
  ac_cv_file__usr_share_java_libfonts_jar=yes
26809
else
20962
else
26810
  ac_cv_file__usr_share_java_libfonts_jar=no
20963
  ac_cv_file__usr_share_java_libfonts_jar=no
26811
fi
20964
fi
26812
fi
20965
fi
26813
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libfonts_jar" >&5
20966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libfonts_jar" >&5
26814
echo "${ECHO_T}$ac_cv_file__usr_share_java_libfonts_jar" >&6
20967
$as_echo "$ac_cv_file__usr_share_java_libfonts_jar" >&6; }
26815
if test $ac_cv_file__usr_share_java_libfonts_jar = yes; then
20968
if test "x$ac_cv_file__usr_share_java_libfonts_jar" = x""yes; then :
26816
   LIBFONTS_JAR=/usr/share/java/libfonts.jar
20969
   LIBFONTS_JAR=/usr/share/java/libfonts.jar
26817
else
20970
else
26818
  { { echo "$as_me:$LINENO: error: libfonts.jar replacement not found." >&5
20971
  as_fn_error "libfonts.jar replacement not found." "$LINENO" 5
26819
echo "$as_me: error: libfonts.jar replacement not found." >&2;}
20972
26820
   { (exit 1); exit 1; }; }
20973
fi
26821
20974
26822
fi
20975
26823
20976
26824
20977
fi
26825
20978
26826
fi
20979
      else
26827
20980
        as_ac_File=`$as_echo "ac_cv_file_$LIBFONTS_JAR" | $as_tr_sh`
26828
      else
20981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBFONTS_JAR" >&5
26829
        as_ac_File=`echo "ac_cv_file_$LIBFONTS_JAR" | $as_tr_sh`
20982
$as_echo_n "checking for $LIBFONTS_JAR... " >&6; }
26830
echo "$as_me:$LINENO: checking for $LIBFONTS_JAR" >&5
20983
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26831
echo $ECHO_N "checking for $LIBFONTS_JAR... $ECHO_C" >&6
20984
  $as_echo_n "(cached) " >&6
26832
if eval "test \"\${$as_ac_File+set}\" = set"; then
20985
else
26833
  echo $ECHO_N "(cached) $ECHO_C" >&6
20986
  test "$cross_compiling" = yes &&
26834
else
20987
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26835
  test "$cross_compiling" = yes &&
26836
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26837
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26838
   { (exit 1); exit 1; }; }
26839
if test -r "$LIBFONTS_JAR"; then
20988
if test -r "$LIBFONTS_JAR"; then
26840
  eval "$as_ac_File=yes"
20989
  eval "$as_ac_File=yes"
26841
else
20990
else
26842
  eval "$as_ac_File=no"
20991
  eval "$as_ac_File=no"
26843
fi
20992
fi
26844
fi
20993
fi
26845
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
20994
eval ac_res=\$$as_ac_File
26846
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
20995
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26847
if test `eval echo '${'$as_ac_File'}'` = yes; then
20996
$as_echo "$ac_res" >&6; }
26848
  :
20997
eval as_val=\$$as_ac_File
26849
else
20998
   if test "x$as_val" = x""yes; then :
26850
  { { echo "$as_me:$LINENO: error: libfonts.jar not found." >&5
20999
26851
echo "$as_me: error: libfonts.jar not found." >&2;}
21000
else
26852
   { (exit 1); exit 1; }; }
21001
  as_fn_error "libfonts.jar not found." "$LINENO" 5
26853
fi
21002
fi
26854
21003
26855
      fi
21004
      fi
26856
21005
26857
      if test -z $LIBSERIALIZER_JAR; then
21006
      if test -z $LIBSERIALIZER_JAR; then
26858
        echo "$as_me:$LINENO: checking for /usr/share/java/libserializer-1.0.0.jar" >&5
21007
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libserializer-1.0.0.jar" >&5
26859
echo $ECHO_N "checking for /usr/share/java/libserializer-1.0.0.jar... $ECHO_C" >&6
21008
$as_echo_n "checking for /usr/share/java/libserializer-1.0.0.jar... " >&6; }
26860
if test "${ac_cv_file__usr_share_java_libserializer_1_0_0_jar+set}" = set; then
21009
if test "${ac_cv_file__usr_share_java_libserializer_1_0_0_jar+set}" = set; then :
26861
  echo $ECHO_N "(cached) $ECHO_C" >&6
21010
  $as_echo_n "(cached) " >&6
26862
else
21011
else
26863
  test "$cross_compiling" = yes &&
21012
  test "$cross_compiling" = yes &&
26864
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21013
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26865
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26866
   { (exit 1); exit 1; }; }
26867
if test -r "/usr/share/java/libserializer-1.0.0.jar"; then
21014
if test -r "/usr/share/java/libserializer-1.0.0.jar"; then
26868
  ac_cv_file__usr_share_java_libserializer_1_0_0_jar=yes
21015
  ac_cv_file__usr_share_java_libserializer_1_0_0_jar=yes
26869
else
21016
else
26870
  ac_cv_file__usr_share_java_libserializer_1_0_0_jar=no
21017
  ac_cv_file__usr_share_java_libserializer_1_0_0_jar=no
26871
fi
21018
fi
26872
fi
21019
fi
26873
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&5
21020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&5
26874
echo "${ECHO_T}$ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&6
21021
$as_echo "$ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&6; }
26875
if test $ac_cv_file__usr_share_java_libserializer_1_0_0_jar = yes; then
21022
if test "x$ac_cv_file__usr_share_java_libserializer_1_0_0_jar" = x""yes; then :
26876
   LIBSERIALIZER_JAR=/usr/share/java/libserializer-1.0.0.jar
21023
   LIBSERIALIZER_JAR=/usr/share/java/libserializer-1.0.0.jar
26877
else
21024
else
26878
21025
26879
            echo "$as_me:$LINENO: checking for /usr/share/java/libserializer.jar" >&5
21026
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libserializer.jar" >&5
26880
echo $ECHO_N "checking for /usr/share/java/libserializer.jar... $ECHO_C" >&6
21027
$as_echo_n "checking for /usr/share/java/libserializer.jar... " >&6; }
26881
if test "${ac_cv_file__usr_share_java_libserializer_jar+set}" = set; then
21028
if test "${ac_cv_file__usr_share_java_libserializer_jar+set}" = set; then :
26882
  echo $ECHO_N "(cached) $ECHO_C" >&6
21029
  $as_echo_n "(cached) " >&6
26883
else
21030
else
26884
  test "$cross_compiling" = yes &&
21031
  test "$cross_compiling" = yes &&
26885
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21032
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26886
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26887
   { (exit 1); exit 1; }; }
26888
if test -r "/usr/share/java/libserializer.jar"; then
21033
if test -r "/usr/share/java/libserializer.jar"; then
26889
  ac_cv_file__usr_share_java_libserializer_jar=yes
21034
  ac_cv_file__usr_share_java_libserializer_jar=yes
26890
else
21035
else
26891
  ac_cv_file__usr_share_java_libserializer_jar=no
21036
  ac_cv_file__usr_share_java_libserializer_jar=no
26892
fi
21037
fi
26893
fi
21038
fi
26894
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libserializer_jar" >&5
21039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libserializer_jar" >&5
26895
echo "${ECHO_T}$ac_cv_file__usr_share_java_libserializer_jar" >&6
21040
$as_echo "$ac_cv_file__usr_share_java_libserializer_jar" >&6; }
26896
if test $ac_cv_file__usr_share_java_libserializer_jar = yes; then
21041
if test "x$ac_cv_file__usr_share_java_libserializer_jar" = x""yes; then :
26897
   LIBSERIALIZER_JAR=/usr/share/java/libserializer.jar
21042
   LIBSERIALIZER_JAR=/usr/share/java/libserializer.jar
26898
else
21043
else
26899
  { { echo "$as_me:$LINENO: error: libserializer.jar replacement not found." >&5
21044
  as_fn_error "libserializer.jar replacement not found." "$LINENO" 5
26900
echo "$as_me: error: libserializer.jar replacement not found." >&2;}
21045
26901
   { (exit 1); exit 1; }; }
21046
fi
26902
21047
26903
fi
21048
26904
21049
26905
21050
fi
26906
21051
26907
fi
21052
      else
26908
21053
        as_ac_File=`$as_echo "ac_cv_file_$LIBSERIALIZER_JAR" | $as_tr_sh`
26909
      else
21054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBSERIALIZER_JAR" >&5
26910
        as_ac_File=`echo "ac_cv_file_$LIBSERIALIZER_JAR" | $as_tr_sh`
21055
$as_echo_n "checking for $LIBSERIALIZER_JAR... " >&6; }
26911
echo "$as_me:$LINENO: checking for $LIBSERIALIZER_JAR" >&5
21056
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26912
echo $ECHO_N "checking for $LIBSERIALIZER_JAR... $ECHO_C" >&6
21057
  $as_echo_n "(cached) " >&6
26913
if eval "test \"\${$as_ac_File+set}\" = set"; then
21058
else
26914
  echo $ECHO_N "(cached) $ECHO_C" >&6
21059
  test "$cross_compiling" = yes &&
26915
else
21060
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26916
  test "$cross_compiling" = yes &&
26917
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26918
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26919
   { (exit 1); exit 1; }; }
26920
if test -r "$LIBSERIALIZER_JAR"; then
21061
if test -r "$LIBSERIALIZER_JAR"; then
26921
  eval "$as_ac_File=yes"
21062
  eval "$as_ac_File=yes"
26922
else
21063
else
26923
  eval "$as_ac_File=no"
21064
  eval "$as_ac_File=no"
26924
fi
21065
fi
26925
fi
21066
fi
26926
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21067
eval ac_res=\$$as_ac_File
26927
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21068
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26928
if test `eval echo '${'$as_ac_File'}'` = yes; then
21069
$as_echo "$ac_res" >&6; }
26929
  :
21070
eval as_val=\$$as_ac_File
26930
else
21071
   if test "x$as_val" = x""yes; then :
26931
  { { echo "$as_me:$LINENO: error: libserializer.jar not found." >&5
21072
26932
echo "$as_me: error: libserializer.jar not found." >&2;}
21073
else
26933
   { (exit 1); exit 1; }; }
21074
  as_fn_error "libserializer.jar not found." "$LINENO" 5
26934
fi
21075
fi
26935
21076
26936
      fi
21077
      fi
26937
21078
26938
21079
26939
      if test -z $LIBBASE_JAR; then
21080
      if test -z $LIBBASE_JAR; then
26940
        echo "$as_me:$LINENO: checking for /usr/share/java/libbase-1.0.0.jar" >&5
21081
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libbase-1.0.0.jar" >&5
26941
echo $ECHO_N "checking for /usr/share/java/libbase-1.0.0.jar... $ECHO_C" >&6
21082
$as_echo_n "checking for /usr/share/java/libbase-1.0.0.jar... " >&6; }
26942
if test "${ac_cv_file__usr_share_java_libbase_1_0_0_jar+set}" = set; then
21083
if test "${ac_cv_file__usr_share_java_libbase_1_0_0_jar+set}" = set; then :
26943
  echo $ECHO_N "(cached) $ECHO_C" >&6
21084
  $as_echo_n "(cached) " >&6
26944
else
21085
else
26945
  test "$cross_compiling" = yes &&
21086
  test "$cross_compiling" = yes &&
26946
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21087
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26947
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26948
   { (exit 1); exit 1; }; }
26949
if test -r "/usr/share/java/libbase-1.0.0.jar"; then
21088
if test -r "/usr/share/java/libbase-1.0.0.jar"; then
26950
  ac_cv_file__usr_share_java_libbase_1_0_0_jar=yes
21089
  ac_cv_file__usr_share_java_libbase_1_0_0_jar=yes
26951
else
21090
else
26952
  ac_cv_file__usr_share_java_libbase_1_0_0_jar=no
21091
  ac_cv_file__usr_share_java_libbase_1_0_0_jar=no
26953
fi
21092
fi
26954
fi
21093
fi
26955
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&5
21094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&5
26956
echo "${ECHO_T}$ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&6
21095
$as_echo "$ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&6; }
26957
if test $ac_cv_file__usr_share_java_libbase_1_0_0_jar = yes; then
21096
if test "x$ac_cv_file__usr_share_java_libbase_1_0_0_jar" = x""yes; then :
26958
   LIBBASE_JAR=/usr/share/java/libbase-1.0.0.jar
21097
   LIBBASE_JAR=/usr/share/java/libbase-1.0.0.jar
26959
else
21098
else
26960
21099
26961
            echo "$as_me:$LINENO: checking for /usr/share/java/libbase.jar" >&5
21100
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/libbase.jar" >&5
26962
echo $ECHO_N "checking for /usr/share/java/libbase.jar... $ECHO_C" >&6
21101
$as_echo_n "checking for /usr/share/java/libbase.jar... " >&6; }
26963
if test "${ac_cv_file__usr_share_java_libbase_jar+set}" = set; then
21102
if test "${ac_cv_file__usr_share_java_libbase_jar+set}" = set; then :
26964
  echo $ECHO_N "(cached) $ECHO_C" >&6
21103
  $as_echo_n "(cached) " >&6
26965
else
21104
else
26966
  test "$cross_compiling" = yes &&
21105
  test "$cross_compiling" = yes &&
26967
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21106
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26968
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26969
   { (exit 1); exit 1; }; }
26970
if test -r "/usr/share/java/libbase.jar"; then
21107
if test -r "/usr/share/java/libbase.jar"; then
26971
  ac_cv_file__usr_share_java_libbase_jar=yes
21108
  ac_cv_file__usr_share_java_libbase_jar=yes
26972
else
21109
else
26973
  ac_cv_file__usr_share_java_libbase_jar=no
21110
  ac_cv_file__usr_share_java_libbase_jar=no
26974
fi
21111
fi
26975
fi
21112
fi
26976
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libbase_jar" >&5
21113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_libbase_jar" >&5
26977
echo "${ECHO_T}$ac_cv_file__usr_share_java_libbase_jar" >&6
21114
$as_echo "$ac_cv_file__usr_share_java_libbase_jar" >&6; }
26978
if test $ac_cv_file__usr_share_java_libbase_jar = yes; then
21115
if test "x$ac_cv_file__usr_share_java_libbase_jar" = x""yes; then :
26979
   LIBBASE_JAR=/usr/share/java/libbase.jar
21116
   LIBBASE_JAR=/usr/share/java/libbase.jar
26980
else
21117
else
26981
  { { echo "$as_me:$LINENO: error: libbase.jar replacement not found." >&5
21118
  as_fn_error "libbase.jar replacement not found." "$LINENO" 5
26982
echo "$as_me: error: libbase.jar replacement not found." >&2;}
21119
26983
   { (exit 1); exit 1; }; }
21120
fi
26984
21121
26985
fi
21122
26986
21123
26987
21124
fi
26988
21125
26989
fi
21126
      else
26990
21127
        as_ac_File=`$as_echo "ac_cv_file_$LIBBASE_JAR" | $as_tr_sh`
26991
      else
21128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LIBBASE_JAR" >&5
26992
        as_ac_File=`echo "ac_cv_file_$LIBBASE_JAR" | $as_tr_sh`
21129
$as_echo_n "checking for $LIBBASE_JAR... " >&6; }
26993
echo "$as_me:$LINENO: checking for $LIBBASE_JAR" >&5
21130
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
26994
echo $ECHO_N "checking for $LIBBASE_JAR... $ECHO_C" >&6
21131
  $as_echo_n "(cached) " >&6
26995
if eval "test \"\${$as_ac_File+set}\" = set"; then
21132
else
26996
  echo $ECHO_N "(cached) $ECHO_C" >&6
21133
  test "$cross_compiling" = yes &&
26997
else
21134
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
26998
  test "$cross_compiling" = yes &&
26999
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27000
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27001
   { (exit 1); exit 1; }; }
27002
if test -r "$LIBBASE_JAR"; then
21135
if test -r "$LIBBASE_JAR"; then
27003
  eval "$as_ac_File=yes"
21136
  eval "$as_ac_File=yes"
27004
else
21137
else
27005
  eval "$as_ac_File=no"
21138
  eval "$as_ac_File=no"
27006
fi
21139
fi
27007
fi
21140
fi
27008
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21141
eval ac_res=\$$as_ac_File
27009
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21142
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27010
if test `eval echo '${'$as_ac_File'}'` = yes; then
21143
$as_echo "$ac_res" >&6; }
27011
  :
21144
eval as_val=\$$as_ac_File
27012
else
21145
   if test "x$as_val" = x""yes; then :
27013
  { { echo "$as_me:$LINENO: error: libbase.jar not found." >&5
21146
27014
echo "$as_me: error: libbase.jar not found." >&2;}
21147
else
27015
   { (exit 1); exit 1; }; }
21148
  as_fn_error "libbase.jar not found." "$LINENO" 5
27016
fi
21149
fi
27017
21150
27018
      fi
21151
      fi
27019
21152
27020
  else
21153
  else
27021
     echo "$as_me:$LINENO: result: internal" >&5
21154
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
27022
echo "${ECHO_T}internal" >&6
21155
$as_echo "internal" >&6; }
27023
     echo "$as_me:$LINENO: checking for jfreereport module" >&5
21156
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jfreereport module" >&5
27024
echo $ECHO_N "checking for jfreereport module... $ECHO_C" >&6
21157
$as_echo_n "checking for jfreereport module... " >&6; }
27025
     if test -d ./jfreereport; then
21158
     if test -d ./jfreereport; then
27026
      echo "$as_me:$LINENO: result: OK" >&5
21159
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
27027
echo "${ECHO_T}OK" >&6
21160
$as_echo "OK" >&6; }
27028
     else
21161
     else
27029
      { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
21162
      as_fn_error "not existing. get it (did you get the -extensions tarball?)" "$LINENO" 5
27030
echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
27031
   { (exit 1); exit 1; }; }
27032
     fi
21163
     fi
27033
     SYSTEM_JFREEREPORT=NO
21164
     SYSTEM_JFREEREPORT=NO
27034
     BUILD_TYPE="$BUILD_TYPE JFREEREPORT"
21165
     BUILD_TYPE="$BUILD_TYPE JFREEREPORT"
27035
  fi
21166
  fi
27036
  BUILD_TYPE="$BUILD_TYPE REPORTBUILDER"
21167
  BUILD_TYPE="$BUILD_TYPE REPORTBUILDER"
27037
else
21168
else
27038
  echo "$as_me:$LINENO: result: no" >&5
21169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27039
echo "${ECHO_T}no" >&6
21170
$as_echo "no" >&6; }
27040
  ENABLE_REPORTBUILDER=NO
21171
  ENABLE_REPORTBUILDER=NO
27041
  SYSTEM_JFREEREPORT=NO
21172
  SYSTEM_JFREEREPORT=NO
27042
fi
21173
fi
Lines 27057-27397 Link Here
27057
# this has to be here because both the wiki publisher and the SRB use
21188
# this has to be here because both the wiki publisher and the SRB use
27058
# commons-logging
21189
# commons-logging
27059
if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
21190
if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
27060
  echo "$as_me:$LINENO: checking which Apache commons-* libs to use" >&5
21191
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Apache commons-* libs to use" >&5
27061
echo $ECHO_N "checking which Apache commons-* libs to use... $ECHO_C" >&6
21192
$as_echo_n "checking which Apache commons-* libs to use... " >&6; }
27062
  if test "$with_system_apache_commons" = "yes"; then
21193
  if test "$with_system_apache_commons" = "yes"; then
27063
    SYSTEM_APACHE_COMMONS=YES
21194
    SYSTEM_APACHE_COMMONS=YES
27064
    echo "$as_me:$LINENO: result: external" >&5
21195
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: external" >&5
27065
echo "${ECHO_T}external" >&6
21196
$as_echo "external" >&6; }
27066
    if test "$ENABLE_MEDIAWIKI" = "YES"; then
21197
    if test "$ENABLE_MEDIAWIKI" = "YES"; then
27067
      if test -z $COMMONS_CODEC_JAR; then
21198
      if test -z $COMMONS_CODEC_JAR; then
27068
        echo "$as_me:$LINENO: checking for /usr/share/java/commons-codec-1.3.jar" >&5
21199
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-codec-1.3.jar" >&5
27069
echo $ECHO_N "checking for /usr/share/java/commons-codec-1.3.jar... $ECHO_C" >&6
21200
$as_echo_n "checking for /usr/share/java/commons-codec-1.3.jar... " >&6; }
27070
if test "${ac_cv_file__usr_share_java_commons_codec_1_3_jar+set}" = set; then
21201
if test "${ac_cv_file__usr_share_java_commons_codec_1_3_jar+set}" = set; then :
27071
  echo $ECHO_N "(cached) $ECHO_C" >&6
21202
  $as_echo_n "(cached) " >&6
27072
else
21203
else
27073
  test "$cross_compiling" = yes &&
21204
  test "$cross_compiling" = yes &&
27074
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21205
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27075
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27076
   { (exit 1); exit 1; }; }
27077
if test -r "/usr/share/java/commons-codec-1.3.jar"; then
21206
if test -r "/usr/share/java/commons-codec-1.3.jar"; then
27078
  ac_cv_file__usr_share_java_commons_codec_1_3_jar=yes
21207
  ac_cv_file__usr_share_java_commons_codec_1_3_jar=yes
27079
else
21208
else
27080
  ac_cv_file__usr_share_java_commons_codec_1_3_jar=no
21209
  ac_cv_file__usr_share_java_commons_codec_1_3_jar=no
27081
fi
21210
fi
27082
fi
21211
fi
27083
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&5
21212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&5
27084
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&6
21213
$as_echo "$ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&6; }
27085
if test $ac_cv_file__usr_share_java_commons_codec_1_3_jar = yes; then
21214
if test "x$ac_cv_file__usr_share_java_commons_codec_1_3_jar" = x""yes; then :
27086
   COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.3.jar
21215
   COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.3.jar
27087
else
21216
else
27088
21217
27089
            echo "$as_me:$LINENO: checking for /usr/share/java/commons-codec.jar" >&5
21218
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-codec.jar" >&5
27090
echo $ECHO_N "checking for /usr/share/java/commons-codec.jar... $ECHO_C" >&6
21219
$as_echo_n "checking for /usr/share/java/commons-codec.jar... " >&6; }
27091
if test "${ac_cv_file__usr_share_java_commons_codec_jar+set}" = set; then
21220
if test "${ac_cv_file__usr_share_java_commons_codec_jar+set}" = set; then :
27092
  echo $ECHO_N "(cached) $ECHO_C" >&6
21221
  $as_echo_n "(cached) " >&6
27093
else
21222
else
27094
  test "$cross_compiling" = yes &&
21223
  test "$cross_compiling" = yes &&
27095
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21224
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27096
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27097
   { (exit 1); exit 1; }; }
27098
if test -r "/usr/share/java/commons-codec.jar"; then
21225
if test -r "/usr/share/java/commons-codec.jar"; then
27099
  ac_cv_file__usr_share_java_commons_codec_jar=yes
21226
  ac_cv_file__usr_share_java_commons_codec_jar=yes
27100
else
21227
else
27101
  ac_cv_file__usr_share_java_commons_codec_jar=no
21228
  ac_cv_file__usr_share_java_commons_codec_jar=no
27102
fi
21229
fi
27103
fi
21230
fi
27104
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_codec_jar" >&5
21231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_codec_jar" >&5
27105
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_codec_jar" >&6
21232
$as_echo "$ac_cv_file__usr_share_java_commons_codec_jar" >&6; }
27106
if test $ac_cv_file__usr_share_java_commons_codec_jar = yes; then
21233
if test "x$ac_cv_file__usr_share_java_commons_codec_jar" = x""yes; then :
27107
   COMMONS_CODEC_JAR=/usr/share/java/commons-codecs.jar
21234
   COMMONS_CODEC_JAR=/usr/share/java/commons-codecs.jar
27108
else
21235
else
27109
  { { echo "$as_me:$LINENO: error: commons-codec.jar replacement not found." >&5
21236
  as_fn_error "commons-codec.jar replacement not found." "$LINENO" 5
27110
echo "$as_me: error: commons-codec.jar replacement not found." >&2;}
21237
27111
   { (exit 1); exit 1; }; }
21238
fi
27112
21239
27113
fi
21240
27114
21241
27115
21242
fi
27116
21243
27117
fi
21244
      else
27118
21245
        as_ac_File=`$as_echo "ac_cv_file_$COMMONS_CODEC_JAR" | $as_tr_sh`
27119
      else
21246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $COMMONS_CODEC_JAR" >&5
27120
        as_ac_File=`echo "ac_cv_file_$COMMONS_CODEC_JAR" | $as_tr_sh`
21247
$as_echo_n "checking for $COMMONS_CODEC_JAR... " >&6; }
27121
echo "$as_me:$LINENO: checking for $COMMONS_CODEC_JAR" >&5
21248
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
27122
echo $ECHO_N "checking for $COMMONS_CODEC_JAR... $ECHO_C" >&6
21249
  $as_echo_n "(cached) " >&6
27123
if eval "test \"\${$as_ac_File+set}\" = set"; then
21250
else
27124
  echo $ECHO_N "(cached) $ECHO_C" >&6
21251
  test "$cross_compiling" = yes &&
27125
else
21252
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27126
  test "$cross_compiling" = yes &&
27127
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27128
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27129
   { (exit 1); exit 1; }; }
27130
if test -r "$COMMONS_CODEC_JAR"; then
21253
if test -r "$COMMONS_CODEC_JAR"; then
27131
  eval "$as_ac_File=yes"
21254
  eval "$as_ac_File=yes"
27132
else
21255
else
27133
  eval "$as_ac_File=no"
21256
  eval "$as_ac_File=no"
27134
fi
21257
fi
27135
fi
21258
fi
27136
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21259
eval ac_res=\$$as_ac_File
27137
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21260
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27138
if test `eval echo '${'$as_ac_File'}'` = yes; then
21261
$as_echo "$ac_res" >&6; }
27139
  :
21262
eval as_val=\$$as_ac_File
27140
else
21263
   if test "x$as_val" = x""yes; then :
27141
  { { echo "$as_me:$LINENO: error: commons-codec.jar not found." >&5
21264
27142
echo "$as_me: error: commons-codec.jar not found." >&2;}
21265
else
27143
   { (exit 1); exit 1; }; }
21266
  as_fn_error "commons-codec.jar not found." "$LINENO" 5
27144
fi
21267
fi
27145
21268
27146
      fi
21269
      fi
27147
21270
27148
      if test -z $COMMONS_LANG_JAR; then
21271
      if test -z $COMMONS_LANG_JAR; then
27149
        echo "$as_me:$LINENO: checking for /usr/share/java/commons-lang-2.3.jar" >&5
21272
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-lang-2.3.jar" >&5
27150
echo $ECHO_N "checking for /usr/share/java/commons-lang-2.3.jar... $ECHO_C" >&6
21273
$as_echo_n "checking for /usr/share/java/commons-lang-2.3.jar... " >&6; }
27151
if test "${ac_cv_file__usr_share_java_commons_lang_2_3_jar+set}" = set; then
21274
if test "${ac_cv_file__usr_share_java_commons_lang_2_3_jar+set}" = set; then :
27152
  echo $ECHO_N "(cached) $ECHO_C" >&6
21275
  $as_echo_n "(cached) " >&6
27153
else
21276
else
27154
  test "$cross_compiling" = yes &&
21277
  test "$cross_compiling" = yes &&
27155
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21278
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27156
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27157
   { (exit 1); exit 1; }; }
27158
if test -r "/usr/share/java/commons-lang-2.3.jar"; then
21279
if test -r "/usr/share/java/commons-lang-2.3.jar"; then
27159
  ac_cv_file__usr_share_java_commons_lang_2_3_jar=yes
21280
  ac_cv_file__usr_share_java_commons_lang_2_3_jar=yes
27160
else
21281
else
27161
  ac_cv_file__usr_share_java_commons_lang_2_3_jar=no
21282
  ac_cv_file__usr_share_java_commons_lang_2_3_jar=no
27162
fi
21283
fi
27163
fi
21284
fi
27164
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&5
21285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&5
27165
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&6
21286
$as_echo "$ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&6; }
27166
if test $ac_cv_file__usr_share_java_commons_lang_2_3_jar = yes; then
21287
if test "x$ac_cv_file__usr_share_java_commons_lang_2_3_jar" = x""yes; then :
27167
   COMMONS_LANG_JAR=/usr/share/java/commons-lang-2.3.jar
21288
   COMMONS_LANG_JAR=/usr/share/java/commons-lang-2.3.jar
27168
else
21289
else
27169
21290
27170
            echo "$as_me:$LINENO: checking for /usr/share/java/commons-lang.jar" >&5
21291
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-lang.jar" >&5
27171
echo $ECHO_N "checking for /usr/share/java/commons-lang.jar... $ECHO_C" >&6
21292
$as_echo_n "checking for /usr/share/java/commons-lang.jar... " >&6; }
27172
if test "${ac_cv_file__usr_share_java_commons_lang_jar+set}" = set; then
21293
if test "${ac_cv_file__usr_share_java_commons_lang_jar+set}" = set; then :
27173
  echo $ECHO_N "(cached) $ECHO_C" >&6
21294
  $as_echo_n "(cached) " >&6
27174
else
21295
else
27175
  test "$cross_compiling" = yes &&
21296
  test "$cross_compiling" = yes &&
27176
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21297
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27177
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27178
   { (exit 1); exit 1; }; }
27179
if test -r "/usr/share/java/commons-lang.jar"; then
21298
if test -r "/usr/share/java/commons-lang.jar"; then
27180
  ac_cv_file__usr_share_java_commons_lang_jar=yes
21299
  ac_cv_file__usr_share_java_commons_lang_jar=yes
27181
else
21300
else
27182
  ac_cv_file__usr_share_java_commons_lang_jar=no
21301
  ac_cv_file__usr_share_java_commons_lang_jar=no
27183
fi
21302
fi
27184
fi
21303
fi
27185
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_lang_jar" >&5
21304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_lang_jar" >&5
27186
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_lang_jar" >&6
21305
$as_echo "$ac_cv_file__usr_share_java_commons_lang_jar" >&6; }
27187
if test $ac_cv_file__usr_share_java_commons_lang_jar = yes; then
21306
if test "x$ac_cv_file__usr_share_java_commons_lang_jar" = x""yes; then :
27188
   COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar
21307
   COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar
27189
else
21308
else
27190
  { { echo "$as_me:$LINENO: error: commons-lang.jar replacement not found." >&5
21309
  as_fn_error "commons-lang.jar replacement not found." "$LINENO" 5
27191
echo "$as_me: error: commons-lang.jar replacement not found." >&2;}
21310
27192
   { (exit 1); exit 1; }; }
21311
fi
27193
21312
27194
fi
21313
27195
21314
27196
21315
fi
27197
21316
27198
fi
21317
      else
27199
21318
        as_ac_File=`$as_echo "ac_cv_file_$COMMONS_LANG_JAR" | $as_tr_sh`
27200
      else
21319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $COMMONS_LANG_JAR" >&5
27201
        as_ac_File=`echo "ac_cv_file_$COMMONS_LANG_JAR" | $as_tr_sh`
21320
$as_echo_n "checking for $COMMONS_LANG_JAR... " >&6; }
27202
echo "$as_me:$LINENO: checking for $COMMONS_LANG_JAR" >&5
21321
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
27203
echo $ECHO_N "checking for $COMMONS_LANG_JAR... $ECHO_C" >&6
21322
  $as_echo_n "(cached) " >&6
27204
if eval "test \"\${$as_ac_File+set}\" = set"; then
21323
else
27205
  echo $ECHO_N "(cached) $ECHO_C" >&6
21324
  test "$cross_compiling" = yes &&
27206
else
21325
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27207
  test "$cross_compiling" = yes &&
27208
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27209
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27210
   { (exit 1); exit 1; }; }
27211
if test -r "$COMMONS_LANG_JAR"; then
21326
if test -r "$COMMONS_LANG_JAR"; then
27212
  eval "$as_ac_File=yes"
21327
  eval "$as_ac_File=yes"
27213
else
21328
else
27214
  eval "$as_ac_File=no"
21329
  eval "$as_ac_File=no"
27215
fi
21330
fi
27216
fi
21331
fi
27217
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21332
eval ac_res=\$$as_ac_File
27218
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21333
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27219
if test `eval echo '${'$as_ac_File'}'` = yes; then
21334
$as_echo "$ac_res" >&6; }
27220
  :
21335
eval as_val=\$$as_ac_File
27221
else
21336
   if test "x$as_val" = x""yes; then :
27222
  { { echo "$as_me:$LINENO: error: commons-lang.jar not found." >&5
21337
27223
echo "$as_me: error: commons-lang.jar not found." >&2;}
21338
else
27224
   { (exit 1); exit 1; }; }
21339
  as_fn_error "commons-lang.jar not found." "$LINENO" 5
27225
fi
21340
fi
27226
21341
27227
      fi
21342
      fi
27228
21343
27229
      if test -z $COMMONS_HTTPCLIENT_JAR; then
21344
      if test -z $COMMONS_HTTPCLIENT_JAR; then
27230
        echo "$as_me:$LINENO: checking for /usr/share/java/commons-httpclient-3.1.jar" >&5
21345
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-httpclient-3.1.jar" >&5
27231
echo $ECHO_N "checking for /usr/share/java/commons-httpclient-3.1.jar... $ECHO_C" >&6
21346
$as_echo_n "checking for /usr/share/java/commons-httpclient-3.1.jar... " >&6; }
27232
if test "${ac_cv_file__usr_share_java_commons_httpclient_3_1_jar+set}" = set; then
21347
if test "${ac_cv_file__usr_share_java_commons_httpclient_3_1_jar+set}" = set; then :
27233
  echo $ECHO_N "(cached) $ECHO_C" >&6
21348
  $as_echo_n "(cached) " >&6
27234
else
21349
else
27235
  test "$cross_compiling" = yes &&
21350
  test "$cross_compiling" = yes &&
27236
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21351
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27237
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27238
   { (exit 1); exit 1; }; }
27239
if test -r "/usr/share/java/commons-httpclient-3.1.jar"; then
21352
if test -r "/usr/share/java/commons-httpclient-3.1.jar"; then
27240
  ac_cv_file__usr_share_java_commons_httpclient_3_1_jar=yes
21353
  ac_cv_file__usr_share_java_commons_httpclient_3_1_jar=yes
27241
else
21354
else
27242
  ac_cv_file__usr_share_java_commons_httpclient_3_1_jar=no
21355
  ac_cv_file__usr_share_java_commons_httpclient_3_1_jar=no
27243
fi
21356
fi
27244
fi
21357
fi
27245
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&5
21358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&5
27246
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&6
21359
$as_echo "$ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&6; }
27247
if test $ac_cv_file__usr_share_java_commons_httpclient_3_1_jar = yes; then
21360
if test "x$ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" = x""yes; then :
27248
   COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar
21361
   COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar
27249
else
21362
else
27250
21363
27251
            echo "$as_me:$LINENO: checking for /usr/share/java/commons-httpclient.jar" >&5
21364
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-httpclient.jar" >&5
27252
echo $ECHO_N "checking for /usr/share/java/commons-httpclient.jar... $ECHO_C" >&6
21365
$as_echo_n "checking for /usr/share/java/commons-httpclient.jar... " >&6; }
27253
if test "${ac_cv_file__usr_share_java_commons_httpclient_jar+set}" = set; then
21366
if test "${ac_cv_file__usr_share_java_commons_httpclient_jar+set}" = set; then :
27254
  echo $ECHO_N "(cached) $ECHO_C" >&6
21367
  $as_echo_n "(cached) " >&6
27255
else
21368
else
27256
  test "$cross_compiling" = yes &&
21369
  test "$cross_compiling" = yes &&
27257
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21370
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27258
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27259
   { (exit 1); exit 1; }; }
27260
if test -r "/usr/share/java/commons-httpclient.jar"; then
21371
if test -r "/usr/share/java/commons-httpclient.jar"; then
27261
  ac_cv_file__usr_share_java_commons_httpclient_jar=yes
21372
  ac_cv_file__usr_share_java_commons_httpclient_jar=yes
27262
else
21373
else
27263
  ac_cv_file__usr_share_java_commons_httpclient_jar=no
21374
  ac_cv_file__usr_share_java_commons_httpclient_jar=no
27264
fi
21375
fi
27265
fi
21376
fi
27266
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_httpclient_jar" >&5
21377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_httpclient_jar" >&5
27267
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_httpclient_jar" >&6
21378
$as_echo "$ac_cv_file__usr_share_java_commons_httpclient_jar" >&6; }
27268
if test $ac_cv_file__usr_share_java_commons_httpclient_jar = yes; then
21379
if test "x$ac_cv_file__usr_share_java_commons_httpclient_jar" = x""yes; then :
27269
   COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar
21380
   COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar
27270
else
21381
else
27271
  { { echo "$as_me:$LINENO: error: commons-httpclient.jar replacement not found." >&5
21382
  as_fn_error "commons-httpclient.jar replacement not found." "$LINENO" 5
27272
echo "$as_me: error: commons-httpclient.jar replacement not found." >&2;}
21383
27273
   { (exit 1); exit 1; }; }
21384
fi
27274
21385
27275
fi
21386
27276
21387
27277
21388
fi
27278
21389
27279
fi
21390
      else
27280
21391
        as_ac_File=`$as_echo "ac_cv_file_$COMMONS_HTTPCLIENT_JAR" | $as_tr_sh`
27281
      else
21392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $COMMONS_HTTPCLIENT_JAR" >&5
27282
        as_ac_File=`echo "ac_cv_file_$COMMONS_HTTPCLIENT_JAR" | $as_tr_sh`
21393
$as_echo_n "checking for $COMMONS_HTTPCLIENT_JAR... " >&6; }
27283
echo "$as_me:$LINENO: checking for $COMMONS_HTTPCLIENT_JAR" >&5
21394
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
27284
echo $ECHO_N "checking for $COMMONS_HTTPCLIENT_JAR... $ECHO_C" >&6
21395
  $as_echo_n "(cached) " >&6
27285
if eval "test \"\${$as_ac_File+set}\" = set"; then
21396
else
27286
  echo $ECHO_N "(cached) $ECHO_C" >&6
21397
  test "$cross_compiling" = yes &&
27287
else
21398
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27288
  test "$cross_compiling" = yes &&
27289
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27290
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27291
   { (exit 1); exit 1; }; }
27292
if test -r "$COMMONS_HTTPCLIENT_JAR"; then
21399
if test -r "$COMMONS_HTTPCLIENT_JAR"; then
27293
  eval "$as_ac_File=yes"
21400
  eval "$as_ac_File=yes"
27294
else
21401
else
27295
  eval "$as_ac_File=no"
21402
  eval "$as_ac_File=no"
27296
fi
21403
fi
27297
fi
21404
fi
27298
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21405
eval ac_res=\$$as_ac_File
27299
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21406
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27300
if test `eval echo '${'$as_ac_File'}'` = yes; then
21407
$as_echo "$ac_res" >&6; }
27301
  :
21408
eval as_val=\$$as_ac_File
27302
else
21409
   if test "x$as_val" = x""yes; then :
27303
  { { echo "$as_me:$LINENO: error: commons-httpclient.jar not found." >&5
21410
27304
echo "$as_me: error: commons-httpclient.jar not found." >&2;}
21411
else
27305
   { (exit 1); exit 1; }; }
21412
  as_fn_error "commons-httpclient.jar not found." "$LINENO" 5
27306
fi
21413
fi
27307
21414
27308
      fi
21415
      fi
27309
    fi
21416
    fi
27310
    if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
21417
    if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
27311
      if test -z $COMMONS_LOGGING_JAR; then
21418
      if test -z $COMMONS_LOGGING_JAR; then
27312
        echo "$as_me:$LINENO: checking for /usr/share/java/commons-logging-1.1.1.jar" >&5
21419
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-logging-1.1.1.jar" >&5
27313
echo $ECHO_N "checking for /usr/share/java/commons-logging-1.1.1.jar... $ECHO_C" >&6
21420
$as_echo_n "checking for /usr/share/java/commons-logging-1.1.1.jar... " >&6; }
27314
if test "${ac_cv_file__usr_share_java_commons_logging_1_1_1_jar+set}" = set; then
21421
if test "${ac_cv_file__usr_share_java_commons_logging_1_1_1_jar+set}" = set; then :
27315
  echo $ECHO_N "(cached) $ECHO_C" >&6
21422
  $as_echo_n "(cached) " >&6
27316
else
21423
else
27317
  test "$cross_compiling" = yes &&
21424
  test "$cross_compiling" = yes &&
27318
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21425
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27319
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27320
   { (exit 1); exit 1; }; }
27321
if test -r "/usr/share/java/commons-logging-1.1.1.jar"; then
21426
if test -r "/usr/share/java/commons-logging-1.1.1.jar"; then
27322
  ac_cv_file__usr_share_java_commons_logging_1_1_1_jar=yes
21427
  ac_cv_file__usr_share_java_commons_logging_1_1_1_jar=yes
27323
else
21428
else
27324
  ac_cv_file__usr_share_java_commons_logging_1_1_1_jar=no
21429
  ac_cv_file__usr_share_java_commons_logging_1_1_1_jar=no
27325
fi
21430
fi
27326
fi
21431
fi
27327
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&5
21432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&5
27328
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&6
21433
$as_echo "$ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&6; }
27329
if test $ac_cv_file__usr_share_java_commons_logging_1_1_1_jar = yes; then
21434
if test "x$ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" = x""yes; then :
27330
   COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-1.1.1.jar
21435
   COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-1.1.1.jar
27331
else
21436
else
27332
21437
27333
            echo "$as_me:$LINENO: checking for /usr/share/java/commons-logging.jar" >&5
21438
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/java/commons-logging.jar" >&5
27334
echo $ECHO_N "checking for /usr/share/java/commons-logging.jar... $ECHO_C" >&6
21439
$as_echo_n "checking for /usr/share/java/commons-logging.jar... " >&6; }
27335
if test "${ac_cv_file__usr_share_java_commons_logging_jar+set}" = set; then
21440
if test "${ac_cv_file__usr_share_java_commons_logging_jar+set}" = set; then :
27336
  echo $ECHO_N "(cached) $ECHO_C" >&6
21441
  $as_echo_n "(cached) " >&6
27337
else
21442
else
27338
  test "$cross_compiling" = yes &&
21443
  test "$cross_compiling" = yes &&
27339
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21444
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27340
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27341
   { (exit 1); exit 1; }; }
27342
if test -r "/usr/share/java/commons-logging.jar"; then
21445
if test -r "/usr/share/java/commons-logging.jar"; then
27343
  ac_cv_file__usr_share_java_commons_logging_jar=yes
21446
  ac_cv_file__usr_share_java_commons_logging_jar=yes
27344
else
21447
else
27345
  ac_cv_file__usr_share_java_commons_logging_jar=no
21448
  ac_cv_file__usr_share_java_commons_logging_jar=no
27346
fi
21449
fi
27347
fi
21450
fi
27348
echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_logging_jar" >&5
21451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_java_commons_logging_jar" >&5
27349
echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_logging_jar" >&6
21452
$as_echo "$ac_cv_file__usr_share_java_commons_logging_jar" >&6; }
27350
if test $ac_cv_file__usr_share_java_commons_logging_jar = yes; then
21453
if test "x$ac_cv_file__usr_share_java_commons_logging_jar" = x""yes; then :
27351
   COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
21454
   COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
27352
else
21455
else
27353
  { { echo "$as_me:$LINENO: error: commons-logging.jar replacement not found." >&5
21456
  as_fn_error "commons-logging.jar replacement not found." "$LINENO" 5
27354
echo "$as_me: error: commons-logging.jar replacement not found." >&2;}
21457
27355
   { (exit 1); exit 1; }; }
21458
fi
27356
21459
27357
fi
21460
27358
21461
27359
21462
fi
27360
21463
27361
fi
21464
      else
27362
21465
        as_ac_File=`$as_echo "ac_cv_file_$COMMONS_LOGGING_JAR" | $as_tr_sh`
27363
      else
21466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $COMMONS_LOGGING_JAR" >&5
27364
        as_ac_File=`echo "ac_cv_file_$COMMONS_LOGGING_JAR" | $as_tr_sh`
21467
$as_echo_n "checking for $COMMONS_LOGGING_JAR... " >&6; }
27365
echo "$as_me:$LINENO: checking for $COMMONS_LOGGING_JAR" >&5
21468
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
27366
echo $ECHO_N "checking for $COMMONS_LOGGING_JAR... $ECHO_C" >&6
21469
  $as_echo_n "(cached) " >&6
27367
if eval "test \"\${$as_ac_File+set}\" = set"; then
21470
else
27368
  echo $ECHO_N "(cached) $ECHO_C" >&6
21471
  test "$cross_compiling" = yes &&
27369
else
21472
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
27370
  test "$cross_compiling" = yes &&
27371
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27372
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27373
   { (exit 1); exit 1; }; }
27374
if test -r "$COMMONS_LOGGING_JAR"; then
21473
if test -r "$COMMONS_LOGGING_JAR"; then
27375
  eval "$as_ac_File=yes"
21474
  eval "$as_ac_File=yes"
27376
else
21475
else
27377
  eval "$as_ac_File=no"
21476
  eval "$as_ac_File=no"
27378
fi
21477
fi
27379
fi
21478
fi
27380
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21479
eval ac_res=\$$as_ac_File
27381
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21480
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27382
if test `eval echo '${'$as_ac_File'}'` = yes; then
21481
$as_echo "$ac_res" >&6; }
27383
  :
21482
eval as_val=\$$as_ac_File
27384
else
21483
   if test "x$as_val" = x""yes; then :
27385
  { { echo "$as_me:$LINENO: error: commons-logging.jar not found." >&5
21484
27386
echo "$as_me: error: commons-logging.jar not found." >&2;}
21485
else
27387
   { (exit 1); exit 1; }; }
21486
  as_fn_error "commons-logging.jar not found." "$LINENO" 5
27388
fi
21487
fi
27389
21488
27390
      fi
21489
      fi
27391
    fi
21490
    fi
27392
  else
21491
  else
27393
    echo "$as_me:$LINENO: result: internal" >&5
21492
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
27394
echo "${ECHO_T}internal" >&6
21493
$as_echo "internal" >&6; }
27395
    SYSTEM_APACHE_COMMONS=NO
21494
    SYSTEM_APACHE_COMMONS=NO
27396
    BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT"
21495
    BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT"
27397
  fi
21496
  fi
Lines 27443-27450 Link Here
27443
    kde_test_include="ksharedptr.h"
21542
    kde_test_include="ksharedptr.h"
27444
    kde_test_library="libkdeui.so"
21543
    kde_test_library="libkdeui.so"
27445
21544
27446
        echo "$as_me:$LINENO: checking for Qt headers" >&5
21545
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt headers" >&5
27447
echo $ECHO_N "checking for Qt headers... $ECHO_C" >&6
21546
$as_echo_n "checking for Qt headers... " >&6; }
27448
    qt_incdir="no"
21547
    qt_incdir="no"
27449
    for kde_check in $qt_incdirs ; do
21548
    for kde_check in $qt_incdirs ; do
27450
        if test -r "$kde_check/$qt_test_include" ; then
21549
        if test -r "$kde_check/$qt_test_include" ; then
Lines 27452-27469 Link Here
27452
            break
21551
            break
27453
        fi
21552
        fi
27454
    done
21553
    done
27455
    echo "$as_me:$LINENO: result: $qt_incdir" >&5
21554
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $qt_incdir" >&5
27456
echo "${ECHO_T}$qt_incdir" >&6
21555
$as_echo "$qt_incdir" >&6; }
27457
    if test "x$qt_incdir" = "xno" ; then
21556
    if test "x$qt_incdir" = "xno" ; then
27458
        { { echo "$as_me:$LINENO: error: Qt headers not found.  Please specify the root of
21557
        as_fn_error "Qt headers not found.  Please specify the root of
27459
your Qt installation by exporting QTDIR before running \"configure\"." >&5
21558
your Qt installation by exporting QTDIR before running \"configure\"." "$LINENO" 5
27460
echo "$as_me: error: Qt headers not found.  Please specify the root of
21559
    fi
27461
your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
21560
27462
   { (exit 1); exit 1; }; }
21561
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt libraries" >&5
27463
    fi
21562
$as_echo_n "checking for Qt libraries... " >&6; }
27464
27465
        echo "$as_me:$LINENO: checking for Qt libraries" >&5
27466
echo $ECHO_N "checking for Qt libraries... $ECHO_C" >&6
27467
    qt_libdir="no"
21563
    qt_libdir="no"
27468
    for qt_check in $qt_libdirs ; do
21564
    for qt_check in $qt_libdirs ; do
27469
        if test -r "$qt_check/$qt_test_library" ; then
21565
        if test -r "$qt_check/$qt_test_library" ; then
Lines 27471-27492 Link Here
27471
            break
21567
            break
27472
        fi
21568
        fi
27473
    done
21569
    done
27474
    echo "$as_me:$LINENO: result: $qt_libdir" >&5
21570
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $qt_libdir" >&5
27475
echo "${ECHO_T}$qt_libdir" >&6
21571
$as_echo "$qt_libdir" >&6; }
27476
    if test "x$qt_libdir" = "xno" ; then
21572
    if test "x$qt_libdir" = "xno" ; then
27477
        { { echo "$as_me:$LINENO: error: Qt libraries not found.  Please specify the root of
21573
        as_fn_error "Qt libraries not found.  Please specify the root of
27478
your Qt installation by exporting QTDIR before running \"configure\"." >&5
21574
your Qt installation by exporting QTDIR before running \"configure\"." "$LINENO" 5
27479
echo "$as_me: error: Qt libraries not found.  Please specify the root of
27480
your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
27481
   { (exit 1); exit 1; }; }
27482
    fi
21575
    fi
27483
21576
27484
        # Extract the first word of "moc", so it can be a program name with args.
21577
        # Extract the first word of "moc", so it can be a program name with args.
27485
set dummy moc; ac_word=$2
21578
set dummy moc; ac_word=$2
27486
echo "$as_me:$LINENO: checking for $ac_word" >&5
21579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27487
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21580
$as_echo_n "checking for $ac_word... " >&6; }
27488
if test "${ac_cv_path_MOC+set}" = set; then
21581
if test "${ac_cv_path_MOC+set}" = set; then :
27489
  echo $ECHO_N "(cached) $ECHO_C" >&6
21582
  $as_echo_n "(cached) " >&6
27490
else
21583
else
27491
  case $MOC in
21584
  case $MOC in
27492
  [\\/]* | ?:[\\/]*)
21585
  [\\/]* | ?:[\\/]*)
Lines 27499-27537 Link Here
27499
do
21592
do
27500
  IFS=$as_save_IFS
21593
  IFS=$as_save_IFS
27501
  test -z "$as_dir" && as_dir=.
21594
  test -z "$as_dir" && as_dir=.
27502
  for ac_exec_ext in '' $ac_executable_extensions; do
21595
    for ac_exec_ext in '' $ac_executable_extensions; do
27503
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27504
    ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
21597
    ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
27505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21598
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27506
    break 2
21599
    break 2
27507
  fi
21600
  fi
27508
done
21601
done
27509
done
21602
  done
21603
IFS=$as_save_IFS
27510
21604
27511
  test -z "$ac_cv_path_MOC" && ac_cv_path_MOC="no"
21605
  test -z "$ac_cv_path_MOC" && ac_cv_path_MOC="no"
27512
  ;;
21606
  ;;
27513
esac
21607
esac
27514
fi
21608
fi
27515
MOC=$ac_cv_path_MOC
21609
MOC=$ac_cv_path_MOC
27516
27517
if test -n "$MOC"; then
21610
if test -n "$MOC"; then
27518
  echo "$as_me:$LINENO: result: $MOC" >&5
21611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
27519
echo "${ECHO_T}$MOC" >&6
21612
$as_echo "$MOC" >&6; }
27520
else
21613
else
27521
  echo "$as_me:$LINENO: result: no" >&5
21614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27522
echo "${ECHO_T}no" >&6
21615
$as_echo "no" >&6; }
27523
fi
21616
fi
21617
27524
21618
27525
    if test "$MOC" = "no" ; then
21619
    if test "$MOC" = "no" ; then
27526
        { { echo "$as_me:$LINENO: error: Qt Meta Object Compiler not found.  Please specify
21620
        as_fn_error "Qt Meta Object Compiler not found.  Please specify
27527
the root of your Qt installation by exporting QTDIR before running \"configure\"." >&5
21621
the root of your Qt installation by exporting QTDIR before running \"configure\"." "$LINENO" 5
27528
echo "$as_me: error: Qt Meta Object Compiler not found.  Please specify
21622
    fi
27529
the root of your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
21623
27530
   { (exit 1); exit 1; }; }
21624
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE headers" >&5
27531
    fi
21625
$as_echo_n "checking for KDE headers... " >&6; }
27532
27533
        echo "$as_me:$LINENO: checking for KDE headers" >&5
27534
echo $ECHO_N "checking for KDE headers... $ECHO_C" >&6
27535
    kde_incdir="no"
21626
    kde_incdir="no"
27536
    for kde_check in $kde_incdirs ; do
21627
    for kde_check in $kde_incdirs ; do
27537
        if test -r "$kde_check/$kde_test_include" ; then
21628
        if test -r "$kde_check/$kde_test_include" ; then
Lines 27539-27556 Link Here
27539
            break
21630
            break
27540
        fi
21631
        fi
27541
    done
21632
    done
27542
    echo "$as_me:$LINENO: result: $kde_incdir" >&5
21633
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kde_incdir" >&5
27543
echo "${ECHO_T}$kde_incdir" >&6
21634
$as_echo "$kde_incdir" >&6; }
27544
    if test "x$kde_incdir" = "xno" ; then
21635
    if test "x$kde_incdir" = "xno" ; then
27545
        { { echo "$as_me:$LINENO: error: KDE headers not found.  Please specify the root of
21636
        as_fn_error "KDE headers not found.  Please specify the root of
27546
your KDE installation by exporting KDEDIR before running \"configure\"." >&5
21637
your KDE installation by exporting KDEDIR before running \"configure\"." "$LINENO" 5
27547
echo "$as_me: error: KDE headers not found.  Please specify the root of
21638
    fi
27548
your KDE installation by exporting KDEDIR before running \"configure\"." >&2;}
21639
27549
   { (exit 1); exit 1; }; }
21640
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE libraries" >&5
27550
    fi
21641
$as_echo_n "checking for KDE libraries... " >&6; }
27551
27552
        echo "$as_me:$LINENO: checking for KDE libraries" >&5
27553
echo $ECHO_N "checking for KDE libraries... $ECHO_C" >&6
27554
    kde_libdir="no"
21642
    kde_libdir="no"
27555
    for kde_check in $kde_libdirs ; do
21643
    for kde_check in $kde_libdirs ; do
27556
        if test -r "$kde_check/$kde_test_library" ; then
21644
        if test -r "$kde_check/$kde_test_library" ; then
Lines 27558-27571 Link Here
27558
            break
21646
            break
27559
        fi
21647
        fi
27560
    done
21648
    done
27561
    echo "$as_me:$LINENO: result: $kde_libdir" >&5
21649
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kde_libdir" >&5
27562
echo "${ECHO_T}$kde_libdir" >&6
21650
$as_echo "$kde_libdir" >&6; }
27563
    if test "x$kde_libdir" = "xno" ; then
21651
    if test "x$kde_libdir" = "xno" ; then
27564
        { { echo "$as_me:$LINENO: error: KDE libraries not found.  Please specify the root of
21652
        as_fn_error "KDE libraries not found.  Please specify the root of
27565
your KDE installation by exporting KDEDIR before running \"configure\"." >&5
21653
your KDE installation by exporting KDEDIR before running \"configure\"." "$LINENO" 5
27566
echo "$as_me: error: KDE libraries not found.  Please specify the root of
27567
your KDE installation by exporting KDEDIR before running \"configure\"." >&2;}
27568
   { (exit 1); exit 1; }; }
27569
    fi
21654
    fi
27570
21655
27571
        KDE_CFLAGS="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
21656
        KDE_CFLAGS="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
Lines 27605-27612 Link Here
27605
   kde_test_include="ksharedptr.h"
21690
   kde_test_include="ksharedptr.h"
27606
   kde_test_library="libkdeui.so"
21691
   kde_test_library="libkdeui.so"
27607
21692
27608
   echo "$as_me:$LINENO: checking for Qt4 headers" >&5
21693
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt4 headers" >&5
27609
echo $ECHO_N "checking for Qt4 headers... $ECHO_C" >&6
21694
$as_echo_n "checking for Qt4 headers... " >&6; }
27610
   qt_header_dir="no"
21695
   qt_header_dir="no"
27611
   for inc_dir in $qt_incdirs ; do
21696
   for inc_dir in $qt_incdirs ; do
27612
      if test -r "$inc_dir/$qt_test_include" ; then
21697
      if test -r "$inc_dir/$qt_test_include" ; then
Lines 27615-27630 Link Here
27615
      fi
21700
      fi
27616
   done
21701
   done
27617
21702
27618
   echo "$as_me:$LINENO: result: $qt_header_dir" >&5
21703
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $qt_header_dir" >&5
27619
echo "${ECHO_T}$qt_header_dir" >&6
21704
$as_echo "$qt_header_dir" >&6; }
27620
   if test "x$qt_header_dir" = "xno" ; then
21705
   if test "x$qt_header_dir" = "xno" ; then
27621
      { { echo "$as_me:$LINENO: error: Qt4 headers not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&5
21706
      as_fn_error "Qt4 headers not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." "$LINENO" 5
27622
echo "$as_me: error: Qt4 headers not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&2;}
21707
   fi
27623
   { (exit 1); exit 1; }; }
21708
27624
   fi
21709
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt4 libraries" >&5
27625
21710
$as_echo_n "checking for Qt4 libraries... " >&6; }
27626
   echo "$as_me:$LINENO: checking for Qt4 libraries" >&5
27627
echo $ECHO_N "checking for Qt4 libraries... $ECHO_C" >&6
27628
   qt_lib_dir="no"
21711
   qt_lib_dir="no"
27629
   for lib_dir in $qt_libdirs ; do
21712
   for lib_dir in $qt_libdirs ; do
27630
      if test -r "$lib_dir/$qt_test_library" ; then
21713
      if test -r "$lib_dir/$qt_test_library" ; then
Lines 27633-27653 Link Here
27633
      fi
21716
      fi
27634
   done
21717
   done
27635
21718
27636
   echo "$as_me:$LINENO: result: $qt_lib_dir" >&5
21719
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $qt_lib_dir" >&5
27637
echo "${ECHO_T}$qt_lib_dir" >&6
21720
$as_echo "$qt_lib_dir" >&6; }
27638
21721
27639
   if test "x$qt_lib_dir" = "xno" ; then
21722
   if test "x$qt_lib_dir" = "xno" ; then
27640
      { { echo "$as_me:$LINENO: error: Qt4 libraries not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&5
21723
      as_fn_error "Qt4 libraries not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." "$LINENO" 5
27641
echo "$as_me: error: Qt4 libraries not found.  Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&2;}
27642
   { (exit 1); exit 1; }; }
27643
   fi
21724
   fi
27644
21725
27645
      # Extract the first word of "moc", so it can be a program name with args.
21726
      # Extract the first word of "moc", so it can be a program name with args.
27646
set dummy moc; ac_word=$2
21727
set dummy moc; ac_word=$2
27647
echo "$as_me:$LINENO: checking for $ac_word" >&5
21728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27648
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21729
$as_echo_n "checking for $ac_word... " >&6; }
27649
if test "${ac_cv_path_MOC4+set}" = set; then
21730
if test "${ac_cv_path_MOC4+set}" = set; then :
27650
  echo $ECHO_N "(cached) $ECHO_C" >&6
21731
  $as_echo_n "(cached) " >&6
27651
else
21732
else
27652
  case $MOC4 in
21733
  case $MOC4 in
27653
  [\\/]* | ?:[\\/]*)
21734
  [\\/]* | ?:[\\/]*)
Lines 27660-27698 Link Here
27660
do
21741
do
27661
  IFS=$as_save_IFS
21742
  IFS=$as_save_IFS
27662
  test -z "$as_dir" && as_dir=.
21743
  test -z "$as_dir" && as_dir=.
27663
  for ac_exec_ext in '' $ac_executable_extensions; do
21744
    for ac_exec_ext in '' $ac_executable_extensions; do
27664
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27665
    ac_cv_path_MOC4="$as_dir/$ac_word$ac_exec_ext"
21746
    ac_cv_path_MOC4="$as_dir/$ac_word$ac_exec_ext"
27666
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27667
    break 2
21748
    break 2
27668
  fi
21749
  fi
27669
done
21750
done
27670
done
21751
  done
21752
IFS=$as_save_IFS
27671
21753
27672
  test -z "$ac_cv_path_MOC4" && ac_cv_path_MOC4="no"
21754
  test -z "$ac_cv_path_MOC4" && ac_cv_path_MOC4="no"
27673
  ;;
21755
  ;;
27674
esac
21756
esac
27675
fi
21757
fi
27676
MOC4=$ac_cv_path_MOC4
21758
MOC4=$ac_cv_path_MOC4
27677
27678
if test -n "$MOC4"; then
21759
if test -n "$MOC4"; then
27679
  echo "$as_me:$LINENO: result: $MOC4" >&5
21760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
27680
echo "${ECHO_T}$MOC4" >&6
21761
$as_echo "$MOC4" >&6; }
27681
else
21762
else
27682
  echo "$as_me:$LINENO: result: no" >&5
21763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27683
echo "${ECHO_T}no" >&6
21764
$as_echo "no" >&6; }
27684
fi
21765
fi
21766
27685
21767
27686
   if test "$MOC4" = "no" ; then
21768
   if test "$MOC4" = "no" ; then
27687
      { { echo "$as_me:$LINENO: error: Qt Meta Object Compiler not found.  Please specify
21769
      as_fn_error "Qt Meta Object Compiler not found.  Please specify
27688
the root of your Qt installation by exporting QT4DIR before running \"configure\"." >&5
21770
the root of your Qt installation by exporting QT4DIR before running \"configure\"." "$LINENO" 5
27689
echo "$as_me: error: Qt Meta Object Compiler not found.  Please specify
21771
   fi
27690
the root of your Qt installation by exporting QT4DIR before running \"configure\"." >&2;}
21772
27691
   { (exit 1); exit 1; }; }
21773
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE4 headers" >&5
27692
   fi
21774
$as_echo_n "checking for KDE4 headers... " >&6; }
27693
27694
      echo "$as_me:$LINENO: checking for KDE4 headers" >&5
27695
echo $ECHO_N "checking for KDE4 headers... $ECHO_C" >&6
27696
   kde_incdir="no"
21775
   kde_incdir="no"
27697
   for kde_check in $kde_incdirs ; do
21776
   for kde_check in $kde_incdirs ; do
27698
      if test -r "$kde_check/$kde_test_include" ; then
21777
      if test -r "$kde_check/$kde_test_include" ; then
Lines 27700-27715 Link Here
27700
         break
21779
         break
27701
      fi
21780
      fi
27702
   done
21781
   done
27703
   echo "$as_me:$LINENO: result: $kde_incdir" >&5
21782
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kde_incdir" >&5
27704
echo "${ECHO_T}$kde_incdir" >&6
21783
$as_echo "$kde_incdir" >&6; }
27705
   if test "x$kde_incdir" = "xno" ; then
21784
   if test "x$kde_incdir" = "xno" ; then
27706
      { { echo "$as_me:$LINENO: error: KDE4 headers not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&5
21785
      as_fn_error "KDE4 headers not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." "$LINENO" 5
27707
echo "$as_me: error: KDE4 headers not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&2;}
21786
   fi
27708
   { (exit 1); exit 1; }; }
21787
27709
   fi
21788
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE4 libraries" >&5
27710
21789
$as_echo_n "checking for KDE4 libraries... " >&6; }
27711
      echo "$as_me:$LINENO: checking for KDE4 libraries" >&5
27712
echo $ECHO_N "checking for KDE4 libraries... $ECHO_C" >&6
27713
   kde_libdir="no"
21790
   kde_libdir="no"
27714
   for kde_check in $kde_libdirs ; do
21791
   for kde_check in $kde_libdirs ; do
27715
      if test -r "$kde_check/$kde_test_library" ; then
21792
      if test -r "$kde_check/$kde_test_library" ; then
Lines 27718-27729 Link Here
27718
      fi
21795
      fi
27719
   done
21796
   done
27720
21797
27721
   echo "$as_me:$LINENO: result: $kde_libdir" >&5
21798
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kde_libdir" >&5
27722
echo "${ECHO_T}$kde_libdir" >&6
21799
$as_echo "$kde_libdir" >&6; }
27723
   if test "x$kde_libdir" = "xno" ; then
21800
   if test "x$kde_libdir" = "xno" ; then
27724
      { { echo "$as_me:$LINENO: error: KDE4 libraries not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&5
21801
      as_fn_error "KDE4 libraries not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." "$LINENO" 5
27725
echo "$as_me: error: KDE4 libraries not found.  Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&2;}
27726
   { (exit 1); exit 1; }; }
27727
   fi
21802
   fi
27728
21803
27729
   KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
21804
   KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
Lines 27733-27766 Link Here
27733
21808
27734
21809
27735
21810
27736
echo "$as_me:$LINENO: checking whether to enable the lockdown pieces" >&5
21811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the lockdown pieces" >&5
27737
echo $ECHO_N "checking whether to enable the lockdown pieces... $ECHO_C" >&6
21812
$as_echo_n "checking whether to enable the lockdown pieces... " >&6; }
27738
ENABLE_LOCKDOWN=""
21813
ENABLE_LOCKDOWN=""
27739
if test -n "$enable_lockdown" && test "$enable_lockdown" != "no"; then
21814
if test -n "$enable_lockdown" && test "$enable_lockdown" != "no"; then
27740
  ENABLE_LOCKDOWN=YES
21815
  ENABLE_LOCKDOWN=YES
27741
  echo "$as_me:$LINENO: result: yes" >&5
21816
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27742
echo "${ECHO_T}yes" >&6
21817
$as_echo "yes" >&6; }
27743
else
21818
else
27744
  echo "$as_me:$LINENO: result: no" >&5
21819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27745
echo "${ECHO_T}no" >&6
21820
$as_echo "no" >&6; }
27746
fi
21821
fi
27747
21822
27748
21823
27749
echo "$as_me:$LINENO: checking whether to enable evolution 2 support" >&5
21824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable evolution 2 support" >&5
27750
echo $ECHO_N "checking whether to enable evolution 2 support... $ECHO_C" >&6
21825
$as_echo_n "checking whether to enable evolution 2 support... " >&6; }
27751
if test "$enable_evolution2" = "yes" -o "$enable_evolution2" = "TRUE"; then
21826
if test "$enable_evolution2" = "yes" -o "$enable_evolution2" = "TRUE"; then
27752
   echo "$as_me:$LINENO: result: yes" >&5
21827
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27753
echo "${ECHO_T}yes" >&6
21828
$as_echo "yes" >&6; }
27754
21829
27755
  succeeded=no
21830
  succeeded=no
27756
21831
27757
  if test -z "$PKG_CONFIG"; then
21832
  if test -z "$PKG_CONFIG"; then
27758
    # Extract the first word of "pkg-config", so it can be a program name with args.
21833
    # Extract the first word of "pkg-config", so it can be a program name with args.
27759
set dummy pkg-config; ac_word=$2
21834
set dummy pkg-config; ac_word=$2
27760
echo "$as_me:$LINENO: checking for $ac_word" >&5
21835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27761
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21836
$as_echo_n "checking for $ac_word... " >&6; }
27762
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21837
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27763
  echo $ECHO_N "(cached) $ECHO_C" >&6
21838
  $as_echo_n "(cached) " >&6
27764
else
21839
else
27765
  case $PKG_CONFIG in
21840
  case $PKG_CONFIG in
27766
  [\\/]* | ?:[\\/]*)
21841
  [\\/]* | ?:[\\/]*)
Lines 27772-27799 Link Here
27772
do
21847
do
27773
  IFS=$as_save_IFS
21848
  IFS=$as_save_IFS
27774
  test -z "$as_dir" && as_dir=.
21849
  test -z "$as_dir" && as_dir=.
27775
  for ac_exec_ext in '' $ac_executable_extensions; do
21850
    for ac_exec_ext in '' $ac_executable_extensions; do
27776
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21851
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27777
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21852
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27778
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27779
    break 2
21854
    break 2
27780
  fi
21855
  fi
27781
done
21856
done
27782
done
21857
  done
21858
IFS=$as_save_IFS
27783
21859
27784
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21860
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27785
  ;;
21861
  ;;
27786
esac
21862
esac
27787
fi
21863
fi
27788
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21864
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27789
27790
if test -n "$PKG_CONFIG"; then
21865
if test -n "$PKG_CONFIG"; then
27791
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27792
echo "${ECHO_T}$PKG_CONFIG" >&6
21867
$as_echo "$PKG_CONFIG" >&6; }
27793
else
21868
else
27794
  echo "$as_me:$LINENO: result: no" >&5
21869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27795
echo "${ECHO_T}no" >&6
21870
$as_echo "no" >&6; }
27796
fi
21871
fi
21872
27797
21873
27798
  fi
21874
  fi
27799
21875
Lines 27805-27829 Link Here
27805
  else
21881
  else
27806
     PKG_CONFIG_MIN_VERSION=0.9.0
21882
     PKG_CONFIG_MIN_VERSION=0.9.0
27807
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21883
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27808
        echo "$as_me:$LINENO: checking for gobject-2.0" >&5
21884
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0" >&5
27809
echo $ECHO_N "checking for gobject-2.0... $ECHO_C" >&6
21885
$as_echo_n "checking for gobject-2.0... " >&6; }
27810
21886
27811
        if $PKG_CONFIG --exists "gobject-2.0" ; then
21887
        if $PKG_CONFIG --exists "gobject-2.0" ; then
27812
            echo "$as_me:$LINENO: result: yes" >&5
21888
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27813
echo "${ECHO_T}yes" >&6
21889
$as_echo "yes" >&6; }
27814
            succeeded=yes
21890
            succeeded=yes
27815
21891
27816
            echo "$as_me:$LINENO: checking GOBJECT_CFLAGS" >&5
21892
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GOBJECT_CFLAGS" >&5
27817
echo $ECHO_N "checking GOBJECT_CFLAGS... $ECHO_C" >&6
21893
$as_echo_n "checking GOBJECT_CFLAGS... " >&6; }
27818
            GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0"`
21894
            GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0"`
27819
            echo "$as_me:$LINENO: result: $GOBJECT_CFLAGS" >&5
21895
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOBJECT_CFLAGS" >&5
27820
echo "${ECHO_T}$GOBJECT_CFLAGS" >&6
21896
$as_echo "$GOBJECT_CFLAGS" >&6; }
27821
21897
27822
            echo "$as_me:$LINENO: checking GOBJECT_LIBS" >&5
21898
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GOBJECT_LIBS" >&5
27823
echo $ECHO_N "checking GOBJECT_LIBS... $ECHO_C" >&6
21899
$as_echo_n "checking GOBJECT_LIBS... " >&6; }
27824
            GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0"`
21900
            GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0"`
27825
            echo "$as_me:$LINENO: result: $GOBJECT_LIBS" >&5
21901
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOBJECT_LIBS" >&5
27826
echo "${ECHO_T}$GOBJECT_LIBS" >&6
21902
$as_echo "$GOBJECT_LIBS" >&6; }
27827
        else
21903
        else
27828
            GOBJECT_CFLAGS=""
21904
            GOBJECT_CFLAGS=""
27829
            GOBJECT_LIBS=""
21905
            GOBJECT_LIBS=""
Lines 27844-27870 Link Here
27844
  if test $succeeded = yes; then
21920
  if test $succeeded = yes; then
27845
     :
21921
     :
27846
  else
21922
  else
27847
     { { echo "$as_me:$LINENO: error: Library requirements (gobject-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
21923
     as_fn_error "Library requirements (gobject-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
27848
echo "$as_me: error: Library requirements (gobject-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
27849
   { (exit 1); exit 1; }; }
27850
  fi
21924
  fi
27851
21925
27852
   ENABLE_EVOAB2="TRUE"
21926
   ENABLE_EVOAB2="TRUE"
27853
else
21927
else
27854
   ENABLE_EVOAB2=""
21928
   ENABLE_EVOAB2=""
27855
   echo "$as_me:$LINENO: result: no" >&5
21929
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27856
echo "${ECHO_T}no" >&6
21930
$as_echo "no" >&6; }
27857
fi
21931
fi
27858
21932
27859
21933
27860
21934
27861
21935
27862
echo "$as_me:$LINENO: checking whether to enable KDE address book support" >&5
21936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable KDE address book support" >&5
27863
echo $ECHO_N "checking whether to enable KDE address book support... $ECHO_C" >&6
21937
$as_echo_n "checking whether to enable KDE address book support... " >&6; }
27864
if test "$enable_kdeab" = "yes" && test "$enable_kde" = "yes"; then
21938
if test "$enable_kdeab" = "yes" && test "$enable_kde" = "yes"; then
27865
   echo "$as_me:$LINENO: result: yes" >&5
21939
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27866
echo "${ECHO_T}yes" >&6
21940
$as_echo "yes" >&6; }
27867
   ac_ext=cc
21941
   ac_ext=cpp
27868
ac_cpp='$CXXCPP $CPPFLAGS'
21942
ac_cpp='$CXXCPP $CPPFLAGS'
27869
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27870
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lines 27872-27891 Link Here
27872
21946
27873
   save_CXXFLAGS=$CXXFLAGS
21947
   save_CXXFLAGS=$CXXFLAGS
27874
   CXXFLAGS="$CXXFLAGS $KDE_CFLAGS"
21948
   CXXFLAGS="$CXXFLAGS $KDE_CFLAGS"
27875
   echo "$as_me:$LINENO: checking whether KDE is between 3.2 and 3.6" >&5
21949
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether KDE is between 3.2 and 3.6" >&5
27876
echo $ECHO_N "checking whether KDE is between 3.2 and 3.6... $ECHO_C" >&6
21950
$as_echo_n "checking whether KDE is between 3.2 and 3.6... " >&6; }
27877
       if test "$cross_compiling" = yes; then
21951
       if test "$cross_compiling" = yes; then :
27878
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21952
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27879
See \`config.log' for more details." >&5
21953
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27880
echo "$as_me: error: cannot run test program while cross compiling
21954
as_fn_error "cannot run test program while cross compiling
27881
See \`config.log' for more details." >&2;}
21955
See \`config.log' for more details." "$LINENO" 5; }
27882
   { (exit 1); exit 1; }; }
21956
else
27883
else
21957
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27884
  cat >conftest.$ac_ext <<_ACEOF
27885
/* confdefs.h.  */
27886
_ACEOF
27887
cat confdefs.h >>conftest.$ac_ext
27888
cat >>conftest.$ac_ext <<_ACEOF
27889
/* end confdefs.h.  */
21958
/* end confdefs.h.  */
27890
21959
27891
#include <kdeversion.h>
21960
#include <kdeversion.h>
Lines 27896-27926 Link Here
27896
}
21965
}
27897
21966
27898
_ACEOF
21967
_ACEOF
27899
rm -f conftest$ac_exeext
21968
if ac_fn_cxx_try_run "$LINENO"; then :
27900
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27901
  (eval $ac_link) 2>&5
21970
$as_echo "yes" >&6; }
27902
  ac_status=$?
21971
else
27903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972
  as_fn_error "KDE version too old or too recent, please use another version of KDE or disable KDE address book support" "$LINENO" 5
27904
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21973
fi
27905
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27906
  (eval $ac_try) 2>&5
21975
  conftest.$ac_objext conftest.beam conftest.$ac_ext
27907
  ac_status=$?
21976
fi
27908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977
27909
  (exit $ac_status); }; }; then
27910
  echo "$as_me:$LINENO: result: yes" >&5
27911
echo "${ECHO_T}yes" >&6
27912
else
27913
  echo "$as_me: program exited with status $ac_status" >&5
27914
echo "$as_me: failed program was:" >&5
27915
sed 's/^/| /' conftest.$ac_ext >&5
27916
27917
( exit $ac_status )
27918
{ { echo "$as_me:$LINENO: error: KDE version too old or too recent, please use another version of KDE or disable KDE address book support" >&5
27919
echo "$as_me: error: KDE version too old or too recent, please use another version of KDE or disable KDE address book support" >&2;}
27920
   { (exit 1); exit 1; }; }
27921
fi
27922
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27923
fi
27924
   CXXFLAGS=$save_CXXFLAGS
21978
   CXXFLAGS=$save_CXXFLAGS
27925
   ac_ext=c
21979
   ac_ext=c
27926
ac_cpp='$CPP $CPPFLAGS'
21980
ac_cpp='$CPP $CPPFLAGS'
Lines 27930-27995 Link Here
27930
21984
27931
   ENABLE_KAB=TRUE
21985
   ENABLE_KAB=TRUE
27932
else
21986
else
27933
   echo "$as_me:$LINENO: result: no" >&5
21987
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27934
echo "${ECHO_T}no" >&6
21988
$as_echo "no" >&6; }
27935
   ENABLE_KAB=
21989
   ENABLE_KAB=
27936
fi
21990
fi
27937
21991
27938
21992
27939
echo "$as_me:$LINENO: checking whether to include MathMLDTD" >&5
21993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include MathMLDTD" >&5
27940
echo $ECHO_N "checking whether to include MathMLDTD... $ECHO_C" >&6
21994
$as_echo_n "checking whether to include MathMLDTD... " >&6; }
27941
if test -n "$enable_mathmldtd"; then
21995
if test -n "$enable_mathmldtd"; then
27942
  if test "$enable_mathmldtd" = "no"; then
21996
  if test "$enable_mathmldtd" = "no"; then
27943
    echo "$as_me:$LINENO: result: no" >&5
21997
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27944
echo "${ECHO_T}no" >&6
21998
$as_echo "no" >&6; }
27945
    SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
21999
    SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
27946
  else
22000
  else
27947
    echo "$as_me:$LINENO: result: yes" >&5
22001
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27948
echo "${ECHO_T}yes" >&6
22002
$as_echo "yes" >&6; }
27949
    BUILD_TYPE="$BUILD_TYPE MATHMLDTD"
22003
    BUILD_TYPE="$BUILD_TYPE MATHMLDTD"
27950
  fi
22004
  fi
27951
else
22005
else
27952
  echo "$as_me:$LINENO: result: no" >&5
22006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27953
echo "${ECHO_T}no" >&6
22007
$as_echo "no" >&6; }
27954
  SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
22008
  SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
27955
fi
22009
fi
27956
22010
27957
echo "$as_me:$LINENO: checking whether to include Bitstream Vera fonts" >&5
22011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include Bitstream Vera fonts" >&5
27958
echo $ECHO_N "checking whether to include Bitstream Vera fonts... $ECHO_C" >&6
22012
$as_echo_n "checking whether to include Bitstream Vera fonts... " >&6; }
27959
if test "$with_fonts" != "no" ; then
22013
if test "$with_fonts" != "no" ; then
27960
  echo "$as_me:$LINENO: result: yes" >&5
22014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27961
echo "${ECHO_T}yes" >&6
22015
$as_echo "yes" >&6; }
27962
  WITH_FONTS=YES
22016
  WITH_FONTS=YES
27963
  BUILD_TYPE="$BUILD_TYPE BITSTREAM_VERA_FONTS"
22017
  BUILD_TYPE="$BUILD_TYPE BITSTREAM_VERA_FONTS"
27964
else
22018
else
27965
  echo "$as_me:$LINENO: result: no" >&5
22019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27966
echo "${ECHO_T}no" >&6
22020
$as_echo "no" >&6; }
27967
  WITH_FONTS=NO
22021
  WITH_FONTS=NO
27968
  SCPDEFS="$SCPDEFS -DWITHOUT_FONTS"
22022
  SCPDEFS="$SCPDEFS -DWITHOUT_FONTS"
27969
fi
22023
fi
27970
22024
27971
22025
27972
echo "$as_me:$LINENO: checking whether to include PPDs" >&5
22026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include PPDs" >&5
27973
echo $ECHO_N "checking whether to include PPDs... $ECHO_C" >&6
22027
$as_echo_n "checking whether to include PPDs... " >&6; }
27974
if test "$with_ppds" != "no"; then
22028
if test "$with_ppds" != "no"; then
27975
  echo "$as_me:$LINENO: result: yes" >&5
22029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27976
echo "${ECHO_T}yes" >&6
22030
$as_echo "yes" >&6; }
27977
else
22031
else
27978
  echo "$as_me:$LINENO: result: no" >&5
22032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27979
echo "${ECHO_T}no" >&6
22033
$as_echo "no" >&6; }
27980
  WITHOUT_PPDS=YES
22034
  WITHOUT_PPDS=YES
27981
  SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
22035
  SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
27982
fi
22036
fi
27983
22037
27984
22038
27985
echo "$as_me:$LINENO: checking whether to include AFMs" >&5
22039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include AFMs" >&5
27986
echo $ECHO_N "checking whether to include AFMs... $ECHO_C" >&6
22040
$as_echo_n "checking whether to include AFMs... " >&6; }
27987
if test "$with_afms" != "no"; then
22041
if test "$with_afms" != "no"; then
27988
  echo "$as_me:$LINENO: result: yes" >&5
22042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27989
echo "${ECHO_T}yes" >&6
22043
$as_echo "yes" >&6; }
27990
else
22044
else
27991
  echo "$as_me:$LINENO: result: no" >&5
22045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27992
echo "${ECHO_T}no" >&6
22046
$as_echo "no" >&6; }
27993
  WITHOUT_AFMS=YES
22047
  WITHOUT_AFMS=YES
27994
  SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
22048
  SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
27995
fi
22049
fi
Lines 27997-28009 Link Here
27997
22051
27998
22052
27999
22053
28000
echo "$as_me:$LINENO: checking whether and how to use Xinerama" >&5
22054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether and how to use Xinerama" >&5
28001
echo $ECHO_N "checking whether and how to use Xinerama... $ECHO_C" >&6
22055
$as_echo_n "checking whether and how to use Xinerama... " >&6; }
28002
if test "$_os" = "Darwin"; then
22056
if test "$_os" = "Darwin"; then
28003
   USE_XINERAMA=YES
22057
   USE_XINERAMA=YES
28004
   XINERAMA_LINK=dynamic
22058
   XINERAMA_LINK=dynamic
28005
   echo "$as_me:$LINENO: result: yes" >&5
22059
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28006
echo "${ECHO_T}yes" >&6
22060
$as_echo "yes" >&6; }
28007
elif test "$_os" = "Linux" -o "$_os" = "FreeBSD"; then
22061
elif test "$_os" = "Linux" -o "$_os" = "FreeBSD"; then
28008
   if test -e "$XLIB/libXinerama.so" -a -e "$XLIB/libXinerama.a"; then
22062
   if test -e "$XLIB/libXinerama.so" -a -e "$XLIB/libXinerama.a"; then
28009
      # we have both versions, let the user decide but use the dynamic one
22063
      # we have both versions, let the user decide but use the dynamic one
Lines 28033-28183 Link Here
28033
      XINERAMA_LINK=none
22087
      XINERAMA_LINK=none
28034
   fi
22088
   fi
28035
   if test "$USE_XINERAMA" = "YES"; then
22089
   if test "$USE_XINERAMA" = "YES"; then
28036
      echo "$as_me:$LINENO: result: yes, with $XINERAMA_LINK linking" >&5
22090
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with $XINERAMA_LINK linking" >&5
28037
echo "${ECHO_T}yes, with $XINERAMA_LINK linking" >&6
22091
$as_echo "yes, with $XINERAMA_LINK linking" >&6; }
28038
      if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
22092
      ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$ac_includes_default"
28039
  echo "$as_me:$LINENO: checking for X11/extensions/Xinerama.h" >&5
22093
if test "x$ac_cv_header_X11_extensions_Xinerama_h" = x""yes; then :
28040
echo $ECHO_N "checking for X11/extensions/Xinerama.h... $ECHO_C" >&6
22094
28041
if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
22095
else
28042
  echo $ECHO_N "(cached) $ECHO_C" >&6
22096
  as_fn_error "Xinerama header not found." "$LINENO" 5
28043
fi
28044
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
28045
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
28046
else
28047
  # Is the header compilable?
28048
echo "$as_me:$LINENO: checking X11/extensions/Xinerama.h usability" >&5
28049
echo $ECHO_N "checking X11/extensions/Xinerama.h usability... $ECHO_C" >&6
28050
cat >conftest.$ac_ext <<_ACEOF
28051
/* confdefs.h.  */
28052
_ACEOF
28053
cat confdefs.h >>conftest.$ac_ext
28054
cat >>conftest.$ac_ext <<_ACEOF
28055
/* end confdefs.h.  */
28056
$ac_includes_default
28057
#include <X11/extensions/Xinerama.h>
28058
_ACEOF
28059
rm -f conftest.$ac_objext
28060
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28061
  (eval $ac_compile) 2>conftest.er1
28062
  ac_status=$?
28063
  grep -v '^ *+' conftest.er1 >conftest.err
28064
  rm -f conftest.er1
28065
  cat conftest.err >&5
28066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067
  (exit $ac_status); } &&
28068
	 { ac_try='test -z "$ac_c_werror_flag"
28069
			 || test ! -s conftest.err'
28070
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28071
  (eval $ac_try) 2>&5
28072
  ac_status=$?
28073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074
  (exit $ac_status); }; } &&
28075
	 { ac_try='test -s conftest.$ac_objext'
28076
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077
  (eval $ac_try) 2>&5
28078
  ac_status=$?
28079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080
  (exit $ac_status); }; }; then
28081
  ac_header_compiler=yes
28082
else
28083
  echo "$as_me: failed program was:" >&5
28084
sed 's/^/| /' conftest.$ac_ext >&5
28085
28086
ac_header_compiler=no
28087
fi
28088
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28089
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28090
echo "${ECHO_T}$ac_header_compiler" >&6
28091
28092
# Is the header present?
28093
echo "$as_me:$LINENO: checking X11/extensions/Xinerama.h presence" >&5
28094
echo $ECHO_N "checking X11/extensions/Xinerama.h presence... $ECHO_C" >&6
28095
cat >conftest.$ac_ext <<_ACEOF
28096
/* confdefs.h.  */
28097
_ACEOF
28098
cat confdefs.h >>conftest.$ac_ext
28099
cat >>conftest.$ac_ext <<_ACEOF
28100
/* end confdefs.h.  */
28101
#include <X11/extensions/Xinerama.h>
28102
_ACEOF
28103
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28104
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28105
  ac_status=$?
28106
  grep -v '^ *+' conftest.er1 >conftest.err
28107
  rm -f conftest.er1
28108
  cat conftest.err >&5
28109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110
  (exit $ac_status); } >/dev/null; then
28111
  if test -s conftest.err; then
28112
    ac_cpp_err=$ac_c_preproc_warn_flag
28113
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28114
  else
28115
    ac_cpp_err=
28116
  fi
28117
else
28118
  ac_cpp_err=yes
28119
fi
28120
if test -z "$ac_cpp_err"; then
28121
  ac_header_preproc=yes
28122
else
28123
  echo "$as_me: failed program was:" >&5
28124
sed 's/^/| /' conftest.$ac_ext >&5
28125
28126
  ac_header_preproc=no
28127
fi
28128
rm -f conftest.err conftest.$ac_ext
28129
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28130
echo "${ECHO_T}$ac_header_preproc" >&6
28131
28132
# So?  What about this header?
28133
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28134
  yes:no: )
28135
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: accepted by the compiler, rejected by the preprocessor!" >&5
28136
echo "$as_me: WARNING: X11/extensions/Xinerama.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28137
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: proceeding with the compiler's result" >&5
28138
echo "$as_me: WARNING: X11/extensions/Xinerama.h: proceeding with the compiler's result" >&2;}
28139
    ac_header_preproc=yes
28140
    ;;
28141
  no:yes:* )
28142
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled" >&5
28143
echo "$as_me: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled" >&2;}
28144
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h:     check for missing prerequisite headers?" >&5
28145
echo "$as_me: WARNING: X11/extensions/Xinerama.h:     check for missing prerequisite headers?" >&2;}
28146
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation" >&5
28147
echo "$as_me: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation" >&2;}
28148
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h:     section \"Present But Cannot Be Compiled\"" >&5
28149
echo "$as_me: WARNING: X11/extensions/Xinerama.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28150
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result" >&5
28151
echo "$as_me: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result" >&2;}
28152
    { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: in the future, the compiler will take precedence" >&5
28153
echo "$as_me: WARNING: X11/extensions/Xinerama.h: in the future, the compiler will take precedence" >&2;}
28154
    (
28155
      cat <<\_ASBOX
28156
## ------------------------------------------ ##
28157
## Report this to the AC_PACKAGE_NAME lists.  ##
28158
## ------------------------------------------ ##
28159
_ASBOX
28160
    ) |
28161
      sed "s/^/$as_me: WARNING:     /" >&2
28162
    ;;
28163
esac
28164
echo "$as_me:$LINENO: checking for X11/extensions/Xinerama.h" >&5
28165
echo $ECHO_N "checking for X11/extensions/Xinerama.h... $ECHO_C" >&6
28166
if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
28167
  echo $ECHO_N "(cached) $ECHO_C" >&6
28168
else
28169
  ac_cv_header_X11_extensions_Xinerama_h=$ac_header_preproc
28170
fi
28171
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
28172
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
28173
28174
fi
28175
if test $ac_cv_header_X11_extensions_Xinerama_h = yes; then
28176
  :
28177
else
28178
  { { echo "$as_me:$LINENO: error: Xinerama header not found." >&5
28179
echo "$as_me: error: Xinerama header not found." >&2;}
28180
   { (exit 1); exit 1; }; }
28181
fi
22097
fi
28182
22098
28183
22099
Lines 28188-28259 Link Here
28188
      if test "$_os" = "Linux"; then
22104
      if test "$_os" = "Linux"; then
28189
          XINERAMA_EXTRA_LIBS="$XINERAMA_EXTRA_LIBS -ldl"
22105
          XINERAMA_EXTRA_LIBS="$XINERAMA_EXTRA_LIBS -ldl"
28190
      fi
22106
      fi
28191
22107
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaIsActive in -lXinerama" >&5
28192
echo "$as_me:$LINENO: checking for XineramaIsActive in -lXinerama" >&5
22108
$as_echo_n "checking for XineramaIsActive in -lXinerama... " >&6; }
28193
echo $ECHO_N "checking for XineramaIsActive in -lXinerama... $ECHO_C" >&6
22109
if test "${ac_cv_lib_Xinerama_XineramaIsActive+set}" = set; then :
28194
if test "${ac_cv_lib_Xinerama_XineramaIsActive+set}" = set; then
22110
  $as_echo_n "(cached) " >&6
28195
  echo $ECHO_N "(cached) $ECHO_C" >&6
28196
else
22111
else
28197
  ac_check_lib_save_LIBS=$LIBS
22112
  ac_check_lib_save_LIBS=$LIBS
28198
LIBS="-lXinerama $XINERAMA_EXTRA_LIBS $LIBS"
22113
LIBS="-lXinerama $XINERAMA_EXTRA_LIBS $LIBS"
28199
cat >conftest.$ac_ext <<_ACEOF
22114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200
/* confdefs.h.  */
22115
/* end confdefs.h.  */
28201
_ACEOF
22116
28202
cat confdefs.h >>conftest.$ac_ext
22117
/* Override any GCC internal prototype to avoid an error.
28203
cat >>conftest.$ac_ext <<_ACEOF
22118
   Use char because int might match the return type of a GCC
28204
/* end confdefs.h.  */
22119
   builtin and then its argument prototype would still apply.  */
28205
28206
/* Override any gcc2 internal prototype to avoid an error.  */
28207
#ifdef __cplusplus
22120
#ifdef __cplusplus
28208
extern "C"
22121
extern "C"
28209
#endif
22122
#endif
28210
/* We use char because int might match the return type of a gcc2
28211
   builtin and then its argument prototype would still apply.  */
28212
char XineramaIsActive ();
22123
char XineramaIsActive ();
28213
int
22124
int
28214
main ()
22125
main ()
28215
{
22126
{
28216
XineramaIsActive ();
22127
return XineramaIsActive ();
28217
  ;
22128
  ;
28218
  return 0;
22129
  return 0;
28219
}
22130
}
28220
_ACEOF
22131
_ACEOF
28221
rm -f conftest.$ac_objext conftest$ac_exeext
22132
if ac_fn_c_try_link "$LINENO"; then :
28222
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223
  (eval $ac_link) 2>conftest.er1
28224
  ac_status=$?
28225
  grep -v '^ *+' conftest.er1 >conftest.err
28226
  rm -f conftest.er1
28227
  cat conftest.err >&5
28228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229
  (exit $ac_status); } &&
28230
	 { ac_try='test -z "$ac_c_werror_flag"
28231
			 || test ! -s conftest.err'
28232
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233
  (eval $ac_try) 2>&5
28234
  ac_status=$?
28235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236
  (exit $ac_status); }; } &&
28237
	 { ac_try='test -s conftest$ac_exeext'
28238
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239
  (eval $ac_try) 2>&5
28240
  ac_status=$?
28241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242
  (exit $ac_status); }; }; then
28243
  ac_cv_lib_Xinerama_XineramaIsActive=yes
22133
  ac_cv_lib_Xinerama_XineramaIsActive=yes
28244
else
22134
else
28245
  echo "$as_me: failed program was:" >&5
22135
  ac_cv_lib_Xinerama_XineramaIsActive=no
28246
sed 's/^/| /' conftest.$ac_ext >&5
22136
fi
28247
22137
rm -f core conftest.err conftest.$ac_objext \
28248
ac_cv_lib_Xinerama_XineramaIsActive=no
22138
    conftest$ac_exeext conftest.$ac_ext
28249
fi
28250
rm -f conftest.err conftest.$ac_objext \
28251
      conftest$ac_exeext conftest.$ac_ext
28252
LIBS=$ac_check_lib_save_LIBS
22139
LIBS=$ac_check_lib_save_LIBS
28253
fi
22140
fi
28254
echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaIsActive" >&5
22141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaIsActive" >&5
28255
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaIsActive" >&6
22142
$as_echo "$ac_cv_lib_Xinerama_XineramaIsActive" >&6; }
28256
if test $ac_cv_lib_Xinerama_XineramaIsActive = yes; then
22143
if test "x$ac_cv_lib_Xinerama_XineramaIsActive" = x""yes; then :
28257
  cat >>confdefs.h <<_ACEOF
22144
  cat >>confdefs.h <<_ACEOF
28258
#define HAVE_LIBXINERAMA 1
22145
#define HAVE_LIBXINERAMA 1
28259
_ACEOF
22146
_ACEOF
Lines 28261-28278 Link Here
28261
  LIBS="-lXinerama $LIBS"
22148
  LIBS="-lXinerama $LIBS"
28262
22149
28263
else
22150
else
28264
  { { echo "$as_me:$LINENO: error: Xinerama not functional?" >&5
22151
  as_fn_error "Xinerama not functional?" "$LINENO" 5
28265
echo "$as_me: error: Xinerama not functional?" >&2;}
22152
fi
28266
   { (exit 1); exit 1; }; }
22153
28267
fi
22154
   else
28268
22155
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, libXinerama not found or wrong architecture." >&5
28269
   else
22156
$as_echo "no, libXinerama not found or wrong architecture." >&6; }
28270
      echo "$as_me:$LINENO: result: no, libXinerama not found or wrong architecture." >&5
22157
   fi
28271
echo "${ECHO_T}no, libXinerama not found or wrong architecture." >&6
22158
else
28272
   fi
22159
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28273
else
22160
$as_echo "no" >&6; }
28274
   echo "$as_me:$LINENO: result: no" >&5
28275
echo "${ECHO_T}no" >&6
28276
fi
22161
fi
28277
22162
28278
22163
Lines 28286-28295 Link Here
28286
do
22171
do
28287
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22172
  # Extract the first word of "$ac_prog", so it can be a program name with args.
28288
set dummy $ac_prog; ac_word=$2
22173
set dummy $ac_prog; ac_word=$2
28289
echo "$as_me:$LINENO: checking for $ac_word" >&5
22174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22175
$as_echo_n "checking for $ac_word... " >&6; }
28291
if test "${ac_cv_path_ANT+set}" = set; then
22176
if test "${ac_cv_path_ANT+set}" = set; then :
28292
  echo $ECHO_N "(cached) $ECHO_C" >&6
22177
  $as_echo_n "(cached) " >&6
28293
else
22178
else
28294
  case $ANT in
22179
  case $ANT in
28295
  [\\/]* | ?:[\\/]*)
22180
  [\\/]* | ?:[\\/]*)
Lines 28301-28327 Link Here
28301
do
22186
do
28302
  IFS=$as_save_IFS
22187
  IFS=$as_save_IFS
28303
  test -z "$as_dir" && as_dir=.
22188
  test -z "$as_dir" && as_dir=.
28304
  for ac_exec_ext in '' $ac_executable_extensions; do
22189
    for ac_exec_ext in '' $ac_executable_extensions; do
28305
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28306
    ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
22191
    ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
28307
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22192
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28308
    break 2
22193
    break 2
28309
  fi
22194
  fi
28310
done
22195
done
28311
done
22196
  done
22197
IFS=$as_save_IFS
28312
22198
28313
  ;;
22199
  ;;
28314
esac
22200
esac
28315
fi
22201
fi
28316
ANT=$ac_cv_path_ANT
22202
ANT=$ac_cv_path_ANT
28317
28318
if test -n "$ANT"; then
22203
if test -n "$ANT"; then
28319
  echo "$as_me:$LINENO: result: $ANT" >&5
22204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANT" >&5
28320
echo "${ECHO_T}$ANT" >&6
22205
$as_echo "$ANT" >&6; }
28321
else
22206
else
28322
  echo "$as_me:$LINENO: result: no" >&5
22207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28323
echo "${ECHO_T}no" >&6
22208
$as_echo "no" >&6; }
28324
fi
22209
fi
22210
28325
22211
28326
  test -n "$ANT" && break
22212
  test -n "$ANT" && break
28327
done
22213
done
Lines 28334-28343 Link Here
28334
do
22220
do
28335
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22221
  # Extract the first word of "$ac_prog", so it can be a program name with args.
28336
set dummy $ac_prog; ac_word=$2
22222
set dummy $ac_prog; ac_word=$2
28337
echo "$as_me:$LINENO: checking for $ac_word" >&5
22223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28338
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22224
$as_echo_n "checking for $ac_word... " >&6; }
28339
if test "${ac_cv_path_ANT+set}" = set; then
22225
if test "${ac_cv_path_ANT+set}" = set; then :
28340
  echo $ECHO_N "(cached) $ECHO_C" >&6
22226
  $as_echo_n "(cached) " >&6
28341
else
22227
else
28342
  case $ANT in
22228
  case $ANT in
28343
  [\\/]* | ?:[\\/]*)
22229
  [\\/]* | ?:[\\/]*)
Lines 28350-28376 Link Here
28350
do
22236
do
28351
  IFS=$as_save_IFS
22237
  IFS=$as_save_IFS
28352
  test -z "$as_dir" && as_dir=.
22238
  test -z "$as_dir" && as_dir=.
28353
  for ac_exec_ext in '' $ac_executable_extensions; do
22239
    for ac_exec_ext in '' $ac_executable_extensions; do
28354
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28355
    ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
22241
    ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
28356
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22242
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28357
    break 2
22243
    break 2
28358
  fi
22244
  fi
28359
done
22245
done
28360
done
22246
  done
22247
IFS=$as_save_IFS
28361
22248
28362
  ;;
22249
  ;;
28363
esac
22250
esac
28364
fi
22251
fi
28365
ANT=$ac_cv_path_ANT
22252
ANT=$ac_cv_path_ANT
28366
28367
if test -n "$ANT"; then
22253
if test -n "$ANT"; then
28368
  echo "$as_me:$LINENO: result: $ANT" >&5
22254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANT" >&5
28369
echo "${ECHO_T}$ANT" >&6
22255
$as_echo "$ANT" >&6; }
28370
else
22256
else
28371
  echo "$as_me:$LINENO: result: no" >&5
22257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28372
echo "${ECHO_T}no" >&6
22258
$as_echo "no" >&6; }
28373
fi
22259
fi
22260
28374
22261
28375
  test -n "$ANT" && break
22262
  test -n "$ANT" && break
28376
done
22263
done
Lines 28380-28388 Link Here
28380
fi
22267
fi
28381
22268
28382
if test -z "$ANT"; then
22269
if test -z "$ANT"; then
28383
  { { echo "$as_me:$LINENO: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&5
22270
  as_fn_error "Ant not found - Make sure it's in the path or use --with-ant-home" "$LINENO" 5
28384
echo "$as_me: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&2;}
28385
   { (exit 1); exit 1; }; }
28386
else
22271
else
28387
  # resolve relative or absolute symlink
22272
  # resolve relative or absolute symlink
28388
  while test -h "$ANT"; do
22273
  while test -h "$ANT"; do
Lines 28407-28414 Link Here
28407
  fi
22292
  fi
28408
  ant_minminor1=`echo $ant_minver | cut -d"." -f2`
22293
  ant_minminor1=`echo $ant_minver | cut -d"." -f2`
28409
22294
28410
  echo "$as_me:$LINENO: checking whether ant is >= $ant_minver" >&5
22295
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ant is >= $ant_minver" >&5
28411
echo $ECHO_N "checking whether ant is >= $ant_minver... $ECHO_C" >&6
22296
$as_echo_n "checking whether ant is >= $ant_minver... " >&6; }
28412
  ant_version=`$ANT -version | $AWK '{ print $4; }'`
22297
  ant_version=`$ANT -version | $AWK '{ print $4; }'`
28413
  ant_version_major=`echo $ant_version | cut -d. -f1`
22298
  ant_version_major=`echo $ant_version | cut -d. -f1`
28414
  ant_version_minor=`echo $ant_version | cut -d. -f2`
22299
  ant_version_minor=`echo $ant_version | cut -d. -f2`
Lines 28416-28433 Link Here
28416
echo "configure: ant_version_major $ant_version_major " >&5
22301
echo "configure: ant_version_major $ant_version_major " >&5
28417
echo "configure: ant_version_minor $ant_version_minor " >&5
22302
echo "configure: ant_version_minor $ant_version_minor " >&5
28418
  if test "$ant_version_major" -ge "2"; then
22303
  if test "$ant_version_major" -ge "2"; then
28419
  	echo "$as_me:$LINENO: result: yes, $ant_version" >&5
22304
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, $ant_version" >&5
28420
echo "${ECHO_T}yes, $ant_version" >&6
22305
$as_echo "yes, $ant_version" >&6; }
28421
  elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then
22306
  elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then
28422
  	echo "$as_me:$LINENO: result: yes, $ant_version" >&5
22307
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, $ant_version" >&5
28423
echo "${ECHO_T}yes, $ant_version" >&6
22308
$as_echo "yes, $ant_version" >&6; }
28424
  else
22309
  else
28425
  	{ { echo "$as_me:$LINENO: error: no, you need at least ant >= $ant_minver" >&5
22310
  	as_fn_error "no, you need at least ant >= $ant_minver" "$LINENO" 5
28426
echo "$as_me: error: no, you need at least ant >= $ant_minver" >&2;}
22311
  fi
28427
   { (exit 1); exit 1; }; }
22312
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $ANT works" >&5
28428
  fi
22313
$as_echo_n "checking if $ANT works... " >&6; }
28429
  echo "$as_me:$LINENO: checking if $ANT works" >&5
28430
echo $ECHO_N "checking if $ANT works... $ECHO_C" >&6
28431
cat > conftest.java << EOF
22314
cat > conftest.java << EOF
28432
    public class conftest {
22315
    public class conftest {
28433
	int testmethod(int a, int b) {
22316
	int testmethod(int a, int b) {
Lines 28451-28464 Link Here
28451
  else
22334
  else
28452
    ant_cmd="$ANT -buildfile conftest.xml 1>&2"
22335
    ant_cmd="$ANT -buildfile conftest.xml 1>&2"
28453
  fi
22336
  fi
28454
  { (eval echo "$as_me:$LINENO: \"$ant_cmd\"") >&5
22337
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ant_cmd\""; } >&5
28455
  (eval $ant_cmd) 2>&5
22338
  (eval $ant_cmd) 2>&5
28456
  ac_status=$?
22339
  ac_status=$?
28457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28458
  (exit $ac_status); }
22341
  test $ac_status = 0; }
28459
  if test $? = 0 && test -f ./conftest.class ; then
22342
  if test $? = 0 && test -f ./conftest.class ; then
28460
    echo "$as_me:$LINENO: result: Ant works" >&5
22343
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ant works" >&5
28461
echo "${ECHO_T}Ant works" >&6
22344
$as_echo "Ant works" >&6; }
28462
    if test -z "$WITH_ANT_HOME"; then
22345
    if test -z "$WITH_ANT_HOME"; then
28463
        ANT_HOME=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"`
22346
        ANT_HOME=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"`
28464
        if test -z "$ANT_HOME"; then
22347
        if test -z "$ANT_HOME"; then
Lines 28471-28478 Link Here
28471
    echo "configure: Ant test failed" >&5
22354
    echo "configure: Ant test failed" >&5
28472
    cat conftest.java >&5
22355
    cat conftest.java >&5
28473
    cat conftest.xml >&5
22356
    cat conftest.xml >&5
28474
    { echo "$as_me:$LINENO: WARNING: Ant does not work - Some Java projects will not build!" >&5
22357
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ant does not work - Some Java projects will not build!" >&5
28475
echo "$as_me: WARNING: Ant does not work - Some Java projects will not build!" >&2;}
22358
$as_echo "$as_me: WARNING: Ant does not work - Some Java projects will not build!" >&2;}
28476
    ANT_HOME=""
22359
    ANT_HOME=""
28477
    echo "Ant does not work - Some Java projects will not build!" >>warn
22360
    echo "Ant does not work - Some Java projects will not build!" >>warn
28478
  fi
22361
  fi
Lines 28485-28492 Link Here
28485
22368
28486
22369
28487
if test "$ANT_HOME" != "NO_ANT_HOME"; then
22370
if test "$ANT_HOME" != "NO_ANT_HOME"; then
28488
   echo "$as_me:$LINENO: checking Ant lib directory" >&5
22371
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Ant lib directory" >&5
28489
echo $ECHO_N "checking Ant lib directory... $ECHO_C" >&6
22372
$as_echo_n "checking Ant lib directory... " >&6; }
28490
   if test -f $ANT_HOME/lib/ant.jar; then
22373
   if test -f $ANT_HOME/lib/ant.jar; then
28491
	  ANT_LIB="$ANT_HOME/lib"
22374
	  ANT_LIB="$ANT_HOME/lib"
28492
   else
22375
   else
Lines 28502-28524 Link Here
28502
                if test -f $ANT_HOME/lib/ant/ant.jar; then
22385
                if test -f $ANT_HOME/lib/ant/ant.jar; then
28503
                    ANT_LIB="$ANT_HOME/lib/ant"
22386
                    ANT_LIB="$ANT_HOME/lib/ant"
28504
                else
22387
                else
28505
                    { { echo "$as_me:$LINENO: error: Ant libraries not found!" >&5
22388
                    as_fn_error "Ant libraries not found!" "$LINENO" 5
28506
echo "$as_me: error: Ant libraries not found!" >&2;}
28507
   { (exit 1); exit 1; }; }
28508
                fi
22389
                fi
28509
             fi
22390
             fi
28510
          fi
22391
          fi
28511
      fi
22392
      fi
28512
   fi
22393
   fi
28513
   echo "$as_me:$LINENO: result: Ant lib directory found." >&5
22394
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ant lib directory found." >&5
28514
echo "${ECHO_T}Ant lib directory found." >&6
22395
$as_echo "Ant lib directory found." >&6; }
28515
fi
22396
fi
28516
22397
28517
fi
22398
fi
28518
22399
28519
if test "$ENABLE_MEDIAWIKI" = "YES"; then
22400
if test "$ENABLE_MEDIAWIKI" = "YES"; then
28520
echo "$as_me:$LINENO: checking whether ant supports mapper type=\"regexp\"" >&5
22401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ant supports mapper type=\"regexp\"" >&5
28521
echo $ECHO_N "checking whether ant supports mapper type=\"regexp\"... $ECHO_C" >&6
22402
$as_echo_n "checking whether ant supports mapper type=\"regexp\"... " >&6; }
28522
rm -rf confdir
22403
rm -rf confdir
28523
mkdir confdir
22404
mkdir confdir
28524
cat > conftest.java << EOF
22405
cat > conftest.java << EOF
Lines 28550-28730 Link Here
28550
  else
22431
  else
28551
    ant_cmd="$ANT -buildfile conftest.xml 1>&2"
22432
    ant_cmd="$ANT -buildfile conftest.xml 1>&2"
28552
  fi
22433
  fi
28553
  { (eval echo "$as_me:$LINENO: \"$ant_cmd\"") >&5
22434
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ant_cmd\""; } >&5
28554
  (eval $ant_cmd) 2>&5
22435
  (eval $ant_cmd) 2>&5
28555
  ac_status=$?
22436
  ac_status=$?
28556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28557
  (exit $ac_status); }
22438
  test $ac_status = 0; }
28558
  if test $? = 0 && test -f ./conftest.class ; then
22439
  if test $? = 0 && test -f ./conftest.class ; then
28559
    echo "$as_me:$LINENO: result: yes" >&5
22440
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28560
echo "${ECHO_T}yes" >&6
22441
$as_echo "yes" >&6; }
28561
    rm -rf confdir
22442
    rm -rf confdir
28562
  else
22443
  else
28563
    echo "configure: Ant test failed" >&5
22444
    echo "configure: Ant test failed" >&5
28564
    cat conftest.java >&5
22445
    cat conftest.java >&5
28565
    cat conftest.xml >&5
22446
    cat conftest.xml >&5
28566
    rm -rf confdir
22447
    rm -rf confdir
28567
    { { echo "$as_me:$LINENO: error: no. Did you install ant-apache-regexp?" >&5
22448
    as_fn_error "no. Did you install ant-apache-regexp?" "$LINENO" 5
28568
echo "$as_me: error: no. Did you install ant-apache-regexp?" >&2;}
28569
   { (exit 1); exit 1; }; }
28570
  fi
22449
  fi
28571
fi
22450
fi
28572
rm -f conftest* core core.* *.core
22451
rm -f conftest* core core.* *.core
28573
22452
28574
echo "$as_me:$LINENO: checking which languages to be built" >&5
22453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which languages to be built" >&5
28575
echo $ECHO_N "checking which languages to be built... $ECHO_C" >&6
22454
$as_echo_n "checking which languages to be built... " >&6; }
28576
WITH_LANG="$with_lang"
22455
WITH_LANG="$with_lang"
28577
if test -z "$WITH_LANG"; then
22456
if test -z "$WITH_LANG"; then
28578
   echo "$as_me:$LINENO: result: en-US" >&5
22457
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: en-US" >&5
28579
echo "${ECHO_T}en-US" >&6
22458
$as_echo "en-US" >&6; }
28580
else
22459
else
28581
   echo "$as_me:$LINENO: result: $WITH_LANG" >&5
22460
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_LANG" >&5
28582
echo "${ECHO_T}$WITH_LANG" >&6
22461
$as_echo "$WITH_LANG" >&6; }
28583
fi
22462
fi
28584
22463
28585
22464
28586
echo "$as_me:$LINENO: checking which languages have poor help localizations" >&5
22465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which languages have poor help localizations" >&5
28587
echo $ECHO_N "checking which languages have poor help localizations... $ECHO_C" >&6
22466
$as_echo_n "checking which languages have poor help localizations... " >&6; }
28588
WITH_POOR_HELP_LOCALIZATIONS="$with_poor_help_localizations"
22467
WITH_POOR_HELP_LOCALIZATIONS="$with_poor_help_localizations"
28589
if test -z "$WITH_POOR_HELP_LOCALIZATIONS"; then
22468
if test -z "$WITH_POOR_HELP_LOCALIZATIONS"; then
28590
   echo "$as_me:$LINENO: result: none" >&5
22469
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
28591
echo "${ECHO_T}none" >&6
22470
$as_echo "none" >&6; }
28592
else
22471
else
28593
   echo "$as_me:$LINENO: result: $WITH_POOR_HELP_LOCALIZATIONS" >&5
22472
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_POOR_HELP_LOCALIZATIONS" >&5
28594
echo "${ECHO_T}$WITH_POOR_HELP_LOCALIZATIONS" >&6
22473
$as_echo "$WITH_POOR_HELP_LOCALIZATIONS" >&6; }
28595
fi
22474
fi
28596
22475
28597
22476
28598
echo "$as_me:$LINENO: checking which dictionaries to include" >&5
22477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which dictionaries to include" >&5
28599
echo $ECHO_N "checking which dictionaries to include... $ECHO_C" >&6
22478
$as_echo_n "checking which dictionaries to include... " >&6; }
28600
if test -z "$with_dict"; then
22479
if test -z "$with_dict"; then
28601
   WITH_DICT=,ALL,
22480
   WITH_DICT=,ALL,
28602
   echo "$as_me:$LINENO: result: ALL" >&5
22481
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ALL" >&5
28603
echo "${ECHO_T}ALL" >&6
22482
$as_echo "ALL" >&6; }
28604
else
22483
else
28605
   WITH_DICT=","$with_dict","
22484
   WITH_DICT=","$with_dict","
28606
   echo "$as_me:$LINENO: result: $with_dict" >&5
22485
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dict" >&5
28607
echo "${ECHO_T}$with_dict" >&6
22486
$as_echo "$with_dict" >&6; }
28608
fi
22487
fi
28609
22488
28610
22489
28611
echo "$as_me:$LINENO: checking for additional 'intro' bitmaps" >&5
22490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional 'intro' bitmaps" >&5
28612
echo $ECHO_N "checking for additional 'intro' bitmaps... $ECHO_C" >&6
22491
$as_echo_n "checking for additional 'intro' bitmaps... " >&6; }
28613
INTRO_BITMAPS=
22492
INTRO_BITMAPS=
28614
if test -z "$with_intro_bitmaps" -o "$with_intro_bitmaps" = "no" ; then
22493
if test -z "$with_intro_bitmaps" -o "$with_intro_bitmaps" = "no" ; then
28615
   INTRO_BITMAPS=
22494
   INTRO_BITMAPS=
28616
   echo "$as_me:$LINENO: result: none" >&5
22495
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
28617
echo "${ECHO_T}none" >&6
22496
$as_echo "none" >&6; }
28618
else
22497
else
28619
   for bitmap in `echo $with_intro_bitmaps | tr ',' ' '` ; do
22498
   for bitmap in `echo $with_intro_bitmaps | tr ',' ' '` ; do
28620
      case "$bitmap" in
22499
      case "$bitmap" in
28621
         *.bmp) ;;
22500
         *.bmp) ;;
28622
         *)     bitmap= ; { echo "$as_me:$LINENO: WARNING: Intro bitmaps should be .bmp files!" >&5
22501
         *)     bitmap= ; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Intro bitmaps should be .bmp files!" >&5
28623
echo "$as_me: WARNING: Intro bitmaps should be .bmp files!" >&2;} ;;
22502
$as_echo "$as_me: WARNING: Intro bitmaps should be .bmp files!" >&2;} ;;
28624
      esac
22503
      esac
28625
      if test -n "$bitmap" ; then
22504
      if test -n "$bitmap" ; then
28626
         INTRO_BITMAPS="$INTRO_BITMAPS $bitmap"
22505
         INTRO_BITMAPS="$INTRO_BITMAPS $bitmap"
28627
      fi
22506
      fi
28628
   done
22507
   done
28629
   echo "$as_me:$LINENO: result: $INTRO_BITMAPS" >&5
22508
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTRO_BITMAPS" >&5
28630
echo "${ECHO_T}$INTRO_BITMAPS" >&6
22509
$as_echo "$INTRO_BITMAPS" >&6; }
28631
fi
22510
fi
28632
22511
28633
22512
28634
echo "$as_me:$LINENO: checking for additional 'about' bitmaps" >&5
22513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional 'about' bitmaps" >&5
28635
echo $ECHO_N "checking for additional 'about' bitmaps... $ECHO_C" >&6
22514
$as_echo_n "checking for additional 'about' bitmaps... " >&6; }
28636
ABOUT_BITMAPS=
22515
ABOUT_BITMAPS=
28637
if test -z "$with_about_bitmaps" -o "$with_about_bitmaps" = "no" ; then
22516
if test -z "$with_about_bitmaps" -o "$with_about_bitmaps" = "no" ; then
28638
   ABOUT_BITMAPS=
22517
   ABOUT_BITMAPS=
28639
   echo "$as_me:$LINENO: result: none" >&5
22518
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
28640
echo "${ECHO_T}none" >&6
22519
$as_echo "none" >&6; }
28641
else
22520
else
28642
   for bitmap in `echo $with_about_bitmaps | tr ',' ' '` ; do
22521
   for bitmap in `echo $with_about_bitmaps | tr ',' ' '` ; do
28643
      case "$bitmap" in
22522
      case "$bitmap" in
28644
         *.bmp) ;;
22523
         *.bmp) ;;
28645
         *)     bitmap= ; { echo "$as_me:$LINENO: WARNING: About bitmaps should be .bmp files!" >&5
22524
         *)     bitmap= ; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: About bitmaps should be .bmp files!" >&5
28646
echo "$as_me: WARNING: About bitmaps should be .bmp files!" >&2;} ;;
22525
$as_echo "$as_me: WARNING: About bitmaps should be .bmp files!" >&2;} ;;
28647
      esac
22526
      esac
28648
      if test -n "$bitmap" ; then
22527
      if test -n "$bitmap" ; then
28649
         ABOUT_BITMAPS="$ABOUT_BITMAPS $bitmap"
22528
         ABOUT_BITMAPS="$ABOUT_BITMAPS $bitmap"
28650
      fi
22529
      fi
28651
   done
22530
   done
28652
   echo "$as_me:$LINENO: result: $ABOUT_BITMAPS" >&5
22531
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABOUT_BITMAPS" >&5
28653
echo "${ECHO_T}$ABOUT_BITMAPS" >&6
22532
$as_echo "$ABOUT_BITMAPS" >&6; }
28654
fi
22533
fi
28655
22534
28656
22535
28657
OOO_VENDOR=
22536
OOO_VENDOR=
28658
echo "$as_me:$LINENO: checking for vendor" >&5
22537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vendor" >&5
28659
echo $ECHO_N "checking for vendor... $ECHO_C" >&6
22538
$as_echo_n "checking for vendor... " >&6; }
28660
if test -z "$with_vendor" -o "$with_vendor" = "no" ; then
22539
if test -z "$with_vendor" -o "$with_vendor" = "no" ; then
28661
   echo "$as_me:$LINENO: result: not set" >&5
22540
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
28662
echo "${ECHO_T}not set" >&6
22541
$as_echo "not set" >&6; }
28663
else
22542
else
28664
   OOO_VENDOR="$with_vendor"
22543
   OOO_VENDOR="$with_vendor"
28665
   echo "$as_me:$LINENO: result: $OOO_VENDOR" >&5
22544
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OOO_VENDOR" >&5
28666
echo "${ECHO_T}$OOO_VENDOR" >&6
22545
$as_echo "$OOO_VENDOR" >&6; }
28667
fi
22546
fi
28668
22547
28669
22548
28670
UNIXWRAPPERNAME=
22549
UNIXWRAPPERNAME=
28671
echo "$as_me:$LINENO: checking for UNIX wrapper name" >&5
22550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX wrapper name" >&5
28672
echo $ECHO_N "checking for UNIX wrapper name... $ECHO_C" >&6
22551
$as_echo_n "checking for UNIX wrapper name... " >&6; }
28673
if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no"  -o "$with_unix_wrapper" = "yes" ; then
22552
if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no"  -o "$with_unix_wrapper" = "yes" ; then
28674
   echo "$as_me:$LINENO: result: not set" >&5
22553
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
28675
echo "${ECHO_T}not set" >&6
22554
$as_echo "not set" >&6; }
28676
else
22555
else
28677
   UNIXWRAPPERNAME="$with_unix_wrapper"
22556
   UNIXWRAPPERNAME="$with_unix_wrapper"
28678
   echo "$as_me:$LINENO: result: $UNIXWRAPPERNAME" >&5
22557
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXWRAPPERNAME" >&5
28679
echo "${ECHO_T}$UNIXWRAPPERNAME" >&6
22558
$as_echo "$UNIXWRAPPERNAME" >&6; }
28680
fi
22559
fi
28681
22560
28682
22561
28683
echo "$as_me:$LINENO: checking whether to statically link to Gtk" >&5
22562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to statically link to Gtk" >&5
28684
echo $ECHO_N "checking whether to statically link to Gtk... $ECHO_C" >&6
22563
$as_echo_n "checking whether to statically link to Gtk... " >&6; }
28685
if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then
22564
if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then
28686
   ENABLE_STATIC_GTK="TRUE"
22565
   ENABLE_STATIC_GTK="TRUE"
28687
   echo "$as_me:$LINENO: result: yes" >&5
22566
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28688
echo "${ECHO_T}yes" >&6
22567
$as_echo "yes" >&6; }
28689
else
22568
else
28690
   ENABLE_STATIC_GTK="FALSE"
22569
   ENABLE_STATIC_GTK="FALSE"
28691
   echo "$as_me:$LINENO: result: no" >&5
22570
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28692
echo "${ECHO_T}no" >&6
22571
$as_echo "no" >&6; }
28693
fi
22572
fi
28694
22573
28695
22574
28696
echo "$as_me:$LINENO: checking whether to use layout dialogs" >&5
22575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use layout dialogs" >&5
28697
echo $ECHO_N "checking whether to use layout dialogs... $ECHO_C" >&6
22576
$as_echo_n "checking whether to use layout dialogs... " >&6; }
28698
if test -n "$enable_layout" && test "$enable_layout" != "no"; then
22577
if test -n "$enable_layout" && test "$enable_layout" != "no"; then
28699
   ENABLE_LAYOUT="TRUE"
22578
   ENABLE_LAYOUT="TRUE"
28700
   echo "$as_me:$LINENO: result: yes" >&5
22579
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28701
echo "${ECHO_T}yes" >&6
22580
$as_echo "yes" >&6; }
28702
else
22581
else
28703
   ENABLE_LAYOUT="FALSE"
22582
   ENABLE_LAYOUT="FALSE"
28704
   echo "$as_me:$LINENO: result: no" >&5
22583
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28705
echo "${ECHO_T}no" >&6
22584
$as_echo "no" >&6; }
28706
fi
22585
fi
28707
22586
28708
22587
28709
# ===================================================================
22588
# ===================================================================
28710
# De- or increase default verbosity of build process
22589
# De- or increase default verbosity of build process
28711
# ===================================================================
22590
# ===================================================================
28712
echo "$as_me:$LINENO: checking build verbosity" >&5
22591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build verbosity" >&5
28713
echo $ECHO_N "checking build verbosity... $ECHO_C" >&6
22592
$as_echo_n "checking build verbosity... " >&6; }
28714
if test -n "$enable_verbose"; then
22593
if test -n "$enable_verbose"; then
28715
   if test "$enable_verbose" == "yes"; then
22594
   if test "$enable_verbose" == "yes"; then
28716
      VERBOSE="TRUE"
22595
      VERBOSE="TRUE"
28717
      echo "$as_me:$LINENO: result: high" >&5
22596
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: high" >&5
28718
echo "${ECHO_T}high" >&6
22597
$as_echo "high" >&6; }
28719
   fi
22598
   fi
28720
   if test "$enable_verbose" == "no"; then
22599
   if test "$enable_verbose" == "no"; then
28721
      VERBOSE="FALSE"
22600
      VERBOSE="FALSE"
28722
      echo "$as_me:$LINENO: result: low" >&5
22601
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: low" >&5
28723
echo "${ECHO_T}low" >&6
22602
$as_echo "low" >&6; }
28724
   fi
22603
   fi
28725
else
22604
else
28726
   echo "$as_me:$LINENO: result: not set" >&5
22605
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
28727
echo "${ECHO_T}not set" >&6
22606
$as_echo "not set" >&6; }
28728
fi
22607
fi
28729
22608
28730
22609
Lines 28735-28756 Link Here
28735
echo "********************************************************************"
22614
echo "********************************************************************"
28736
22615
28737
if test -z "$COMPATH"; then
22616
if test -z "$COMPATH"; then
28738
   { { echo "$as_me:$LINENO: error: No compiler found." >&5
22617
   as_fn_error "No compiler found." "$LINENO" 5
28739
echo "$as_me: error: No compiler found." >&2;}
22618
fi
28740
   { (exit 1); exit 1; }; }
22619
28741
fi
22620
28742
22621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking solver path" >&5
28743
22622
$as_echo_n "checking solver path... " >&6; }
28744
echo "$as_me:$LINENO: checking solver path" >&5
28745
echo $ECHO_N "checking solver path... $ECHO_C" >&6
28746
if test -z "$with_local_solver"; then
22623
if test -z "$with_local_solver"; then
28747
   LOCAL_SOLVER="DEFAULT"
22624
   LOCAL_SOLVER="DEFAULT"
28748
   echo "$as_me:$LINENO: result: default" >&5
22625
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
28749
echo "${ECHO_T}default" >&6
22626
$as_echo "default" >&6; }
28750
else
22627
else
28751
   LOCAL_SOLVER=$with_local_solver
22628
   LOCAL_SOLVER=$with_local_solver
28752
   echo "$as_me:$LINENO: result: $with_local_solver" >&5
22629
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_local_solver" >&5
28753
echo "${ECHO_T}$with_local_solver" >&6
22630
$as_echo "$with_local_solver" >&6; }
28754
fi
22631
fi
28755
22632
28756
22633
Lines 28759-28765 Link Here
28759
# make sure config.guess is +x; we execute config.guess, so it has to be so;
22636
# make sure config.guess is +x; we execute config.guess, so it has to be so;
28760
chmod +x ./config.guess
22637
chmod +x ./config.guess
28761
22638
28762
                    ac_config_files="$ac_config_files set_soenv Makefile"
22639
ac_config_files="$ac_config_files set_soenv Makefile"
22640
28763
cat >confcache <<\_ACEOF
22641
cat >confcache <<\_ACEOF
28764
# This file is a shell script that caches the results of configure
22642
# This file is a shell script that caches the results of configure
28765
# tests run on this system so they can be shared between configure
22643
# tests run on this system so they can be shared between configure
Lines 28778-28816 Link Here
28778
22656
28779
# The following way of writing the cache mishandles newlines in values,
22657
# The following way of writing the cache mishandles newlines in values,
28780
# but we know of no workaround that is simple, portable, and efficient.
22658
# but we know of no workaround that is simple, portable, and efficient.
28781
# So, don't put newlines in cache variables' values.
22659
# So, we kill variables containing newlines.
28782
# Ultrix sh set writes to stderr and can't be redirected directly,
22660
# Ultrix sh set writes to stderr and can't be redirected directly,
28783
# and sets the high bit in the cache file unless we assign to the vars.
22661
# and sets the high bit in the cache file unless we assign to the vars.
28784
{
22662
(
22663
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22664
    eval ac_val=\$$ac_var
22665
    case $ac_val in #(
22666
    *${as_nl}*)
22667
      case $ac_var in #(
22668
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22669
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22670
      esac
22671
      case $ac_var in #(
22672
      _ | IFS | as_nl) ;; #(
22673
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22674
      *) { eval $ac_var=; unset $ac_var;} ;;
22675
      esac ;;
22676
    esac
22677
  done
22678
28785
  (set) 2>&1 |
22679
  (set) 2>&1 |
28786
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
22680
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
28787
    *ac_space=\ *)
22681
    *${as_nl}ac_space=\ *)
28788
      # `set' does not quote correctly, so add quotes (double-quote
22682
      # `set' does not quote correctly, so add quotes: double-quote
28789
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22683
      # substitution turns \\\\ into \\, and sed turns \\ into \.
28790
      sed -n \
22684
      sed -n \
28791
	"s/'/'\\\\''/g;
22685
	"s/'/'\\\\''/g;
28792
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22686
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28793
      ;;
22687
      ;; #(
28794
    *)
22688
    *)
28795
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22689
      # `set' quotes correctly as required by POSIX, so do not add quotes.
28796
      sed -n \
22690
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28797
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28798
      ;;
22691
      ;;
28799
    esac;
22692
    esac |
28800
} |
22693
    sort
22694
) |
28801
  sed '
22695
  sed '
22696
     /^ac_cv_env_/b end
28802
     t clear
22697
     t clear
28803
     : clear
22698
     :clear
28804
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22699
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28805
     t end
22700
     t end
28806
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22701
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28807
     : end' >>confcache
22702
     :end' >>confcache
28808
if diff $cache_file confcache >/dev/null 2>&1; then :; else
22703
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28809
  if test -w $cache_file; then
22704
  if test -w "$cache_file"; then
28810
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22705
    test "x$cache_file" != "x/dev/null" &&
22706
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22707
$as_echo "$as_me: updating cache $cache_file" >&6;}
28811
    cat confcache >$cache_file
22708
    cat confcache >$cache_file
28812
  else
22709
  else
28813
    echo "not updating unwritable cache $cache_file"
22710
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22711
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28814
  fi
22712
  fi
28815
fi
22713
fi
28816
rm -f confcache
22714
rm -f confcache
Lines 28819-30003 Link Here
28819
# Let make expand exec_prefix.
22717
# Let make expand exec_prefix.
28820
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22718
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28821
22719
22720
# Transform confdefs.h into DEFS.
22721
# Protect against shell expansion while executing Makefile rules.
22722
# Protect against Makefile macro expansion.
22723
#
22724
# If the first sed substitution is executed (which looks for macros that
22725
# take arguments), then branch to the quote section.  Otherwise,
22726
# look for a macro that doesn't take arguments.
22727
ac_script='
22728
:mline
22729
/\\$/{
22730
 N
22731
 s,\\\n,,
22732
 b mline
22733
}
22734
t clear
22735
:clear
22736
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
22737
t quote
22738
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
22739
t quote
22740
b any
22741
:quote
22742
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22743
s/\[/\\&/g
22744
s/\]/\\&/g
22745
s/\$/$$/g
22746
H
22747
:any
22748
${
22749
	g
22750
	s/^\n//
22751
	s/\n/ /g
22752
	p
22753
}
22754
'
22755
DEFS=`sed -n "$ac_script" confdefs.h`
22756
22757
22758
ac_libobjs=
22759
ac_ltlibobjs=
22760
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22761
  # 1. Remove the extension, and $U if already installed.
22762
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22763
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22764
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22765
  #    will be set to the directory where LIBOBJS objects are built.
22766
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22767
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22768
done
22769
LIBOBJS=$ac_libobjs
22770
22771
LTLIBOBJS=$ac_ltlibobjs
22772
22773
22774
22775
22776
: ${CONFIG_STATUS=./config.status}
22777
ac_write_fail=0
22778
ac_clean_files_save=$ac_clean_files
22779
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22780
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22781
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22782
as_write_fail=0
22783
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22784
#! $SHELL
22785
# Generated by $as_me.
22786
# Run this file to recreate the current configuration.
22787
# Compiler output produced by configure, useful for debugging
22788
# configure, is in config.log if it exists.
22789
22790
debug=false
22791
ac_cs_recheck=false
22792
ac_cs_silent=false
22793
22794
SHELL=\${CONFIG_SHELL-$SHELL}
22795
export SHELL
22796
_ASEOF
22797
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22798
## -------------------- ##
22799
## M4sh Initialization. ##
22800
## -------------------- ##
22801
22802
# Be more Bourne compatible
22803
DUALCASE=1; export DUALCASE # for MKS sh
22804
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22805
  emulate sh
22806
  NULLCMD=:
22807
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22808
  # is contrary to our usage.  Disable this feature.
22809
  alias -g '${1+"$@"}'='"$@"'
22810
  setopt NO_GLOB_SUBST
22811
else
22812
  case `(set -o) 2>/dev/null` in #(
22813
  *posix*) :
22814
    set -o posix ;; #(
22815
  *) :
22816
     ;;
22817
esac
22818
fi
22819
22820
22821
as_nl='
22822
'
22823
export as_nl
22824
# Printing a long string crashes Solaris 7 /usr/bin/printf.
22825
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22826
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22827
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22828
# Prefer a ksh shell builtin over an external printf program on Solaris,
22829
# but without wasting forks for bash or zsh.
22830
if test -z "$BASH_VERSION$ZSH_VERSION" \
22831
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22832
  as_echo='print -r --'
22833
  as_echo_n='print -rn --'
22834
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22835
  as_echo='printf %s\n'
22836
  as_echo_n='printf %s'
22837
else
22838
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22839
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
22840
    as_echo_n='/usr/ucb/echo -n'
22841
  else
22842
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22843
    as_echo_n_body='eval
22844
      arg=$1;
22845
      case $arg in #(
22846
      *"$as_nl"*)
22847
	expr "X$arg" : "X\\(.*\\)$as_nl";
22848
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22849
      esac;
22850
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22851
    '
22852
    export as_echo_n_body
22853
    as_echo_n='sh -c $as_echo_n_body as_echo'
22854
  fi
22855
  export as_echo_body
22856
  as_echo='sh -c $as_echo_body as_echo'
22857
fi
22858
22859
# The user is always right.
22860
if test "${PATH_SEPARATOR+set}" != set; then
22861
  PATH_SEPARATOR=:
22862
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22863
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22864
      PATH_SEPARATOR=';'
22865
  }
22866
fi
22867
22868
22869
# IFS
22870
# We need space, tab and new line, in precisely that order.  Quoting is
22871
# there to prevent editors from complaining about space-tab.
22872
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22873
# splitting by setting IFS to empty value.)
22874
IFS=" ""	$as_nl"
22875
22876
# Find who we are.  Look in the path if we contain no directory separator.
22877
case $0 in #((
22878
  *[\\/]* ) as_myself=$0 ;;
22879
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22880
for as_dir in $PATH
22881
do
22882
  IFS=$as_save_IFS
22883
  test -z "$as_dir" && as_dir=.
22884
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22885
  done
22886
IFS=$as_save_IFS
22887
22888
     ;;
22889
esac
22890
# We did not find ourselves, most probably we were run as `sh COMMAND'
22891
# in which case we are not to be found in the path.
22892
if test "x$as_myself" = x; then
22893
  as_myself=$0
22894
fi
22895
if test ! -f "$as_myself"; then
22896
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22897
  exit 1
22898
fi
22899
22900
# Unset variables that we do not need and which cause bugs (e.g. in
22901
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
22902
# suppresses any "Segmentation fault" message there.  '((' could
22903
# trigger a bug in pdksh 5.2.14.
22904
for as_var in BASH_ENV ENV MAIL MAILPATH
22905
do eval test x\${$as_var+set} = xset \
22906
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22907
done
22908
PS1='$ '
22909
PS2='> '
22910
PS4='+ '
22911
22912
# NLS nuisances.
22913
LC_ALL=C
22914
export LC_ALL
22915
LANGUAGE=C
22916
export LANGUAGE
22917
22918
# CDPATH.
22919
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22920
22921
22922
# as_fn_error ERROR [LINENO LOG_FD]
22923
# ---------------------------------
22924
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22925
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22926
# script with status $?, using 1 if that was 0.
22927
as_fn_error ()
22928
{
22929
  as_status=$?; test $as_status -eq 0 && as_status=1
22930
  if test "$3"; then
22931
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22932
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
22933
  fi
22934
  $as_echo "$as_me: error: $1" >&2
22935
  as_fn_exit $as_status
22936
} # as_fn_error
22937
22938
22939
# as_fn_set_status STATUS
22940
# -----------------------
22941
# Set $? to STATUS, without forking.
22942
as_fn_set_status ()
22943
{
22944
  return $1
22945
} # as_fn_set_status
22946
22947
# as_fn_exit STATUS
22948
# -----------------
22949
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22950
as_fn_exit ()
22951
{
22952
  set +e
22953
  as_fn_set_status $1
22954
  exit $1
22955
} # as_fn_exit
22956
22957
# as_fn_unset VAR
22958
# ---------------
22959
# Portably unset VAR.
22960
as_fn_unset ()
22961
{
22962
  { eval $1=; unset $1;}
22963
}
22964
as_unset=as_fn_unset
22965
# as_fn_append VAR VALUE
22966
# ----------------------
22967
# Append the text in VALUE to the end of the definition contained in VAR. Take
22968
# advantage of any shell optimizations that allow amortized linear growth over
22969
# repeated appends, instead of the typical quadratic growth present in naive
22970
# implementations.
22971
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
22972
  eval 'as_fn_append ()
22973
  {
22974
    eval $1+=\$2
22975
  }'
22976
else
22977
  as_fn_append ()
22978
  {
22979
    eval $1=\$$1\$2
22980
  }
22981
fi # as_fn_append
22982
22983
# as_fn_arith ARG...
22984
# ------------------
22985
# Perform arithmetic evaluation on the ARGs, and store the result in the
22986
# global $as_val. Take advantage of shells that can avoid forks. The arguments
22987
# must be portable across $(()) and expr.
22988
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
22989
  eval 'as_fn_arith ()
22990
  {
22991
    as_val=$(( $* ))
22992
  }'
22993
else
22994
  as_fn_arith ()
22995
  {
22996
    as_val=`expr "$@" || test $? -eq 1`
22997
  }
22998
fi # as_fn_arith
22999
23000
23001
if expr a : '\(a\)' >/dev/null 2>&1 &&
23002
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23003
  as_expr=expr
23004
else
23005
  as_expr=false
23006
fi
23007
23008
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23009
  as_basename=basename
23010
else
23011
  as_basename=false
23012
fi
23013
23014
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23015
  as_dirname=dirname
23016
else
23017
  as_dirname=false
23018
fi
23019
23020
as_me=`$as_basename -- "$0" ||
23021
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23022
	 X"$0" : 'X\(//\)$' \| \
23023
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23024
$as_echo X/"$0" |
23025
    sed '/^.*\/\([^/][^/]*\)\/*$/{
23026
	    s//\1/
23027
	    q
23028
	  }
23029
	  /^X\/\(\/\/\)$/{
23030
	    s//\1/
23031
	    q
23032
	  }
23033
	  /^X\/\(\/\).*/{
23034
	    s//\1/
23035
	    q
23036
	  }
23037
	  s/.*/./; q'`
23038
23039
# Avoid depending upon Character Ranges.
23040
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23041
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23042
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23043
as_cr_digits='0123456789'
23044
as_cr_alnum=$as_cr_Letters$as_cr_digits
23045
23046
ECHO_C= ECHO_N= ECHO_T=
23047
case `echo -n x` in #(((((
23048
-n*)
23049
  case `echo 'xy\c'` in
23050
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
23051
  xy)  ECHO_C='\c';;
23052
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23053
       ECHO_T='	';;
23054
  esac;;
23055
*)
23056
  ECHO_N='-n';;
23057
esac
23058
23059
rm -f conf$$ conf$$.exe conf$$.file
23060
if test -d conf$$.dir; then
23061
  rm -f conf$$.dir/conf$$.file
23062
else
23063
  rm -f conf$$.dir
23064
  mkdir conf$$.dir 2>/dev/null
23065
fi
23066
if (echo >conf$$.file) 2>/dev/null; then
23067
  if ln -s conf$$.file conf$$ 2>/dev/null; then
23068
    as_ln_s='ln -s'
23069
    # ... but there are two gotchas:
23070
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23071
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23072
    # In both cases, we have to default to `cp -p'.
23073
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23074
      as_ln_s='cp -p'
23075
  elif ln conf$$.file conf$$ 2>/dev/null; then
23076
    as_ln_s=ln
23077
  else
23078
    as_ln_s='cp -p'
23079
  fi
23080
else
23081
  as_ln_s='cp -p'
23082
fi
23083
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23084
rmdir conf$$.dir 2>/dev/null
23085
23086
23087
# as_fn_mkdir_p
23088
# -------------
23089
# Create "$as_dir" as a directory, including parents if necessary.
23090
as_fn_mkdir_p ()
23091
{
23092
23093
  case $as_dir in #(
23094
  -*) as_dir=./$as_dir;;
23095
  esac
23096
  test -d "$as_dir" || eval $as_mkdir_p || {
23097
    as_dirs=
23098
    while :; do
23099
      case $as_dir in #(
23100
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23101
      *) as_qdir=$as_dir;;
23102
      esac
23103
      as_dirs="'$as_qdir' $as_dirs"
23104
      as_dir=`$as_dirname -- "$as_dir" ||
23105
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23106
	 X"$as_dir" : 'X\(//\)[^/]' \| \
23107
	 X"$as_dir" : 'X\(//\)$' \| \
23108
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23109
$as_echo X"$as_dir" |
23110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23111
	    s//\1/
23112
	    q
23113
	  }
23114
	  /^X\(\/\/\)[^/].*/{
23115
	    s//\1/
23116
	    q
23117
	  }
23118
	  /^X\(\/\/\)$/{
23119
	    s//\1/
23120
	    q
23121
	  }
23122
	  /^X\(\/\).*/{
23123
	    s//\1/
23124
	    q
23125
	  }
23126
	  s/.*/./; q'`
23127
      test -d "$as_dir" && break
23128
    done
23129
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23130
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
23131
23132
23133
} # as_fn_mkdir_p
23134
if mkdir -p . 2>/dev/null; then
23135
  as_mkdir_p='mkdir -p "$as_dir"'
23136
else
23137
  test -d ./-p && rmdir ./-p
23138
  as_mkdir_p=false
23139
fi
23140
23141
if test -x / >/dev/null 2>&1; then
23142
  as_test_x='test -x'
23143
else
23144
  if ls -dL / >/dev/null 2>&1; then
23145
    as_ls_L_option=L
23146
  else
23147
    as_ls_L_option=
23148
  fi
23149
  as_test_x='
23150
    eval sh -c '\''
23151
      if test -d "$1"; then
23152
	test -d "$1/.";
23153
      else
23154
	case $1 in #(
23155
	-*)set "./$1";;
23156
	esac;
23157
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
23158
	???[sx]*):;;*)false;;esac;fi
23159
    '\'' sh
23160
  '
23161
fi
23162
as_executable_p=$as_test_x
23163
23164
# Sed expression to map a string onto a valid CPP name.
23165
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23166
23167
# Sed expression to map a string onto a valid variable name.
23168
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23169
23170
23171
exec 6>&1
23172
## ----------------------------------- ##
23173
## Main body of $CONFIG_STATUS script. ##
23174
## ----------------------------------- ##
23175
_ASEOF
23176
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23177
23178
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23179
# Save the log message, to keep $0 and so on meaningful, and to
23180
# report actual input values of CONFIG_FILES etc. instead of their
23181
# values after options handling.
23182
ac_log="
23183
This file was extended by $as_me, which was
23184
generated by GNU Autoconf 2.65.  Invocation command line was
23185
23186
  CONFIG_FILES    = $CONFIG_FILES
23187
  CONFIG_HEADERS  = $CONFIG_HEADERS
23188
  CONFIG_LINKS    = $CONFIG_LINKS
23189
  CONFIG_COMMANDS = $CONFIG_COMMANDS
23190
  $ $0 $@
23191
23192
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23193
"
23194
23195
_ACEOF
23196
23197
case $ac_config_files in *"
23198
"*) set x $ac_config_files; shift; ac_config_files=$*;;
23199
esac
23200
23201
23202
23203
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23204
# Files that config.status was made for.
23205
config_files="$ac_config_files"
23206
23207
_ACEOF
23208
23209
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23210
ac_cs_usage="\
23211
\`$as_me' instantiates files and other configuration actions
23212
from templates according to the current configuration.  Unless the files
23213
and actions are specified as TAGs, all are instantiated by default.
23214
23215
Usage: $0 [OPTION]... [TAG]...
23216
23217
  -h, --help       print this help, then exit
23218
  -V, --version    print version number and configuration settings, then exit
23219
      --config     print configuration, then exit
23220
  -q, --quiet, --silent
23221
                   do not print progress messages
23222
  -d, --debug      don't remove temporary files
23223
      --recheck    update $as_me by reconfiguring in the same conditions
23224
      --file=FILE[:TEMPLATE]
23225
                   instantiate the configuration file FILE
23226
23227
Configuration files:
23228
$config_files
23229
23230
Report bugs to the package provider."
23231
23232
_ACEOF
23233
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23234
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23235
ac_cs_version="\\
23236
config.status
23237
configured by $0, generated by GNU Autoconf 2.65,
23238
  with options \\"\$ac_cs_config\\"
23239
23240
Copyright (C) 2009 Free Software Foundation, Inc.
23241
This config.status script is free software; the Free Software Foundation
23242
gives unlimited permission to copy, distribute and modify it."
23243
23244
ac_pwd='$ac_pwd'
23245
srcdir='$srcdir'
23246
AWK='$AWK'
23247
test -n "\$AWK" || AWK=awk
23248
_ACEOF
23249
23250
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23251
# The default lists apply if the user does not specify any file.
23252
ac_need_defaults=:
23253
while test $# != 0
23254
do
23255
  case $1 in
23256
  --*=*)
23257
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23258
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23259
    ac_shift=:
23260
    ;;
23261
  *)
23262
    ac_option=$1
23263
    ac_optarg=$2
23264
    ac_shift=shift
23265
    ;;
23266
  esac
23267
23268
  case $ac_option in
23269
  # Handling of the options.
23270
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23271
    ac_cs_recheck=: ;;
23272
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23273
    $as_echo "$ac_cs_version"; exit ;;
23274
  --config | --confi | --conf | --con | --co | --c )
23275
    $as_echo "$ac_cs_config"; exit ;;
23276
  --debug | --debu | --deb | --de | --d | -d )
23277
    debug=: ;;
23278
  --file | --fil | --fi | --f )
23279
    $ac_shift
23280
    case $ac_optarg in
23281
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23282
    esac
23283
    as_fn_append CONFIG_FILES " '$ac_optarg'"
23284
    ac_need_defaults=false;;
23285
  --he | --h |  --help | --hel | -h )
23286
    $as_echo "$ac_cs_usage"; exit ;;
23287
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23288
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23289
    ac_cs_silent=: ;;
23290
23291
  # This is an error.
23292
  -*) as_fn_error "unrecognized option: \`$1'
23293
Try \`$0 --help' for more information." ;;
23294
23295
  *) as_fn_append ac_config_targets " $1"
23296
     ac_need_defaults=false ;;
23297
23298
  esac
23299
  shift
23300
done
23301
23302
ac_configure_extra_args=
23303
23304
if $ac_cs_silent; then
23305
  exec 6>/dev/null
23306
  ac_configure_extra_args="$ac_configure_extra_args --silent"
23307
fi
23308
23309
_ACEOF
23310
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23311
if \$ac_cs_recheck; then
23312
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23313
  shift
23314
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23315
  CONFIG_SHELL='$SHELL'
23316
  export CONFIG_SHELL
23317
  exec "\$@"
23318
fi
23319
23320
_ACEOF
23321
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23322
exec 5>>config.log
23323
{
23324
  echo
23325
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23326
## Running $as_me. ##
23327
_ASBOX
23328
  $as_echo "$ac_log"
23329
} >&5
23330
23331
_ACEOF
23332
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23333
_ACEOF
23334
23335
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23336
23337
# Handling of arguments.
23338
for ac_config_target in $ac_config_targets
23339
do
23340
  case $ac_config_target in
23341
    "set_soenv") CONFIG_FILES="$CONFIG_FILES set_soenv" ;;
23342
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23343
23344
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23345
  esac
23346
done
23347
23348
23349
# If the user did not use the arguments to specify the items to instantiate,
23350
# then the envvar interface is used.  Set only those that are not.
23351
# We use the long form for the default assignment because of an extremely
23352
# bizarre bug on SunOS 4.1.3.
23353
if $ac_need_defaults; then
23354
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23355
fi
23356
23357
# Have a temporary directory for convenience.  Make it in the build tree
23358
# simply because there is no reason against having it here, and in addition,
23359
# creating and moving files from /tmp can sometimes cause problems.
23360
# Hook for its removal unless debugging.
23361
# Note that there is a small window in which the directory will not be cleaned:
23362
# after its creation but before its name has been assigned to `$tmp'.
23363
$debug ||
23364
{
23365
  tmp=
23366
  trap 'exit_status=$?
23367
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23368
' 0
23369
  trap 'as_fn_exit 1' 1 2 13 15
23370
}
23371
# Create a (secure) tmp directory for tmp files.
23372
23373
{
23374
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23375
  test -n "$tmp" && test -d "$tmp"
23376
}  ||
23377
{
23378
  tmp=./conf$$-$RANDOM
23379
  (umask 077 && mkdir "$tmp")
23380
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
23381
23382
# Set up the scripts for CONFIG_FILES section.
23383
# No need to generate them if there are no CONFIG_FILES.
23384
# This happens for instance with `./config.status config.h'.
23385
if test -n "$CONFIG_FILES"; then
23386
23387
23388
ac_cr=`echo X | tr X '\015'`
23389
# On cygwin, bash can eat \r inside `` if the user requested igncr.
23390
# But we know of no other shell where ac_cr would be empty at this
23391
# point, so we can use a bashism as a fallback.
23392
if test "x$ac_cr" = x; then
23393
  eval ac_cr=\$\'\\r\'
23394
fi
23395
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23396
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23397
  ac_cs_awk_cr='\r'
23398
else
23399
  ac_cs_awk_cr=$ac_cr
23400
fi
23401
23402
echo 'BEGIN {' >"$tmp/subs1.awk" &&
23403
_ACEOF
23404
23405
23406
{
23407
  echo "cat >conf$$subs.awk <<_ACEOF" &&
23408
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23409
  echo "_ACEOF"
23410
} >conf$$subs.sh ||
23411
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23412
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
23413
ac_delim='%!_!# '
23414
for ac_last_try in false false false false false :; do
23415
  . ./conf$$subs.sh ||
23416
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23417
23418
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23419
  if test $ac_delim_n = $ac_delim_num; then
23420
    break
23421
  elif $ac_last_try; then
23422
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23423
  else
23424
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23425
  fi
23426
done
23427
rm -f conf$$subs.sh
23428
23429
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23430
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
23431
_ACEOF
23432
sed -n '
23433
h
23434
s/^/S["/; s/!.*/"]=/
23435
p
23436
g
23437
s/^[^!]*!//
23438
:repl
23439
t repl
23440
s/'"$ac_delim"'$//
23441
t delim
23442
:nl
23443
h
23444
s/\(.\{148\}\)..*/\1/
23445
t more1
23446
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23447
p
23448
n
23449
b repl
23450
:more1
23451
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23452
p
23453
g
23454
s/.\{148\}//
23455
t nl
23456
:delim
23457
h
23458
s/\(.\{148\}\)..*/\1/
23459
t more2
23460
s/["\\]/\\&/g; s/^/"/; s/$/"/
23461
p
23462
b
23463
:more2
23464
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23465
p
23466
g
23467
s/.\{148\}//
23468
t delim
23469
' <conf$$subs.awk | sed '
23470
/^[^""]/{
23471
  N
23472
  s/\n//
23473
}
23474
' >>$CONFIG_STATUS || ac_write_fail=1
23475
rm -f conf$$subs.awk
23476
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23477
_ACAWK
23478
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
23479
  for (key in S) S_is_set[key] = 1
23480
  FS = ""
23481
23482
}
23483
{
23484
  line = $ 0
23485
  nfields = split(line, field, "@")
23486
  substed = 0
23487
  len = length(field[1])
23488
  for (i = 2; i < nfields; i++) {
23489
    key = field[i]
23490
    keylen = length(key)
23491
    if (S_is_set[key]) {
23492
      value = S[key]
23493
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23494
      len += length(value) + length(field[++i])
23495
      substed = 1
23496
    } else
23497
      len += 1 + keylen
23498
  }
23499
23500
  print line
23501
}
23502
23503
_ACAWK
23504
_ACEOF
23505
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23506
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23507
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23508
else
23509
  cat
23510
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23511
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
23512
_ACEOF
23513
28822
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23514
# VPATH may cause trouble with some makes, so we remove $(srcdir),
28823
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23515
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28824
# trailing colons and then remove the whole line if VPATH becomes empty
23516
# trailing colons and then remove the whole line if VPATH becomes empty
28825
# (actually we leave an empty line to preserve line numbers).
23517
# (actually we leave an empty line to preserve line numbers).
28826
if test "x$srcdir" = x.; then
23518
if test "x$srcdir" = x.; then
28827
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
23519
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
28828
s/:*\$(srcdir):*/:/;
23520
s/:*\$(srcdir):*/:/
28829
s/:*\${srcdir}:*/:/;
23521
s/:*\${srcdir}:*/:/
28830
s/:*@srcdir@:*/:/;
23522
s/:*@srcdir@:*/:/
28831
s/^\([^=]*=[	 ]*\):*/\1/;
23523
s/^\([^=]*=[	 ]*\):*/\1/
28832
s/:*$//;
23524
s/:*$//
28833
s/^[^=]*=[	 ]*$//;
23525
s/^[^=]*=[	 ]*$//
28834
}'
23526
}'
28835
fi
23527
fi
28836
23528
28837
# Transform confdefs.h into DEFS.
23529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28838
# Protect against shell expansion while executing Makefile rules.
23530
fi # test -n "$CONFIG_FILES"
28839
# Protect against Makefile macro expansion.
23531
28840
#
23532
28841
# If the first sed substitution is executed (which looks for macros that
23533
eval set X "  :F $CONFIG_FILES      "
28842
# take arguments), then we branch to the quote section.  Otherwise,
23534
shift
28843
# look for a macro that doesn't take arguments.
23535
for ac_tag
28844
cat >confdef2opt.sed <<\_ACEOF
23536
do
28845
t clear
23537
  case $ac_tag in
28846
: clear
23538
  :[FHLC]) ac_mode=$ac_tag; continue;;
28847
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
28848
t quote
28849
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
28850
t quote
28851
d
28852
: quote
28853
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
28854
s,\[,\\&,g
28855
s,\],\\&,g
28856
s,\$,$$,g
28857
p
28858
_ACEOF
28859
# We use echo to avoid assuming a particular line-breaking character.
28860
# The extra dot is to prevent the shell from consuming trailing
28861
# line-breaks from the sub-command output.  A line-break within
28862
# single-quotes doesn't work because, if this script is created in a
28863
# platform that uses two characters for line-breaks (e.g., DOS), tr
28864
# would break.
28865
ac_LF_and_DOT=`echo; echo .`
28866
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
28867
rm -f confdef2opt.sed
28868
28869
28870
ac_libobjs=
28871
ac_ltlibobjs=
28872
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28873
  # 1. Remove the extension, and $U if already installed.
28874
  ac_i=`echo "$ac_i" |
28875
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28876
  # 2. Add them.
28877
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28878
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28879
done
28880
LIBOBJS=$ac_libobjs
28881
28882
LTLIBOBJS=$ac_ltlibobjs
28883
28884
28885
28886
: ${CONFIG_STATUS=./config.status}
28887
ac_clean_files_save=$ac_clean_files
28888
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28889
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28890
echo "$as_me: creating $CONFIG_STATUS" >&6;}
28891
cat >$CONFIG_STATUS <<_ACEOF
28892
#! $SHELL
28893
# Generated by $as_me.
28894
# Run this file to recreate the current configuration.
28895
# Compiler output produced by configure, useful for debugging
28896
# configure, is in config.log if it exists.
28897
28898
debug=false
28899
ac_cs_recheck=false
28900
ac_cs_silent=false
28901
SHELL=\${CONFIG_SHELL-$SHELL}
28902
_ACEOF
28903
28904
cat >>$CONFIG_STATUS <<\_ACEOF
28905
## --------------------- ##
28906
## M4sh Initialization.  ##
28907
## --------------------- ##
28908
28909
# Be Bourne compatible
28910
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28911
  emulate sh
28912
  NULLCMD=:
28913
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28914
  # is contrary to our usage.  Disable this feature.
28915
  alias -g '${1+"$@"}'='"$@"'
28916
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28917
  set -o posix
28918
fi
28919
DUALCASE=1; export DUALCASE # for MKS sh
28920
28921
# Support unset when possible.
28922
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28923
  as_unset=unset
28924
else
28925
  as_unset=false
28926
fi
28927
28928
28929
# Work around bugs in pre-3.0 UWIN ksh.
28930
$as_unset ENV MAIL MAILPATH
28931
PS1='$ '
28932
PS2='> '
28933
PS4='+ '
28934
28935
# NLS nuisances.
28936
for as_var in \
28937
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28938
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28939
  LC_TELEPHONE LC_TIME
28940
do
28941
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28942
    eval $as_var=C; export $as_var
28943
  else
28944
    $as_unset $as_var
28945
  fi
28946
done
28947
28948
# Required to use basename.
28949
if expr a : '\(a\)' >/dev/null 2>&1; then
28950
  as_expr=expr
28951
else
28952
  as_expr=false
28953
fi
28954
28955
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28956
  as_basename=basename
28957
else
28958
  as_basename=false
28959
fi
28960
28961
28962
# Name of the executable.
28963
as_me=`$as_basename "$0" ||
28964
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28965
	 X"$0" : 'X\(//\)$' \| \
28966
	 X"$0" : 'X\(/\)$' \| \
28967
	 .     : '\(.\)' 2>/dev/null ||
28968
echo X/"$0" |
28969
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28970
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
28971
  	  /^X\/\(\/\).*/{ s//\1/; q; }
28972
  	  s/.*/./; q'`
28973
28974
28975
# PATH needs CR, and LINENO needs CR and PATH.
28976
# Avoid depending upon Character Ranges.
28977
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28978
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28979
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28980
as_cr_digits='0123456789'
28981
as_cr_alnum=$as_cr_Letters$as_cr_digits
28982
28983
# The user is always right.
28984
if test "${PATH_SEPARATOR+set}" != set; then
28985
  echo "#! /bin/sh" >conf$$.sh
28986
  echo  "exit 0"   >>conf$$.sh
28987
  chmod +x conf$$.sh
28988
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28989
    PATH_SEPARATOR=';'
28990
  else
28991
    PATH_SEPARATOR=:
28992
  fi
28993
  rm -f conf$$.sh
28994
fi
28995
28996
28997
  as_lineno_1=$LINENO
28998
  as_lineno_2=$LINENO
28999
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29000
  test "x$as_lineno_1" != "x$as_lineno_2" &&
29001
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
29002
  # Find who we are.  Look in the path if we contain no path at all
29003
  # relative or not.
29004
  case $0 in
29005
    *[\\/]* ) as_myself=$0 ;;
29006
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29007
for as_dir in $PATH
29008
do
29009
  IFS=$as_save_IFS
29010
  test -z "$as_dir" && as_dir=.
29011
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29012
done
29013
29014
       ;;
29015
  esac
23539
  esac
29016
  # We did not find ourselves, most probably we were run as `sh COMMAND'
23540
  case $ac_mode$ac_tag in
29017
  # in which case we are not to be found in the path.
23541
  :[FHL]*:*);;
29018
  if test "x$as_myself" = x; then
23542
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
29019
    as_myself=$0
23543
  :[FH]-) ac_tag=-:-;;
29020
  fi
23544
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29021
  if test ! -f "$as_myself"; then
29022
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29023
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29024
   { (exit 1); exit 1; }; }
29025
  fi
29026
  case $CONFIG_SHELL in
29027
  '')
29028
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29029
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29030
do
29031
  IFS=$as_save_IFS
29032
  test -z "$as_dir" && as_dir=.
29033
  for as_base in sh bash ksh sh5; do
29034
	 case $as_dir in
29035
	 /*)
29036
	   if ("$as_dir/$as_base" -c '
29037
  as_lineno_1=$LINENO
29038
  as_lineno_2=$LINENO
29039
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29040
  test "x$as_lineno_1" != "x$as_lineno_2" &&
29041
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
29042
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29043
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29044
	     CONFIG_SHELL=$as_dir/$as_base
29045
	     export CONFIG_SHELL
29046
	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29047
	   fi;;
29048
	 esac
29049
       done
29050
done
29051
;;
29052
  esac
23545
  esac
29053
23546
  ac_save_IFS=$IFS
29054
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23547
  IFS=:
29055
  # uniformly replaced by the line number.  The first 'sed' inserts a
23548
  set x $ac_tag
29056
  # line-number line before each line; the second 'sed' does the real
23549
  IFS=$ac_save_IFS
29057
  # work.  The second script uses 'N' to pair each line-number line
23550
  shift
29058
  # with the numbered line, and appends trailing '-' during
23551
  ac_file=$1
29059
  # substitution so that $LINENO is not a special case at line end.
23552
  shift
29060
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23553
29061
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23554
  case $ac_mode in
29062
  sed '=' <$as_myself |
23555
  :L) ac_source=$1;;
29063
    sed '
23556
  :[FH])
29064
      N
23557
    ac_file_inputs=
29065
      s,$,-,
23558
    for ac_f
29066
      : loop
23559
    do
29067
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23560
      case $ac_f in
29068
      t loop
23561
      -) ac_f="$tmp/stdin";;
29069
      s,-$,,
23562
      *) # Look for the file first in the build tree, then in the source tree
29070
      s,^['$as_cr_digits']*\n,,
23563
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
29071
    ' >$as_me.lineno &&
23564
	 # because $ac_f cannot contain `:'.
29072
  chmod +x $as_me.lineno ||
23565
	 test -f "$ac_f" ||
29073
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23566
	   case $ac_f in
29074
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23567
	   [\\/$]*) false;;
29075
   { (exit 1); exit 1; }; }
23568
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29076
23569
	   esac ||
29077
  # Don't try to exec as it changes $[0], causing all sort of problems
23570
	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29078
  # (the dirname of $[0] is not the place where we might find the
23571
      esac
29079
  # original and so on.  Autoconf is especially sensible to this).
23572
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29080
  . ./$as_me.lineno
23573
      as_fn_append ac_file_inputs " '$ac_f'"
29081
  # Exit status is that of the last command.
23574
    done
29082
  exit
23575
29083
}
23576
    # Let's still pretend it is `configure' which instantiates (i.e., don't
29084
23577
    # use $as_me), people would be surprised to read:
29085
23578
    #    /* config.h.  Generated by config.status.  */
29086
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23579
    configure_input='Generated from '`
29087
  *c*,-n*) ECHO_N= ECHO_C='
23580
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29088
' ECHO_T='	' ;;
23581
	`' by configure.'
29089
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23582
    if test x"$ac_file" != x-; then
29090
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23583
      configure_input="$ac_file.  $configure_input"
29091
esac
23584
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29092
23585
$as_echo "$as_me: creating $ac_file" >&6;}
29093
if expr a : '\(a\)' >/dev/null 2>&1; then
23586
    fi
29094
  as_expr=expr
23587
    # Neutralize special characters interpreted by sed in replacement strings.
29095
else
23588
    case $configure_input in #(
29096
  as_expr=false
23589
    *\&* | *\|* | *\\* )
29097
fi
23590
       ac_sed_conf_input=`$as_echo "$configure_input" |
29098
23591
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
29099
rm -f conf$$ conf$$.exe conf$$.file
23592
    *) ac_sed_conf_input=$configure_input;;
29100
echo >conf$$.file
23593
    esac
29101
if ln -s conf$$.file conf$$ 2>/dev/null; then
23594
29102
  # We could just check for DJGPP; but this test a) works b) is more generic
23595
    case $ac_tag in
29103
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23596
    *:-:* | *:-) cat >"$tmp/stdin" \
29104
  if test -f conf$$.exe; then
23597
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
29105
    # Don't use ln at all; we don't have any links
23598
    esac
29106
    as_ln_s='cp -p'
29107
  else
29108
    as_ln_s='ln -s'
29109
  fi
29110
elif ln conf$$.file conf$$ 2>/dev/null; then
29111
  as_ln_s=ln
29112
else
29113
  as_ln_s='cp -p'
29114
fi
29115
rm -f conf$$ conf$$.exe conf$$.file
29116
29117
if mkdir -p . 2>/dev/null; then
29118
  as_mkdir_p=:
29119
else
29120
  test -d ./-p && rmdir ./-p
29121
  as_mkdir_p=false
29122
fi
29123
29124
as_executable_p="test -f"
29125
29126
# Sed expression to map a string onto a valid CPP name.
29127
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29128
29129
# Sed expression to map a string onto a valid variable name.
29130
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29131
29132
29133
# IFS
29134
# We need space, tab and new line, in precisely that order.
29135
as_nl='
29136
'
29137
IFS=" 	$as_nl"
29138
29139
# CDPATH.
29140
$as_unset CDPATH
29141
29142
exec 6>&1
29143
29144
# Open the log real soon, to keep \$[0] and so on meaningful, and to
29145
# report actual input values of CONFIG_FILES etc. instead of their
29146
# values after options handling.  Logging --version etc. is OK.
29147
exec 5>>config.log
29148
{
29149
  echo
29150
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29151
## Running $as_me. ##
29152
_ASBOX
29153
} >&5
29154
cat >&5 <<_CSEOF
29155
29156
This file was extended by $as_me, which was
29157
generated by GNU Autoconf 2.59.  Invocation command line was
29158
29159
  CONFIG_FILES    = $CONFIG_FILES
29160
  CONFIG_HEADERS  = $CONFIG_HEADERS
29161
  CONFIG_LINKS    = $CONFIG_LINKS
29162
  CONFIG_COMMANDS = $CONFIG_COMMANDS
29163
  $ $0 $@
29164
29165
_CSEOF
29166
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29167
echo >&5
29168
_ACEOF
29169
29170
# Files that config.status was made for.
29171
if test -n "$ac_config_files"; then
29172
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29173
fi
29174
29175
if test -n "$ac_config_headers"; then
29176
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29177
fi
29178
29179
if test -n "$ac_config_links"; then
29180
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29181
fi
29182
29183
if test -n "$ac_config_commands"; then
29184
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29185
fi
29186
29187
cat >>$CONFIG_STATUS <<\_ACEOF
29188
29189
ac_cs_usage="\
29190
\`$as_me' instantiates files from templates according to the
29191
current configuration.
29192
29193
Usage: $0 [OPTIONS] [FILE]...
29194
29195
  -h, --help       print this help, then exit
29196
  -V, --version    print version number, then exit
29197
  -q, --quiet      do not print progress messages
29198
  -d, --debug      don't remove temporary files
29199
      --recheck    update $as_me by reconfiguring in the same conditions
29200
  --file=FILE[:TEMPLATE]
29201
		   instantiate the configuration file FILE
29202
29203
Configuration files:
29204
$config_files
29205
29206
Report bugs to <bug-autoconf@gnu.org>."
29207
_ACEOF
29208
29209
cat >>$CONFIG_STATUS <<_ACEOF
29210
ac_cs_version="\\
29211
config.status
29212
configured by $0, generated by GNU Autoconf 2.59,
29213
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29214
29215
Copyright (C) 2003 Free Software Foundation, Inc.
29216
This config.status script is free software; the Free Software Foundation
29217
gives unlimited permission to copy, distribute and modify it."
29218
srcdir=$srcdir
29219
_ACEOF
29220
29221
cat >>$CONFIG_STATUS <<\_ACEOF
29222
# If no file are specified by the user, then we need to provide default
29223
# value.  By we need to know if files were specified by the user.
29224
ac_need_defaults=:
29225
while test $# != 0
29226
do
29227
  case $1 in
29228
  --*=*)
29229
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
29230
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29231
    ac_shift=:
29232
    ;;
23599
    ;;
29233
  -*)
29234
    ac_option=$1
29235
    ac_optarg=$2
29236
    ac_shift=shift
29237
    ;;
29238
  *) # This is not an option, so the user has probably given explicit
29239
     # arguments.
29240
     ac_option=$1
29241
     ac_need_defaults=false;;
29242
  esac
23600
  esac
29243
23601
29244
  case $ac_option in
23602
  ac_dir=`$as_dirname -- "$ac_file" ||
29245
  # Handling of the options.
29246
_ACEOF
29247
cat >>$CONFIG_STATUS <<\_ACEOF
29248
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29249
    ac_cs_recheck=: ;;
29250
  --version | --vers* | -V )
29251
    echo "$ac_cs_version"; exit 0 ;;
29252
  --he | --h)
29253
    # Conflict between --help and --header
29254
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
29255
Try \`$0 --help' for more information." >&5
29256
echo "$as_me: error: ambiguous option: $1
29257
Try \`$0 --help' for more information." >&2;}
29258
   { (exit 1); exit 1; }; };;
29259
  --help | --hel | -h )
29260
    echo "$ac_cs_usage"; exit 0 ;;
29261
  --debug | --d* | -d )
29262
    debug=: ;;
29263
  --file | --fil | --fi | --f )
29264
    $ac_shift
29265
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
29266
    ac_need_defaults=false;;
29267
  --header | --heade | --head | --hea )
29268
    $ac_shift
29269
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29270
    ac_need_defaults=false;;
29271
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29272
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
29273
    ac_cs_silent=: ;;
29274
29275
  # This is an error.
29276
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29277
Try \`$0 --help' for more information." >&5
29278
echo "$as_me: error: unrecognized option: $1
29279
Try \`$0 --help' for more information." >&2;}
29280
   { (exit 1); exit 1; }; } ;;
29281
29282
  *) ac_config_targets="$ac_config_targets $1" ;;
29283
29284
  esac
29285
  shift
29286
done
29287
29288
ac_configure_extra_args=
29289
29290
if $ac_cs_silent; then
29291
  exec 6>/dev/null
29292
  ac_configure_extra_args="$ac_configure_extra_args --silent"
29293
fi
29294
29295
_ACEOF
29296
cat >>$CONFIG_STATUS <<_ACEOF
29297
if \$ac_cs_recheck; then
29298
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29299
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29300
fi
29301
29302
_ACEOF
29303
29304
29305
29306
29307
29308
cat >>$CONFIG_STATUS <<\_ACEOF
29309
for ac_config_target in $ac_config_targets
29310
do
29311
  case "$ac_config_target" in
29312
  # Handling of arguments.
29313
  "set_soenv" ) CONFIG_FILES="$CONFIG_FILES set_soenv" ;;
29314
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29315
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29316
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29317
   { (exit 1); exit 1; }; };;
29318
  esac
29319
done
29320
29321
# If the user did not use the arguments to specify the items to instantiate,
29322
# then the envvar interface is used.  Set only those that are not.
29323
# We use the long form for the default assignment because of an extremely
29324
# bizarre bug on SunOS 4.1.3.
29325
if $ac_need_defaults; then
29326
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
29327
fi
29328
29329
# Have a temporary directory for convenience.  Make it in the build tree
29330
# simply because there is no reason to put it here, and in addition,
29331
# creating and moving files from /tmp can sometimes cause problems.
29332
# Create a temporary directory, and hook for its removal unless debugging.
29333
$debug ||
29334
{
29335
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29336
  trap '{ (exit 1); exit 1; }' 1 2 13 15
29337
}
29338
29339
# Create a (secure) tmp directory for tmp files.
29340
29341
{
29342
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29343
  test -n "$tmp" && test -d "$tmp"
29344
}  ||
29345
{
29346
  tmp=./confstat$$-$RANDOM
29347
  (umask 077 && mkdir $tmp)
29348
} ||
29349
{
29350
   echo "$me: cannot create a temporary directory in ." >&2
29351
   { (exit 1); exit 1; }
29352
}
29353
29354
_ACEOF
29355
29356
cat >>$CONFIG_STATUS <<_ACEOF
29357
29358
#
29359
# CONFIG_FILES section.
29360
#
29361
29362
# No need to generate the scripts if there are no CONFIG_FILES.
29363
# This happens for instance when ./config.status config.h
29364
if test -n "\$CONFIG_FILES"; then
29365
  # Protect against being on the right side of a sed subst in config.status.
29366
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29367
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29368
s,@SHELL@,$SHELL,;t t
29369
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29370
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29371
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29372
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29373
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29374
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29375
s,@exec_prefix@,$exec_prefix,;t t
29376
s,@prefix@,$prefix,;t t
29377
s,@program_transform_name@,$program_transform_name,;t t
29378
s,@bindir@,$bindir,;t t
29379
s,@sbindir@,$sbindir,;t t
29380
s,@libexecdir@,$libexecdir,;t t
29381
s,@datadir@,$datadir,;t t
29382
s,@sysconfdir@,$sysconfdir,;t t
29383
s,@sharedstatedir@,$sharedstatedir,;t t
29384
s,@localstatedir@,$localstatedir,;t t
29385
s,@libdir@,$libdir,;t t
29386
s,@includedir@,$includedir,;t t
29387
s,@oldincludedir@,$oldincludedir,;t t
29388
s,@infodir@,$infodir,;t t
29389
s,@mandir@,$mandir,;t t
29390
s,@build_alias@,$build_alias,;t t
29391
s,@host_alias@,$host_alias,;t t
29392
s,@target_alias@,$target_alias,;t t
29393
s,@DEFS@,$DEFS,;t t
29394
s,@ECHO_C@,$ECHO_C,;t t
29395
s,@ECHO_N@,$ECHO_N,;t t
29396
s,@ECHO_T@,$ECHO_T,;t t
29397
s,@LIBS@,$LIBS,;t t
29398
s,@EGREP@,$EGREP,;t t
29399
s,@AWK@,$AWK,;t t
29400
s,@SED@,$SED,;t t
29401
s,@LOCAL_SOLENV@,$LOCAL_SOLENV,;t t
29402
s,@_solenv@,$_solenv,;t t
29403
s,@UPD@,$UPD,;t t
29404
s,@SOURCEVERSION@,$SOURCEVERSION,;t t
29405
s,@build@,$build,;t t
29406
s,@build_cpu@,$build_cpu,;t t
29407
s,@build_vendor@,$build_vendor,;t t
29408
s,@build_os@,$build_os,;t t
29409
s,@host@,$host,;t t
29410
s,@host_cpu@,$host_cpu,;t t
29411
s,@host_vendor@,$host_vendor,;t t
29412
s,@host_os@,$host_os,;t t
29413
s,@target@,$target,;t t
29414
s,@target_cpu@,$target_cpu,;t t
29415
s,@target_vendor@,$target_vendor,;t t
29416
s,@target_os@,$target_os,;t t
29417
s,@GNUTAR@,$GNUTAR,;t t
29418
s,@OSVERSION@,$OSVERSION,;t t
29419
s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
29420
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
29421
s,@ENABLE_CRASHDUMP@,$ENABLE_CRASHDUMP,;t t
29422
s,@VC_STANDARD@,$VC_STANDARD,;t t
29423
s,@ENABLE_WERROR@,$ENABLE_WERROR,;t t
29424
s,@ENABLE_DEBUG@,$ENABLE_DEBUG,;t t
29425
s,@PRODUCT@,$PRODUCT,;t t
29426
s,@PROFULLSWITCH@,$PROFULLSWITCH,;t t
29427
s,@PROEXT@,$PROEXT,;t t
29428
s,@ENABLE_SYMBOLS@,$ENABLE_SYMBOLS,;t t
29429
s,@DISABLE_STRIP@,$DISABLE_STRIP,;t t
29430
s,@ENABLE_CUPS@,$ENABLE_CUPS,;t t
29431
s,@ENABLE_FONTCONFIG@,$ENABLE_FONTCONFIG,;t t
29432
s,@WITH_BINFILTER@,$WITH_BINFILTER,;t t
29433
s,@ENABLE_DIRECTX@,$ENABLE_DIRECTX,;t t
29434
s,@DISABLE_ACTIVEX@,$DISABLE_ACTIVEX,;t t
29435
s,@DISABLE_ATL@,$DISABLE_ATL,;t t
29436
s,@ENABLE_RPATH@,$ENABLE_RPATH,;t t
29437
s,@WITH_MYSPELL_DICTS@,$WITH_MYSPELL_DICTS,;t t
29438
s,@SYSTEM_DICTS@,$SYSTEM_DICTS,;t t
29439
s,@DICT_SYSTEM_DIR@,$DICT_SYSTEM_DIR,;t t
29440
s,@HYPH_SYSTEM_DIR@,$HYPH_SYSTEM_DIR,;t t
29441
s,@THES_SYSTEM_DIR@,$THES_SYSTEM_DIR,;t t
29442
s,@USE_SHELL@,$USE_SHELL,;t t
29443
s,@WITH_MINGWIN@,$WITH_MINGWIN,;t t
29444
s,@SHELLPATH@,$SHELLPATH,;t t
29445
s,@GCC_HOME@,$GCC_HOME,;t t
29446
s,@CC@,$CC,;t t
29447
s,@CFLAGS@,$CFLAGS,;t t
29448
s,@LDFLAGS@,$LDFLAGS,;t t
29449
s,@CPPFLAGS@,$CPPFLAGS,;t t
29450
s,@ac_ct_CC@,$ac_ct_CC,;t t
29451
s,@EXEEXT@,$EXEEXT,;t t
29452
s,@OBJEXT@,$OBJEXT,;t t
29453
s,@COMPATH@,$COMPATH,;t t
29454
s,@GCCVER@,$GCCVER,;t t
29455
s,@HAVE_LD_BSYMBOLIC_FUNCTIONS@,$HAVE_LD_BSYMBOLIC_FUNCTIONS,;t t
29456
s,@ENABLE_PCH@,$ENABLE_PCH,;t t
29457
s,@NO_HIDS@,$NO_HIDS,;t t
29458
s,@GNUMAKE@,$GNUMAKE,;t t
29459
s,@_cc@,$_cc,;t t
29460
s,@HAVE_LD_HASH_STYLE@,$HAVE_LD_HASH_STYLE,;t t
29461
s,@PERL@,$PERL,;t t
29462
s,@MSPDB_PATH@,$MSPDB_PATH,;t t
29463
s,@COMEX@,$COMEX,;t t
29464
s,@USE_MINGW@,$USE_MINGW,;t t
29465
s,@MIDL_PATH@,$MIDL_PATH,;t t
29466
s,@CSC_PATH@,$CSC_PATH,;t t
29467
s,@FRAME_HOME@,$FRAME_HOME,;t t
29468
s,@CPP@,$CPP,;t t
29469
s,@CXX@,$CXX,;t t
29470
s,@CXXFLAGS@,$CXXFLAGS,;t t
29471
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29472
s,@CXXCPP@,$CXXCPP,;t t
29473
s,@SIZEOF_LONG@,$SIZEOF_LONG,;t t
29474
s,@WORDS_BIGENDIAN@,$WORDS_BIGENDIAN,;t t
29475
s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
29476
s,@ENABLE_VBA@,$ENABLE_VBA,;t t
29477
s,@VBA_EXTENSION@,$VBA_EXTENSION,;t t
29478
s,@PAM@,$PAM,;t t
29479
s,@NEW_SHADOW_API@,$NEW_SHADOW_API,;t t
29480
s,@PAM_LINK@,$PAM_LINK,;t t
29481
s,@CRYPT_LINK@,$CRYPT_LINK,;t t
29482
s,@GXX_INCLUDE_PATH@,$GXX_INCLUDE_PATH,;t t
29483
s,@MINGW_LIB_INCLUDE_PATH@,$MINGW_LIB_INCLUDE_PATH,;t t
29484
s,@MINGW_BACKWARD_INCLUDE_PATH@,$MINGW_BACKWARD_INCLUDE_PATH,;t t
29485
s,@MINGW_CLIB_DIR@,$MINGW_CLIB_DIR,;t t
29486
s,@MINGW_SHARED_GCCLIB@,$MINGW_SHARED_GCCLIB,;t t
29487
s,@MINGW_GCCLIB_EH@,$MINGW_GCCLIB_EH,;t t
29488
s,@MINGW_SHARED_GXXLIB@,$MINGW_SHARED_GXXLIB,;t t
29489
s,@MINGW_GCCDLL@,$MINGW_GCCDLL,;t t
29490
s,@MINGW_GXXDLL@,$MINGW_GXXDLL,;t t
29491
s,@EXCEPTIONS@,$EXCEPTIONS,;t t
29492
s,@STLPORT4@,$STLPORT4,;t t
29493
s,@STLPORT_VER@,$STLPORT_VER,;t t
29494
s,@USE_SYSTEM_STL@,$USE_SYSTEM_STL,;t t
29495
s,@USE_CCACHE@,$USE_CCACHE,;t t
29496
s,@CCACHE@,$CCACHE,;t t
29497
s,@HAVE_GCC_VISIBILITY_FEATURE@,$HAVE_GCC_VISIBILITY_FEATURE,;t t
29498
s,@ALLOC@,$ALLOC,;t t
29499
s,@BUILD_VER_STRING@,$BUILD_VER_STRING,;t t
29500
s,@SOLAR_JAVA@,$SOLAR_JAVA,;t t
29501
s,@JAVAINTERPRETER@,$JAVAINTERPRETER,;t t
29502
s,@JAVACOMPILER@,$JAVACOMPILER,;t t
29503
s,@JAVACISGCJ@,$JAVACISGCJ,;t t
29504
s,@JAVADOC@,$JAVADOC,;t t
29505
s,@AWTLIB@,$AWTLIB,;t t
29506
s,@JAVAAOTCOMPILER@,$JAVAAOTCOMPILER,;t t
29507
s,@JAVA_HOME@,$JAVA_HOME,;t t
29508
s,@JDK@,$JDK,;t t
29509
s,@JAVAFLAGS@,$JAVAFLAGS,;t t
29510
s,@DMAKE@,$DMAKE,;t t
29511
s,@BUILD_DMAKE@,$BUILD_DMAKE,;t t
29512
s,@EPM@,$EPM,;t t
29513
s,@DPKG@,$DPKG,;t t
29514
s,@PKGMK@,$PKGMK,;t t
29515
s,@BUILD_EPM@,$BUILD_EPM,;t t
29516
s,@PKGFORMAT@,$PKGFORMAT,;t t
29517
s,@RPM@,$RPM,;t t
29518
s,@GPERF@,$GPERF,;t t
29519
s,@MINGWCXX@,$MINGWCXX,;t t
29520
s,@ac_ct_MINGWCXX@,$ac_ct_MINGWCXX,;t t
29521
s,@MINGWSTRIP@,$MINGWSTRIP,;t t
29522
s,@ac_ct_MINGWSTRIP@,$ac_ct_MINGWSTRIP,;t t
29523
s,@BUILD_UNOWINREG@,$BUILD_UNOWINREG,;t t
29524
s,@BUILD_QADEVOOO@,$BUILD_QADEVOOO,;t t
29525
s,@SYSTEM_STDLIBS@,$SYSTEM_STDLIBS,;t t
29526
s,@SYSTEM_ZLIB@,$SYSTEM_ZLIB,;t t
29527
s,@SYSTEM_JPEG@,$SYSTEM_JPEG,;t t
29528
s,@SYSTEM_EXPAT@,$SYSTEM_EXPAT,;t t
29529
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29530
s,@LIBWPD_CFLAGS@,$LIBWPD_CFLAGS,;t t
29531
s,@LIBWPD_LIBS@,$LIBWPD_LIBS,;t t
29532
s,@SYSTEM_LIBWPD@,$SYSTEM_LIBWPD,;t t
29533
s,@FREETYPE_CFLAGS@,$FREETYPE_CFLAGS,;t t
29534
s,@FREETYPE_LIBS@,$FREETYPE_LIBS,;t t
29535
s,@USE_FT_EMBOLDEN@,$USE_FT_EMBOLDEN,;t t
29536
s,@LIBXSLT_CFLAGS@,$LIBXSLT_CFLAGS,;t t
29537
s,@LIBXSLT_LIBS@,$LIBXSLT_LIBS,;t t
29538
s,@XSLTPROC@,$XSLTPROC,;t t
29539
s,@SYSTEM_LIBXSLT@,$SYSTEM_LIBXSLT,;t t
29540
s,@LIBXML_CFLAGS@,$LIBXML_CFLAGS,;t t
29541
s,@LIBXML_LIBS@,$LIBXML_LIBS,;t t
29542
s,@SYSTEM_LIBXML@,$SYSTEM_LIBXML,;t t
29543
s,@PYTHON@,$PYTHON,;t t
29544
s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
29545
s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
29546
s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
29547
s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
29548
s,@pythondir@,$pythondir,;t t
29549
s,@pkgpythondir@,$pkgpythondir,;t t
29550
s,@pyexecdir@,$pyexecdir,;t t
29551
s,@pkgpyexecdir@,$pkgpyexecdir,;t t
29552
s,@BZIP2@,$BZIP2,;t t
29553
s,@SYSTEM_PYTHON@,$SYSTEM_PYTHON,;t t
29554
s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
29555
s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
29556
s,@HOME@,$HOME,;t t
29557
s,@SYSTEM_DB@,$SYSTEM_DB,;t t
29558
s,@DB_VERSION@,$DB_VERSION,;t t
29559
s,@DB_INCLUDES@,$DB_INCLUDES,;t t
29560
s,@DB_JAR@,$DB_JAR,;t t
29561
s,@SYSTEM_LUCENE@,$SYSTEM_LUCENE,;t t
29562
s,@LUCENE_CORE_JAR@,$LUCENE_CORE_JAR,;t t
29563
s,@LUCENE_ANALYZERS_JAR@,$LUCENE_ANALYZERS_JAR,;t t
29564
s,@ENABLE_MYSQLC@,$ENABLE_MYSQLC,;t t
29565
s,@MYSQLCONFIG@,$MYSQLCONFIG,;t t
29566
s,@SYSTEM_MYSQL@,$SYSTEM_MYSQL,;t t
29567
s,@MYSQL_INC@,$MYSQL_INC,;t t
29568
s,@MYSQL_LIB@,$MYSQL_LIB,;t t
29569
s,@MYSQL_DEFINES@,$MYSQL_DEFINES,;t t
29570
s,@LIBMYSQL_PATH@,$LIBMYSQL_PATH,;t t
29571
s,@SYSTEM_MYSQL_CPPCONN@,$SYSTEM_MYSQL_CPPCONN,;t t
29572
s,@SYSTEM_HSQLDB@,$SYSTEM_HSQLDB,;t t
29573
s,@HSQLDB_JAR@,$HSQLDB_JAR,;t t
29574
s,@SYSTEM_BSH@,$SYSTEM_BSH,;t t
29575
s,@BSH_JAR@,$BSH_JAR,;t t
29576
s,@SERIALIZER_JAR@,$SERIALIZER_JAR,;t t
29577
s,@SYSTEM_SAXON@,$SYSTEM_SAXON,;t t
29578
s,@SAXON_JAR@,$SAXON_JAR,;t t
29579
s,@CURLCONFIG@,$CURLCONFIG,;t t
29580
s,@SYSTEM_CURL@,$SYSTEM_CURL,;t t
29581
s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
29582
s,@CURL_LIBS@,$CURL_LIBS,;t t
29583
s,@SYSTEM_BOOST@,$SYSTEM_BOOST,;t t
29584
s,@SYSTEM_VIGRA@,$SYSTEM_VIGRA,;t t
29585
s,@SYSTEM_ODBC_HEADERS@,$SYSTEM_ODBC_HEADERS,;t t
29586
s,@WITH_MOZILLA@,$WITH_MOZILLA,;t t
29587
s,@WITH_LDAP@,$WITH_LDAP,;t t
29588
s,@WITH_OPENLDAP@,$WITH_OPENLDAP,;t t
29589
s,@MOZ_NSS_CFLAGS@,$MOZ_NSS_CFLAGS,;t t
29590
s,@MOZ_NSS_LIBS@,$MOZ_NSS_LIBS,;t t
29591
s,@NSS_LIB@,$NSS_LIB,;t t
29592
s,@MOZ_NSPR_CFLAGS@,$MOZ_NSPR_CFLAGS,;t t
29593
s,@MOZ_NSPR_LIBS@,$MOZ_NSPR_LIBS,;t t
29594
s,@NSPR_LIB@,$NSPR_LIB,;t t
29595
s,@MOZILLAXPCOM_CFLAGS@,$MOZILLAXPCOM_CFLAGS,;t t
29596
s,@MOZILLAXPCOM_LIBS@,$MOZILLAXPCOM_LIBS,;t t
29597
s,@MOZILLA_VERSION@,$MOZILLA_VERSION,;t t
29598
s,@MOZILLA_TOOLKIT@,$MOZILLA_TOOLKIT,;t t
29599
s,@MOZGTK2_CFLAGS@,$MOZGTK2_CFLAGS,;t t
29600
s,@MOZGTK2_LIBS@,$MOZGTK2_LIBS,;t t
29601
s,@MOZLIBREQ_CFLAGS@,$MOZLIBREQ_CFLAGS,;t t
29602
s,@MOZLIBREQ_LIBS@,$MOZLIBREQ_LIBS,;t t
29603
s,@BUILD_MOZAB@,$BUILD_MOZAB,;t t
29604
s,@ENABLE_NSS_MODULE@,$ENABLE_NSS_MODULE,;t t
29605
s,@MOZILLABUILD@,$MOZILLABUILD,;t t
29606
s,@SYSTEM_MOZILLA@,$SYSTEM_MOZILLA,;t t
29607
s,@MOZ_FLAVOUR@,$MOZ_FLAVOUR,;t t
29608
s,@MOZ_INC@,$MOZ_INC,;t t
29609
s,@MOZ_LIB@,$MOZ_LIB,;t t
29610
s,@MOZ_LIB_XPCOM@,$MOZ_LIB_XPCOM,;t t
29611
s,@MOZ_LDAP_CFLAGS@,$MOZ_LDAP_CFLAGS,;t t
29612
s,@SYSTEM_SANE_HEADER@,$SYSTEM_SANE_HEADER,;t t
29613
s,@SYSTEM_GENBRK@,$SYSTEM_GENBRK,;t t
29614
s,@SYSTEM_GENCCODE@,$SYSTEM_GENCCODE,;t t
29615
s,@SYSTEM_GENCMN@,$SYSTEM_GENCMN,;t t
29616
s,@SYSTEM_ICU@,$SYSTEM_ICU,;t t
29617
s,@GRAPHITE_CFLAGS@,$GRAPHITE_CFLAGS,;t t
29618
s,@GRAPHITE_LIBS@,$GRAPHITE_LIBS,;t t
29619
s,@ENABLE_GRAPHITE@,$ENABLE_GRAPHITE,;t t
29620
s,@SYSTEM_GRAPHITE@,$SYSTEM_GRAPHITE,;t t
29621
s,@X_CFLAGS@,$X_CFLAGS,;t t
29622
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29623
s,@X_LIBS@,$X_LIBS,;t t
29624
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29625
s,@XINC@,$XINC,;t t
29626
s,@XLIB@,$XLIB,;t t
29627
s,@XAU_LIBS@,$XAU_LIBS,;t t
29628
s,@DISABLE_XAW@,$DISABLE_XAW,;t t
29629
s,@SYSTEM_XRENDER_HEADERS@,$SYSTEM_XRENDER_HEADERS,;t t
29630
s,@XRENDER_LINK@,$XRENDER_LINK,;t t
29631
s,@XRANDR_CFLAGS@,$XRANDR_CFLAGS,;t t
29632
s,@XRANDR_LIBS@,$XRANDR_LIBS,;t t
29633
s,@XRANDR_DLOPEN@,$XRANDR_DLOPEN,;t t
29634
s,@ENABLE_RANDR@,$ENABLE_RANDR,;t t
29635
s,@DISABLE_NEON@,$DISABLE_NEON,;t t
29636
s,@NEON_CFLAGS@,$NEON_CFLAGS,;t t
29637
s,@NEON_LIBS@,$NEON_LIBS,;t t
29638
s,@SYSTEM_NEON@,$SYSTEM_NEON,;t t
29639
s,@NEON_VERSION@,$NEON_VERSION,;t t
29640
s,@OPENSSL_CFLAGS@,$OPENSSL_CFLAGS,;t t
29641
s,@OPENSSL_LIBS@,$OPENSSL_LIBS,;t t
29642
s,@SYSTEM_OPENSSL@,$SYSTEM_OPENSSL,;t t
29643
s,@ENABLE_AGG@,$ENABLE_AGG,;t t
29644
s,@AGG_CFLAGS@,$AGG_CFLAGS,;t t
29645
s,@AGG_LIBS@,$AGG_LIBS,;t t
29646
s,@SYSTEM_AGG@,$SYSTEM_AGG,;t t
29647
s,@AGG_VERSION@,$AGG_VERSION,;t t
29648
s,@REDLAND_CFLAGS@,$REDLAND_CFLAGS,;t t
29649
s,@REDLAND_LIBS@,$REDLAND_LIBS,;t t
29650
s,@SYSTEM_REDLAND@,$SYSTEM_REDLAND,;t t
29651
s,@HUNSPELL_CFLAGS@,$HUNSPELL_CFLAGS,;t t
29652
s,@HUNSPELL_LIBS@,$HUNSPELL_LIBS,;t t
29653
s,@SYSTEM_HUNSPELL@,$SYSTEM_HUNSPELL,;t t
29654
s,@SYSTEM_HYPH@,$SYSTEM_HYPH,;t t
29655
s,@HYPHEN_LIB@,$HYPHEN_LIB,;t t
29656
s,@SYSTEM_MYTHES@,$SYSTEM_MYTHES,;t t
29657
s,@SYSTEM_LPSOLVE@,$SYSTEM_LPSOLVE,;t t
29658
s,@PSDK_HOME@,$PSDK_HOME,;t t
29659
s,@WINDOWS_VISTA_PSDK@,$WINDOWS_VISTA_PSDK,;t t
29660
s,@DIRECTXSDK_HOME@,$DIRECTXSDK_HOME,;t t
29661
s,@DIRECTXSDK_LIB@,$DIRECTXSDK_LIB,;t t
29662
s,@NSIS_PATH@,$NSIS_PATH,;t t
29663
s,@BISON@,$BISON,;t t
29664
s,@FLEX@,$FLEX,;t t
29665
s,@PATCH@,$PATCH,;t t
29666
s,@GNUCP@,$GNUCP,;t t
29667
s,@GNUPATCH@,$GNUPATCH,;t t
29668
s,@CYGWIN_PATH@,$CYGWIN_PATH,;t t
29669
s,@ML_EXE@,$ML_EXE,;t t
29670
s,@ASM_HOME@,$ASM_HOME,;t t
29671
s,@ZIP@,$ZIP,;t t
29672
s,@UNZIP@,$UNZIP,;t t
29673
s,@ZIP_HOME@,$ZIP_HOME,;t t
29674
s,@ENABLE_GTK@,$ENABLE_GTK,;t t
29675
s,@ENABLE_KDE@,$ENABLE_KDE,;t t
29676
s,@ENABLE_KDE4@,$ENABLE_KDE4,;t t
29677
s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
29678
s,@GCONF_LIBS@,$GCONF_LIBS,;t t
29679
s,@ENABLE_GCONF@,$ENABLE_GCONF,;t t
29680
s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
29681
s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
29682
s,@ENABLE_GNOMEVFS@,$ENABLE_GNOMEVFS,;t t
29683
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29684
s,@GTK_LIBS@,$GTK_LIBS,;t t
29685
s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
29686
s,@DBUS_LIBS@,$DBUS_LIBS,;t t
29687
s,@GIO_CFLAGS@,$GIO_CFLAGS,;t t
29688
s,@GIO_LIBS@,$GIO_LIBS,;t t
29689
s,@ENABLE_GIO@,$ENABLE_GIO,;t t
29690
s,@ENABLE_DBUS@,$ENABLE_DBUS,;t t
29691
s,@ENABLE_SYSTRAY_GTK@,$ENABLE_SYSTRAY_GTK,;t t
29692
s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
29693
s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
29694
s,@ENABLE_CAIRO@,$ENABLE_CAIRO,;t t
29695
s,@BUILD_PIXMAN@,$BUILD_PIXMAN,;t t
29696
s,@SYSTEM_CAIRO@,$SYSTEM_CAIRO,;t t
29697
s,@ENABLE_OPENGL@,$ENABLE_OPENGL,;t t
29698
s,@ENABLE_PRESENTER_EXTRA_UI@,$ENABLE_PRESENTER_EXTRA_UI,;t t
29699
s,@ENABLE_MINIMIZER@,$ENABLE_MINIMIZER,;t t
29700
s,@ENABLE_PRESENTER_SCREEN@,$ENABLE_PRESENTER_SCREEN,;t t
29701
s,@POPPLER_CFLAGS@,$POPPLER_CFLAGS,;t t
29702
s,@POPPLER_LIBS@,$POPPLER_LIBS,;t t
29703
s,@ENABLE_PDFIMPORT@,$ENABLE_PDFIMPORT,;t t
29704
s,@SYSTEM_POPPLER@,$SYSTEM_POPPLER,;t t
29705
s,@ENABLE_MEDIAWIKI@,$ENABLE_MEDIAWIKI,;t t
29706
s,@SYSTEM_SERVLETAPI@,$SYSTEM_SERVLETAPI,;t t
29707
s,@SERVLETAPI_JAR@,$SERVLETAPI_JAR,;t t
29708
s,@ENABLE_REPORTBUILDER@,$ENABLE_REPORTBUILDER,;t t
29709
s,@SYSTEM_JFREEREPORT@,$SYSTEM_JFREEREPORT,;t t
29710
s,@SAC_JAR@,$SAC_JAR,;t t
29711
s,@LIBXML_JAR@,$LIBXML_JAR,;t t
29712
s,@FLUTE_JAR@,$FLUTE_JAR,;t t
29713
s,@JFREEREPORT_JAR@,$JFREEREPORT_JAR,;t t
29714
s,@LIBBASE_JAR@,$LIBBASE_JAR,;t t
29715
s,@LIBLAYOUT_JAR@,$LIBLAYOUT_JAR,;t t
29716
s,@LIBLOADER_JAR@,$LIBLOADER_JAR,;t t
29717
s,@LIBFORMULA_JAR@,$LIBFORMULA_JAR,;t t
29718
s,@LIBREPOSITORY_JAR@,$LIBREPOSITORY_JAR,;t t
29719
s,@LIBFONTS_JAR@,$LIBFONTS_JAR,;t t
29720
s,@LIBSERIALIZER_JAR@,$LIBSERIALIZER_JAR,;t t
29721
s,@SYSTEM_APACHE_COMMONS@,$SYSTEM_APACHE_COMMONS,;t t
29722
s,@COMMONS_CODEC_JAR@,$COMMONS_CODEC_JAR,;t t
29723
s,@COMMONS_LANG_JAR@,$COMMONS_LANG_JAR,;t t
29724
s,@COMMONS_HTTPCLIENT_JAR@,$COMMONS_HTTPCLIENT_JAR,;t t
29725
s,@COMMONS_LOGGING_JAR@,$COMMONS_LOGGING_JAR,;t t
29726
s,@MOC@,$MOC,;t t
29727
s,@KDE_CFLAGS@,$KDE_CFLAGS,;t t
29728
s,@KDE_LIBS@,$KDE_LIBS,;t t
29729
s,@MOC4@,$MOC4,;t t
29730
s,@KDE4_CFLAGS@,$KDE4_CFLAGS,;t t
29731
s,@KDE4_LIBS@,$KDE4_LIBS,;t t
29732
s,@ENABLE_LOCKDOWN@,$ENABLE_LOCKDOWN,;t t
29733
s,@GOBJECT_CFLAGS@,$GOBJECT_CFLAGS,;t t
29734
s,@GOBJECT_LIBS@,$GOBJECT_LIBS,;t t
29735
s,@ENABLE_EVOAB2@,$ENABLE_EVOAB2,;t t
29736
s,@ENABLE_KAB@,$ENABLE_KAB,;t t
29737
s,@WITH_FONTS@,$WITH_FONTS,;t t
29738
s,@WITHOUT_PPDS@,$WITHOUT_PPDS,;t t
29739
s,@WITHOUT_AFMS@,$WITHOUT_AFMS,;t t
29740
s,@SCPDEFS@,$SCPDEFS,;t t
29741
s,@USE_XINERAMA@,$USE_XINERAMA,;t t
29742
s,@XINERAMA_LINK@,$XINERAMA_LINK,;t t
29743
s,@ANT@,$ANT,;t t
29744
s,@ANT_HOME@,$ANT_HOME,;t t
29745
s,@ANT_LIB@,$ANT_LIB,;t t
29746
s,@WITH_LANG@,$WITH_LANG,;t t
29747
s,@WITH_POOR_HELP_LOCALIZATIONS@,$WITH_POOR_HELP_LOCALIZATIONS,;t t
29748
s,@WITH_DICT@,$WITH_DICT,;t t
29749
s,@INTRO_BITMAPS@,$INTRO_BITMAPS,;t t
29750
s,@ABOUT_BITMAPS@,$ABOUT_BITMAPS,;t t
29751
s,@OOO_VENDOR@,$OOO_VENDOR,;t t
29752
s,@UNIXWRAPPERNAME@,$UNIXWRAPPERNAME,;t t
29753
s,@ENABLE_STATIC_GTK@,$ENABLE_STATIC_GTK,;t t
29754
s,@ENABLE_LAYOUT@,$ENABLE_LAYOUT,;t t
29755
s,@VERBOSE@,$VERBOSE,;t t
29756
s,@LOCAL_SOLVER@,$LOCAL_SOLVER,;t t
29757
s,@BUILD_TYPE@,$BUILD_TYPE,;t t
29758
s,@LIBOBJS@,$LIBOBJS,;t t
29759
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29760
CEOF
29761
29762
_ACEOF
29763
29764
  cat >>$CONFIG_STATUS <<\_ACEOF
29765
  # Split the substitutions into bite-sized pieces for seds with
29766
  # small command number limits, like on Digital OSF/1 and HP-UX.
29767
  ac_max_sed_lines=48
29768
  ac_sed_frag=1 # Number of current file.
29769
  ac_beg=1 # First line for current file.
29770
  ac_end=$ac_max_sed_lines # Line after last line for current file.
29771
  ac_more_lines=:
29772
  ac_sed_cmds=
29773
  while $ac_more_lines; do
29774
    if test $ac_beg -gt 1; then
29775
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29776
    else
29777
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29778
    fi
29779
    if test ! -s $tmp/subs.frag; then
29780
      ac_more_lines=false
29781
    else
29782
      # The purpose of the label and of the branching condition is to
29783
      # speed up the sed processing (if there are no `@' at all, there
29784
      # is no need to browse any of the substitutions).
29785
      # These are the two extra sed commands mentioned above.
29786
      (echo ':t
29787
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29788
      if test -z "$ac_sed_cmds"; then
29789
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29790
      else
29791
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29792
      fi
29793
      ac_sed_frag=`expr $ac_sed_frag + 1`
29794
      ac_beg=$ac_end
29795
      ac_end=`expr $ac_end + $ac_max_sed_lines`
29796
    fi
29797
  done
29798
  if test -z "$ac_sed_cmds"; then
29799
    ac_sed_cmds=cat
29800
  fi
29801
fi # test -n "$CONFIG_FILES"
29802
29803
_ACEOF
29804
cat >>$CONFIG_STATUS <<\_ACEOF
29805
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29806
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29807
  case $ac_file in
29808
  - | *:- | *:-:* ) # input from stdin
29809
	cat >$tmp/stdin
29810
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29811
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29812
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29813
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29814
  * )   ac_file_in=$ac_file.in ;;
29815
  esac
29816
29817
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29818
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29819
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23603
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29820
	 X"$ac_file" : 'X\(//\)[^/]' \| \
23604
	 X"$ac_file" : 'X\(//\)[^/]' \| \
29821
	 X"$ac_file" : 'X\(//\)$' \| \
23605
	 X"$ac_file" : 'X\(//\)$' \| \
29822
	 X"$ac_file" : 'X\(/\)' \| \
23606
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29823
	 .     : '\(.\)' 2>/dev/null ||
23607
$as_echo X"$ac_file" |
29824
echo X"$ac_file" |
23608
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29825
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23609
	    s//\1/
29826
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23610
	    q
29827
  	  /^X\(\/\/\)$/{ s//\1/; q; }
23611
	  }
29828
  	  /^X\(\/\).*/{ s//\1/; q; }
23612
	  /^X\(\/\/\)[^/].*/{
29829
  	  s/.*/./; q'`
23613
	    s//\1/
29830
  { if $as_mkdir_p; then
23614
	    q
29831
    mkdir -p "$ac_dir"
23615
	  }
29832
  else
23616
	  /^X\(\/\/\)$/{
29833
    as_dir="$ac_dir"
23617
	    s//\1/
29834
    as_dirs=
23618
	    q
29835
    while test ! -d "$as_dir"; do
23619
	  }
29836
      as_dirs="$as_dir $as_dirs"
23620
	  /^X\(\/\).*/{
29837
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23621
	    s//\1/
29838
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23622
	    q
29839
	 X"$as_dir" : 'X\(//\)[^/]' \| \
23623
	  }
29840
	 X"$as_dir" : 'X\(//\)$' \| \
23624
	  s/.*/./; q'`
29841
	 X"$as_dir" : 'X\(/\)' \| \
23625
  as_dir="$ac_dir"; as_fn_mkdir_p
29842
	 .     : '\(.\)' 2>/dev/null ||
29843
echo X"$as_dir" |
29844
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29845
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29846
  	  /^X\(\/\/\)$/{ s//\1/; q; }
29847
  	  /^X\(\/\).*/{ s//\1/; q; }
29848
  	  s/.*/./; q'`
29849
    done
29850
    test ! -n "$as_dirs" || mkdir $as_dirs
29851
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29852
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29853
   { (exit 1); exit 1; }; }; }
29854
29855
  ac_builddir=.
23626
  ac_builddir=.
29856
23627
29857
if test "$ac_dir" != .; then
23628
case "$ac_dir" in
29858
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23629
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29859
  # A "../" for each directory in $ac_dir_suffix.
23630
*)
29860
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23631
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29861
else
23632
  # A ".." for each directory in $ac_dir_suffix.
29862
  ac_dir_suffix= ac_top_builddir=
23633
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29863
fi
23634
  case $ac_top_builddir_sub in
23635
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23636
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23637
  esac ;;
23638
esac
23639
ac_abs_top_builddir=$ac_pwd
23640
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23641
# for backward compatibility:
23642
ac_top_builddir=$ac_top_build_prefix
29864
23643
29865
case $srcdir in
23644
case $srcdir in
29866
  .)  # No --srcdir option.  We are building in place.
23645
  .)  # We are building in place.
29867
    ac_srcdir=.
23646
    ac_srcdir=.
29868
    if test -z "$ac_top_builddir"; then
23647
    ac_top_srcdir=$ac_top_builddir_sub
29869
       ac_top_srcdir=.
23648
    ac_abs_top_srcdir=$ac_pwd ;;
29870
    else
23649
  [\\/]* | ?:[\\/]* )  # Absolute name.
29871
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29872
    fi ;;
29873
  [\\/]* | ?:[\\/]* )  # Absolute path.
29874
    ac_srcdir=$srcdir$ac_dir_suffix;
23650
    ac_srcdir=$srcdir$ac_dir_suffix;
29875
    ac_top_srcdir=$srcdir ;;
23651
    ac_top_srcdir=$srcdir
29876
  *) # Relative path.
23652
    ac_abs_top_srcdir=$srcdir ;;
29877
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23653
  *) # Relative name.
29878
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23654
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29879
esac
23655
    ac_top_srcdir=$ac_top_build_prefix$srcdir
29880
23656
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29881
# Do not use `cd foo && pwd` to compute absolute paths, because
23657
esac
29882
# the directories may not exist.
23658
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29883
case `pwd` in
23659
29884
.) ac_abs_builddir="$ac_dir";;
23660
29885
*)
23661
  case $ac_mode in
29886
  case "$ac_dir" in
23662
  :F)
29887
  .) ac_abs_builddir=`pwd`;;
23663
  #
29888
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23664
  # CONFIG_FILE
29889
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23665
  #
29890
  esac;;
23666
29891
esac
23667
_ACEOF
29892
case $ac_abs_builddir in
23668
29893
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23669
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29894
*)
23670
# If the template does not know about datarootdir, expand it.
29895
  case ${ac_top_builddir}. in
23671
# FIXME: This hack should be removed a few years after 2.60.
29896
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23672
ac_datarootdir_hack=; ac_datarootdir_seen=
29897
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23673
ac_sed_dataroot='
29898
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23674
/datarootdir/ {
29899
  esac;;
23675
  p
29900
esac
23676
  q
29901
case $ac_abs_builddir in
23677
}
29902
.) ac_abs_srcdir=$ac_srcdir;;
23678
/@datadir@/p
29903
*)
23679
/@docdir@/p
29904
  case $ac_srcdir in
23680
/@infodir@/p
29905
  .) ac_abs_srcdir=$ac_abs_builddir;;
23681
/@localedir@/p
29906
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23682
/@mandir@/p'
29907
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23683
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29908
  esac;;
23684
*datarootdir*) ac_datarootdir_seen=yes;;
29909
esac
23685
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29910
case $ac_abs_builddir in
23686
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29911
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23687
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29912
*)
23688
_ACEOF
29913
  case $ac_top_srcdir in
23689
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29914
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23690
  ac_datarootdir_hack='
29915
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23691
  s&@datadir@&$datadir&g
29916
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23692
  s&@docdir@&$docdir&g
29917
  esac;;
23693
  s&@infodir@&$infodir&g
29918
esac
23694
  s&@localedir@&$localedir&g
29919
23695
  s&@mandir@&$mandir&g
29920
23696
  s&\\\${datarootdir}&$datarootdir&g' ;;
29921
23697
esac
29922
  if test x"$ac_file" != x-; then
23698
_ACEOF
29923
    { echo "$as_me:$LINENO: creating $ac_file" >&5
23699
29924
echo "$as_me: creating $ac_file" >&6;}
23700
# Neutralize VPATH when `$srcdir' = `.'.
29925
    rm -f "$ac_file"
23701
# Shell code in configure.ac might set extrasub.
29926
  fi
23702
# FIXME: do we really want to maintain this feature?
29927
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23703
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29928
  # use $as_me), people would be surprised to read:
23704
ac_sed_extra="$ac_vpsub
29929
  #    /* config.h.  Generated by config.status.  */
29930
  if test x"$ac_file" = x-; then
29931
    configure_input=
29932
  else
29933
    configure_input="$ac_file.  "
29934
  fi
29935
  configure_input=$configure_input"Generated from `echo $ac_file_in |
29936
				     sed 's,.*/,,'` by configure."
29937
29938
  # First look for the input files in the build tree, otherwise in the
29939
  # src tree.
29940
  ac_file_inputs=`IFS=:
29941
    for f in $ac_file_in; do
29942
      case $f in
29943
      -) echo $tmp/stdin ;;
29944
      [\\/$]*)
29945
	 # Absolute (can't be DOS-style, as IFS=:)
29946
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29947
echo "$as_me: error: cannot find input file: $f" >&2;}
29948
   { (exit 1); exit 1; }; }
29949
	 echo "$f";;
29950
      *) # Relative
29951
	 if test -f "$f"; then
29952
	   # Build tree
29953
	   echo "$f"
29954
	 elif test -f "$srcdir/$f"; then
29955
	   # Source tree
29956
	   echo "$srcdir/$f"
29957
	 else
29958
	   # /dev/null tree
29959
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29960
echo "$as_me: error: cannot find input file: $f" >&2;}
29961
   { (exit 1); exit 1; }; }
29962
	 fi;;
29963
      esac
29964
    done` || { (exit 1); exit 1; }
29965
_ACEOF
29966
cat >>$CONFIG_STATUS <<_ACEOF
29967
  sed "$ac_vpsub
29968
$extrasub
23705
$extrasub
29969
_ACEOF
23706
_ACEOF
29970
cat >>$CONFIG_STATUS <<\_ACEOF
23707
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29971
:t
23708
:t
29972
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23709
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29973
s,@configure_input@,$configure_input,;t t
23710
s|@configure_input@|$ac_sed_conf_input|;t t
29974
s,@srcdir@,$ac_srcdir,;t t
23711
s&@top_builddir@&$ac_top_builddir_sub&;t t
29975
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23712
s&@top_build_prefix@&$ac_top_build_prefix&;t t
29976
s,@top_srcdir@,$ac_top_srcdir,;t t
23713
s&@srcdir@&$ac_srcdir&;t t
29977
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23714
s&@abs_srcdir@&$ac_abs_srcdir&;t t
29978
s,@builddir@,$ac_builddir,;t t
23715
s&@top_srcdir@&$ac_top_srcdir&;t t
29979
s,@abs_builddir@,$ac_abs_builddir,;t t
23716
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29980
s,@top_builddir@,$ac_top_builddir,;t t
23717
s&@builddir@&$ac_builddir&;t t
29981
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23718
s&@abs_builddir@&$ac_abs_builddir&;t t
29982
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23719
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29983
  rm -f $tmp/stdin
23720
$ac_datarootdir_hack
29984
  if test x"$ac_file" != x-; then
23721
"
29985
    mv $tmp/out $ac_file
23722
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
29986
  else
23723
  || as_fn_error "could not create $ac_file" "$LINENO" 5
29987
    cat $tmp/out
23724
29988
    rm -f $tmp/out
23725
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29989
  fi
23726
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29990
23727
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29991
done
23728
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29992
_ACEOF
23729
which seems to be undefined.  Please make sure it is defined." >&5
29993
23730
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29994
cat >>$CONFIG_STATUS <<\_ACEOF
23731
which seems to be undefined.  Please make sure it is defined." >&2;}
29995
23732
29996
{ (exit 0); exit 0; }
23733
  rm -f "$tmp/stdin"
29997
_ACEOF
23734
  case $ac_file in
29998
chmod +x $CONFIG_STATUS
23735
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23736
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23737
  esac \
23738
  || as_fn_error "could not create $ac_file" "$LINENO" 5
23739
 ;;
23740
23741
23742
23743
  esac
23744
23745
done # for ac_tag
23746
23747
23748
as_fn_exit 0
23749
_ACEOF
29999
ac_clean_files=$ac_clean_files_save
23750
ac_clean_files=$ac_clean_files_save
30000
23751
23752
test $ac_write_fail = 0 ||
23753
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
23754
30001
23755
30002
# configure is writing to config.log, and then calls config.status.
23756
# configure is writing to config.log, and then calls config.status.
30003
# config.status does its own redirection, appending to config.log.
23757
# config.status does its own redirection, appending to config.log.
Lines 30017-30023 Link Here
30017
  exec 5>>config.log
23771
  exec 5>>config.log
30018
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23772
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30019
  # would make configure fail if this is the last instruction.
23773
  # would make configure fail if this is the last instruction.
30020
  $ac_cs_success || { (exit 1); exit 1; }
23774
  $ac_cs_success || as_fn_exit $?
23775
fi
23776
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23777
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23778
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30021
fi
23779
fi
30022
23780
30023
23781
(-)a/configure.in (-32 / +31 lines)
Lines 1269-1305 Link Here
1269
fi
1269
fi
1270
AC_SUBST(WITH_MYSPELL_DICTS)
1270
AC_SUBST(WITH_MYSPELL_DICTS)
1271
1271
1272
if test "$WITH_MYSPELL_DICTS" = "NO"; then
1272
AC_MSG_CHECKING([whether to use dicts from external paths])
1273
  AC_MSG_CHECKING([whether to use dicts from external paths])
1273
if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
1274
  if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
1274
 AC_MSG_RESULT([yes])
1275
	AC_MSG_RESULT([yes])
1275
 SYSTEM_DICTS=YES
1276
	SYSTEM_DICTS=YES
1276
 AC_MSG_CHECKING([for spelling dictionary directory])
1277
	AC_MSG_CHECKING([for spelling dictionary directory])
1277
 if test -n "$with_external_dict_dir"; then
1278
	if test -n "$with_external_dict_dir"; then
1278
 	DICT_SYSTEM_DIR=file://$with_external_dict_dir
1279
		DICT_SYSTEM_DIR=file://$with_external_dict_dir
1279
 else
1280
	else
1280
 	DICT_SYSTEM_DIR=file:///usr/share/hunspell
1281
		DICT_SYSTEM_DIR=file:///usr/share/hunspell
1281
 fi
1282
	fi
1282
 AC_MSG_RESULT([$DICT_SYSTEM_DIR])
1283
	AC_MSG_RESULT([$DICT_SYSTEM_DIR])
1283
 AC_MSG_CHECKING([for hyphenation patterns directory])
1284
	AC_MSG_CHECKING([for hyphenation patterns directory])
1284
 if test -n "$with_external_hyph_dir"; then
1285
	if test -n "$with_external_hyph_dir"; then
1285
 	HYPH_SYSTEM_DIR=file://$with_external_hyph_dir
1286
		HYPH_SYSTEM_DIR=file://$with_external_hyph_dir
1286
 else
1287
	else
1287
 	HYPH_SYSTEM_DIR=file:///usr/share/hyphen
1288
		HYPH_SYSTEM_DIR=file:///usr/share/hyphen
1288
 fi
1289
	fi
1289
 AC_MSG_RESULT([$HYPH_SYSTEM_DIR])
1290
	AC_MSG_RESULT([$HYPH_SYSTEM_DIR])
1290
 AC_MSG_CHECKING([for thesaurus directory])
1291
	AC_MSG_CHECKING([for thesaurus directory])
1291
 if test -n "$with_external_thes_dir"; then
1292
	if test -n "$with_external_thes_dir"; then
1292
 	THES_SYSTEM_DIR=file://$with_external_thes_dir
1293
		THES_SYSTEM_DIR=file://$with_external_thes_dir
1293
 else
1294
	else
1294
 	THES_SYSTEM_DIR=file:///usr/share/mythes
1295
		THES_SYSTEM_DIR=file:///usr/share/mythes
1295
 fi
1296
	fi
1296
 AC_MSG_RESULT([$THES_SYSTEM_DIR])
1297
	AC_MSG_RESULT([$THES_SYSTEM_DIR])
1297
else
1298
  else
1298
	AC_MSG_RESULT([no])
1299
  	AC_MSG_RESULT([no])
1299
	SYSTEM_DICTS=NO
1300
  	SYSTEM_DICTS=NO
1300
fi
1301
  fi
1301
1302
fi
1303
AC_SUBST(SYSTEM_DICTS)
1302
AC_SUBST(SYSTEM_DICTS)
1304
AC_SUBST(DICT_SYSTEM_DIR)
1303
AC_SUBST(DICT_SYSTEM_DIR)
1305
AC_SUBST(HYPH_SYSTEM_DIR)
1304
AC_SUBST(HYPH_SYSTEM_DIR)
Lines 3870-3876 Link Here
3870
	AC_MSG_CHECKING([MySQL version])
3869
	AC_MSG_CHECKING([MySQL version])
3871
	MYSQL_VERSION=`$MYSQLCONFIG --version` 
3870
	MYSQL_VERSION=`$MYSQLCONFIG --version` 
3872
	MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1`
3871
	MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1`
3873
	if test "$MYSQL_MAJOR" -ge "5"; then
3872
	if test "$MYSQL_MAJOR" -ge "2"; then
3874
		AC_MSG_RESULT([OK])
3873
		AC_MSG_RESULT([OK])
3875
	else
3874
	else
3876
		AC_MSG_ERROR([too old, use 5.0.x or 5.1.x])
3875
		AC_MSG_ERROR([too old, use 5.0.x or 5.1.x])
(-)a/dbaccess/source/core/misc/userinformation.cxx (-1 / +1 lines)
Lines 53-59 Link Here
53
UserInformation::UserInformation()
53
UserInformation::UserInformation()
54
{
54
{
55
	Any aValue = ConfigManager::GetDirectConfigProperty(ConfigManager::LOCALE);
55
	Any aValue = ConfigManager::GetDirectConfigProperty(ConfigManager::LOCALE);
56
	LanguageType eLanguage = MsLangId::convertIsoStringToLanguage(comphelper::getString(aValue),'-');
56
	LanguageType eLanguage = MsLangId::convertIsoStringToLanguage(comphelper::getString(aValue));
57
	m_aUserLocale = MsLangId::convertLanguageToLocale(eLanguage);
57
	m_aUserLocale = MsLangId::convertLanguageToLocale(eLanguage);
58
}
58
}
59
59
(-)a/i18npool/inc/i18npool/mslangid.hxx (-12 / +13 lines)
Lines 167-192 Link Here
167
    // -----------------------------
167
    // -----------------------------
168
168
169
    static void convertLanguageToIsoNames( LanguageType nLang,
169
    static void convertLanguageToIsoNames( LanguageType nLang,
170
            rtl::OUString& rLangStr, rtl::OUString& rCountry );
170
            rtl::OUString& rLanguageSubtag, rtl::OUString& rRegionSubtag,
171
            rtl::OUString& rOtherSubtags );
171
    static void convertLanguageToIsoNames( LanguageType nLang,
172
    static void convertLanguageToIsoNames( LanguageType nLang,
172
            rtl::OString& rLangStr, rtl::OString& rCountry );
173
            rtl::OString& rLanguageSubtag, rtl::OString& rRegionSubtag,
173
    static rtl::OUString convertLanguageToIsoString( LanguageType nLang,
174
            rtl::OString& rOtherSubtags );
174
            sal_Unicode cSep = '-' );
175
    static rtl::OUString convertLanguageToIsoString( LanguageType nLang );
175
    static rtl::OString convertLanguageToIsoByteString( LanguageType nLang,
176
    static rtl::OString convertLanguageToIsoByteString( LanguageType nLang );
176
            sal_Char cSep = '-' );
177
177
178
    // -----------------------------
178
    // -----------------------------
179
    // - ConvertIsoNamesToLanguage -
179
    // - ConvertIsoNamesToLanguage -
180
    // -----------------------------
180
    // -----------------------------
181
181
182
    static LanguageType convertIsoNamesToLanguage( const rtl::OUString& rLang,
182
    static LanguageType convertIsoNamesToLanguage( const rtl::OUString& rLanguageSubtag,
183
            const rtl::OUString& rCountry );
183
            const rtl::OUString& rRegionSubtag, const rtl::OUString& rOtherSubtags );
184
    static LanguageType convertIsoNamesToLanguage( const rtl::OString& rLang,
184
    static LanguageType convertIsoNamesToLanguage( const rtl::OString& rLanguageSubtag,
185
            const rtl::OString& rCountry );
185
            const rtl::OString& rRegionSubtag, const rtl::OString& rOtherSubtags );
186
    static LanguageType convertIsoStringToLanguage(
186
    static LanguageType convertIsoStringToLanguage(
187
            const rtl::OUString& rString, sal_Unicode cSep = '-' );
187
            const rtl::OUString& rString );
188
    static LanguageType convertIsoByteStringToLanguage(
188
    static LanguageType convertIsoByteStringToLanguage(
189
            const rtl::OString& rString, sal_Char cSep = '-' );
189
            const rtl::OString& rString );
190
    static LanguageType convertUnxByteStringToLanguage(
190
    static LanguageType convertUnxByteStringToLanguage(
191
            const rtl::OString& rString );
191
            const rtl::OString& rString );
192
192
Lines 259-264 Link Here
259
        LanguageType  mnLang;
259
        LanguageType  mnLang;
260
        sal_Char      maLangStr[4];
260
        sal_Char      maLangStr[4];
261
        sal_Char      maCountry[3];
261
        sal_Char      maCountry[3];
262
        sal_Char      maScriptOverride[5];
262
    };
263
    };
263
264
264
    /** @internal - Return a pointer to the IsoLangEntry of the underlying table,
265
    /** @internal - Return a pointer to the IsoLangEntry of the underlying table,
(-)a/i18npool/source/isolang/inunx.cxx (+2 lines)
Lines 43-48 Link Here
43
#include <rtl/instance.hxx>
43
#include <rtl/instance.hxx>
44
#include "i18npool/mslangid.hxx"
44
#include "i18npool/mslangid.hxx"
45
45
46
#include <stdio.h>
47
46
// =======================================================================
48
// =======================================================================
47
49
48
static LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW;
50
static LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW;
(-)a/i18npool/source/isolang/isolang.cxx (-427 / +599 lines)
Lines 34-39 Link Here
34
34
35
#include "i18npool/mslangid.hxx"
35
#include "i18npool/mslangid.hxx"
36
36
37
#include <deque>
38
#include <stdio.h>
39
37
// =======================================================================
40
// =======================================================================
38
41
39
struct IsoLangEngEntry
42
struct IsoLangEngEntry
Lines 101-456 Link Here
101
static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
104
static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
102
{
105
{
103
    // MS-LANGID codes               ISO639-1/2/3 ISO3166
106
    // MS-LANGID codes               ISO639-1/2/3 ISO3166
104
    { LANGUAGE_ENGLISH,                     "en", ""   },
107
    { LANGUAGE_ENGLISH,                     "en", "",   ""   },
105
    { LANGUAGE_ENGLISH_US,                  "en", "US" },
108
    { LANGUAGE_ENGLISH_US,                  "en", "US", "" },
106
    { LANGUAGE_ENGLISH_UK,                  "en", "GB" },
109
    { LANGUAGE_ENGLISH_UK,                  "en", "GB", "" },
107
    { LANGUAGE_ENGLISH_AUS,                 "en", "AU" },
110
    { LANGUAGE_ENGLISH_AUS,                 "en", "AU", "" },
108
    { LANGUAGE_ENGLISH_CAN,                 "en", "CA" },
111
    { LANGUAGE_ENGLISH_CAN,                 "en", "CA", "" },
109
    { LANGUAGE_FRENCH,                      "fr", "FR" },
112
    { LANGUAGE_FRENCH,                      "fr", "FR", "" },
110
    { LANGUAGE_FRENCH,                      "fr", ""   },
113
    { LANGUAGE_FRENCH,                      "fr", "",   ""  },
111
    { LANGUAGE_GERMAN,                      "de", "DE" },
114
    { LANGUAGE_GERMAN,                      "de", "DE", "" },
112
    { LANGUAGE_ITALIAN,                     "it", "IT" },
115
    { LANGUAGE_ITALIAN,                     "it", "IT", "" },
113
    { LANGUAGE_DUTCH,                       "nl", "NL" },
116
    { LANGUAGE_DUTCH,                       "nl", "NL", "" },
114
    { LANGUAGE_SPANISH_MODERN,              "es", "ES" },
117
    { LANGUAGE_SPANISH_MODERN,              "es", "ES", "" },
115
    { LANGUAGE_SPANISH_DATED,               "es", "ES" },
118
    { LANGUAGE_SPANISH_DATED,               "es", "ES", "" },
116
    { LANGUAGE_PORTUGUESE,                  "pt", "PT" },
119
    { LANGUAGE_PORTUGUESE,                  "pt", "PT", "" },
117
    { LANGUAGE_PORTUGUESE_BRAZILIAN,        "pt", "BR" },
120
    { LANGUAGE_PORTUGUESE_BRAZILIAN,        "pt", "BR", "" },
118
    { LANGUAGE_DANISH,                      "da", "DK" },
121
    { LANGUAGE_DANISH,                      "da", "DK", "" },
119
    { LANGUAGE_GREEK,                       "el", "GR" },
122
    { LANGUAGE_GREEK,                       "el", "GR", "" },
120
    { LANGUAGE_CHINESE,                     "zh", ""   },
123
    { LANGUAGE_CHINESE,                     "zh", "",   "" },
121
    { LANGUAGE_CHINESE_SIMPLIFIED,          "zh", "CN" },
124
    { LANGUAGE_CHINESE_SIMPLIFIED,          "zh", "CN", "" },
122
    { LANGUAGE_CHINESE_TRADITIONAL,         "zh", "TW" },
125
    { LANGUAGE_CHINESE_TRADITIONAL,         "zh", "TW", "" },
123
    { LANGUAGE_CHINESE_HONGKONG,            "zh", "HK" },
126
    { LANGUAGE_CHINESE_HONGKONG,            "zh", "HK", "" },
124
    { LANGUAGE_CHINESE_SINGAPORE,           "zh", "SG" },
127
    { LANGUAGE_CHINESE_SINGAPORE,           "zh", "SG", "" },
125
    { LANGUAGE_CHINESE_MACAU,               "zh", "MO" },
128
    { LANGUAGE_CHINESE_MACAU,               "zh", "MO", "" },
126
    { LANGUAGE_ENGLISH_HONG_KONG_SAR,       "en", "HK" },
129
    { LANGUAGE_ENGLISH_HONG_KONG_SAR,       "en", "HK", "" },
127
    { LANGUAGE_JAPANESE,                    "ja", "JP" },
130
    { LANGUAGE_JAPANESE,                    "ja", "JP", "" },
128
    { LANGUAGE_KOREAN,                      "ko", "KR" },
131
    { LANGUAGE_KOREAN,                      "ko", "KR", "" },
129
    { LANGUAGE_KOREAN_JOHAB,                "ko", "KR" },
132
    { LANGUAGE_KOREAN_JOHAB,                "ko", "KR", "" },
130
    { LANGUAGE_USER_KOREAN_NORTH,           "ko", "KP" },
133
    { LANGUAGE_USER_KOREAN_NORTH,           "ko", "KP", "" },
131
    { LANGUAGE_SWEDISH,                     "sv", "SE" },
134
    { LANGUAGE_SWEDISH,                     "sv", "SE", "" },
132
    { LANGUAGE_SWEDISH_FINLAND,             "sv", "FI" },
135
    { LANGUAGE_SWEDISH_FINLAND,             "sv", "FI", "" },
133
    { LANGUAGE_FINNISH,                     "fi", "FI" },
136
    { LANGUAGE_FINNISH,                     "fi", "FI", "" },
134
    { LANGUAGE_RUSSIAN,                     "ru", "RU" },
137
    { LANGUAGE_RUSSIAN,                     "ru", "RU", "" },
135
    { LANGUAGE_TATAR,                       "tt", "RU" },
138
    { LANGUAGE_TATAR,                       "tt", "RU", "" },
136
    { LANGUAGE_ENGLISH_NZ,                  "en", "NZ" },
139
    { LANGUAGE_ENGLISH_NZ,                  "en", "NZ", "" },
137
    { LANGUAGE_ENGLISH_EIRE,                "en", "IE" },
140
    { LANGUAGE_ENGLISH_EIRE,                "en", "IE", "" },
138
    { LANGUAGE_DUTCH_BELGIAN,               "nl", "BE" },
141
    { LANGUAGE_DUTCH_BELGIAN,               "nl", "BE", "" },
139
    { LANGUAGE_FRENCH_BELGIAN,              "fr", "BE" },
142
    { LANGUAGE_FRENCH_BELGIAN,              "fr", "BE", "" },
140
    { LANGUAGE_FRENCH_CANADIAN,             "fr", "CA" },
143
    { LANGUAGE_FRENCH_CANADIAN,             "fr", "CA", "" },
141
    { LANGUAGE_FRENCH_SWISS,                "fr", "CH" },
144
    { LANGUAGE_FRENCH_SWISS,                "fr", "CH", "" },
142
    { LANGUAGE_GERMAN_SWISS,                "de", "CH" },
145
    { LANGUAGE_GERMAN_SWISS,                "de", "CH", "" },
143
    { LANGUAGE_GERMAN_AUSTRIAN,             "de", "AT" },
146
    { LANGUAGE_GERMAN_AUSTRIAN,             "de", "AT", "" },
144
    { LANGUAGE_ITALIAN_SWISS,               "it", "CH" },
147
    { LANGUAGE_ITALIAN_SWISS,               "it", "CH", "" },
145
    { LANGUAGE_ALBANIAN,                    "sq", "AL" },
148
    { LANGUAGE_ALBANIAN,                    "sq", "AL", "" },
146
    { LANGUAGE_ARABIC_SAUDI_ARABIA,         "ar", "SA" },
149
    { LANGUAGE_ARABIC_SAUDI_ARABIA,         "ar", "SA", "" },
147
    { LANGUAGE_ARABIC_EGYPT,                "ar", "EG" },
150
    { LANGUAGE_ARABIC_EGYPT,                "ar", "EG", "" },
148
    { LANGUAGE_ARABIC_UAE,                  "ar", "AE" },
151
    { LANGUAGE_ARABIC_UAE,                  "ar", "AE", "" },
149
    { LANGUAGE_ARABIC_IRAQ,                 "ar", "IQ" },
152
    { LANGUAGE_ARABIC_IRAQ,                 "ar", "IQ", "" },
150
    { LANGUAGE_ARABIC_LIBYA,                "ar", "LY" },
153
    { LANGUAGE_ARABIC_LIBYA,                "ar", "LY", "" },
151
    { LANGUAGE_ARABIC_ALGERIA,              "ar", "DZ" },
154
    { LANGUAGE_ARABIC_ALGERIA,              "ar", "DZ", "" },
152
    { LANGUAGE_ARABIC_MOROCCO,              "ar", "MA" },
155
    { LANGUAGE_ARABIC_MOROCCO,              "ar", "MA", "" },
153
    { LANGUAGE_ARABIC_TUNISIA,              "ar", "TN" },
156
    { LANGUAGE_ARABIC_TUNISIA,              "ar", "TN", "" },
154
    { LANGUAGE_ARABIC_OMAN,                 "ar", "OM" },
157
    { LANGUAGE_ARABIC_OMAN,                 "ar", "OM", "" },
155
    { LANGUAGE_ARABIC_YEMEN,                "ar", "YE" },
158
    { LANGUAGE_ARABIC_YEMEN,                "ar", "YE", "" },
156
    { LANGUAGE_ARABIC_SYRIA,                "ar", "SY" },
159
    { LANGUAGE_ARABIC_SYRIA,                "ar", "SY", "" },
157
    { LANGUAGE_ARABIC_JORDAN,               "ar", "JO" },
160
    { LANGUAGE_ARABIC_JORDAN,               "ar", "JO", "" },
158
    { LANGUAGE_ARABIC_LEBANON,              "ar", "LB" },
161
    { LANGUAGE_ARABIC_LEBANON,              "ar", "LB", "" },
159
    { LANGUAGE_ARABIC_KUWAIT,               "ar", "KW" },
162
    { LANGUAGE_ARABIC_KUWAIT,               "ar", "KW", "" },
160
    { LANGUAGE_ARABIC_BAHRAIN,              "ar", "BH" },
163
    { LANGUAGE_ARABIC_BAHRAIN,              "ar", "BH", "" },
161
    { LANGUAGE_ARABIC_QATAR,                "ar", "QA" },
164
    { LANGUAGE_ARABIC_QATAR,                "ar", "QA", "" },
162
    { LANGUAGE_USER_ARABIC_CHAD,            "ar", "TD" },
165
    { LANGUAGE_USER_ARABIC_CHAD,            "ar", "TD", "" },
163
    { LANGUAGE_USER_ARABIC_COMOROS,         "ar", "KM" },
166
    { LANGUAGE_USER_ARABIC_COMOROS,         "ar", "KM", "" },
164
    { LANGUAGE_USER_ARABIC_DJIBOUTI,        "ar", "DJ" },
167
    { LANGUAGE_USER_ARABIC_DJIBOUTI,        "ar", "DJ", "" },
165
    { LANGUAGE_USER_ARABIC_ERITREA,         "ar", "ER" },
168
    { LANGUAGE_USER_ARABIC_ERITREA,         "ar", "ER", "" },
166
    { LANGUAGE_USER_ARABIC_ISRAEL,          "ar", "IL" },
169
    { LANGUAGE_USER_ARABIC_ISRAEL,          "ar", "IL", "" },
167
    { LANGUAGE_USER_ARABIC_MAURITANIA,      "ar", "MR" },
170
    { LANGUAGE_USER_ARABIC_MAURITANIA,      "ar", "MR", "" },
168
    { LANGUAGE_USER_ARABIC_PALESTINE,       "ar", "PS" },
171
    { LANGUAGE_USER_ARABIC_PALESTINE,       "ar", "PS", "" },
169
    { LANGUAGE_USER_ARABIC_SOMALIA,         "ar", "SO" },
172
    { LANGUAGE_USER_ARABIC_SOMALIA,         "ar", "SO", "" },
170
    { LANGUAGE_USER_ARABIC_SUDAN,           "ar", "SD" },
173
    { LANGUAGE_USER_ARABIC_SUDAN,           "ar", "SD", "" },
171
    { LANGUAGE_ARABIC_PRIMARY_ONLY,         "ar", ""   },
174
    { LANGUAGE_ARABIC_PRIMARY_ONLY,         "ar", "",   "" },
172
    { LANGUAGE_BASQUE,                      "eu", ""   },
175
    { LANGUAGE_BASQUE,                      "eu", "",   "" },
173
    { LANGUAGE_BULGARIAN,                   "bg", "BG" },
176
    { LANGUAGE_BULGARIAN,                   "bg", "BG", "" },
174
    { LANGUAGE_CZECH,                       "cs", "CZ" },
177
    { LANGUAGE_CZECH,                       "cs", "CZ", "" },
175
    { LANGUAGE_CZECH,                       "cz", ""   },
178
    { LANGUAGE_CZECH,                       "cz", "",   "" },
176
    { LANGUAGE_ENGLISH_JAMAICA,             "en", "JM" },
179
    { LANGUAGE_ENGLISH_JAMAICA,             "en", "JM", "" },
177
    { LANGUAGE_ENGLISH_CARRIBEAN,           "en", "BS" },   // not 100%, because AG is Bahamas
180
    { LANGUAGE_ENGLISH_CARRIBEAN,           "en", "BS", "" },   // not 100%, because AG is Bahamas
178
    { LANGUAGE_ENGLISH_BELIZE,              "en", "BZ" },
181
    { LANGUAGE_ENGLISH_BELIZE,              "en", "BZ", "" },
179
    { LANGUAGE_ENGLISH_TRINIDAD,            "en", "TT" },
182
    { LANGUAGE_ENGLISH_TRINIDAD,            "en", "TT", "" },
180
    { LANGUAGE_ENGLISH_ZIMBABWE,            "en", "ZW" },
183
    { LANGUAGE_ENGLISH_ZIMBABWE,            "en", "ZW", "" },
181
    { LANGUAGE_ENGLISH_INDONESIA,           "en", "ID" },
184
    { LANGUAGE_ENGLISH_INDONESIA,           "en", "ID", "" },
182
    { LANGUAGE_ESTONIAN,                    "et", "EE" },
185
    { LANGUAGE_ESTONIAN,                    "et", "EE", "" },
183
    { LANGUAGE_FAEROESE,                    "fo", "FO" },
186
    { LANGUAGE_FAEROESE,                    "fo", "FO", "" },
184
    { LANGUAGE_FARSI,                       "fa", "IR" },
187
    { LANGUAGE_FARSI,                       "fa", "IR", "" },
185
    { LANGUAGE_FRENCH_LUXEMBOURG,           "fr", "LU" },
188
    { LANGUAGE_FRENCH_LUXEMBOURG,           "fr", "LU", "" },
186
    { LANGUAGE_FRENCH_MONACO,               "fr", "MC" },
189
    { LANGUAGE_FRENCH_MONACO,               "fr", "MC", "" },
187
    { LANGUAGE_GERMAN_LUXEMBOURG,           "de", "LU" },
190
    { LANGUAGE_GERMAN_LUXEMBOURG,           "de", "LU", "" },
188
    { LANGUAGE_GERMAN_LIECHTENSTEIN,        "de", "LI" },
191
    { LANGUAGE_GERMAN_LIECHTENSTEIN,        "de", "LI", "" },
189
    { LANGUAGE_HEBREW,                      "he", "IL" },   // new: old was "iw"
192
    { LANGUAGE_HEBREW,                      "he", "IL", "" },   // new: old was "iw"
190
    { LANGUAGE_HEBREW,                      "iw", "IL" },   // old: new is "he"
193
    { LANGUAGE_HEBREW,                      "iw", "IL", "" },   // old: new is "he"
191
    { LANGUAGE_HUNGARIAN,                   "hu", "HU" },
194
    { LANGUAGE_HUNGARIAN,                   "hu", "HU", "" },
192
    { LANGUAGE_ICELANDIC,                   "is", "IS" },
195
    { LANGUAGE_ICELANDIC,                   "is", "IS", "" },
193
    { LANGUAGE_INDONESIAN,                  "id", "ID" },   // new: old was "in"
196
    { LANGUAGE_INDONESIAN,                  "id", "ID", "" },   // new: old was "in"
194
    { LANGUAGE_INDONESIAN,                  "in", "ID" },   // old: new is "id"
197
    { LANGUAGE_INDONESIAN,                  "in", "ID", "" },   // old: new is "id"
195
    { LANGUAGE_NORWEGIAN,                   "no", "NO" },
198
    { LANGUAGE_NORWEGIAN,                   "no", "NO", "" },
196
    { LANGUAGE_NORWEGIAN_BOKMAL,            "nb", "NO" },
199
    { LANGUAGE_NORWEGIAN_BOKMAL,            "nb", "NO", "" },
197
    { LANGUAGE_NORWEGIAN_NYNORSK,           "nn", "NO" },
200
    { LANGUAGE_NORWEGIAN_NYNORSK,           "nn", "NO", "" },
198
    { LANGUAGE_POLISH,                      "pl", "PL" },
201
    { LANGUAGE_POLISH,                      "pl", "PL", "" },
199
    { LANGUAGE_RHAETO_ROMAN,                "rm", "CH" },
202
    { LANGUAGE_RHAETO_ROMAN,                "rm", "CH", "" },
200
    { LANGUAGE_ROMANIAN,                    "ro", "RO" },
203
    { LANGUAGE_ROMANIAN,                    "ro", "RO", "" },
201
    { LANGUAGE_ROMANIAN_MOLDOVA,            "ro", "MD" },
204
    { LANGUAGE_ROMANIAN_MOLDOVA,            "ro", "MD", "" },
202
    { LANGUAGE_SLOVAK,                      "sk", "SK" },
205
    { LANGUAGE_SLOVAK,                      "sk", "SK", "" },
203
    { LANGUAGE_SLOVENIAN,                   "sl", "SI" },
206
    { LANGUAGE_SLOVENIAN,                   "sl", "SI", "" },
204
    { LANGUAGE_SPANISH_MEXICAN,             "es", "MX" },
207
    { LANGUAGE_SPANISH_MEXICAN,             "es", "MX", "" },
205
    { LANGUAGE_SPANISH_GUATEMALA,           "es", "GT" },
208
    { LANGUAGE_SPANISH_GUATEMALA,           "es", "GT", "" },
206
    { LANGUAGE_SPANISH_COSTARICA,           "es", "CR" },
209
    { LANGUAGE_SPANISH_COSTARICA,           "es", "CR", "" },
207
    { LANGUAGE_SPANISH_PANAMA,              "es", "PA" },
210
    { LANGUAGE_SPANISH_PANAMA,              "es", "PA", "" },
208
    { LANGUAGE_SPANISH_DOMINICAN_REPUBLIC,  "es", "DO" },
211
    { LANGUAGE_SPANISH_DOMINICAN_REPUBLIC,  "es", "DO", "" },
209
    { LANGUAGE_SPANISH_VENEZUELA,           "es", "VE" },
212
    { LANGUAGE_SPANISH_VENEZUELA,           "es", "VE", "" },
210
    { LANGUAGE_SPANISH_COLOMBIA,            "es", "CO" },
213
    { LANGUAGE_SPANISH_COLOMBIA,            "es", "CO", "" },
211
    { LANGUAGE_SPANISH_PERU,                "es", "PE" },
214
    { LANGUAGE_SPANISH_PERU,                "es", "PE", "" },
212
    { LANGUAGE_SPANISH_ARGENTINA,           "es", "AR" },
215
    { LANGUAGE_SPANISH_ARGENTINA,           "es", "AR", "" },
213
    { LANGUAGE_SPANISH_ECUADOR,             "es", "EC" },
216
    { LANGUAGE_SPANISH_ECUADOR,             "es", "EC", "" },
214
    { LANGUAGE_SPANISH_CHILE,               "es", "CL" },
217
    { LANGUAGE_SPANISH_CHILE,               "es", "CL", "" },
215
    { LANGUAGE_SPANISH_URUGUAY,             "es", "UY" },
218
    { LANGUAGE_SPANISH_URUGUAY,             "es", "UY", "" },
216
    { LANGUAGE_SPANISH_PARAGUAY,            "es", "PY" },
219
    { LANGUAGE_SPANISH_PARAGUAY,            "es", "PY", "" },
217
    { LANGUAGE_SPANISH_BOLIVIA,             "es", "BO" },
220
    { LANGUAGE_SPANISH_BOLIVIA,             "es", "BO", "" },
218
    { LANGUAGE_SPANISH_EL_SALVADOR,         "es", "SV" },
221
    { LANGUAGE_SPANISH_EL_SALVADOR,         "es", "SV", "" },
219
    { LANGUAGE_SPANISH_HONDURAS,            "es", "HN" },
222
    { LANGUAGE_SPANISH_HONDURAS,            "es", "HN", "" },
220
    { LANGUAGE_SPANISH_NICARAGUA,           "es", "NI" },
223
    { LANGUAGE_SPANISH_NICARAGUA,           "es", "NI", "" },
221
    { LANGUAGE_SPANISH_PUERTO_RICO,         "es", "PR" },
224
    { LANGUAGE_SPANISH_PUERTO_RICO,         "es", "PR", "" },
222
    { LANGUAGE_SPANISH_UNITED_STATES,       "es", "US" },
225
    { LANGUAGE_SPANISH_UNITED_STATES,       "es", "US", "" },
223
    { LANGUAGE_SPANISH_LATIN_AMERICA,       "es", ""   },
226
    { LANGUAGE_SPANISH_LATIN_AMERICA,       "es", ""  , "" },
224
    { LANGUAGE_TURKISH,                     "tr", "TR" },
227
    { LANGUAGE_TURKISH,                     "tr", "TR", "" },
225
    { LANGUAGE_UKRAINIAN,                   "uk", "UA" },
228
    { LANGUAGE_UKRAINIAN,                   "uk", "UA", "" },
226
    { LANGUAGE_VIETNAMESE,                  "vi", "VN" },
229
    { LANGUAGE_VIETNAMESE,                  "vi", "VN", "" },
227
    { LANGUAGE_LATVIAN,                     "lv", "LV" },
230
    { LANGUAGE_LATVIAN,                     "lv", "LV", "" },
228
    { LANGUAGE_MACEDONIAN,                  "mk", "MK" },
231
    { LANGUAGE_MACEDONIAN,                  "mk", "MK", "" },
229
    { LANGUAGE_MALAY,                       "ms", ""   },
232
    { LANGUAGE_MALAY,                       "ms", ""  , "" },
230
    { LANGUAGE_MALAY_MALAYSIA,              "ms", "MY" },
233
    { LANGUAGE_MALAY_MALAYSIA,              "ms", "MY", "" },
231
    { LANGUAGE_MALAY_BRUNEI_DARUSSALAM,     "ms", "BN" },
234
    { LANGUAGE_MALAY_BRUNEI_DARUSSALAM,     "ms", "BN", "" },
232
    { LANGUAGE_ENGLISH_MALAYSIA,            "en", "MY" },
235
    { LANGUAGE_ENGLISH_MALAYSIA,            "en", "MY", "" },
233
    { LANGUAGE_THAI,                        "th", "TH" },
236
    { LANGUAGE_THAI,                        "th", "TH", "" },
234
    { LANGUAGE_LITHUANIAN,                  "lt", "LT" },
237
    { LANGUAGE_LITHUANIAN,                  "lt", "LT", "" },
235
    { LANGUAGE_LITHUANIAN_CLASSIC,          "lt", "LT" },
238
    { LANGUAGE_LITHUANIAN_CLASSIC,          "lt", "LT", "" },
236
    { LANGUAGE_CROATIAN,                    "hr", "HR" },   // Croatian in Croatia
239
    { LANGUAGE_CROATIAN,                    "hr", "HR", "" },   // Croatian in Croatia
237
    { LANGUAGE_CROATIAN_BOSNIA_HERZEGOVINA, "hr", "BA" },
240
    { LANGUAGE_CROATIAN_BOSNIA_HERZEGOVINA, "hr", "BA", "" },
238
    { LANGUAGE_BOSNIAN_LATIN_BOSNIA_HERZEGOVINA,        "bs", "BA" },
241
    { LANGUAGE_BOSNIAN_LATIN_BOSNIA_HERZEGOVINA,        "bs", "BA", "" },
239
//  { LANGUAGE_BOSNIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA, "bs", "BA" },   // script codes not supported yet
242
    { LANGUAGE_BOSNIAN_CYRILLIC_BOSNIA_HERZEGOVINA, "bs", "BA", "Cyrl" },   // script codes not supported yet
240
    { LANGUAGE_USER_SERBIAN_CYRILLIC_SERBIA,        "sr", "RS" },   // Serbian Cyrillic in Serbia
243
    { LANGUAGE_USER_SERBIAN_CYRILLIC_SERBIA,        "sr", "RS", "" },   // Serbian Cyrillic in Serbia
241
    { LANGUAGE_SERBIAN_CYRILLIC,                    "sr", "YU" },   // legacy Serbian Cyrillic in Serbia and Montenegro (former Yugoslavia); kludge, needed to be sr_CS instead, sr_CS not supported by ICU 2.6 (3.4 does)
244
    { LANGUAGE_SERBIAN_CYRILLIC,                    "sr", "YU", "" },   // legacy Serbian Cyrillic in Serbia and Montenegro (former Yugoslavia); kludge, needed to be sr_CS instead, sr_CS not supported by ICU 2.6 (3.4 does)
242
    { LANGUAGE_SERBIAN_CYRILLIC,                    "sr", "CS" },   // alias to be able to integrate localizations, rsc needs it
245
    { LANGUAGE_SERBIAN_CYRILLIC,                    "sr", "CS", "" },   // alias to be able to integrate localizations, rsc needs it
243
    { LANGUAGE_USER_SERBIAN_CYRILLIC_MONTENEGRO,    "sr", "ME" },
246
    { LANGUAGE_USER_SERBIAN_CYRILLIC_MONTENEGRO,    "sr", "ME", "" },
244
    { LANGUAGE_SERBIAN_CYRILLIC_BOSNIA_HERZEGOVINA, "sr", "BA" },
247
    { LANGUAGE_SERBIAN_CYRILLIC_BOSNIA_HERZEGOVINA, "sr", "BA", "" },
245
    { LANGUAGE_SERBIAN,                             "sr", ""   },   // SERBIAN is only LID, MS-LCID not defined (was dupe of CROATIAN)
248
    { LANGUAGE_SERBIAN,                             "sr", ""  , "" },   // SERBIAN is only LID, MS-LCID not defined (was dupe of CROATIAN)
246
    { LANGUAGE_USER_SERBIAN_LATIN_SERBIA,           "sh", "RS" },   // Serbian Latin in Serbia; kludge, needed to be sr_Latn_RS instead, script codes not supported yet
249
    { LANGUAGE_USER_SERBIAN_LATIN_SERBIA,           "sh", "RS", "" },   // Serbian Latin in Serbia; kludge, sr_Latn_RS is better, but preferred for backwards compatibility where script codes are not support
247
    { LANGUAGE_SERBIAN_LATIN,                       "sh", "YU" },   // legacy Serbian Latin in Serbia and Montenegro (former Yugoslavia); kludge, needed to be sr_Latn_CS instead, script codes not supported yet
250
    { LANGUAGE_USER_SERBIAN_LATIN_SERBIA,           "sr", "RS", "Latn" },   // Serbian Latin in Serbia
248
    { LANGUAGE_SERBIAN_LATIN,                       "sh", "CS" },   // Serbian Latin in Serbia and Montenegro; kludge, needed to be sr_Latn_CS instead, script codes not supported yet
251
    { LANGUAGE_SERBIAN_LATIN,                       "sh", "YU", "" },   // legacy Serbian Latin in Serbia and Montenegro (former Yugoslavia); kludge, needed to be sr_Latn_CS instead, script codes not supported yet
249
    { LANGUAGE_USER_SERBIAN_LATIN_MONTENEGRO,       "sh", "ME" },   // Serbian Latin in Montenegro; kludge, needed to be sr_Latn_ME instead, script codes not supported yet
252
    { LANGUAGE_SERBIAN_LATIN,                       "sr", "YU", "Latn" },   // legacy Serbian Latin in Serbia and Montenegro (former Yugoslavia);
250
    { LANGUAGE_SERBIAN_LATIN_BOSNIA_HERZEGOVINA,    "sh", "BA" },
253
    { LANGUAGE_SERBIAN_LATIN,                       "sh", "CS", "" },   // Serbian Latin in Serbia and Montenegro; kludge, sr_Latn_CS is better, but preferred for backwards compatibility where script codes are not support
251
    { LANGUAGE_SERBIAN_LATIN_NEUTRAL,               "sh", ""   },   // kludge, needed to be sr_Latn instead, script codes not supported yet
254
    { LANGUAGE_SERBIAN_LATIN,                       "sr", "CS", "Latn" },   // Serbian Latin in Serbia and Montenegro
252
    { LANGUAGE_ARMENIAN,                    "hy", "AM" },
255
    { LANGUAGE_USER_SERBIAN_LATIN_MONTENEGRO,       "sh", "ME", "" },   // Serbian Latin in Montenegro; kludge, sr_Latn_ME is better, but preferred for backwards compatibility where script codes are not support
253
    { LANGUAGE_AZERI,                       "az", ""   },
256
    { LANGUAGE_USER_SERBIAN_LATIN_MONTENEGRO,       "sr", "ME", "Latn" },   // Serbian Latin in Montenegro
254
    { LANGUAGE_AZERI_LATIN,                 "az", "AZ" },
257
    { LANGUAGE_SERBIAN_LATIN_BOSNIA_HERZEGOVINA,    "sh", "BA", "" },
255
//  { LANGUAGE_AZERI_CYRILLIC,              "az", "AZ" },   // script codes not supported yet
258
    { LANGUAGE_SERBIAN_LATIN_BOSNIA_HERZEGOVINA,    "sr", "BA", "Latn" },
256
    { LANGUAGE_UZBEK_LATIN,                 "uz", "UZ" },
259
    { LANGUAGE_SERBIAN_LATIN_NEUTRAL,               "sh", ""  , "" },   // kludge, sr_Latn is better, but preferred for backwards compatibility where script codes are not support
257
//  { LANGUAGE_UZBEK_CYRILLIC,              "uz", "UZ" },   // script codes not supported yet
260
    { LANGUAGE_SERBIAN_LATIN_NEUTRAL,               "sr", ""  , "Latn" },
258
    { LANGUAGE_BENGALI_BANGLADESH,          "bn", "BD" },
261
    { LANGUAGE_ARMENIAN,                    "hy", "AM", "" },
259
    { LANGUAGE_BENGALI,                     "bn", "IN" },
262
    { LANGUAGE_AZERI,                       "az", ""  , "" },
260
    { LANGUAGE_BURMESE,                     "my", "MM" },
263
    { LANGUAGE_AZERI_LATIN,                 "az", "AZ", "" },
261
    { LANGUAGE_KAZAK,                       "kk", "KZ" },
264
    { LANGUAGE_AZERI_CYRILLIC,              "az", "AZ", "Cyrl" },
262
    { LANGUAGE_ENGLISH_INDIA,               "en", "IN" },
265
    { LANGUAGE_UZBEK_LATIN,                 "uz", "UZ", "" },
263
    { LANGUAGE_URDU,                        "ur", ""   },
266
    { LANGUAGE_UZBEK_CYRILLIC,              "uz", "UZ", "Cyrl" },
264
    { LANGUAGE_URDU_INDIA,                  "ur", "IN" },
267
    { LANGUAGE_BENGALI_BANGLADESH,          "bn", "BD", "" },
265
    { LANGUAGE_URDU_PAKISTAN,               "ur", "PK" },
268
    { LANGUAGE_BENGALI,                     "bn", "IN", "" },
266
    { LANGUAGE_HINDI,                       "hi", "IN" },
269
    { LANGUAGE_BURMESE,                     "my", "MM", "" },
267
    { LANGUAGE_GUJARATI,                    "gu", "IN" },
270
    { LANGUAGE_KAZAK,                       "kk", "KZ", "" },
268
    { LANGUAGE_KANNADA,                     "kn", "IN" },
271
    { LANGUAGE_ENGLISH_INDIA,               "en", "IN", "" },
269
    { LANGUAGE_ASSAMESE,                    "as", "IN" },
272
    { LANGUAGE_URDU,                        "ur", ""  , "" },
270
    { LANGUAGE_KASHMIRI,                    "ks", ""   },
273
    { LANGUAGE_URDU_INDIA,                  "ur", "IN", "" },
271
    { LANGUAGE_KASHMIRI_INDIA,              "ks", "IN" },
274
    { LANGUAGE_URDU_PAKISTAN,               "ur", "PK", "" },
272
    { LANGUAGE_MALAYALAM,                   "ml", "IN" },
275
    { LANGUAGE_HINDI,                       "hi", "IN", "" },
273
    { LANGUAGE_MANIPURI,                   "mni", "IN" },
276
    { LANGUAGE_GUJARATI,                    "gu", "IN", "" },
274
    { LANGUAGE_MARATHI,                     "mr", "IN" },
277
    { LANGUAGE_KANNADA,                     "kn", "IN", "" },
275
    { LANGUAGE_KONKANI,                    "kok", "IN" },
278
    { LANGUAGE_ASSAMESE,                    "as", "IN", "" },
276
    { LANGUAGE_NEPALI,                      "ne", "NP" },
279
    { LANGUAGE_KASHMIRI,                    "ks", ""  , "" },
277
    { LANGUAGE_NEPALI_INDIA,                "ne", "IN" },
280
    { LANGUAGE_KASHMIRI_INDIA,              "ks", "IN", "" },
278
    { LANGUAGE_ORIYA,                       "or", "IN" },
281
    { LANGUAGE_MALAYALAM,                   "ml", "IN", "" },
279
    { LANGUAGE_PUNJABI,                     "pa", "IN" },
282
    { LANGUAGE_MANIPURI,                   "mni", "IN", "" },
280
    { LANGUAGE_SANSKRIT,                    "sa", "IN" },
283
    { LANGUAGE_MARATHI,                     "mr", "IN", "" },
281
    { LANGUAGE_SINDHI,                      "sd", "IN" },
284
    { LANGUAGE_KONKANI,                    "kok", "IN", "" },
282
    { LANGUAGE_TAMIL,                       "ta", "IN" },
285
    { LANGUAGE_NEPALI,                      "ne", "NP", "" },
283
    { LANGUAGE_TELUGU,                      "te", "IN" },
286
    { LANGUAGE_NEPALI_INDIA,                "ne", "IN", "" },
284
    { LANGUAGE_PUNJABI_PAKISTAN,           "lah", "PK" },   // preferring "lah" over "pa" for Western Punjabi, see http://www.ethnologue.com/show_language.asp?code=PNB
287
    { LANGUAGE_ORIYA,                       "or", "IN", "" },
285
    { LANGUAGE_PUNJABI_PAKISTAN,            "pa", "PK" },
288
    { LANGUAGE_PUNJABI,                     "pa", "IN", "" },
286
    { LANGUAGE_SINDHI_PAKISTAN,             "sd", "PK" },
289
    { LANGUAGE_SANSKRIT,                    "sa", "IN", "" },
287
    { LANGUAGE_BELARUSIAN,                  "be", "BY" },
290
    { LANGUAGE_SINDHI,                      "sd", "IN", "" },
288
    { LANGUAGE_CATALAN,                     "ca", "ES" },   // Spain (default)
291
    { LANGUAGE_TAMIL,                       "ta", "IN", "" },
289
    { LANGUAGE_CATALAN,                     "ca", "AD" },   // Andorra
292
    { LANGUAGE_TELUGU,                      "te", "IN", "" },
290
    { LANGUAGE_USER_CATALAN_VALENCIAN,      "ca", "XV" },   // XV: ISO 3166 user-assigned; workaround for UI localization only, do not use in document content!
293
    { LANGUAGE_PUNJABI_PAKISTAN,           "lah", "PK", "" },   // preferring "lah" over "pa" for Western Punjabi, see http://www.ethnologue.com/show_language.asp?code=PNB
291
    { LANGUAGE_FRENCH_CAMEROON,             "fr", "CM" },
294
    { LANGUAGE_PUNJABI_PAKISTAN,            "pa", "PK", "" },
292
    { LANGUAGE_FRENCH_COTE_D_IVOIRE,        "fr", "CI" },
295
    { LANGUAGE_SINDHI_PAKISTAN,             "sd", "PK", "" },
293
    { LANGUAGE_FRENCH_HAITI,                "fr", "HT" },
296
    { LANGUAGE_BELARUSIAN,                  "be", "BY", "" },
294
    { LANGUAGE_FRENCH_MALI,                 "fr", "ML" },
297
    { LANGUAGE_CATALAN,                     "ca", "ES", "" },   // Spain (default)
295
    { LANGUAGE_FRENCH_SENEGAL,              "fr", "SN" },
298
    { LANGUAGE_CATALAN,                     "ca", "AD", "" },   // Andorra
296
    { LANGUAGE_FRENCH_ZAIRE,                "fr", "CD" },   // Democratic Republic Of Congo
299
    { LANGUAGE_USER_CATALAN_VALENCIAN,      "ca", "XV", "" },   // XV: ISO 3166 user-assigned; workaround for UI localization only, do not use in document content!
297
    { LANGUAGE_FRENCH_MOROCCO,              "fr", "MA" },
300
    { LANGUAGE_FRENCH_CAMEROON,             "fr", "CM", "" },
298
    { LANGUAGE_FRENCH_REUNION,              "fr", "RE" },
301
    { LANGUAGE_FRENCH_COTE_D_IVOIRE,        "fr", "CI", "" },
299
    { LANGUAGE_FRENCH_NORTH_AFRICA,         "fr", ""   },
302
    { LANGUAGE_FRENCH_HAITI,                "fr", "HT", "" },
300
    { LANGUAGE_FRENCH_WEST_INDIES,          "fr", ""   },   // unknown ISO country code
303
    { LANGUAGE_FRENCH_MALI,                 "fr", "ML", "" },
301
    { LANGUAGE_FRISIAN_NETHERLANDS,         "fy", "NL" },
304
    { LANGUAGE_FRENCH_SENEGAL,              "fr", "SN", "" },
302
    { LANGUAGE_GAELIC_IRELAND,              "ga", "IE" },
305
    { LANGUAGE_FRENCH_ZAIRE,                "fr", "CD", "" },   // Democratic Republic Of Congo
303
    { LANGUAGE_GAELIC_SCOTLAND,             "gd", "GB" },
306
    { LANGUAGE_FRENCH_MOROCCO,              "fr", "MA", "" },
304
    { LANGUAGE_GALICIAN,                    "gl", "ES" },
307
    { LANGUAGE_FRENCH_REUNION,              "fr", "RE", "" },
305
    { LANGUAGE_GEORGIAN,                    "ka", "GE" },
308
    { LANGUAGE_FRENCH_NORTH_AFRICA,         "fr", ""  , "" },
306
    { LANGUAGE_KHMER,                       "km", "KH" },
309
    { LANGUAGE_FRENCH_WEST_INDIES,          "fr", ""  , "" },   // unknown ISO country code
307
    { LANGUAGE_KIRGHIZ,                     "ky", "KG" },
310
    { LANGUAGE_FRISIAN_NETHERLANDS,         "fy", "NL", "" },
308
    { LANGUAGE_LAO,                         "lo", "LA" },
311
    { LANGUAGE_GAELIC_IRELAND,              "ga", "IE", "" },
309
    { LANGUAGE_MALTESE,                     "mt", "MT" },
312
    { LANGUAGE_GAELIC_SCOTLAND,             "gd", "GB", "" },
310
    { LANGUAGE_MONGOLIAN,                   "mn", "MN" },   // Cyrillic script
313
    { LANGUAGE_GALICIAN,                    "gl", "ES", "" },
311
    { LANGUAGE_MONGOLIAN_MONGOLIAN,         "mn", "MN" },
314
    { LANGUAGE_GEORGIAN,                    "ka", "GE", "" },
312
    { LANGUAGE_RUSSIAN_MOLDOVA,             "mo", "MD" },
315
    { LANGUAGE_KHMER,                       "km", "KH", "" },
313
    { LANGUAGE_SWAHILI,                     "sw", "KE" },
316
    { LANGUAGE_KIRGHIZ,                     "ky", "KG", "" },
314
    { LANGUAGE_USER_SWAHILI_TANZANIA,       "sw", "TZ" },
317
    { LANGUAGE_LAO,                         "lo", "LA", "" },
315
    { LANGUAGE_TAJIK,                       "tg", "TJ" },
318
    { LANGUAGE_MALTESE,                     "mt", "MT", "" },
316
    { LANGUAGE_TIBETAN,                     "bo", "CN" },   // CN politically correct?
319
    { LANGUAGE_MONGOLIAN,                   "mn", "MN", "" },   // Cyrillic script
317
    { LANGUAGE_DZONGKHA,                    "dz", "BT" },
320
    { LANGUAGE_MONGOLIAN_MONGOLIAN,         "mn", "MN", "" },
318
    { LANGUAGE_TURKMEN,                     "tk", "TM" },
321
    { LANGUAGE_RUSSIAN_MOLDOVA,             "mo", "MD", "" },
319
    { LANGUAGE_WELSH,                       "cy", "GB" },
322
    { LANGUAGE_SWAHILI,                     "sw", "KE", "" },
320
    { LANGUAGE_SESOTHO,                     "st", "ZA" },
323
    { LANGUAGE_USER_SWAHILI_TANZANIA,       "sw", "TZ", "" },
321
    { LANGUAGE_SEPEDI,                     "nso", "ZA" },
324
    { LANGUAGE_TAJIK,                       "tg", "TJ", "" },
322
    { LANGUAGE_SEPEDI,                      "ns", "ZA" },   // fake "ns" for compatibility with existing OOo1.1.x localization to be able to read those documents
325
    { LANGUAGE_TIBETAN,                     "bo", "CN", "" },   // CN politically correct?
323
    { LANGUAGE_TSONGA,                      "ts", "ZA" },
326
    { LANGUAGE_DZONGKHA,                    "dz", "BT", "" },
324
    { LANGUAGE_TSWANA,                      "tn", "ZA" },
327
    { LANGUAGE_TURKMEN,                     "tk", "TM", "" },
325
    { LANGUAGE_ENGLISH_SAFRICA,             "en", "ZA" },
328
    { LANGUAGE_WELSH,                       "cy", "GB", "" },
326
    { LANGUAGE_AFRIKAANS,                   "af", "ZA" },
329
    { LANGUAGE_SESOTHO,                     "st", "ZA", "" },
327
    { LANGUAGE_VENDA,                       "ve", "ZA" },   // default 639-1
330
    { LANGUAGE_SEPEDI,                     "nso", "ZA", "" },
328
    { LANGUAGE_VENDA,                      "ven", "ZA" },   // 639-2 may have been used temporarily since 2004-07-23
331
    { LANGUAGE_SEPEDI,                      "ns", "ZA", "" },   // fake "ns" for compatibility with existing OOo1.1.x localization to be able to read those documents
329
    { LANGUAGE_XHOSA,                       "xh", "ZA" },
332
    { LANGUAGE_TSONGA,                      "ts", "ZA", "" },
330
    { LANGUAGE_ZULU,                        "zu", "ZA" },
333
    { LANGUAGE_TSWANA,                      "tn", "ZA", "" },
331
    { LANGUAGE_QUECHUA_ECUADOR,             "qu", "EC" },
334
    { LANGUAGE_ENGLISH_SAFRICA,             "en", "ZA", "" },
332
    { LANGUAGE_QUECHUA_PERU,                "qu", "PE" },
335
    { LANGUAGE_AFRIKAANS,                   "af", "ZA", "" },
333
    { LANGUAGE_QUECHUA_BOLIVIA,             "qu", "BO" },   // macro: quh-BO, qul-BO
336
    { LANGUAGE_VENDA,                       "ve", "ZA", "" },   // default 639-1
334
    { LANGUAGE_PASHTO,                      "ps", "AF" },
337
    { LANGUAGE_VENDA,                      "ven", "ZA", "" },   // 639-2 may have been used temporarily since 2004-07-23
335
    { LANGUAGE_OROMO,                       "om", "ET" },
338
    { LANGUAGE_XHOSA,                       "xh", "ZA", "" },
336
    { LANGUAGE_DHIVEHI,                     "dv", "MV" },
339
    { LANGUAGE_ZULU,                        "zu", "ZA", "" },
337
    { LANGUAGE_UIGHUR_CHINA,                "ug", "CN" },
340
    { LANGUAGE_QUECHUA_ECUADOR,             "qu", "EC", "" },
338
    { LANGUAGE_TIGRIGNA_ETHIOPIA,           "ti", "ET" },
341
    { LANGUAGE_QUECHUA_PERU,                "qu", "PE", "" },
339
    { LANGUAGE_TIGRIGNA_ERITREA,            "ti", "ER" },
342
    { LANGUAGE_QUECHUA_BOLIVIA,             "qu", "BO", "" },   // macro: quh-BO, qul-BO
340
    { LANGUAGE_AMHARIC_ETHIOPIA,            "am", "ET" },
343
    { LANGUAGE_PASHTO,                      "ps", "AF", "" },
341
    { LANGUAGE_GUARANI_PARAGUAY,           "gug", "PY" },
344
    { LANGUAGE_OROMO,                       "om", "ET", "" },
342
    { LANGUAGE_HAWAIIAN_UNITED_STATES,     "haw", "US" },
345
    { LANGUAGE_DHIVEHI,                     "dv", "MV", "" },
343
    { LANGUAGE_EDO,                        "bin", "NG" },
346
    { LANGUAGE_UIGHUR_CHINA,                "ug", "CN", "" },
344
    { LANGUAGE_FULFULDE_NIGERIA,            "ff", "NG" },
347
    { LANGUAGE_TIGRIGNA_ETHIOPIA,           "ti", "ET", "" },
345
    { LANGUAGE_HAUSA_NIGERIA,               "ha", "NG" },
348
    { LANGUAGE_TIGRIGNA_ERITREA,            "ti", "ER", "" },
346
    { LANGUAGE_USER_HAUSA_GHANA,            "ha", "GH" },
349
    { LANGUAGE_AMHARIC_ETHIOPIA,            "am", "ET", "" },
347
    { LANGUAGE_IGBO_NIGERIA,                "ig", "NG" },
350
    { LANGUAGE_GUARANI_PARAGUAY,           "gug", "PY", "" },
348
    { LANGUAGE_KANURI_NIGERIA,              "kr", "NG" },
351
    { LANGUAGE_HAWAIIAN_UNITED_STATES,     "haw", "US", "" },
349
    { LANGUAGE_YORUBA,                      "yo", "NG" },
352
    { LANGUAGE_EDO,                        "bin", "NG", "" },
350
    { LANGUAGE_SOMALI,                      "so", "SO" },
353
    { LANGUAGE_FULFULDE_NIGERIA,            "ff", "NG", "" },
351
    { LANGUAGE_PAPIAMENTU,                 "pap", "AN" },
354
    { LANGUAGE_HAUSA_NIGERIA,               "ha", "NG", "" },
352
    { LANGUAGE_ENGLISH_SINGAPORE,           "en", "SG" },
355
    { LANGUAGE_USER_HAUSA_GHANA,            "ha", "GH", "" },
353
    { LANGUAGE_YIDDISH,                     "yi", "IL" },   // new: old was "ji"
356
    { LANGUAGE_IGBO_NIGERIA,                "ig", "NG", "" },
354
    { LANGUAGE_YIDDISH,                     "ji", "IL" },   // old: new is "yi"
357
    { LANGUAGE_KANURI_NIGERIA,              "kr", "NG", "" },
355
    { LANGUAGE_SYRIAC,                     "syr", "TR" },   // "TR" according to http://www.ethnologue.com/show_language.asp?code=SYC
358
    { LANGUAGE_YORUBA,                      "yo", "NG", "" },
356
    { LANGUAGE_SINHALESE_SRI_LANKA,         "si", "LK" },
359
    { LANGUAGE_SOMALI,                      "so", "SO", "" },
357
    { LANGUAGE_CHEROKEE_UNITED_STATES,     "chr", "US" },
360
    { LANGUAGE_PAPIAMENTU,                 "pap", "AN", "" },
358
    { LANGUAGE_INUKTITUT_LATIN_CANADA,      "iu", "CA" },
361
    { LANGUAGE_ENGLISH_SINGAPORE,           "en", "SG", "" },
359
//  { LANGUAGE_INUKTITUT_SYLLABICS_CANADA,  "iu", "CA" },   // script codes not supported yet
362
    { LANGUAGE_YIDDISH,                     "yi", "IL", "" },   // new: old was "ji"
360
    { LANGUAGE_SAMI_NORTHERN_NORWAY,        "se", "NO" },
363
    { LANGUAGE_YIDDISH,                     "ji", "IL", "" },   // old: new is "yi"
361
    { LANGUAGE_SAMI_INARI,                 "smn", "FI" },
364
    { LANGUAGE_SYRIAC,                     "syr", "TR", "" },   // "TR" according to http://www.ethnologue.com/show_language.asp?code=SYC
362
    { LANGUAGE_SAMI_LULE_NORWAY,           "smj", "NO" },
365
    { LANGUAGE_SINHALESE_SRI_LANKA,         "si", "LK", "" },
363
    { LANGUAGE_SAMI_LULE_SWEDEN,           "smj", "SE" },
366
    { LANGUAGE_CHEROKEE_UNITED_STATES,     "chr", "US", "" },
364
    { LANGUAGE_SAMI_NORTHERN_FINLAND,       "se", "FI" },
367
    { LANGUAGE_INUKTITUT_LATIN_CANADA,      "iu", "CA", "" },
365
    { LANGUAGE_SAMI_NORTHERN_SWEDEN,        "se", "SE" },
368
    { LANGUAGE_INUKTITUT_SYLLABICS_CANADA,  "iu", "CA", "Cans" },
366
    { LANGUAGE_SAMI_SKOLT,                 "sms", "FI" },
369
    { LANGUAGE_SAMI_NORTHERN_NORWAY,        "se", "NO", "" },
367
    { LANGUAGE_SAMI_SOUTHERN_NORWAY,       "sma", "NO" },
370
    { LANGUAGE_SAMI_INARI,                 "smn", "FI", "" },
368
    { LANGUAGE_SAMI_SOUTHERN_SWEDEN,       "sma", "SE" },
371
    { LANGUAGE_SAMI_LULE_NORWAY,           "smj", "NO", "" },
369
    { LANGUAGE_USER_SAMI_KILDIN_RUSSIA,    "sjd", "RU" },
372
    { LANGUAGE_SAMI_LULE_SWEDEN,           "smj", "SE", "" },
370
    { LANGUAGE_MAPUDUNGUN_CHILE,           "arn", "CL" },
373
    { LANGUAGE_SAMI_NORTHERN_FINLAND,       "se", "FI", "" },
371
    { LANGUAGE_CORSICAN_FRANCE,             "co", "FR" },
374
    { LANGUAGE_SAMI_NORTHERN_SWEDEN,        "se", "SE", "" },
372
    { LANGUAGE_ALSATIAN_FRANCE,            "gsw", "FR" },   // in fact 'gsw' is Schwyzerduetsch (Swiss German), which is a dialect of Alemannic German, as is Alsatian. They aren't distinct languages and share this code.
375
    { LANGUAGE_SAMI_SKOLT,                 "sms", "FI", "" },
373
    { LANGUAGE_YAKUT_RUSSIA,               "sah", "RU" },
376
    { LANGUAGE_SAMI_SOUTHERN_NORWAY,       "sma", "NO", "" },
374
    { LANGUAGE_MOHAWK_CANADA,              "moh", "CA" },
377
    { LANGUAGE_SAMI_SOUTHERN_SWEDEN,       "sma", "SE", "" },
375
    { LANGUAGE_BASHKIR_RUSSIA,              "ba", "RU" },
378
    { LANGUAGE_USER_SAMI_KILDIN_RUSSIA,    "sjd", "RU", "" },
376
    { LANGUAGE_KICHE_GUATEMALA,            "qut", "GT" },
379
    { LANGUAGE_MAPUDUNGUN_CHILE,           "arn", "CL", "" },
377
    { LANGUAGE_DARI_AFGHANISTAN,           "gbz", "AF" },
380
    { LANGUAGE_CORSICAN_FRANCE,             "co", "FR", "" },
378
    { LANGUAGE_WOLOF_SENEGAL,               "wo", "SN" },
381
    { LANGUAGE_ALSATIAN_FRANCE,            "gsw", "FR", "" },   // in fact 'gsw' is Schwyzerduetsch (Swiss German), which is a dialect of Alemannic German, as is Alsatian. They aren't distinct languages and share this code.
379
    { LANGUAGE_FILIPINO,                   "fil", "PH" },
382
    { LANGUAGE_YAKUT_RUSSIA,               "sah", "RU", "" },
380
    { LANGUAGE_USER_TAGALOG,                "tl", "PH" },
383
    { LANGUAGE_MOHAWK_CANADA,              "moh", "CA", "" },
381
    { LANGUAGE_ENGLISH_PHILIPPINES,         "en", "PH" },
384
    { LANGUAGE_BASHKIR_RUSSIA,              "ba", "RU", "" },
382
//  { LANGUAGE_IBIBIO_NIGERIA,             "nic", "NG" },   // ISO "nic" is only a collective language code
385
    { LANGUAGE_KICHE_GUATEMALA,            "qut", "GT", "" },
383
    { LANGUAGE_YI,                          "ii", "CN" },
386
    { LANGUAGE_DARI_AFGHANISTAN,           "gbz", "AF", "" },
384
//  { LANGUAGE_TAMAZIGHT_LATIN,            "ber", ""   },   // ISO "ber" only collective!
387
    { LANGUAGE_WOLOF_SENEGAL,               "wo", "SN", "" },
385
//  { LANGUAGE_TAMAZIGHT_ARABIC,           "ber", ""   },   // ISO "ber" only collective!
388
    { LANGUAGE_FILIPINO,                   "fil", "PH", "" },
386
    { LANGUAGE_LATIN,                       "la", "VA" },
389
    { LANGUAGE_USER_TAGALOG,                "tl", "PH", "" },
387
    { LANGUAGE_OBSOLETE_USER_LATIN,         "la", "VA" },
390
    { LANGUAGE_ENGLISH_PHILIPPINES,         "en", "PH", "" },
388
    { LANGUAGE_USER_ESPERANTO,              "eo", ""   },
391
//  { LANGUAGE_IBIBIO_NIGERIA,             "nic", "NG", "" },   // ISO "nic" is only a collective language code
389
    { LANGUAGE_USER_INTERLINGUA,            "ia", ""   },
392
    { LANGUAGE_YI,                          "ii", "CN", "" },
390
    { LANGUAGE_MAORI_NEW_ZEALAND,           "mi", "NZ" },
393
//  { LANGUAGE_TAMAZIGHT_LATIN,            "ber", ""  , "" },   // ISO "ber" only collective!
391
    { LANGUAGE_OBSOLETE_USER_MAORI,         "mi", "NZ" },
394
//  { LANGUAGE_TAMAZIGHT_ARABIC,           "ber", ""  , "" },   // ISO "ber" only collective!
392
    { LANGUAGE_KINYARWANDA_RWANDA,          "rw", "RW" },
395
    { LANGUAGE_LATIN,                       "la", "VA", "" },
393
    { LANGUAGE_OBSOLETE_USER_KINYARWANDA,   "rw", "RW" },
396
    { LANGUAGE_OBSOLETE_USER_LATIN,         "la", "VA", "" },
394
    { LANGUAGE_UPPER_SORBIAN_GERMANY,      "hsb", "DE" },   // MS maps this to 'wen-DE', which is nonsense. 'wen' is a collective language code, 'WEN' is a SIL code, see http://www.ethnologue.com/14/show_iso639.asp?code=wen and http://www.ethnologue.com/14/show_language.asp?code=WEN
397
    { LANGUAGE_USER_ESPERANTO,              "eo", ""  , "" },
395
    { LANGUAGE_OBSOLETE_USER_UPPER_SORBIAN,"hsb", "DE" },
398
    { LANGUAGE_USER_INTERLINGUA,            "ia", ""  , "" },
396
    { LANGUAGE_LOWER_SORBIAN_GERMANY,      "dsb", "DE" },   // MS maps this to 'wee-DE', which is nonsense. 'WEE' is a SIL code, see http://www.ethnologue.com/14/show_language.asp?code=WEE
399
    { LANGUAGE_MAORI_NEW_ZEALAND,           "mi", "NZ", "" },
397
    { LANGUAGE_OBSOLETE_USER_LOWER_SORBIAN,"dsb", "DE" },
400
    { LANGUAGE_OBSOLETE_USER_MAORI,         "mi", "NZ", "" },
398
    { LANGUAGE_OCCITAN_FRANCE,              "oc", "FR" },
401
    { LANGUAGE_KINYARWANDA_RWANDA,          "rw", "RW", "" },
399
    { LANGUAGE_OBSOLETE_USER_OCCITAN,       "oc", "FR" },
402
    { LANGUAGE_OBSOLETE_USER_KINYARWANDA,   "rw", "RW", "" },
400
    { LANGUAGE_USER_KURDISH_TURKEY,         "ku", "TR" },
403
    { LANGUAGE_UPPER_SORBIAN_GERMANY,      "hsb", "DE", "" },   // MS maps this to 'wen-DE', which is nonsense. 'wen' is a collective language code, 'WEN' is a SIL code, see http://www.ethnologue.com/14/show_iso639.asp?code=wen and http://www.ethnologue.com/14/show_language.asp?code=WEN
401
    { LANGUAGE_USER_KURDISH_SYRIA,          "ku", "SY" },
404
    { LANGUAGE_OBSOLETE_USER_UPPER_SORBIAN,"hsb", "DE", "" },
402
    { LANGUAGE_USER_KURDISH_IRAQ,           "ku", "IQ" },
405
    { LANGUAGE_LOWER_SORBIAN_GERMANY,      "dsb", "DE", "" },   // MS maps this to 'wee-DE', which is nonsense. 'WEE' is a SIL code, see http://www.ethnologue.com/14/show_language.asp?code=WEE
403
    { LANGUAGE_USER_KURDISH_IRAN,           "ku", "IR" },
406
    { LANGUAGE_OBSOLETE_USER_LOWER_SORBIAN,"dsb", "DE", "" },
404
    { LANGUAGE_USER_SARDINIAN,              "sc", "IT" },
407
    { LANGUAGE_OCCITAN_FRANCE,              "oc", "FR", "" },
405
    { LANGUAGE_BRETON_FRANCE,               "br", "FR" },
408
    { LANGUAGE_OBSOLETE_USER_OCCITAN,       "oc", "FR", "" },
406
    { LANGUAGE_OBSOLETE_USER_BRETON,        "br", "FR" },
409
    { LANGUAGE_USER_KURDISH_TURKEY,         "ku", "TR", "" },
407
    { LANGUAGE_KALAALLISUT_GREENLAND,       "kl", "GL" },
410
    { LANGUAGE_USER_KURDISH_SYRIA,          "ku", "SY", "" },
408
    { LANGUAGE_OBSOLETE_USER_KALAALLISUT,   "kl", "GL" },
411
    { LANGUAGE_USER_KURDISH_IRAQ,           "ku", "IQ", "" },
409
    { LANGUAGE_USER_SWAZI,                  "ss", "ZA" },
412
    { LANGUAGE_USER_KURDISH_IRAN,           "ku", "IR", "" },
410
    { LANGUAGE_USER_NDEBELE_SOUTH,          "nr", "ZA" },
413
    { LANGUAGE_USER_SARDINIAN,              "sc", "IT", "" },
411
    { LANGUAGE_USER_TSWANA_BOTSWANA,        "tn", "BW" },
414
    { LANGUAGE_BRETON_FRANCE,               "br", "FR", "" },
412
    { LANGUAGE_USER_MOORE,                 "mos", "BF" },
415
    { LANGUAGE_OBSOLETE_USER_BRETON,        "br", "FR", "" },
413
    { LANGUAGE_USER_BAMBARA,                "bm", "ML" },
416
    { LANGUAGE_KALAALLISUT_GREENLAND,       "kl", "GL", "" },
414
    { LANGUAGE_USER_AKAN,                   "ak", "GH" },
417
    { LANGUAGE_OBSOLETE_USER_KALAALLISUT,   "kl", "GL", "" },
415
    { LANGUAGE_LUXEMBOURGISH_LUXEMBOURG,    "lb", "LU" },
418
    { LANGUAGE_USER_SWAZI,                  "ss", "ZA", "" },
416
    { LANGUAGE_OBSOLETE_USER_LUXEMBOURGISH, "lb", "LU" },
419
    { LANGUAGE_USER_NDEBELE_SOUTH,          "nr", "ZA", "" },
417
    { LANGUAGE_USER_FRIULIAN,              "fur", "IT" },
420
    { LANGUAGE_USER_TSWANA_BOTSWANA,        "tn", "BW", "" },
418
    { LANGUAGE_USER_FIJIAN,                 "fj", "FJ" },
421
    { LANGUAGE_USER_MOORE,                 "mos", "BF", "" },
419
    { LANGUAGE_USER_AFRIKAANS_NAMIBIA,      "af", "NA" },
422
    { LANGUAGE_USER_BAMBARA,                "bm", "ML", "" },
420
    { LANGUAGE_USER_ENGLISH_NAMIBIA,        "en", "NA" },
423
    { LANGUAGE_USER_AKAN,                   "ak", "GH", "" },
421
    { LANGUAGE_USER_WALLOON,                "wa", "BE" },
424
    { LANGUAGE_LUXEMBOURGISH_LUXEMBOURG,    "lb", "LU", "" },
422
    { LANGUAGE_USER_COPTIC,                "cop", "EG" },
425
    { LANGUAGE_OBSOLETE_USER_LUXEMBOURGISH, "lb", "LU", "" },
423
    { LANGUAGE_USER_GASCON,                "gsc", "FR" },
426
    { LANGUAGE_USER_FRIULIAN,              "fur", "IT", "" },
424
    { LANGUAGE_USER_GERMAN_BELGIUM,         "de", "BE" },
427
    { LANGUAGE_USER_FIJIAN,                 "fj", "FJ", "" },
425
    { LANGUAGE_USER_CHUVASH,                "cv", "RU" },
428
    { LANGUAGE_USER_AFRIKAANS_NAMIBIA,      "af", "NA", "" },
426
    { LANGUAGE_USER_EWE_GHANA,              "ee", "GH" },
429
    { LANGUAGE_USER_ENGLISH_NAMIBIA,        "en", "NA", "" },
427
    { LANGUAGE_USER_ENGLISH_GHANA,          "en", "GH" },
430
    { LANGUAGE_USER_WALLOON,                "wa", "BE", "" },
428
    { LANGUAGE_USER_SANGO,                  "sg", "CF" },
431
    { LANGUAGE_USER_COPTIC,                "cop", "EG", "" },
429
    { LANGUAGE_USER_GANDA,                  "lg", "UG" },
432
    { LANGUAGE_USER_GASCON,                "gsc", "FR", "" },
430
    { LANGUAGE_USER_LINGALA_DRCONGO,        "ln", "CD" },
433
    { LANGUAGE_USER_GERMAN_BELGIUM,         "de", "BE", "" },
431
    { LANGUAGE_USER_LOW_GERMAN,            "nds", "DE" },
434
    { LANGUAGE_USER_CHUVASH,                "cv", "RU", "" },
432
    { LANGUAGE_USER_HILIGAYNON,            "hil", "PH" },
435
    { LANGUAGE_USER_EWE_GHANA,              "ee", "GH", "" },
433
    { LANGUAGE_USER_NYANJA,                 "ny", "MW" },
436
    { LANGUAGE_USER_ENGLISH_GHANA,          "en", "GH", "" },
434
    { LANGUAGE_USER_KASHUBIAN,             "csb", "PL" },
437
    { LANGUAGE_USER_SANGO,                  "sg", "CF", "" },
435
    { LANGUAGE_USER_SPANISH_CUBA,           "es", "CU" },
438
    { LANGUAGE_USER_GANDA,                  "lg", "UG", "" },
436
    { LANGUAGE_USER_QUECHUA_NORTH_BOLIVIA, "qul", "BO" },
439
    { LANGUAGE_USER_LINGALA_DRCONGO,        "ln", "CD", "" },
437
    { LANGUAGE_USER_QUECHUA_SOUTH_BOLIVIA, "quh", "BO" },
440
    { LANGUAGE_USER_LOW_GERMAN,            "nds", "DE", "" },
438
    { LANGUAGE_USER_BODO_INDIA,            "brx", "IN" },
441
    { LANGUAGE_USER_HILIGAYNON,            "hil", "PH", "" },
439
    { LANGUAGE_USER_DOGRI_INDIA,           "dgo", "IN" },
442
    { LANGUAGE_USER_NYANJA,                 "ny", "MW", "" },
440
    { LANGUAGE_USER_MAITHILI_INDIA,        "mai", "IN" },
443
    { LANGUAGE_USER_KASHUBIAN,             "csb", "PL", "" },
441
    { LANGUAGE_USER_SANTALI_INDIA,         "sat", "IN" },
444
    { LANGUAGE_USER_SPANISH_CUBA,           "es", "CU", "" },
442
    { LANGUAGE_USER_TETUN,                 "tet", "ID" },
445
    { LANGUAGE_USER_QUECHUA_NORTH_BOLIVIA, "qul", "BO", "" },
443
    { LANGUAGE_USER_TETUN_TIMOR_LESTE,     "tet", "TL" },
446
    { LANGUAGE_USER_QUECHUA_SOUTH_BOLIVIA, "quh", "BO", "" },
444
    { LANGUAGE_USER_TOK_PISIN,             "tpi", "PG" },
447
    { LANGUAGE_USER_BODO_INDIA,            "brx", "IN", "" },
445
    { LANGUAGE_USER_SHUSWAP,               "shs", "CA" },
448
    { LANGUAGE_USER_DOGRI_INDIA,           "dgo", "IN", "" },
446
    { LANGUAGE_USER_ANCIENT_GREEK,         "grc", "GR" },
449
    { LANGUAGE_USER_MAITHILI_INDIA,        "mai", "IN", "" },
447
    { LANGUAGE_USER_ASTURIAN,              "ast", "ES" },
450
    { LANGUAGE_USER_SANTALI_INDIA,         "sat", "IN", "" },
448
    { LANGUAGE_NONE,                       "zxx", ""   },   // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
451
    { LANGUAGE_USER_TETUN,                 "tet", "ID", "" },
449
    { LANGUAGE_DONTKNOW,                    "",   ""   }    // marks end of table
452
    { LANGUAGE_USER_TETUN_TIMOR_LESTE,     "tet", "TL", "" },
453
    { LANGUAGE_USER_TOK_PISIN,             "tpi", "PG", "" },
454
    { LANGUAGE_USER_SHUSWAP,               "shs", "CA", "" },
455
    { LANGUAGE_USER_ANCIENT_GREEK,         "grc", "GR", "" },
456
    { LANGUAGE_USER_ASTURIAN,              "ast", "ES", "" },
457
    { LANGUAGE_NONE,                       "zxx", ""  , "" },   // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
458
    { LANGUAGE_DONTKNOW,                    "",   ""  , "" }    // marks end of table
450
};
459
};
451
460
452
static MsLangId::IsoLangEntry aLastResortFallbackEntry =
461
static MsLangId::IsoLangEntry aLastResortFallbackEntry =
453
{ LANGUAGE_ENGLISH_US, "en", "US" };
462
{ LANGUAGE_ENGLISH_US, "en", "US", "" };
454
463
455
// -----------------------------------------------------------------------
464
// -----------------------------------------------------------------------
456
465
Lines 564-570 Link Here
564
573
565
// static
574
// static
566
void MsLangId::convertLanguageToIsoNames( LanguageType nLang,
575
void MsLangId::convertLanguageToIsoNames( LanguageType nLang,
567
        rtl::OUString& rLangStr, rtl::OUString& rCountry )
576
        rtl::OUString& rLanguageSubtag, rtl::OUString& rRegionSubtag,
577
        rtl::OUString& rOtherSubtags )
568
{
578
{
569
    if ( nLang == LANGUAGE_SYSTEM )
579
    if ( nLang == LANGUAGE_SYSTEM )
570
        nLang = MsLangId::getSystemLanguage();
580
        nLang = MsLangId::getSystemLanguage();
Lines 575-588 Link Here
575
    {
585
    {
576
        if ( pEntry->mnLang == nLang )
586
        if ( pEntry->mnLang == nLang )
577
        {
587
        {
578
            rLangStr = rtl::OUString::createFromAscii( pEntry->maLangStr );
588
            rLanguageSubtag = rtl::OUString::createFromAscii( pEntry->maLangStr );
579
            rCountry = rtl::OUString::createFromAscii( pEntry->maCountry );
589
            rRegionSubtag = rtl::OUString::createFromAscii( pEntry->maCountry );
590
            rOtherSubtags = rtl::OUString::createFromAscii( pEntry->maScriptOverride );
580
            return;
591
            return;
581
        }
592
        }
582
        ++pEntry;
593
        ++pEntry;
583
    }
594
    }
584
    while ( pEntry->mnLang != LANGUAGE_DONTKNOW );
595
    while ( pEntry->mnLang != LANGUAGE_DONTKNOW );
585
596
597
    rOtherSubtags = rtl::OUString();
598
586
    // Search for LangID if we didn't find a specific ISO combination.
599
    // Search for LangID if we didn't find a specific ISO combination.
587
    // All entries in this table are allowed for mime specifications,
600
    // All entries in this table are allowed for mime specifications,
588
    // but not defined ISO combinations.
601
    // but not defined ISO combinations.
Lines 591-598 Link Here
591
    {
604
    {
592
        if ( pNoneStdEntry->mnLang == nLang )
605
        if ( pNoneStdEntry->mnLang == nLang )
593
        {
606
        {
594
            rLangStr = rtl::OUString::createFromAscii( pNoneStdEntry->maLangStr );
607
            rLanguageSubtag = rtl::OUString::createFromAscii( pNoneStdEntry->maLangStr );
595
            rCountry = rtl::OUString::createFromAscii( pNoneStdEntry->maCountry );
608
            rRegionSubtag = rtl::OUString::createFromAscii( pNoneStdEntry->maCountry );
596
            return;
609
            return;
597
        }
610
        }
598
        ++pNoneStdEntry;
611
        ++pNoneStdEntry;
Lines 600-614 Link Here
600
    while ( pNoneStdEntry->mnLang != LANGUAGE_DONTKNOW );
613
    while ( pNoneStdEntry->mnLang != LANGUAGE_DONTKNOW );
601
614
602
    // not found
615
    // not found
603
    rLangStr = rtl::OUString();
616
    rLanguageSubtag = rtl::OUString();
604
    rCountry = rtl::OUString();
617
    rRegionSubtag = rtl::OUString();
605
}
618
}
606
619
607
// -----------------------------------------------------------------------
620
// -----------------------------------------------------------------------
608
621
609
// static
622
// static
610
void MsLangId::convertLanguageToIsoNames( LanguageType nLang,
623
void MsLangId::convertLanguageToIsoNames( LanguageType nLang,
611
        rtl::OString& rLangStr, rtl::OString& rCountry )
624
        rtl::OString& rLanguageSubtag, rtl::OString& rRegionSubtag,
625
        rtl::OString& rOtherSubtags )
612
{
626
{
613
    if ( nLang == LANGUAGE_SYSTEM )
627
    if ( nLang == LANGUAGE_SYSTEM )
614
        nLang = MsLangId::getSystemLanguage();
628
        nLang = MsLangId::getSystemLanguage();
Lines 619-632 Link Here
619
    {
633
    {
620
        if ( pEntry->mnLang == nLang )
634
        if ( pEntry->mnLang == nLang )
621
        {
635
        {
622
            rLangStr = rtl::OString( pEntry->maLangStr );
636
            rLanguageSubtag = rtl::OString( pEntry->maLangStr );
623
            rCountry = rtl::OString( pEntry->maCountry );
637
            rRegionSubtag = rtl::OString( pEntry->maCountry );
638
            rOtherSubtags = rtl::OString( pEntry->maScriptOverride );
624
            return;
639
            return;
625
        }
640
        }
626
        ++pEntry;
641
        ++pEntry;
627
    }
642
    }
628
    while ( pEntry->mnLang != LANGUAGE_DONTKNOW );
643
    while ( pEntry->mnLang != LANGUAGE_DONTKNOW );
629
644
645
    rOtherSubtags = rtl::OString();
646
630
    // Search for LangID if we didn't find a specific ISO combination.
647
    // Search for LangID if we didn't find a specific ISO combination.
631
    // All entries in this table are allowed for mime specifications,
648
    // All entries in this table are allowed for mime specifications,
632
    // but not defined ISO combinations.
649
    // but not defined ISO combinations.
Lines 635-642 Link Here
635
    {
652
    {
636
        if ( pNoneStdEntry->mnLang == nLang )
653
        if ( pNoneStdEntry->mnLang == nLang )
637
        {
654
        {
638
            rLangStr = rtl::OString( pNoneStdEntry->maLangStr );
655
            rLanguageSubtag = rtl::OString( pNoneStdEntry->maLangStr );
639
            rCountry = rtl::OString( pNoneStdEntry->maCountry );
656
            rRegionSubtag = rtl::OString( pNoneStdEntry->maCountry );
640
            return;
657
            return;
641
        }
658
        }
642
        ++pNoneStdEntry;
659
        ++pNoneStdEntry;
Lines 644-651 Link Here
644
    while ( pNoneStdEntry->mnLang != LANGUAGE_DONTKNOW );
661
    while ( pNoneStdEntry->mnLang != LANGUAGE_DONTKNOW );
645
662
646
    // not found
663
    // not found
647
    rLangStr = rtl::OString();
664
    rLanguageSubtag = rtl::OString();
648
    rCountry = rtl::OString();
665
    rRegionSubtag = rtl::OString();
649
}
666
}
650
667
651
// -----------------------------------------------------------------------
668
// -----------------------------------------------------------------------
Lines 803-854 Link Here
803
// -----------------------------------------------------------------------
820
// -----------------------------------------------------------------------
804
821
805
// static
822
// static
806
rtl::OUString MsLangId::convertLanguageToIsoString( LanguageType nLang,
823
rtl::OUString MsLangId::convertLanguageToIsoString( LanguageType nLang )
807
        sal_Unicode cSep )
808
{
824
{
809
    rtl::OUString   aLangStr;
825
    rtl::OUString aLanguageSubtag;
810
    rtl::OUString   aCountry;
826
    rtl::OUString aRegionSubtag;
811
    convertLanguageToIsoNames( nLang, aLangStr, aCountry );
827
    rtl::OUString aOtherSubtags;
812
    if ( aCountry.getLength() )
828
    convertLanguageToIsoNames( nLang, aLanguageSubtag, aRegionSubtag, aOtherSubtags );
829
830
    rtl::OUStringBuffer aBuf( aLanguageSubtag );
831
832
    //Script Subtag is guaranteed to exist as first Subtag if there is any subtags
833
    //at all, it can be empty
834
    sal_Int32 nIndex = 0;
835
    rtl::OUString aScriptSubtag = aOtherSubtags.getToken(0, sal_Unicode('-'), nIndex);
836
    if ( aScriptSubtag.getLength() )
813
    {
837
    {
814
        rtl::OUStringBuffer aBuf( aLangStr);
838
        aBuf.append( sal_Unicode('-') );
815
        aBuf.append( cSep );
839
        aBuf.append( aScriptSubtag );
816
        aBuf.append( aCountry );
817
        return aBuf.makeStringAndClear();
818
    }
840
    }
819
    else
841
    if ( aRegionSubtag.getLength() )
820
        return aLangStr;
842
    {
843
        aBuf.append( sal_Unicode('-') );
844
        aBuf.append( aRegionSubtag );
845
    }
846
    //Now append non-Script Subtags
847
    if (nIndex >= 0)
848
    {
849
        aBuf.append( sal_Char('-') );
850
        aBuf.append( aOtherSubtags.copy(nIndex) );
851
    }
852
853
    return aBuf.makeStringAndClear();
821
}
854
}
822
855
823
// -----------------------------------------------------------------------
856
// -----------------------------------------------------------------------
824
857
825
// static
858
// static
826
rtl::OString MsLangId::convertLanguageToIsoByteString( LanguageType nLang,
859
rtl::OString MsLangId::convertLanguageToIsoByteString( LanguageType nLang )
827
        sal_Char cSep )
828
{
860
{
829
    rtl::OString  aLangStr;
861
    rtl::OString aLanguageSubtag;
830
    rtl::OString  aCountry;
862
    rtl::OString aRegionSubtag;
831
    convertLanguageToIsoNames( nLang, aLangStr, aCountry );
863
    rtl::OString aOtherSubtags;
832
    if ( aCountry.getLength() )
864
    convertLanguageToIsoNames( nLang, aLanguageSubtag, aRegionSubtag, aOtherSubtags );
865
866
    rtl::OStringBuffer aBuf( aLanguageSubtag );
867
868
    //Script Subtag is guaranteed to exist as first Subtag if there is any subtags
869
    //at all, it can be empty
870
    sal_Int32 nIndex = 0;
871
    rtl::OString aScriptSubtag = aOtherSubtags.getToken(0, sal_Unicode('-'), nIndex);
872
    if ( aScriptSubtag.getLength() )
833
    {
873
    {
834
        rtl::OStringBuffer aBuf( aLangStr);
874
        aBuf.append( sal_Char('-') );
835
        aBuf.append( cSep );
875
        aBuf.append( aScriptSubtag );
836
        aBuf.append( aCountry );
837
        return aBuf.makeStringAndClear();
838
    }
876
    }
839
    return aLangStr;
877
    if ( aRegionSubtag.getLength() )
878
    {
879
        aBuf.append( sal_Char('-') );
880
        aBuf.append( aRegionSubtag );
881
    }
882
    //Now append non-Script Subtags
883
    if (nIndex >= 0)
884
    {
885
        aBuf.append( sal_Char('-') );
886
        aBuf.append( aOtherSubtags.copy(nIndex) );
887
    }
888
889
    return aBuf.makeStringAndClear();
840
}
890
}
841
891
842
// =======================================================================
892
// =======================================================================
843
893
844
// static
894
// static
845
LanguageType MsLangId::convertIsoNamesToLanguage( const rtl::OUString& rLang,
895
LanguageType MsLangId::convertIsoNamesToLanguage( const rtl::OUString& rLanguageSubtag,
846
        const rtl::OUString& rCountry )
896
        const rtl::OUString& rRegionSubtag, const rtl::OUString& rOtherSubtags )
847
{
897
{
848
    // language is lower case in table
898
    // language is lower case in table
849
    rtl::OUString aLowerLang = rLang.toAsciiLowerCase();
899
    rtl::OUString aLowerLang = rLanguageSubtag.toAsciiLowerCase();
850
    // country is upper case in table
900
    // country is upper case in table
851
    rtl::OUString aUpperCountry = rCountry.toAsciiUpperCase();
901
    rtl::OUString aUpperCountry = rRegionSubtag.toAsciiUpperCase();
902
903
    //Script Subtag is guaranteed to exist as first Subtag if there is any subtags
904
    //at all, it can be empty
905
    sal_Int32 nIndex = 0;
906
    rtl::OUString aScriptSubtag = rOtherSubtags.getToken(0, sal_Unicode('-'), nIndex);
852
907
853
    //  first look for exact match
908
    //  first look for exact match
854
    const IsoLangEntry* pFirstLang = NULL;
909
    const IsoLangEntry* pFirstLang = NULL;
Lines 859-865 Link Here
859
        {
914
        {
860
            if ( !aUpperCountry.getLength() ||
915
            if ( !aUpperCountry.getLength() ||
861
                 aUpperCountry.equalsAscii( pEntry->maCountry ) )
916
                 aUpperCountry.equalsAscii( pEntry->maCountry ) )
862
                return pEntry->mnLang;
917
            {
918
                if (aScriptSubtag.equalsAscii(pEntry->maScriptOverride))
919
                    return pEntry->mnLang;
920
            }
863
            if ( !pFirstLang )
921
            if ( !pFirstLang )
864
                pFirstLang = pEntry;
922
                pFirstLang = pEntry;
865
            else if ( !*pEntry->maCountry )
923
            else if ( !*pEntry->maCountry )
Lines 914-920 Link Here
914
972
915
    //  if only the country is set, look for any entry matching the country
973
    //  if only the country is set, look for any entry matching the country
916
    //  (to allow reading country and language in separate steps, in any order)
974
    //  (to allow reading country and language in separate steps, in any order)
917
    if ( rCountry.getLength() && !rLang.getLength() )
975
    if ( rRegionSubtag.getLength() && !rLanguageSubtag.getLength() )
918
    {
976
    {
919
        const IsoLangEntry* pEntry2 = aImplIsoLangEntries;
977
        const IsoLangEntry* pEntry2 = aImplIsoLangEntries;
920
        do
978
        do
Lines 944-998 Link Here
944
// -----------------------------------------------------------------------
1002
// -----------------------------------------------------------------------
945
1003
946
// static
1004
// static
947
LanguageType MsLangId::convertIsoNamesToLanguage( const rtl::OString& rLang,
1005
LanguageType MsLangId::convertIsoNamesToLanguage( const rtl::OString& rLanguageSubtag,
948
        const rtl::OString& rCountry )
1006
        const rtl::OString& rRegionSubtag, const rtl::OString& rOtherSubtags )
949
{
1007
{
950
    rtl::OUString aLang = OStringToOUString( rLang, RTL_TEXTENCODING_ASCII_US);
1008
    rtl::OUString aLanguageSubtag = OStringToOUString( rLanguageSubtag, RTL_TEXTENCODING_ASCII_US);
951
    rtl::OUString aCountry = OStringToOUString( rCountry, RTL_TEXTENCODING_ASCII_US);
1009
    rtl::OUString aRegionSubtag = OStringToOUString( rRegionSubtag, RTL_TEXTENCODING_ASCII_US);
952
    return convertIsoNamesToLanguage( aLang, aCountry);
1010
    rtl::OUString aOtherSubtags = OStringToOUString( rOtherSubtags, RTL_TEXTENCODING_ASCII_US);
1011
    return convertIsoNamesToLanguage( aLanguageSubtag, aRegionSubtag, aOtherSubtags );
1012
}
1013
1014
// -----------------------------------------------------------------------
1015
1016
namespace
1017
{
1018
    bool isNumber(const rtl::OUString &rTag)
1019
    {
1020
        const sal_Unicode *pStr = rTag.getStr();
1021
        for (sal_Int32 i = 0; i < rTag.getLength(); ++i)
1022
            if (pStr[i] < '0' || pStr[i] > '9')
1023
                return false;
1024
        return true;
1025
    }
1026
}
1027
1028
// static
1029
LanguageType MsLangId::convertIsoStringToLanguage( const rtl::OUString& rString )
1030
{
1031
    sal_Int32 nIndex = 0;
1032
    std::deque<rtl::OUString> aTagStack;
1033
    do
1034
    {
1035
        aTagStack.push_back(rString.getToken(0, sal_Unicode('-'), nIndex));
1036
    }
1037
    while ( nIndex >= 0 );
1038
1039
    rtl::OUString aLangSubtag = aTagStack.front();
1040
    aTagStack.pop_front();
1041
1042
    rtl::OUString aScriptSubtag;
1043
    rtl::OUString aRegionSubtag;
1044
    do
1045
    {
1046
        if (aTagStack.empty())
1047
            break;
1048
1049
        rtl::OUString aNextTag = aTagStack.front();
1050
1051
        // Script subtags MUST follow any primary and extended language subtags
1052
        // and MUST precede any other type of subtag.
1053
        //
1054
        // Script subtags consist of four letters
1055
        if (aNextTag.getLength() == 4)
1056
        {
1057
            aScriptSubtag = aNextTag;
1058
            aTagStack.pop_front();
1059
            if (aTagStack.empty())
1060
                break;
1061
            aNextTag = aTagStack.front();
1062
        }
1063
1064
        // Region subtags MUST follow any primary language, extended language, or
1065
        // script subtags and MUST precede any other type of subtag.
1066
        //
1067
        // Two-letter region subtags
1068
        //
1069
        // Three-character region subtags consist solely of digit (number)
1070
        // characters
1071
        if (aNextTag.getLength() == 2 || (aNextTag.getLength() == 3 && isNumber(aNextTag)))
1072
        {
1073
            aRegionSubtag = aNextTag;
1074
            aTagStack.pop_front();
1075
            if (aTagStack.empty())
1076
                break;
1077
        }
1078
    } while(0);
1079
1080
    rtl::OUString aOtherSubtags = aScriptSubtag;
1081
1082
    //Because we're retro-fitting this into our Variant field in the Locale class
1083
    //we'll bundle up the ScriptTag and other tags remaining after the Language and
1084
    //Region tags are extracted an make a single string of them. We'll ensure there
1085
    //is always a script entry at the start, empty if needs be, to avoid incorrectly
1086
    //mistaking an extra tag as a script tag later on.
1087
    while (!aTagStack.empty())
1088
    {
1089
        aOtherSubtags = aOtherSubtags + sal_Unicode('-') + aTagStack.front();
1090
        aTagStack.pop_front();
1091
    }
1092
1093
	fprintf(stderr, "lang is %s\n", rtl::OUStringToOString(aLangSubtag, RTL_TEXTENCODING_UTF8).getStr());
1094
	fprintf(stderr, "region is %s\n", rtl::OUStringToOString(aRegionSubtag, RTL_TEXTENCODING_UTF8).getStr());
1095
	fprintf(stderr, "remainder is %s\n", rtl::OUStringToOString(aOtherSubtags, RTL_TEXTENCODING_UTF8).getStr());
1096
1097
    return convertIsoNamesToLanguage( aLangSubtag, aRegionSubtag, aOtherSubtags );
953
}
1098
}
954
1099
955
// -----------------------------------------------------------------------
1100
// -----------------------------------------------------------------------
956
1101
957
// static
1102
// static
958
LanguageType MsLangId::convertIsoStringToLanguage(
1103
LanguageType MsLangId::convertIsoByteStringToLanguage( const rtl::OString& rString )
959
        const rtl::OUString& rString, sal_Unicode cSep )
960
{
1104
{
961
    rtl::OUString   aLang;
1105
    return MsLangId::convertIsoStringToLanguage( rtl::OStringToOUString(rString, RTL_TEXTENCODING_ASCII_US) );
962
    rtl::OUString   aCountry;
963
    sal_Int32  nSepPos = rString.indexOf( cSep );
964
    if ( nSepPos >= 0 )
965
    {
966
        aLang = rString.copy( 0, nSepPos );
967
        aCountry = rString.copy( nSepPos+1 );
968
    }
969
    else
970
        aLang = rString;
971
972
    return convertIsoNamesToLanguage( aLang, aCountry );
973
}
1106
}
974
1107
975
// -----------------------------------------------------------------------
1108
// -----------------------------------------------------------------------
976
1109
977
// static
1110
struct IsoLangGLIBCModifiersEntry
978
LanguageType MsLangId::convertIsoByteStringToLanguage(
979
        const rtl::OString& rString, sal_Char cSep )
980
{
1111
{
981
    rtl::OString  aLang;
1112
    LanguageType  mnLang;
982
    rtl::OString  aCountry;
1113
    sal_Char      maLangStr[4];
983
    sal_Int32  nSepPos = rString.indexOf( cSep );
1114
    sal_Char      maCountry[3];
984
    if ( nSepPos >= 0 )
1115
    sal_Char      maAtString[9];
985
    {
1116
};
986
        aLang = rString.copy( 0, nSepPos );
987
        aCountry = rString.copy( nSepPos+1 );
988
    }
989
    else
990
        aLang = rString;
991
1117
992
    return convertIsoNamesToLanguage( aLang, aCountry );
1118
static IsoLangGLIBCModifiersEntry const aImplIsoLangGLIBCModifiersEntries[] =
993
}
1119
{
1120
    // MS-LANGID codes               ISO639-1/2/3 ISO3166            glibc modifier
1121
    { LANGUAGE_BOSNIAN_CYRILLIC_BOSNIA_HERZEGOVINA, "bs", "BA", "cyrillic" },
1122
    { LANGUAGE_USER_SERBIAN_LATIN_SERBIA,           "sr", "RS", "latin" },   // Serbian Latin in Serbia
1123
    { LANGUAGE_SERBIAN_LATIN,                       "sr", "CS", "latin" },   // Serbian Latin in Serbia and Montenegro
1124
    { LANGUAGE_USER_SERBIAN_LATIN_MONTENEGRO,       "sr", "ME", "latin" },   // Serbian Latin in Montenegro
1125
    { LANGUAGE_SERBIAN_LATIN_NEUTRAL,               "sr", "",   "latin" },
1126
    { LANGUAGE_AZERI_CYRILLIC,                      "az", "AZ", "cyrillic" },
1127
    { LANGUAGE_UZBEK_CYRILLIC,                      "uz", "UZ", "cyrillic" },
1128
    { LANGUAGE_DONTKNOW,                            "",   "",   ""   }       // marks end of table
1129
};
994
1130
995
// -----------------------------------------------------------------------
996
// convert a unix locale string into LanguageType
1131
// convert a unix locale string into LanguageType
997
1132
998
// static
1133
// static
Lines 1001-1015 Link Here
1001
{
1136
{
1002
    rtl::OString  aLang;
1137
    rtl::OString  aLang;
1003
    rtl::OString  aCountry;
1138
    rtl::OString  aCountry;
1139
    rtl::OString  aAtString;
1140
    rtl::OString  aScriptTag;
1004
1141
1005
    sal_Int32  nLangSepPos    = rString.indexOf( (sal_Char)'_' );
1142
    sal_Int32  nLangSepPos    = rString.indexOf( (sal_Char)'_' );
1006
    sal_Int32  nCountrySepPos = rString.indexOf( (sal_Char)'.' );
1143
    sal_Int32  nCountrySepPos = rString.indexOf( (sal_Char)'.' );
1144
    sal_Int32  nAtPos         = rString.indexOf( (sal_Char)'@' );
1007
1145
1008
    if (nCountrySepPos < 0)
1146
    if (nCountrySepPos < 0)
1009
        nCountrySepPos = rString.indexOf( (sal_Char)'@' );
1147
        nCountrySepPos = nAtPos;
1010
    if (nCountrySepPos < 0)
1148
    if (nCountrySepPos < 0)
1011
        nCountrySepPos = rString.getLength();
1149
        nCountrySepPos = rString.getLength();
1012
1150
1151
    if (nAtPos >= 0)
1152
        aAtString = rString.copy( nAtPos+1 );
1153
1013
    if (   ((nLangSepPos >= 0) && (nLangSepPos > nCountrySepPos))
1154
    if (   ((nLangSepPos >= 0) && (nLangSepPos > nCountrySepPos))
1014
        || ((nLangSepPos < 0)) )
1155
        || ((nLangSepPos < 0)) )
1015
    {
1156
    {
Lines 1023-1029 Link Here
1023
        aCountry = rString.copy( nLangSepPos+1, nCountrySepPos - nLangSepPos - 1);
1164
        aCountry = rString.copy( nLangSepPos+1, nCountrySepPos - nLangSepPos - 1);
1024
    }
1165
    }
1025
1166
1026
    return convertIsoNamesToLanguage( aLang, aCountry );
1167
    //  if there is a glibc modifier, first look for exact match in modifier table
1168
    if (aAtString.getLength())
1169
    {
1170
        // language is lower case in table
1171
        rtl::OString aLowerLang = aLang.toAsciiLowerCase();
1172
        // country is upper case in table
1173
        rtl::OString aUpperCountry = aCountry.toAsciiUpperCase();
1174
        const IsoLangGLIBCModifiersEntry* pGLIBCModifiersEntry = aImplIsoLangGLIBCModifiersEntries;
1175
        do
1176
        {
1177
            if (( aLowerLang.equals( pGLIBCModifiersEntry->maLangStr ) ) &&
1178
               ( aAtString.equals( pGLIBCModifiersEntry->maAtString ) ))
1179
            {
1180
                if ( !aUpperCountry.getLength() ||
1181
                     aUpperCountry.equals( pGLIBCModifiersEntry->maCountry ) )
1182
               {
1183
                    return pGLIBCModifiersEntry->mnLang;
1184
               }
1185
            }
1186
            ++pGLIBCModifiersEntry;
1187
        }
1188
        while ( pGLIBCModifiersEntry->mnLang != LANGUAGE_DONTKNOW );
1189
1190
        if (aAtString.equals("latin"))
1191
            aScriptTag = "Latn";
1192
        else if (aAtString.equals("cyrillic"))
1193
            aScriptTag = "Cyrl";
1194
        else if (aAtString.equals("devanagari"))
1195
            aScriptTag = "Deva";
1196
    }
1197
1198
    return convertIsoNamesToLanguage( aLang, aCountry, aScriptTag );
1027
}
1199
}
1028
1200
1029
// -----------------------------------------------------------------------
1201
// -----------------------------------------------------------------------
(-)a/i18npool/source/isolang/mslangid.cxx (-4 / +2 lines)
Lines 174-182 Link Here
174
void MsLangId::convertLanguageToLocale( LanguageType nLang,
174
void MsLangId::convertLanguageToLocale( LanguageType nLang,
175
        ::com::sun::star::lang::Locale & rLocale )
175
        ::com::sun::star::lang::Locale & rLocale )
176
{
176
{
177
    if (rLocale.Variant.getLength())
177
    convertLanguageToIsoNames( nLang, rLocale.Language, rLocale.Country, rLocale.Variant );
178
        rLocale.Variant = rtl::OUString();
179
    convertLanguageToIsoNames( nLang, rLocale.Language, rLocale.Country);
180
}
178
}
181
179
182
180
Lines 208-214 Link Here
208
        return LANGUAGE_SYSTEM;
206
        return LANGUAGE_SYSTEM;
209
207
210
    LanguageType nRet = convertIsoNamesToLanguage( rLocale.Language,
208
    LanguageType nRet = convertIsoNamesToLanguage( rLocale.Language,
211
            rLocale.Country);
209
            rLocale.Country, rLocale.Variant);
212
    if (nRet == LANGUAGE_DONTKNOW)
210
    if (nRet == LANGUAGE_DONTKNOW)
213
        nRet = LANGUAGE_SYSTEM;
211
        nRet = LANGUAGE_SYSTEM;
214
212
(-)a/lingucomponent/source/lingutil/lingutil.cxx (-11 / +22 lines)
Lines 182-199 Link Here
182
               sal_Int32 nStartIndex = sPath.lastIndexOf(sal_Unicode('/')) + 1;
182
               sal_Int32 nStartIndex = sPath.lastIndexOf(sal_Unicode('/')) + 1;
183
               if (!sPath.match(aSystemPrefix, nStartIndex))
183
               if (!sPath.match(aSystemPrefix, nStartIndex))
184
                   continue;
184
                   continue;
185
               rtl::OUString sChunk = sPath.copy(0, sPath.getLength() - aSystemSuffix.getLength());
185
186
               sal_Int32 nIndex = nStartIndex + aSystemPrefix.getLength();
186
               nStartIndex += aSystemPrefix.getLength();
187
               rtl::OUString sLang = sChunk.getToken( 0, '_', nIndex );
187
188
               if (!sLang.getLength())
188
               rtl::OUString sChunk = sPath.copy(nStartIndex,
189
                   sPath.getLength() - aSystemSuffix.getLength() - nStartIndex);
190
191
               //Preferred format is BCP47, e.g. de-DE, sr-Latn-RS
192
               LanguageType nLang = MsLangId::convertIsoStringToLanguage(sChunk);
193
               if (nLang == LANGUAGE_DONTKNOW || nLang == LANGUAGE_NONE)
194
               {
195
                   //Will also accept typical Unix Locale format, e.g de_DE sr_RS@latin
196
                   nLang = MsLangId::convertUnxByteStringToLanguage(
197
                       rtl::OUStringToOString(sChunk,osl_getThreadTextEncoding()));
198
               }
199
200
			fprintf(stderr, "lang from %s is %x\n", rtl::OUStringToOString(sChunk,
201
				RTL_TEXTENCODING_UTF8).getStr(), nLang);
202
203
               if (nLang == LANGUAGE_DONTKNOW || nLang == LANGUAGE_NONE)
189
                   continue;
204
                   continue;
190
               rtl::OUString sRegion;
191
               if (nIndex != -1)
192
                   sRegion = sChunk.copy( nIndex, sChunk.getLength() - nIndex );
193
194
               // Thus we first get the language of the dictionary
195
               LanguageType nLang = MsLangId::convertIsoNamesToLanguage(
196
                  sLang, sRegion );
197
205
198
               if (aDicLangInUse.count( nLang ) == 0)
206
               if (aDicLangInUse.count( nLang ) == 0)
199
               {
207
               {
Lines 208-215 Link Here
208
                   aDicEntry.aLocations[0] = sPath;
216
                   aDicEntry.aLocations[0] = sPath;
209
                   aDicEntry.aFormatName = aFormatName;
217
                   aDicEntry.aFormatName = aFormatName;
210
                   aDicEntry.aLocaleNames[0] = aLocaleName;
218
                   aDicEntry.aLocaleNames[0] = aLocaleName;
219
                   fprintf(stderr, "name is %s\n", rtl::OUStringToOString(aLocaleName, RTL_TEXTENCODING_UTF8).getStr());
211
                   aRes.push_back( aDicEntry );
220
                   aRes.push_back( aDicEntry );
212
               }
221
               }
222
		else
223
	           fprintf(stderr, "%x already in there\n", nLang);
213
           }
224
           }
214
       }
225
       }
215
    }
226
    }
(-)a/sal/inc/rtl/locale.hxx (-6 / +14 lines)
Lines 71-82 Link Here
71
71
72
	<P>
72
	<P>
73
	The second constructor requires a third argument--the <STRONG>Variant.</STRONG>
73
	The second constructor requires a third argument--the <STRONG>Variant.</STRONG>
74
	The Variant codes are vendor and browser-specific.
74
	The format of this string is based on BCP-47. Each tag must
75
	For example, use WIN for Windows, MAC for Macintosh, and POSIX for POSIX.
75
	be seperated from the next by "-".
76
	Where there are two variants, separate them with an underscore, and
76
77
	put the most important one first. For
77
	If used, the first tag must either be empty or a four letter
78
	example, a Traditional Spanish collation might be referenced, with
78
	script code as described by http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
79
	"ES", "ES", "Traditional_WIN".
79
	Subsequent tags are not associated with any particular
80
	external standards.
81
82
	Typical use is for a Language of sr, a Country of RS and a
83
	Variant of Latn in order to describe Serbian written as Latin in
84
	Serbia. An example of use of extra tags to describe a custom
85
	use speculative variant, might be e.g.  Latn-WIN for Latin
86
	script on Windows, Cyrl-MAC for Cyrillic script on Macintosh,
87
	and -POSIX for a non-script-override specific POSIX variant</p>
80
88
81
	<P>
89
	<P>
82
	Because a <code>OLocale</code> object is just an identifier for a region,
90
	Because a <code>OLocale</code> object is just an identifier for a region,
(-)a/sal/osl/unx/nlsupport.c (+8 lines)
Lines 43-48 Link Here
43
43
44
#include <string.h>
44
#include <string.h>
45
45
46
#include <stdio.h>
47
46
/*****************************************************************************
48
/*****************************************************************************
47
 typedefs
49
 typedefs
48
 *****************************************************************************/
50
 *****************************************************************************/
Lines 163-172 Link Here
163
165
164
            rtl_string_release( pVariant );
166
            rtl_string_release( pVariant );
165
        }
167
        }
168
169
	fprintf(stderr, "_compose_locale returns %s\n", buffer);
166
        
170
        
167
        return buffer;
171
        return buffer;
168
    }
172
    }
169
    
173
    
174
    fprintf(stderr, "_compose_locale returns NULL\n");
170
    return NULL;
175
    return NULL;
171
}
176
}
172
177
Lines 176-181 Link Here
176
181
177
static rtl_Locale * _parse_locale( const char * locale )
182
static rtl_Locale * _parse_locale( const char * locale )
178
{
183
{
184
	fprintf(stderr, "parsing locale of %s\n", locale);
185
186
179
    static sal_Unicode c_locale[2] = { (sal_Unicode) 'C', 0 };
187
    static sal_Unicode c_locale[2] = { (sal_Unicode) 'C', 0 };
180
    
188
    
181
    /* check if locale contains a valid string */
189
    /* check if locale contains a valid string */
(-)a/sal/qa/rtl/locale/rtl_locale.cxx (-8 / +8 lines)
Lines 39-45 Link Here
39
    // default locale for test purpose
39
    // default locale for test purpose
40
    void setDefaultLocale()
40
    void setDefaultLocale()
41
    {
41
    {
42
        rtl::OLocale::setDefault(rtl::OUString::createFromAscii("de"), rtl::OUString::createFromAscii("DE"), /* rtl::OUString() */ rtl::OUString::createFromAscii("hochdeutsch") );
42
        rtl::OLocale::setDefault(rtl::OUString::createFromAscii("be"), rtl::OUString::createFromAscii("BY"), /* rtl::OUString() */ rtl::OUString::createFromAscii("Latn") );
43
    }
43
    }
44
44
45
class getDefault : public CppUnit::TestFixture
45
class getDefault : public CppUnit::TestFixture
Lines 68-74 Link Here
68
68
69
    void getDefault_001()
69
    void getDefault_001()
70
    {
70
    {
71
        // rtl::OLocale::setDefault(rtl::OUString::createFromAscii("de"), rtl::OUString::createFromAscii("DE"), rtl::OUString());
71
        // rtl::OLocale::setDefault(rtl::OUString::createFromAscii("be"), rtl::OUString::createFromAscii("BY"), rtl::OUString());
72
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
72
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
73
        CPPUNIT_ASSERT_MESSAGE("locale must not null", aLocale.getData() != NULL);
73
        CPPUNIT_ASSERT_MESSAGE("locale must not null", aLocale.getData() != NULL);
74
    }
74
    }
Lines 135-148 Link Here
135
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
135
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
136
        rtl::OUString suLanguage = aLocale.getLanguage();
136
        rtl::OUString suLanguage = aLocale.getLanguage();
137
        t_print("Language: %s\n", rtl::OUStringToOString(suLanguage, osl_getThreadTextEncoding()).getStr());
137
        t_print("Language: %s\n", rtl::OUStringToOString(suLanguage, osl_getThreadTextEncoding()).getStr());
138
        CPPUNIT_ASSERT_MESSAGE("locale language must be 'de'", suLanguage.equals(rtl::OUString::createFromAscii("de")));
138
        CPPUNIT_ASSERT_MESSAGE("locale language must be 'be'", suLanguage.equals(rtl::OUString::createFromAscii("be")));
139
    }
139
    }
140
    void getLanguage_002()
140
    void getLanguage_002()
141
    {
141
    {
142
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
142
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
143
        rtl::OUString suLanguage = rtl_locale_getLanguage(aLocale.getData());
143
        rtl::OUString suLanguage = rtl_locale_getLanguage(aLocale.getData());
144
        t_print("Language: %s\n", rtl::OUStringToOString(suLanguage, osl_getThreadTextEncoding()).getStr());
144
        t_print("Language: %s\n", rtl::OUStringToOString(suLanguage, osl_getThreadTextEncoding()).getStr());
145
        CPPUNIT_ASSERT_MESSAGE("locale language must be 'de'", suLanguage.equals(rtl::OUString::createFromAscii("de")));
145
        CPPUNIT_ASSERT_MESSAGE("locale language must be 'be'", suLanguage.equals(rtl::OUString::createFromAscii("be")));
146
    }
146
    }
147
147
148
    // Change the following lines only, if you add, remove or rename
148
    // Change the following lines only, if you add, remove or rename
Lines 174-187 Link Here
174
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
174
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
175
        rtl::OUString suCountry = aLocale.getCountry();
175
        rtl::OUString suCountry = aLocale.getCountry();
176
        t_print("Country: %s\n", rtl::OUStringToOString(suCountry, osl_getThreadTextEncoding()).getStr());
176
        t_print("Country: %s\n", rtl::OUStringToOString(suCountry, osl_getThreadTextEncoding()).getStr());
177
        CPPUNIT_ASSERT_MESSAGE("locale country must be 'DE'", suCountry.equals(rtl::OUString::createFromAscii("DE")));
177
        CPPUNIT_ASSERT_MESSAGE("locale country must be 'BY'", suCountry.equals(rtl::OUString::createFromAscii("BY")));
178
    }
178
    }
179
    void getCountry_002()
179
    void getCountry_002()
180
    {
180
    {
181
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
181
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
182
        rtl::OUString suCountry = rtl_locale_getCountry(aLocale.getData());
182
        rtl::OUString suCountry = rtl_locale_getCountry(aLocale.getData());
183
        t_print("Country: %s\n", rtl::OUStringToOString(suCountry, osl_getThreadTextEncoding()).getStr());
183
        t_print("Country: %s\n", rtl::OUStringToOString(suCountry, osl_getThreadTextEncoding()).getStr());
184
        CPPUNIT_ASSERT_MESSAGE("locale country must be 'DE'", suCountry.equals(rtl::OUString::createFromAscii("DE")));
184
        CPPUNIT_ASSERT_MESSAGE("locale country must be 'BY'", suCountry.equals(rtl::OUString::createFromAscii("BY")));
185
    }
185
    }
186
186
187
    // Change the following lines only, if you add, remove or rename
187
    // Change the following lines only, if you add, remove or rename
Lines 213-226 Link Here
213
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
213
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
214
        rtl::OUString suVariant = aLocale.getVariant();
214
        rtl::OUString suVariant = aLocale.getVariant();
215
        t_print("Variant: %s\n", rtl::OUStringToOString(suVariant, osl_getThreadTextEncoding()).getStr());
215
        t_print("Variant: %s\n", rtl::OUStringToOString(suVariant, osl_getThreadTextEncoding()).getStr());
216
        CPPUNIT_ASSERT_MESSAGE("locale variant must be 'hochdeutsch'", suVariant.equals(rtl::OUString::createFromAscii("hochdeutsch")));
216
        CPPUNIT_ASSERT_MESSAGE("locale variant must be 'Latn'", suVariant.equals(rtl::OUString::createFromAscii("Latn")));
217
    }
217
    }
218
    void getVariant_002()
218
    void getVariant_002()
219
    {
219
    {
220
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
220
   	rtl::OLocale aLocale = ::rtl::OLocale::getDefault();
221
        rtl::OUString suVariant = rtl_locale_getVariant(aLocale.getData());
221
        rtl::OUString suVariant = rtl_locale_getVariant(aLocale.getData());
222
        t_print("Variant: %s\n", rtl::OUStringToOString(suVariant, osl_getThreadTextEncoding()).getStr());
222
        t_print("Variant: %s\n", rtl::OUStringToOString(suVariant, osl_getThreadTextEncoding()).getStr());
223
        CPPUNIT_ASSERT_MESSAGE("locale variant must be 'hochdeutsch'", suVariant.equals(rtl::OUString::createFromAscii("hochdeutsch")));
223
        CPPUNIT_ASSERT_MESSAGE("locale variant must be 'Latn'", suVariant.equals(rtl::OUString::createFromAscii("Latn")));
224
    }
224
    }
225
225
226
    // Change the following lines only, if you add, remove or rename
226
    // Change the following lines only, if you add, remove or rename
(-)a/sal/rtl/source/alloc_global.c (+2 lines)
Lines 32-37 Link Here
32
#define INCLUDED_STRING_H
32
#define INCLUDED_STRING_H
33
#endif
33
#endif
34
34
35
#define FORCE_SYSALLOC 1
36
35
#if !defined(FORCE_SYSALLOC)
37
#if !defined(FORCE_SYSALLOC)
36
38
37
/* ================================================================= *
39
/* ================================================================= *
(-)a/sal/rtl/source/locale.c (+18 lines)
Lines 32-37 Link Here
32
32
33
#include "internal/once.h"
33
#include "internal/once.h"
34
34
35
#include <stdio.h>
36
35
static sal_Int32 RTL_HASHTABLE_SIZE[] =
37
static sal_Int32 RTL_HASHTABLE_SIZE[] =
36
{
38
{
37
    7, 31, 127, 251, 509, 1021, 2039, 4093
39
    7, 31, 127, 251, 509, 1021, 2039, 4093
Lines 269-274 Link Here
269
    rtl_uString* sCountry = NULL;
271
    rtl_uString* sCountry = NULL;
270
    rtl_uString* sVariant = NULL;
272
    rtl_uString* sVariant = NULL;
271
    rtl_Locale *newLocale = NULL;
273
    rtl_Locale *newLocale = NULL;
274
    const sal_Unicode *foo;
272
    sal_Int32 hashCode = -1;
275
    sal_Int32 hashCode = -1;
273
    sal_Int32 key = 0;
276
    sal_Int32 key = 0;
274
277
Lines 280-285 Link Here
280
    if (!rtl_locale_init())
283
    if (!rtl_locale_init())
281
      return NULL;
284
      return NULL;
282
285
286
	fprintf(stderr, "lang is ");
287
    for (foo = language; *foo; ++foo)
288
        fprintf(stderr, "%c", *foo);
289
	fprintf(stderr, "\n");
290
291
	fprintf(stderr, "country is ");
292
    for (foo = country; *foo; ++foo)
293
        fprintf(stderr, "%c", *foo);
294
	fprintf(stderr, "\n");
295
296
    	fprintf(stderr, "variant is ");
297
    for (foo = variant; *foo; ++foo)
298
        fprintf(stderr, "%c", *foo);
299
	fprintf(stderr, "\n");
300
283
    hashCode = rtl_ustr_hashCode(language) ^ rtl_ustr_hashCode(country) ^ rtl_ustr_hashCode(variant);
301
    hashCode = rtl_ustr_hashCode(language) ^ rtl_ustr_hashCode(country) ^ rtl_ustr_hashCode(variant);
284
    key = rtl_hashfunc(g_pLocaleTable, hashCode);
302
    key = rtl_hashfunc(g_pLocaleTable, hashCode);
285
303
(-)a/sc/source/core/tool/addincol.cxx (-9 / +25 lines)
Lines 190-211 Link Here
190
        const sheet::LocalizedName* pArray = rSequence.getConstArray();
190
        const sheet::LocalizedName* pArray = rSequence.getConstArray();
191
        long i;
191
        long i;
192
192
193
        rtl::OUString aLangStr, aCountryStr;
193
        rtl::OUString aLanguageTag, aRegionTag, aOtherTags;
194
        MsLangId::convertLanguageToIsoNames( eDestLang, aLangStr, aCountryStr );
194
        MsLangId::convertLanguageToIsoNames( eDestLang, aLanguageTag, aRegionTag, aOtherTags);
195
        rtl::OUString aUserLang = aLangStr.toAsciiLowerCase();
195
        rtl::OUString aUserLang = aLanguageTag.toAsciiLowerCase();
196
        rtl::OUString aUserCountry = aCountryStr.toAsciiUpperCase();
196
        rtl::OUString aUserCountry = aRegionTag.toAsciiUpperCase();
197
        //Script Subtag is guaranteed to exist as first Subtag if there is any subtags
198
        //at all, it can be empty
199
        sal_Int32 nIndex = 0;
200
        rtl::OUString aUserScriptSubtag = aOtherTags.getToken(0, sal_Unicode('-'), nIndex);
197
201
198
        //  first check for match of both language and country
202
        //  first check for match of all language, country and Script tag
199
203
200
        for ( i=0; i<nSeqLen; i++)
204
        for ( i=0; i<nSeqLen; i++)
201
            if ( pArray[i].Locale.Language == aUserLang &&
205
            if ( pArray[i].Locale.Language == aUserLang &&
202
                    pArray[i].Locale.Country  == aUserCountry )
206
                    pArray[i].Locale.Country == aUserCountry &&
207
                    pArray[i].Locale.Variant == aUserScriptSubtag )
203
            {
208
            {
204
                rRetExcelName = pArray[i].Name;
209
                rRetExcelName = pArray[i].Name;
205
                return TRUE;
210
                return TRUE;
206
            }
211
            }
207
212
208
        //  second: check only language
213
214
        //  second check for match of both language and country
215
216
        for ( i=0; i<nSeqLen; i++)
217
            if ( pArray[i].Locale.Language == aUserLang &&
218
                    pArray[i].Locale.Country == aUserCountry )
219
            {
220
                rRetExcelName = pArray[i].Name;
221
                return TRUE;
222
            }
223
224
        //  third: check only language
209
225
210
        for ( i=0; i<nSeqLen; i++)
226
        for ( i=0; i<nSeqLen; i++)
211
            if ( pArray[i].Locale.Language == aUserLang )
227
            if ( pArray[i].Locale.Language == aUserLang )
Lines 214-225 Link Here
214
                return TRUE;
230
                return TRUE;
215
            }
231
            }
216
232
217
        // third: #i57772# fall-back to en-US
233
        // fourth: #i57772# fall-back to en-US
218
234
219
        if ( eDestLang != LANGUAGE_ENGLISH_US )
235
        if ( eDestLang != LANGUAGE_ENGLISH_US )
220
            return GetExcelName( LANGUAGE_ENGLISH_US, rRetExcelName );
236
            return GetExcelName( LANGUAGE_ENGLISH_US, rRetExcelName );
221
237
222
        //  forth: use first (default) entry
238
        // fifth: use first (default) entry
223
239
224
        rRetExcelName = pArray[0].Name;
240
        rRetExcelName = pArray[0].Name;
225
        return TRUE;
241
        return TRUE;
(-)a/soltools/util/makefile.pmk (-4 lines)
Lines 31-40 Link Here
31
# find 'adjustvisibility' in own output tree
31
# find 'adjustvisibility' in own output tree
32
ADJUSTVISIBILITY=$(AUGMENT_LIBRARY_PATH) $(BIN)$/adjustvisibility
32
ADJUSTVISIBILITY=$(AUGMENT_LIBRARY_PATH) $(BIN)$/adjustvisibility
33
33
34
# avoid STLPort
35
NO_DEFAULT_STL=TRUE
36
SOLARINC!:=$(subst,/stl$(SPACECHAR),dont_use_stl$(SPACECHAR) $(SOLARINC))
37
38
.IF "$(OS)"=="SOLARIS"
34
.IF "$(OS)"=="SOLARIS"
39
# hack due to #i53089#
35
# hack due to #i53089#
40
.IF "$(COMPATH:+"x")" != "$(COMPATH:+"x":s/binx//)"
36
.IF "$(COMPATH:+"x")" != "$(COMPATH:+"x":s/binx//)"
(-)a/tools/inc/tools/preextstl.h (-3 / +11 lines)
Lines 25-31 Link Here
25
 *
25
 *
26
 ************************************************************************/
26
 ************************************************************************/
27
27
28
//1. Force inclusion of a std:: using header to ensure the stlport define
29
//of std as "stlport"
30
#include <algorithm>
28
#if defined(ADAPT_EXT_STL)
31
#if defined(ADAPT_EXT_STL)
32
//2. Force inclusion of stlport headers to get their stlport:: definitions
29
#   include <ostream>
33
#   include <ostream>
30
#   include <istream>
34
#   include <istream>
31
#   include <fstream>
35
#   include <fstream>
Lines 33-44 Link Here
33
#   include <vector>
37
#   include <vector>
34
#   include <list>
38
#   include <list>
35
#   include <map>
39
#   include <map>
36
#   include <algorithm>
37
#   if defined(std)
40
#   if defined(std)
38
#       define std_was_redefined_as_stlport std
41
#       define std_was_redefined_as_stlport std
39
#       undef std
42
#       undef std
40
#       define _STLP_OUTERMOST_HEADER_ID 0xdeadbeaf
43
#       define _STLP_OUTERMOST_HEADER_ID 0xdeadbeaf
41
#       pragma GCC visibility push(default)
44
#       if defined(_GNUC__)
45
#         pragma GCC visibility push(default)
46
#       endif
47
//3. Now force inclusion of native headers to get their std:: definitions
42
#       include _STLP_NATIVE_HEADER(exception_defines.h)
48
#       include _STLP_NATIVE_HEADER(exception_defines.h)
43
#       include _STLP_NATIVE_HEADER(limits)
49
#       include _STLP_NATIVE_HEADER(limits)
44
#       include _STLP_NATIVE_HEADER(memory)
50
#       include _STLP_NATIVE_HEADER(memory)
Lines 56-62 Link Here
56
#       include _STLP_NATIVE_HEADER(vector)
62
#       include _STLP_NATIVE_HEADER(vector)
57
#       include _STLP_NATIVE_HEADER(list)
63
#       include _STLP_NATIVE_HEADER(list)
58
#       include _STLP_NATIVE_HEADER(map)
64
#       include _STLP_NATIVE_HEADER(map)
59
#       pragma GCC visibility pop
65
#       if defined(_GNUC__)
66
#         pragma GCC visibility pop
67
#       endif
60
#   endif
68
#   endif
61
#endif
69
#endif
62
//ext_std resolves to the std that external c++ libs, e.g. Graphite were built
70
//ext_std resolves to the std that external c++ libs, e.g. Graphite were built
(-)a/udkapi/com/sun/star/lang/Locale.idl (-8 / +16 lines)
Lines 66-72 Link Here
66
	// DocMerge from xml: field com::sun::star::lang::Locale::Language
66
	// DocMerge from xml: field com::sun::star::lang::Locale::Language
67
	/** specifies an <strong>ISO Language Code</strong>.
67
	/** specifies an <strong>ISO Language Code</strong>.
68
68
69
		<p>These codes are the lower-case two-letter codes as defined by
69
		<p>These codes are the lower-case two or three letter codes as defined by
70
		ISO-639. You can find a full list of these codes at a number of
70
		ISO-639. You can find a full list of these codes at a number of
71
		sites, such as: <br>
71
		sites, such as: <br>
72
		<a href="http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt">
72
		<a href="http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt">
Lines 98-111 Link Here
98
	//-------------------------------------------------------------------------
98
	//-------------------------------------------------------------------------
99
99
100
	// DocMerge from xml: field com::sun::star::lang::Locale::Variant
100
	// DocMerge from xml: field com::sun::star::lang::Locale::Variant
101
	/** contains a variant of the locale; codes are vendor and
101
	/** contains a sequence of language tags that describe a variant of the locale.
102
		browser-specific.
103
102
104
		<p>For example, use WIN for Windows, MAC for Macintosh, and POSIX
103
		<p>The format of the string is based on BCP-47. Each tag must
105
		for POSIX. Wherever there are two variants, separate them with an
104
                be seperated from the next by -</p>
106
		underscore, and put the most important one first. For example, a
105
107
		traditional Spanish collation might construct a locale with parameters
106
		<p>If used, the first tag must either be empty or a four letter
108
		for language, country and variant as: "es", "ES", "Traditional_WIN".</p>
107
                script code as described by http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
108
		Subsequent tags are not associated with any particular
109
                external standards.</p>
110
111
		<p>Typical use is for a Language of sr, a Country of RS and a
112
                Variant of Latn in order to describe Serbian written as Latin in
113
		Serbia. An example of use of extra tags to describe a custom
114
		use speculative variant, might be e.g.  Latn-WIN for Latin
115
		script on Windows, Cyrl-MAC for Cyrillic script on Macintosh,
116
		and -POSIX for a non-script-override specific POSIX variant</p>
109
	 */
117
	 */
110
	string Variant;
118
	string Variant;
111
119
(-)a/unotools/source/i18n/localedatawrapper.cxx (-8 / +30 lines)
Lines 483-492 Link Here
483
        }
483
        }
484
		if ( eLang != LANGUAGE_DONTKNOW )
484
		if ( eLang != LANGUAGE_DONTKNOW )
485
		{
485
		{
486
            rtl::OUString aLanguage, aCountry;
486
            rtl::OUString aLanguageTag, aRegionTag, aOtherTags;
487
            MsLangId::convertLanguageToIsoNames( eLang, aLanguage, aCountry );
487
            MsLangId::convertLanguageToIsoNames( eLang, aLanguageTag, aRegionTag, aOtherTags );
488
			if ( xLoc[i].Language != aLanguage ||
488
			if ( xLoc[i].Language != aLanguageTag ||
489
					xLoc[i].Country != aCountry )
489
					xLoc[i].Country != aRegionTag ||
490
					xLoc[i].Variant != aOtherTags )
490
			{
491
			{
491
                // In checks, exclude known problems because no MS-LCID defined
492
                // In checks, exclude known problems because no MS-LCID defined
492
                // and default for Language found.
493
                // and default for Language found.
Lines 503-513 Link Here
503
					aMsg.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "  ->  0x" ) );
504
					aMsg.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "  ->  0x" ) );
504
					aMsg += String::CreateFromInt32( eLang, 16 );
505
					aMsg += String::CreateFromInt32( eLang, 16 );
505
					aMsg.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "  ->  " ) );
506
					aMsg.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "  ->  " ) );
506
					aMsg += String( aLanguage);
507
507
					if ( aCountry.getLength() )
508
					aMsg += String( aLanguageTag );
509
					//Script Subtag is guaranteed to exist as first Subtag if there is any subtags
510
					//at all, it can be empty
511
					sal_Int32 nIndex = 0;
512
					rtl::OUString aScriptSubtag = aOtherTags.getToken(0, sal_Unicode('-'), nIndex);
513
					if ( aScriptSubtag.getLength() )
508
					{
514
					{
509
						aMsg += '_';
515
						aMsg += '-';
510
						aMsg += String( aCountry);
516
						aMsg += String( aScriptSubtag );
517
					}
518
					if ( aRegionTag.getLength() )
519
					{
520
						aMsg += '-';
521
						aMsg += String( aRegionTag );
522
					}
523
					//Now append non-Script Subtags
524
					if (nIndex >= 0)
525
					{
526
						aMsg += '-';
527
						aMsg += String( aOtherTags.copy(nIndex) );
528
					}
529
					if ( aRegionTag.getLength() )
530
					{
531
						aMsg += '-';
532
						aMsg += String( aRegionTag );
511
					}
533
					}
512
					outputCheckMessage( aMsg );
534
					outputCheckMessage( aMsg );
513
				}
535
				}
(-)a/xmloff/inc/xmloff/xmltoken.hxx (+4 lines)
Lines 1027-1032 Link Here
1027
        XML_LANGUAGE,
1027
        XML_LANGUAGE,
1028
        XML_LANGUAGE_ASIAN,
1028
        XML_LANGUAGE_ASIAN,
1029
        XML_LANGUAGE_COMPLEX,
1029
        XML_LANGUAGE_COMPLEX,
1030
        XML_LANGUAGE_TAGS,
1031
        XML_LANGUAGE_TAGS_ASIAN,
1032
        XML_LANGUAGE_TAGS_COMPLEX,
1030
        XML_LASER,
1033
        XML_LASER,
1031
        XML_LAST_COLUMN_SPANNED,
1034
        XML_LAST_COLUMN_SPANNED,
1032
        XML_LAST_PAGE,
1035
        XML_LAST_PAGE,
Lines 2103-2108 Link Here
2103
        XML_TRANSLITERATION_FORMAT,
2106
        XML_TRANSLITERATION_FORMAT,
2104
        XML_TRANSLITERATION_LANGUAGE,
2107
        XML_TRANSLITERATION_LANGUAGE,
2105
        XML_TRANSLITERATION_COUNTRY,
2108
        XML_TRANSLITERATION_COUNTRY,
2109
        XML_TRANSLITERATION_LANGUAGE_TAGS,
2106
        XML_TRANSLITERATION_STYLE,
2110
        XML_TRANSLITERATION_STYLE,
2107
2111
2108
        XML_KEY1_PHONETIC,
2112
        XML_KEY1_PHONETIC,
(-)a/xmloff/inc/xmloff/xmltypes.hxx (+1 lines)
Lines 278-283 Link Here
278
#define XML_TYPE_TEXT_OVERLINE_WIDTH    (XML_TEXT_TYPES_START + 111)
278
#define XML_TYPE_TEXT_OVERLINE_WIDTH    (XML_TEXT_TYPES_START + 111)
279
#define XML_TYPE_TEXT_OVERLINE_COLOR    (XML_TEXT_TYPES_START + 112)
279
#define XML_TYPE_TEXT_OVERLINE_COLOR    (XML_TEXT_TYPES_START + 112)
280
#define XML_TYPE_TEXT_OVERLINE_HASCOLOR (XML_TEXT_TYPES_START + 113)
280
#define XML_TYPE_TEXT_OVERLINE_HASCOLOR (XML_TEXT_TYPES_START + 113)
281
#define XML_TYPE_CHAR_LANGUAGE_TAGS		(XML_TEXT_TYPES_START + 114)
281
282
282
#define XML_SCH_TYPES_START	(0x4 << XML_TYPE_APP_SHIFT)
283
#define XML_SCH_TYPES_START	(0x4 << XML_TYPE_APP_SHIFT)
283
#define XML_PM_TYPES_START	(0x5 << XML_TYPE_APP_SHIFT)	// page master
284
#define XML_PM_TYPES_START	(0x5 << XML_TYPE_APP_SHIFT)	// page master
(-)a/xmloff/source/core/xmltoken.cxx (+4 lines)
Lines 1035-1040 Link Here
1035
        TOKEN( "language",                        XML_LANGUAGE ),
1035
        TOKEN( "language",                        XML_LANGUAGE ),
1036
        TOKEN( "language-asian",                  XML_LANGUAGE_ASIAN ),
1036
        TOKEN( "language-asian",                  XML_LANGUAGE_ASIAN ),
1037
        TOKEN( "language-complex",                XML_LANGUAGE_COMPLEX ),
1037
        TOKEN( "language-complex",                XML_LANGUAGE_COMPLEX ),
1038
        TOKEN( "language-tags",                   XML_LANGUAGE_TAGS ),
1039
        TOKEN( "language-tags-asian",             XML_LANGUAGE_TAGS_ASIAN ),
1040
        TOKEN( "language-tags-complex",           XML_LANGUAGE_TAGS_COMPLEX ),
1038
        TOKEN( "laser",                           XML_LASER ),
1041
        TOKEN( "laser",                           XML_LASER ),
1039
        TOKEN( "last-column-spanned",             XML_LAST_COLUMN_SPANNED ),
1042
        TOKEN( "last-column-spanned",             XML_LAST_COLUMN_SPANNED ),
1040
        TOKEN( "last-page",                       XML_LAST_PAGE ),
1043
        TOKEN( "last-page",                       XML_LAST_PAGE ),
Lines 2113-2118 Link Here
2113
2116
2114
        TOKEN( "transliteration-format",          XML_TRANSLITERATION_FORMAT ),
2117
        TOKEN( "transliteration-format",          XML_TRANSLITERATION_FORMAT ),
2115
        TOKEN( "transliteration-language",        XML_TRANSLITERATION_LANGUAGE ),
2118
        TOKEN( "transliteration-language",        XML_TRANSLITERATION_LANGUAGE ),
2119
        TOKEN( "transliteration-language-tags",   XML_TRANSLITERATION_LANGUAGE_TAGS ),
2116
        TOKEN( "transliteration-country",         XML_TRANSLITERATION_COUNTRY ),
2120
        TOKEN( "transliteration-country",         XML_TRANSLITERATION_COUNTRY ),
2117
        TOKEN( "transliteration-style",           XML_TRANSLITERATION_STYLE ),
2121
        TOKEN( "transliteration-style",           XML_TRANSLITERATION_STYLE ),
2118
2122
(-)a/xmloff/source/style/chrlohdl.cxx (+43 lines)
Lines 146-148 Link Here
146
146
147
	return sal_True;
147
	return sal_True;
148
}
148
}
149
150
XMLCharLanguageTagsHdl::~XMLCharLanguageTagsHdl()
151
{
152
	// nothing to do
153
}
154
155
bool XMLCharLanguageTagsHdl::equals( const ::com::sun::star::uno::Any& r1, const ::com::sun::star::uno::Any& r2 ) const
156
{
157
	sal_Bool bRet = sal_False;
158
	lang::Locale aLocale1, aLocale2;
159
160
	if( ( r1 >>= aLocale1 ) && ( r2 >>= aLocale2 ) )
161
		bRet = ( aLocale1.Variant == aLocale2.Variant );
162
163
	return bRet;
164
}
165
166
sal_Bool XMLCharLanguageTagsHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
167
{ 
168
	lang::Locale aLocale;
169
170
	rValue >>= aLocale;
171
172
	if( !IsXMLToken( rStrImpValue, XML_NONE ) )
173
		aLocale.Variant = rStrImpValue;
174
175
	rValue <<= aLocale;
176
	return sal_True; 
177
}
178
179
sal_Bool XMLCharLanguageTagsHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const
180
{ 
181
	lang::Locale aLocale;
182
	if(!(rValue >>= aLocale))
183
		return sal_False;
184
185
	rStrExpValue = aLocale.Variant;
186
	
187
	if( !rStrExpValue.getLength() )
188
		rStrExpValue = GetXMLToken( XML_NONE );
189
190
	return sal_True;
191
}
(-)a/xmloff/source/style/chrlohdl.hxx (+12 lines)
Lines 55-59 Link Here
55
	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
55
	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
56
};
56
};
57
57
58
class XMLCharLanguageTagsHdl : public XMLPropertyHandler
59
{
60
public:
61
	virtual ~XMLCharLanguageTagsHdl();
62
63
	virtual bool equals( const ::com::sun::star::uno::Any& r1, const ::com::sun::star::uno::Any& r2 ) const;
64
65
	virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
66
	virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
67
};
68
69
58
#endif		// _XMLOFF_PROPERTYHANDLER_CHARLOCALETYPES_HXX
70
#endif		// _XMLOFF_PROPERTYHANDLER_CHARLOCALETYPES_HXX
59
71
(-)a/xmloff/source/style/prhdlfac.cxx (+3 lines)
Lines 377-382 Link Here
377
		case XML_TYPE_CHAR_COUNTRY:
377
		case XML_TYPE_CHAR_COUNTRY:
378
			pPropHdl = new XMLCharCountryHdl;
378
			pPropHdl = new XMLCharCountryHdl;
379
			break;
379
			break;
380
		case XML_TYPE_CHAR_LANGUAGE_TAGS:
381
			pPropHdl = new XMLCharLanguageTagsHdl;
382
			break;
380
		case XML_TYPE_LINE_SPACE_FIXED:
383
		case XML_TYPE_LINE_SPACE_FIXED:
381
			pPropHdl = new XMLLineHeightHdl;
384
			pPropHdl = new XMLLineHeightHdl;
382
			break;
385
			break;
(-)a/xmloff/source/style/xmlnumfe.cxx (-6 / +10 lines)
Lines 371-383 Link Here
371
{
371
{
372
	if ( nLang != LANGUAGE_SYSTEM )
372
	if ( nLang != LANGUAGE_SYSTEM )
373
	{
373
	{
374
		OUString aLangStr, aCountryStr;
374
		OUString aLanguageTag, aRegionTag, aOtherTags;
375
        MsLangId::convertLanguageToIsoNames( (LanguageType)nLang, aLangStr, aCountryStr );
375
		MsLangId::convertLanguageToIsoNames( (LanguageType)nLang, aLanguageTag, aRegionTag, aOtherTags);
376
376
377
		if (aLangStr.getLength())
377
		if (aLanguageTag.getLength())
378
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE, aLangStr );
378
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE, aLanguageTag );
379
		if (aCountryStr.getLength())
379
		if (aRegionTag.getLength())
380
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_COUNTRY, aCountryStr );
380
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_COUNTRY, aRegionTag );
381
		if (aOtherTags.getLength())
382
			rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS, aOtherTags );
381
	}
383
	}
382
}
384
}
383
385
Lines 1126-1131 Link Here
1126
                              aAttr.Locale.Language );
1128
                              aAttr.Locale.Language );
1127
		rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_COUNTRY,
1129
		rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_COUNTRY,
1128
                              aAttr.Locale.Country );
1130
                              aAttr.Locale.Country );
1131
		rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_LANGUAGE_TAGS,
1132
                              aAttr.Locale.Variant );
1129
		rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_STYLE,
1133
		rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_STYLE,
1130
                              aAttr.Style );
1134
                              aAttr.Style );
1131
    }
1135
    }
(-)a/xmloff/source/style/xmlnumfi.cxx (-10 / +25 lines)
Lines 277-282 Link Here
277
	XML_TOK_STYLE_ATTR_NAME,
277
	XML_TOK_STYLE_ATTR_NAME,
278
	XML_TOK_STYLE_ATTR_LANGUAGE,
278
	XML_TOK_STYLE_ATTR_LANGUAGE,
279
	XML_TOK_STYLE_ATTR_COUNTRY,
279
	XML_TOK_STYLE_ATTR_COUNTRY,
280
	XML_TOK_STYLE_ATTR_LANGUAGE_TAGS,
280
	XML_TOK_STYLE_ATTR_TITLE,
281
	XML_TOK_STYLE_ATTR_TITLE,
281
	XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER,
282
	XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER,
282
	XML_TOK_STYLE_ATTR_FORMAT_SOURCE,
283
	XML_TOK_STYLE_ATTR_FORMAT_SOURCE,
Lines 285-290 Link Here
285
    XML_TOK_STYLE_ATTR_TRANSL_FORMAT,
286
    XML_TOK_STYLE_ATTR_TRANSL_FORMAT,
286
    XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE,
287
    XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE,
287
    XML_TOK_STYLE_ATTR_TRANSL_COUNTRY,
288
    XML_TOK_STYLE_ATTR_TRANSL_COUNTRY,
289
    XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE_TAGS,
288
    XML_TOK_STYLE_ATTR_TRANSL_STYLE
290
    XML_TOK_STYLE_ATTR_TRANSL_STYLE
289
};
291
};
290
292
Lines 300-305 Link Here
300
	XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS,
302
	XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS,
301
	XML_TOK_ELEM_ATTR_LANGUAGE,
303
	XML_TOK_ELEM_ATTR_LANGUAGE,
302
	XML_TOK_ELEM_ATTR_COUNTRY,
304
	XML_TOK_ELEM_ATTR_COUNTRY,
305
	XML_TOK_ELEM_ATTR_LANGUAGE_TAGS,
303
	XML_TOK_ELEM_ATTR_STYLE,
306
	XML_TOK_ELEM_ATTR_STYLE,
304
	XML_TOK_ELEM_ATTR_TEXTUAL,
307
	XML_TOK_ELEM_ATTR_TEXTUAL,
305
	XML_TOK_ELEM_ATTR_CALENDAR
308
	XML_TOK_ELEM_ATTR_CALENDAR
Lines 566-571 Link Here
566
	        { XML_NAMESPACE_STYLE,  XML_NAME,			 	   XML_TOK_STYLE_ATTR_NAME					},
569
	        { XML_NAMESPACE_STYLE,  XML_NAME,			 	   XML_TOK_STYLE_ATTR_NAME					},
567
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE,		 	   XML_TOK_STYLE_ATTR_LANGUAGE				},
570
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE,		 	   XML_TOK_STYLE_ATTR_LANGUAGE				},
568
	        { XML_NAMESPACE_NUMBER, XML_COUNTRY,		 	   XML_TOK_STYLE_ATTR_COUNTRY				},
571
	        { XML_NAMESPACE_NUMBER, XML_COUNTRY,		 	   XML_TOK_STYLE_ATTR_COUNTRY				},
572
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS,		   XML_TOK_STYLE_ATTR_LANGUAGE_TAGS			},
569
	        { XML_NAMESPACE_NUMBER, XML_TITLE,			 	   XML_TOK_STYLE_ATTR_TITLE					},
573
	        { XML_NAMESPACE_NUMBER, XML_TITLE,			 	   XML_TOK_STYLE_ATTR_TITLE					},
570
	        { XML_NAMESPACE_NUMBER, XML_AUTOMATIC_ORDER, 	   XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER		},
574
	        { XML_NAMESPACE_NUMBER, XML_AUTOMATIC_ORDER, 	   XML_TOK_STYLE_ATTR_AUTOMATIC_ORDER		},
571
	        { XML_NAMESPACE_NUMBER, XML_FORMAT_SOURCE, 	       XML_TOK_STYLE_ATTR_FORMAT_SOURCE			},
575
	        { XML_NAMESPACE_NUMBER, XML_FORMAT_SOURCE, 	       XML_TOK_STYLE_ATTR_FORMAT_SOURCE			},
Lines 574-579 Link Here
574
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_FORMAT,     XML_TOK_STYLE_ATTR_TRANSL_FORMAT    },
578
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_FORMAT,     XML_TOK_STYLE_ATTR_TRANSL_FORMAT    },
575
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_LANGUAGE,   XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE  },
579
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_LANGUAGE,   XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE  },
576
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_COUNTRY,    XML_TOK_STYLE_ATTR_TRANSL_COUNTRY   },
580
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_COUNTRY,    XML_TOK_STYLE_ATTR_TRANSL_COUNTRY   },
581
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_LANGUAGE_TAGS,    XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE_TAGS   },
577
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_STYLE,      XML_TOK_STYLE_ATTR_TRANSL_STYLE     },
582
            { XML_NAMESPACE_NUMBER, XML_TRANSLITERATION_STYLE,      XML_TOK_STYLE_ATTR_TRANSL_STYLE     },
578
	        XML_TOKEN_MAP_END
583
	        XML_TOKEN_MAP_END
579
        };
584
        };
Lines 600-605 Link Here
600
	        { XML_NAMESPACE_NUMBER, XML_MIN_DENOMINATOR_DIGITS,  XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS },
605
	        { XML_NAMESPACE_NUMBER, XML_MIN_DENOMINATOR_DIGITS,  XML_TOK_ELEM_ATTR_MIN_DENOMINATOR_DIGITS },
601
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE,			 	 XML_TOK_ELEM_ATTR_LANGUAGE				},
606
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE,			 	 XML_TOK_ELEM_ATTR_LANGUAGE				},
602
	        { XML_NAMESPACE_NUMBER, XML_COUNTRY,			 	 XML_TOK_ELEM_ATTR_COUNTRY				},
607
	        { XML_NAMESPACE_NUMBER, XML_COUNTRY,			 	 XML_TOK_ELEM_ATTR_COUNTRY				},
608
	        { XML_NAMESPACE_NUMBER, XML_LANGUAGE_TAGS,		 	 XML_TOK_ELEM_ATTR_LANGUAGE_TAGS		},
603
	        { XML_NAMESPACE_NUMBER, XML_STYLE,				 	 XML_TOK_ELEM_ATTR_STYLE				},
609
	        { XML_NAMESPACE_NUMBER, XML_STYLE,				 	 XML_TOK_ELEM_ATTR_STYLE				},
604
	        { XML_NAMESPACE_NUMBER, XML_TEXTUAL,			 	 XML_TOK_ELEM_ATTR_TEXTUAL				},
610
	        { XML_NAMESPACE_NUMBER, XML_TEXTUAL,			 	 XML_TOK_ELEM_ATTR_TEXTUAL				},
605
	        { XML_NAMESPACE_NUMBER, XML_CALENDAR,			 	 XML_TOK_ELEM_ATTR_CALENDAR				},
611
	        { XML_NAMESPACE_NUMBER, XML_CALENDAR,			 	 XML_TOK_ELEM_ATTR_CALENDAR				},
Lines 948-954 Link Here
948
	bLong( FALSE ),
954
	bLong( FALSE ),
949
	bTextual( FALSE )
955
	bTextual( FALSE )
950
{
956
{
951
	OUString sLanguage, sCountry;
957
	OUString sLanguageTag, sRegionTag, sOtherTags;
952
	sal_Int32 nAttrVal;
958
	sal_Int32 nAttrVal;
953
	sal_Bool bAttrBool;
959
	sal_Bool bAttrBool;
954
	sal_uInt16 nAttrEnum;
960
	sal_uInt16 nAttrEnum;
Lines 1002-1011 Link Here
1002
					aNumInfo.nDenomDigits = nAttrVal;
1008
					aNumInfo.nDenomDigits = nAttrVal;
1003
				break;
1009
				break;
1004
			case XML_TOK_ELEM_ATTR_LANGUAGE:
1010
			case XML_TOK_ELEM_ATTR_LANGUAGE:
1005
				sLanguage = sValue;
1011
				sLanguageTag = sValue;
1006
				break;
1012
				break;
1007
			case XML_TOK_ELEM_ATTR_COUNTRY:
1013
			case XML_TOK_ELEM_ATTR_COUNTRY:
1008
				sCountry = sValue;
1014
				sRegionTag = sValue;
1015
				break;
1016
			case XML_TOK_ELEM_ATTR_LANGUAGE_TAGS:
1017
				sOtherTags = sValue;
1009
				break;
1018
				break;
1010
			case XML_TOK_ELEM_ATTR_STYLE:
1019
			case XML_TOK_ELEM_ATTR_STYLE:
1011
				if ( SvXMLUnitConverter::convertEnum( nAttrEnum, sValue, aStyleValueMap ) )
1020
				if ( SvXMLUnitConverter::convertEnum( nAttrEnum, sValue, aStyleValueMap ) )
Lines 1021-1029 Link Here
1021
		}
1030
		}
1022
	}
1031
	}
1023
1032
1024
	if ( sLanguage.getLength() || sCountry.getLength() )
1033
	if ( sLanguageTag.getLength() || sRegionTag.getLength() || sOtherTags.getLength() )
1025
	{
1034
	{
1026
		nElementLang = MsLangId::convertIsoNamesToLanguage( sLanguage, sCountry );
1035
		nElementLang = MsLangId::convertIsoNamesToLanguage( sLanguageTag, sRegionTag, sOtherTags );
1027
		if ( nElementLang == LANGUAGE_DONTKNOW )
1036
		if ( nElementLang == LANGUAGE_DONTKNOW )
1028
			nElementLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1037
			nElementLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1029
	}
1038
	}
Lines 1397-1403 Link Here
1397
	eDateSecs( XML_DEA_NONE ),
1406
	eDateSecs( XML_DEA_NONE ),
1398
	bDateNoDefault( sal_False )
1407
	bDateNoDefault( sal_False )
1399
{
1408
{
1400
	OUString sLanguage, sCountry;
1409
	OUString sLanguageTag, sRegionTag, sOtherTags;
1401
    ::com::sun::star::i18n::NativeNumberXmlAttributes aNatNumAttr;
1410
    ::com::sun::star::i18n::NativeNumberXmlAttributes aNatNumAttr;
1402
	sal_Bool bAttrBool;
1411
	sal_Bool bAttrBool;
1403
	sal_uInt16 nAttrEnum;
1412
	sal_uInt16 nAttrEnum;
Lines 1418-1427 Link Here
1418
//				aName = sValue;
1427
//				aName = sValue;
1419
				break;
1428
				break;
1420
			case XML_TOK_STYLE_ATTR_LANGUAGE:
1429
			case XML_TOK_STYLE_ATTR_LANGUAGE:
1421
				sLanguage = sValue;
1430
				sLanguageTag = sValue;
1422
				break;
1431
				break;
1423
			case XML_TOK_STYLE_ATTR_COUNTRY:
1432
			case XML_TOK_STYLE_ATTR_COUNTRY:
1424
				sCountry = sValue;
1433
				sRegionTag = sValue;
1434
				break;
1435
			case XML_TOK_STYLE_ATTR_LANGUAGE_TAGS:
1436
				sOtherTags = sValue;
1425
				break;
1437
				break;
1426
			case XML_TOK_STYLE_ATTR_TITLE:
1438
			case XML_TOK_STYLE_ATTR_TITLE:
1427
				sFormatTitle = sValue;
1439
				sFormatTitle = sValue;
Lines 1453-1467 Link Here
1453
            case XML_TOK_STYLE_ATTR_TRANSL_COUNTRY:
1465
            case XML_TOK_STYLE_ATTR_TRANSL_COUNTRY:
1454
                aNatNumAttr.Locale.Country = sValue;
1466
                aNatNumAttr.Locale.Country = sValue;
1455
                break;
1467
                break;
1468
            case XML_TOK_STYLE_ATTR_TRANSL_LANGUAGE_TAGS:
1469
                aNatNumAttr.Locale.Variant = sValue;
1470
                break;
1456
            case XML_TOK_STYLE_ATTR_TRANSL_STYLE:
1471
            case XML_TOK_STYLE_ATTR_TRANSL_STYLE:
1457
                aNatNumAttr.Style = sValue;
1472
                aNatNumAttr.Style = sValue;
1458
                break;
1473
                break;
1459
		}
1474
		}
1460
	}
1475
	}
1461
1476
1462
	if ( sLanguage.getLength() || sCountry.getLength() )
1477
	if ( sLanguageTag.getLength() || sRegionTag.getLength() || sOtherTags.getLength() )
1463
	{
1478
	{
1464
		nFormatLang = MsLangId::convertIsoNamesToLanguage( sLanguage, sCountry );
1479
		nFormatLang = MsLangId::convertIsoNamesToLanguage( sLanguageTag, sRegionTag, sOtherTags );
1465
		if ( nFormatLang == LANGUAGE_DONTKNOW )
1480
		if ( nFormatLang == LANGUAGE_DONTKNOW )
1466
			nFormatLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1481
			nFormatLang = LANGUAGE_SYSTEM;			//! error handling for invalid locales?
1467
	}
1482
	}
(-)a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx (+3 lines)
Lines 187-192 Link Here
187
        case XML_TOK_INDEXSOURCE_COUNTRY:
187
        case XML_TOK_INDEXSOURCE_COUNTRY:
188
            aLocale.Country = rValue;
188
            aLocale.Country = rValue;
189
            break;
189
            break;
190
        case XML_TOK_INDEXSOURCE_LANGUAGE_TAGS:
191
            aLocale.Variant = rValue;
192
            break;
190
193
191
		default:
194
		default:
192
			XMLIndexSourceBaseContext::ProcessAttribute(eParam, rValue);
195
			XMLIndexSourceBaseContext::ProcessAttribute(eParam, rValue);
(-)a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx (+4 lines)
Lines 152-157 Link Here
152
        {
152
        {
153
            aLocale.Country = sValue;
153
            aLocale.Country = sValue;
154
        }
154
        }
155
        else if( IsXMLToken(sLocalName, XML_LANGUAGE_TAGS) )
156
        {
157
            aLocale.Variant = sValue;
158
        }
155
    }
159
    }
156
}
160
}
157
161
(-)a/xmloff/source/text/XMLIndexSourceBaseContext.cxx (+1 lines)
Lines 148-153 Link Here
148
          XML_TOK_INDEXSOURCE_SORT_ALGORITHM },
148
          XML_TOK_INDEXSOURCE_SORT_ALGORITHM },
149
    { XML_NAMESPACE_FO, XML_LANGUAGE, XML_TOK_INDEXSOURCE_LANGUAGE },
149
    { XML_NAMESPACE_FO, XML_LANGUAGE, XML_TOK_INDEXSOURCE_LANGUAGE },
150
    { XML_NAMESPACE_FO, XML_COUNTRY, XML_TOK_INDEXSOURCE_COUNTRY },
150
    { XML_NAMESPACE_FO, XML_COUNTRY, XML_TOK_INDEXSOURCE_COUNTRY },
151
    { XML_NAMESPACE_FO, XML_LANGUAGE_TAGS, XML_TOK_INDEXSOURCE_LANGUAGE_TAGS },
151
    { XML_NAMESPACE_TEXT, XML_INDEX_NAME, XML_TOK_INDEXSOURCE_USER_INDEX_NAME },
152
    { XML_NAMESPACE_TEXT, XML_INDEX_NAME, XML_TOK_INDEXSOURCE_USER_INDEX_NAME },
152
	{ XML_NAMESPACE_TEXT, 
153
	{ XML_NAMESPACE_TEXT, 
153
		  XML_USE_OUTLINE_LEVEL, 
154
		  XML_USE_OUTLINE_LEVEL, 
(-)a/xmloff/source/text/XMLIndexSourceBaseContext.hxx (+1 lines)
Lines 71-76 Link Here
71
    XML_TOK_INDEXSOURCE_SORT_ALGORITHM,
71
    XML_TOK_INDEXSOURCE_SORT_ALGORITHM,
72
    XML_TOK_INDEXSOURCE_LANGUAGE,
72
    XML_TOK_INDEXSOURCE_LANGUAGE,
73
    XML_TOK_INDEXSOURCE_COUNTRY,
73
    XML_TOK_INDEXSOURCE_COUNTRY,
74
    XML_TOK_INDEXSOURCE_LANGUAGE_TAGS,
74
    XML_TOK_INDEXSOURCE_USER_INDEX_NAME,
75
    XML_TOK_INDEXSOURCE_USER_INDEX_NAME,
75
    XML_TOK_INDEXSOURCE_USE_OUTLINE_LEVEL
76
    XML_TOK_INDEXSOURCE_USE_OUTLINE_LEVEL
76
};
77
};
(-)a/xmloff/source/text/XMLSectionExport.cxx (-8 / +18 lines)
Lines 721-730 Link Here
721
        aAny = rPropertySet->getPropertyValue(sLocale);
721
        aAny = rPropertySet->getPropertyValue(sLocale);
722
        Locale aLocale;
722
        Locale aLocale;
723
        aAny >>= aLocale;
723
        aAny >>= aLocale;
724
        GetExport().AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE,
724
        if (aLocale.Language.getLength())
725
                                 aLocale.Language);
725
            GetExport().AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE,
726
        GetExport().AddAttribute(XML_NAMESPACE_FO, XML_COUNTRY,
726
                                     aLocale.Language);
727
                                 aLocale.Country);
727
        if (aLocale.Country.getLength())
728
            GetExport().AddAttribute(XML_NAMESPACE_FO, XML_COUNTRY,
729
                                     aLocale.Country);
730
        if (aLocale.Variant.getLength())
731
            GetExport().AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE_TAGS,
732
                                     aLocale.Variant);
728
733
729
		ExportBaseIndexSource(TEXT_SECTION_TYPE_ALPHABETICAL, rPropertySet);
734
		ExportBaseIndexSource(TEXT_SECTION_TYPE_ALPHABETICAL, rPropertySet);
730
	}
735
	}
Lines 1711-1720 Link Here
1711
            aAny = xPropSet->getPropertyValue(sLocale);
1716
            aAny = xPropSet->getPropertyValue(sLocale);
1712
            Locale aLocale;
1717
            Locale aLocale;
1713
            aAny >>= aLocale;
1718
            aAny >>= aLocale;
1714
            rExport.AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE,
1719
            if (aLocale.Language.getLength())
1715
                                     aLocale.Language);
1720
                rExport.AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE,
1716
            rExport.AddAttribute(XML_NAMESPACE_FO, XML_COUNTRY,
1721
                                         aLocale.Language);
1717
                                     aLocale.Country);
1722
            if (aLocale.Country.getLength())
1723
                rExport.AddAttribute(XML_NAMESPACE_FO, XML_COUNTRY,
1724
                                         aLocale.Country);
1725
            if (aLocale.Variant.getLength())
1726
                rExport.AddAttribute(XML_NAMESPACE_FO, XML_LANGUAGE_TAGS,
1727
                                         aLocale.Variant);
1718
1728
1719
			// configuration element
1729
			// configuration element
1720
			SvXMLElementExport aElement(rExport, XML_NAMESPACE_TEXT,
1730
			SvXMLElementExport aElement(rExport, XML_NAMESPACE_TEXT,
(-)a/xmloff/source/text/txtprmap.cxx (+6 lines)
Lines 132-137 Link Here
132
	// RES_CHRATR_LANGUAGE
132
	// RES_CHRATR_LANGUAGE
133
	MT_ED( "CharLocale",		FO,		LANGUAGE, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
133
	MT_ED( "CharLocale",		FO,		LANGUAGE, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
134
	MT_ED( "CharLocale",		FO,		COUNTRY, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
134
	MT_ED( "CharLocale",		FO,		COUNTRY, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
135
	MT_ED( "CharLocale",		FO,		LANGUAGE_TAGS, 		XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
135
	// RES_CHRATR_POSTURE
136
	// RES_CHRATR_POSTURE
136
	MT_E( "CharPosture",		FO,		FONT_STYLE,			XML_TYPE_TEXT_POSTURE, 0 ),
137
	MT_E( "CharPosture",		FO,		FONT_STYLE,			XML_TYPE_TEXT_POSTURE, 0 ),
137
	// RES_CHRATR_PROPORTIONALFONTSIZE
138
	// RES_CHRATR_PROPORTIONALFONTSIZE
Lines 176-181 Link Here
176
	// RES_CHRATR_CJK_LANGUAGE
177
	// RES_CHRATR_CJK_LANGUAGE
177
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_ASIAN, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
178
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_ASIAN, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
178
	MT_ED( "CharLocaleAsian",		STYLE,		COUNTRY_ASIAN, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
179
	MT_ED( "CharLocaleAsian",		STYLE,		COUNTRY_ASIAN, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
180
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_TAGS_ASIAN,	XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
179
	// RES_CHRATR_CJK_POSTURE
181
	// RES_CHRATR_CJK_POSTURE
180
	MT_E( "CharPostureAsian",		STYLE,		FONT_STYLE_ASIAN,			XML_TYPE_TEXT_POSTURE, 0 ),
182
	MT_E( "CharPostureAsian",		STYLE,		FONT_STYLE_ASIAN,			XML_TYPE_TEXT_POSTURE, 0 ),
181
	// RES_CHRATR_CJK_WEIGHT
183
	// RES_CHRATR_CJK_WEIGHT
Lines 194-199 Link Here
194
	// RES_CHRATR_CTL_LANGUAGE
196
	// RES_CHRATR_CTL_LANGUAGE
195
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_COMPLEX, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
197
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_COMPLEX, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
196
	MT_ED( "CharLocaleComplex",		STYLE,		COUNTRY_COMPLEX, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
198
	MT_ED( "CharLocaleComplex",		STYLE,		COUNTRY_COMPLEX, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
199
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_TAGS_COMPLEX, 		XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
197
	// RES_CHRATR_CTL_POSTURE
200
	// RES_CHRATR_CTL_POSTURE
198
	MT_E( "CharPostureComplex",		STYLE,		FONT_STYLE_COMPLEX,			XML_TYPE_TEXT_POSTURE, 0 ),
201
	MT_E( "CharPostureComplex",		STYLE,		FONT_STYLE_COMPLEX,			XML_TYPE_TEXT_POSTURE, 0 ),
199
	// RES_CHRATR_CTL_WEIGHT
202
	// RES_CHRATR_CTL_WEIGHT
Lines 426-431 Link Here
426
	// RES_CHRATR_LANGUAGE
429
	// RES_CHRATR_LANGUAGE
427
	MT_ED( "CharLocale",		FO,		LANGUAGE, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
430
	MT_ED( "CharLocale",		FO,		LANGUAGE, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
428
	MT_ED( "CharLocale",		FO,		COUNTRY, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
431
	MT_ED( "CharLocale",		FO,		COUNTRY, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
432
	MT_ED( "CharLocale",		FO,		LANGUAGE_TAGS, 		XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
429
	// RES_CHRATR_POSTURE
433
	// RES_CHRATR_POSTURE
430
	MT_E( "CharPosture",		FO,		FONT_STYLE,			XML_TYPE_TEXT_POSTURE, 0 ),
434
	MT_E( "CharPosture",		FO,		FONT_STYLE,			XML_TYPE_TEXT_POSTURE, 0 ),
431
	// RES_CHRATR_PROPORTIONALFONTSIZE
435
	// RES_CHRATR_PROPORTIONALFONTSIZE
Lines 471-476 Link Here
471
	// RES_CHRATR_CJK_LANGUAGE
475
	// RES_CHRATR_CJK_LANGUAGE
472
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_ASIAN, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
476
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_ASIAN, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
473
	MT_ED( "CharLocaleAsian",		STYLE,		COUNTRY_ASIAN, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
477
	MT_ED( "CharLocaleAsian",		STYLE,		COUNTRY_ASIAN, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
478
	MT_ED( "CharLocaleAsian",		STYLE,		LANGUAGE_TAGS_ASIAN, 		XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
474
	// RES_CHRATR_CJK_POSTURE
479
	// RES_CHRATR_CJK_POSTURE
475
	MT_E( "CharPostureAsian",		STYLE,		FONT_STYLE_ASIAN,			XML_TYPE_TEXT_POSTURE, 0 ),
480
	MT_E( "CharPostureAsian",		STYLE,		FONT_STYLE_ASIAN,			XML_TYPE_TEXT_POSTURE, 0 ),
476
	// RES_CHRATR_CJK_WEIGHT
481
	// RES_CHRATR_CJK_WEIGHT
Lines 489-494 Link Here
489
	// RES_CHRATR_CTL_LANGUAGE
494
	// RES_CHRATR_CTL_LANGUAGE
490
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_COMPLEX, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
495
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_COMPLEX, 			XML_TYPE_CHAR_LANGUAGE|MID_FLAG_MERGE_PROPERTY, 0 ),
491
	MT_ED( "CharLocaleComplex",		STYLE,		COUNTRY_COMPLEX, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
496
	MT_ED( "CharLocaleComplex",		STYLE,		COUNTRY_COMPLEX, 			XML_TYPE_CHAR_COUNTRY|MID_FLAG_MERGE_PROPERTY, 0 ),
497
	MT_ED( "CharLocaleComplex",		STYLE,		LANGUAGE_TAGS_COMPLEX, 		XML_TYPE_CHAR_LANGUAGE_TAGS|MID_FLAG_MERGE_PROPERTY, 0 ),
492
	// RES_CHRATR_CTL_POSTURE
498
	// RES_CHRATR_CTL_POSTURE
493
	MT_E( "CharPostureComplex",		STYLE,		FONT_STYLE_COMPLEX,			XML_TYPE_TEXT_POSTURE, 0 ),
499
	MT_E( "CharPostureComplex",		STYLE,		FONT_STYLE_COMPLEX,			XML_TYPE_TEXT_POSTURE, 0 ),
494
	// RES_CHRATR_CTL_WEIGHT
500
	// RES_CHRATR_CTL_WEIGHT
(-)a/xmloff/source/transform/PropertyActionsOOo.cxx (+6 lines)
Lines 594-599 Link Here
594
	  	NO_PARAMS }, /* generated entry */
594
	  	NO_PARAMS }, /* generated entry */
595
	{ XML_NAMESPACE_STYLE, XML_COUNTRY_COMPLEX, XML_ATACTION_COPY,
595
	{ XML_NAMESPACE_STYLE, XML_COUNTRY_COMPLEX, XML_ATACTION_COPY,
596
	  	NO_PARAMS }, /* generated entry */
596
	  	NO_PARAMS }, /* generated entry */
597
	{ XML_NAMESPACE_FO, XML_LANGUAGE_TAGS, XML_ATACTION_COPY,
598
	  	NO_PARAMS }, /* generated entry */
599
	{ XML_NAMESPACE_STYLE, XML_LANGUAGE_TAGS_ASIAN, XML_ATACTION_COPY,
600
	  	NO_PARAMS }, /* generated entry */
601
	{ XML_NAMESPACE_STYLE, XML_LANGUAGE_TAGS_COMPLEX, XML_ATACTION_COPY,
602
	  	NO_PARAMS }, /* generated entry */
597
	{ XML_NAMESPACE_FO, XML_FONT_STYLE, XML_ATACTION_COPY,
603
	{ XML_NAMESPACE_FO, XML_FONT_STYLE, XML_ATACTION_COPY,
598
	  	NO_PARAMS }, /* generated entry */
604
	  	NO_PARAMS }, /* generated entry */
599
	{ XML_NAMESPACE_STYLE, XML_FONT_STYLE_ASIAN, XML_ATACTION_COPY,
605
	{ XML_NAMESPACE_STYLE, XML_FONT_STYLE_ASIAN, XML_ATACTION_COPY,

Return to issue 111066