patch-configure 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. --- pango-1.28.3.orig/configure 2010-09-29 13:02:33.000000000 +0200
  2. +++ pango-1.28.3/configure 2011-04-21 19:03:45.000000000 +0200
  3. @@ -5426,8 +5426,8 @@ $as_echo "$ac_cv_path_GREP" >&6; }
  4. GREP="$ac_cv_path_GREP"
  5. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6. -$as_echo_n "checking for egrep... " >&6; }
  7. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep -E" >&5
  8. +$as_echo_n "checking for grep -E... " >&6; }
  9. if test "${ac_cv_path_EGREP+set}" = set; then :
  10. $as_echo_n "(cached) " >&6
  11. else
  12. @@ -5442,7 +5442,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/x
  13. do
  14. IFS=$as_save_IFS
  15. test -z "$as_dir" && as_dir=.
  16. - for ac_prog in egrep; do
  17. + for ac_prog in grep -E; do
  18. for ac_exec_ext in '' $ac_executable_extensions; do
  19. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  20. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  21. @@ -5480,7 +5480,7 @@ esac
  22. done
  23. IFS=$as_save_IFS
  24. if test -z "$ac_cv_path_EGREP"; then
  25. - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  26. + as_fn_error $? "no acceptable grep -E could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  27. fi
  28. else
  29. ac_cv_path_EGREP=$EGREP
  30. @@ -19159,7 +19159,7 @@ for module in $included_modules; do
  31. done
  32. IFS="$pango_save_ifs"
  33. - if echo $included_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
  34. + if echo $included_modules | grep -E '(^|,)arabic-fc($|,)' > /dev/null; then
  35. INCLUDE_ARABIC_FC_TRUE=
  36. INCLUDE_ARABIC_FC_FALSE='#'
  37. else
  38. @@ -19167,7 +19167,7 @@ else
  39. INCLUDE_ARABIC_FC_FALSE=
  40. fi
  41. - if echo $included_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
  42. + if echo $included_modules | grep -E '(^|,)arabic-lang($|,)' > /dev/null; then
  43. INCLUDE_ARABIC_LANG_TRUE=
  44. INCLUDE_ARABIC_LANG_FALSE='#'
  45. else
  46. @@ -19175,7 +19175,7 @@ else
  47. INCLUDE_ARABIC_LANG_FALSE=
  48. fi
  49. - if echo $included_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
  50. + if echo $included_modules | grep -E '(^|,)basic-fc($|,)' > /dev/null; then
  51. INCLUDE_BASIC_FC_TRUE=
  52. INCLUDE_BASIC_FC_FALSE='#'
  53. else
  54. @@ -19183,7 +19183,7 @@ else
  55. INCLUDE_BASIC_FC_FALSE=
  56. fi
  57. - if echo $included_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
  58. + if echo $included_modules | grep -E '(^|,)basic-win32($|,)' > /dev/null; then
  59. INCLUDE_BASIC_WIN32_TRUE=
  60. INCLUDE_BASIC_WIN32_FALSE='#'
  61. else
  62. @@ -19191,7 +19191,7 @@ else
  63. INCLUDE_BASIC_WIN32_FALSE=
  64. fi
  65. - if echo $included_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
  66. + if echo $included_modules | grep -E '(^|,)basic-x($|,)' > /dev/null; then
  67. INCLUDE_BASIC_X_TRUE=
  68. INCLUDE_BASIC_X_FALSE='#'
  69. else
  70. @@ -19199,7 +19199,7 @@ else
  71. INCLUDE_BASIC_X_FALSE=
  72. fi
  73. - if echo $included_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
  74. + if echo $included_modules | grep -E '(^|,)basic-atsui($|,)' > /dev/null; then
  75. INCLUDE_BASIC_ATSUI_TRUE=
  76. INCLUDE_BASIC_ATSUI_FALSE='#'
  77. else
  78. @@ -19207,7 +19207,7 @@ else
  79. INCLUDE_BASIC_ATSUI_FALSE=
  80. fi
  81. - if echo $included_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
  82. + if echo $included_modules | grep -E '(^|,)hangul-fc($|,)' > /dev/null; then
  83. INCLUDE_HANGUL_FC_TRUE=
  84. INCLUDE_HANGUL_FC_FALSE='#'
  85. else
  86. @@ -19215,7 +19215,7 @@ else
  87. INCLUDE_HANGUL_FC_FALSE=
  88. fi
  89. - if echo $included_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
  90. + if echo $included_modules | grep -E '(^|,)hebrew-fc($|,)' > /dev/null; then
  91. INCLUDE_HEBREW_FC_TRUE=
  92. INCLUDE_HEBREW_FC_FALSE='#'
  93. else
  94. @@ -19223,7 +19223,7 @@ else
  95. INCLUDE_HEBREW_FC_FALSE=
  96. fi
  97. - if echo $included_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
  98. + if echo $included_modules | grep -E '(^|,)indic-fc($|,)' > /dev/null; then
  99. INCLUDE_INDIC_FC_TRUE=
  100. INCLUDE_INDIC_FC_FALSE='#'
  101. else
  102. @@ -19231,7 +19231,7 @@ else
  103. INCLUDE_INDIC_FC_FALSE=
  104. fi
  105. - if echo $included_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
  106. + if echo $included_modules | grep -E '(^|,)indic-lang($|,)' > /dev/null; then
  107. INCLUDE_INDIC_LANG_TRUE=
  108. INCLUDE_INDIC_LANG_FALSE='#'
  109. else
  110. @@ -19239,7 +19239,7 @@ else
  111. INCLUDE_INDIC_LANG_FALSE=
  112. fi
  113. - if echo $included_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
  114. + if echo $included_modules | grep -E '(^|,)khmer-fc($|,)' > /dev/null; then
  115. INCLUDE_KHMER_FC_TRUE=
  116. INCLUDE_KHMER_FC_FALSE='#'
  117. else
  118. @@ -19247,7 +19247,7 @@ else
  119. INCLUDE_KHMER_FC_FALSE=
  120. fi
  121. - if echo $included_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
  122. + if echo $included_modules | grep -E '(^|,)syriac-fc($|,)' > /dev/null; then
  123. INCLUDE_SYRIAC_FC_TRUE=
  124. INCLUDE_SYRIAC_FC_FALSE='#'
  125. else
  126. @@ -19255,7 +19255,7 @@ else
  127. INCLUDE_SYRIAC_FC_FALSE=
  128. fi
  129. - if echo $included_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
  130. + if echo $included_modules | grep -E '(^|,)thai-fc($|,)' > /dev/null; then
  131. INCLUDE_THAI_FC_TRUE=
  132. INCLUDE_THAI_FC_FALSE='#'
  133. else
  134. @@ -19263,7 +19263,7 @@ else
  135. INCLUDE_THAI_FC_FALSE=
  136. fi
  137. - if echo $included_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
  138. + if echo $included_modules | grep -E '(^|,)thai-lang($|,)' > /dev/null; then
  139. INCLUDE_THAI_LANG_TRUE=
  140. INCLUDE_THAI_LANG_FALSE='#'
  141. else
  142. @@ -19271,7 +19271,7 @@ else
  143. INCLUDE_THAI_LANG_FALSE=
  144. fi
  145. - if echo $included_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
  146. + if echo $included_modules | grep -E '(^|,)tibetan-fc($|,)' > /dev/null; then
  147. INCLUDE_TIBETAN_FC_TRUE=
  148. INCLUDE_TIBETAN_FC_FALSE='#'
  149. else
  150. @@ -19280,7 +19280,7 @@ else
  151. fi
  152. - if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
  153. + if echo $dynamic_modules | grep -E '(^|,)arabic-fc($|,)' > /dev/null; then
  154. DYNAMIC_ARABIC_FC_TRUE=
  155. DYNAMIC_ARABIC_FC_FALSE='#'
  156. else
  157. @@ -19288,7 +19288,7 @@ else
  158. DYNAMIC_ARABIC_FC_FALSE=
  159. fi
  160. - if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
  161. + if echo $dynamic_modules | grep -E '(^|,)arabic-lang($|,)' > /dev/null; then
  162. DYNAMIC_ARABIC_LANG_TRUE=
  163. DYNAMIC_ARABIC_LANG_FALSE='#'
  164. else
  165. @@ -19296,7 +19296,7 @@ else
  166. DYNAMIC_ARABIC_LANG_FALSE=
  167. fi
  168. - if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
  169. + if echo $dynamic_modules | grep -E '(^|,)basic-fc($|,)' > /dev/null; then
  170. DYNAMIC_BASIC_FC_TRUE=
  171. DYNAMIC_BASIC_FC_FALSE='#'
  172. else
  173. @@ -19304,7 +19304,7 @@ else
  174. DYNAMIC_BASIC_FC_FALSE=
  175. fi
  176. - if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
  177. + if echo $dynamic_modules | grep -E '(^|,)basic-win32($|,)' > /dev/null; then
  178. DYNAMIC_BASIC_WIN32_TRUE=
  179. DYNAMIC_BASIC_WIN32_FALSE='#'
  180. else
  181. @@ -19312,7 +19312,7 @@ else
  182. DYNAMIC_BASIC_WIN32_FALSE=
  183. fi
  184. - if echo $dynamic_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
  185. + if echo $dynamic_modules | grep -E '(^|,)basic-x($|,)' > /dev/null; then
  186. DYNAMIC_BASIC_X_TRUE=
  187. DYNAMIC_BASIC_X_FALSE='#'
  188. else
  189. @@ -19320,7 +19320,7 @@ else
  190. DYNAMIC_BASIC_X_FALSE=
  191. fi
  192. - if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
  193. + if echo $dynamic_modules | grep -E '(^|,)basic-atsui($|,)' > /dev/null; then
  194. DYNAMIC_BASIC_ATSUI_TRUE=
  195. DYNAMIC_BASIC_ATSUI_FALSE='#'
  196. else
  197. @@ -19328,7 +19328,7 @@ else
  198. DYNAMIC_BASIC_ATSUI_FALSE=
  199. fi
  200. - if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
  201. + if echo $dynamic_modules | grep -E '(^|,)hangul-fc($|,)' > /dev/null; then
  202. DYNAMIC_HANGUL_FC_TRUE=
  203. DYNAMIC_HANGUL_FC_FALSE='#'
  204. else
  205. @@ -19336,7 +19336,7 @@ else
  206. DYNAMIC_HANGUL_FC_FALSE=
  207. fi
  208. - if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
  209. + if echo $dynamic_modules | grep -E '(^|,)hebrew-fc($|,)' > /dev/null; then
  210. DYNAMIC_HEBREW_FC_TRUE=
  211. DYNAMIC_HEBREW_FC_FALSE='#'
  212. else
  213. @@ -19344,7 +19344,7 @@ else
  214. DYNAMIC_HEBREW_FC_FALSE=
  215. fi
  216. - if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
  217. + if echo $dynamic_modules | grep -E '(^|,)indic-fc($|,)' > /dev/null; then
  218. DYNAMIC_INDIC_FC_TRUE=
  219. DYNAMIC_INDIC_FC_FALSE='#'
  220. else
  221. @@ -19352,7 +19352,7 @@ else
  222. DYNAMIC_INDIC_FC_FALSE=
  223. fi
  224. - if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
  225. + if echo $dynamic_modules | grep -E '(^|,)indic-lang($|,)' > /dev/null; then
  226. DYNAMIC_INDIC_LANG_TRUE=
  227. DYNAMIC_INDIC_LANG_FALSE='#'
  228. else
  229. @@ -19360,7 +19360,7 @@ else
  230. DYNAMIC_INDIC_LANG_FALSE=
  231. fi
  232. - if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
  233. + if echo $dynamic_modules | grep -E '(^|,)khmer-fc($|,)' > /dev/null; then
  234. DYNAMIC_KHMER_FC_TRUE=
  235. DYNAMIC_KHMER_FC_FALSE='#'
  236. else
  237. @@ -19368,7 +19368,7 @@ else
  238. DYNAMIC_KHMER_FC_FALSE=
  239. fi
  240. - if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
  241. + if echo $dynamic_modules | grep -E '(^|,)syriac-fc($|,)' > /dev/null; then
  242. DYNAMIC_SYRIAC_FC_TRUE=
  243. DYNAMIC_SYRIAC_FC_FALSE='#'
  244. else
  245. @@ -19376,7 +19376,7 @@ else
  246. DYNAMIC_SYRIAC_FC_FALSE=
  247. fi
  248. - if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
  249. + if echo $dynamic_modules | grep -E '(^|,)thai-fc($|,)' > /dev/null; then
  250. DYNAMIC_THAI_FC_TRUE=
  251. DYNAMIC_THAI_FC_FALSE='#'
  252. else
  253. @@ -19384,7 +19384,7 @@ else
  254. DYNAMIC_THAI_FC_FALSE=
  255. fi
  256. - if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
  257. + if echo $dynamic_modules | grep -E '(^|,)thai-lang($|,)' > /dev/null; then
  258. DYNAMIC_THAI_LANG_TRUE=
  259. DYNAMIC_THAI_LANG_FALSE='#'
  260. else
  261. @@ -19392,7 +19392,7 @@ else
  262. DYNAMIC_THAI_LANG_FALSE=
  263. fi
  264. - if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
  265. + if echo $dynamic_modules | grep -E '(^|,)tibetan-fc($|,)' > /dev/null; then
  266. DYNAMIC_TIBETAN_FC_TRUE=
  267. DYNAMIC_TIBETAN_FC_FALSE='#'
  268. else
  269. @@ -23041,7 +23041,7 @@ EOTEXT
  270. IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
  271. for module in $included_modules; do
  272. - if echo $module | egrep -- "-x($|,)" > /dev/null; then
  273. + if echo $module | grep -E -- "-x($|,)" > /dev/null; then
  274. module_c=`echo $module | sed s/-/_/`
  275. cat >> pango/module-defs-x.c <<EOTEXT
  276. { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
  277. @@ -23068,7 +23068,7 @@ EOTEXT
  278. IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
  279. for module in $included_modules; do
  280. - if echo $module | egrep -- "-fc($|,)" > /dev/null; then
  281. + if echo $module | grep -E -- "-fc($|,)" > /dev/null; then
  282. module_c=`echo $module | sed s/-/_/`
  283. cat >> pango/module-defs-fc.c <<EOTEXT
  284. { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
  285. @@ -23095,7 +23095,7 @@ EOTEXT
  286. IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
  287. for module in $included_modules; do
  288. - if echo $module | egrep -- "-win32($|,)" > /dev/null; then
  289. + if echo $module | grep -E -- "-win32($|,)" > /dev/null; then
  290. module_c=`echo $module | sed s/-/_/`
  291. cat >> pango/module-defs-win32.c <<EOTEXT
  292. { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
  293. @@ -23122,7 +23122,7 @@ EOTEXT
  294. IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
  295. for module in $included_modules; do
  296. - if echo $module | egrep -- "-atsui($|,)" > /dev/null; then
  297. + if echo $module | grep -E -- "-atsui($|,)" > /dev/null; then
  298. module_c=`echo $module | sed s/-/_/`
  299. cat >> pango/module-defs-atsui.c <<EOTEXT
  300. { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
  301. @@ -23149,7 +23149,7 @@ EOTEXT
  302. IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
  303. for module in $included_modules; do
  304. - if echo $module | egrep -- "-lang($|,)" > /dev/null; then
  305. + if echo $module | grep -E -- "-lang($|,)" > /dev/null; then
  306. module_c=`echo $module | sed s/-/_/`
  307. cat >> pango/module-defs-lang.c <<EOTEXT
  308. { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },