1 diff -up freetype/builds/unix/configure.dt freetype/builds/unix/configure
2 --- freetype/builds/unix/configure.dt 2023-02-09 15:33:17.000000000 +0900
3 +++ freetype/builds/unix/configure 2023-02-22 16:53:49.547740397 +0900
4 @@ -9523,7 +9523,7 @@ _LT_EOF
7 # see comment about AmigaOS4 .so support
8 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $lib'
10 archive_expsym_cmds=''
13 @@ -9539,7 +9539,7 @@ _LT_EOF
14 allow_undefined_flag=unsupported
15 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16 # support --undefined. This deserves some investigation. FIXME
17 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags -o $lib'
22 @@ -9573,7 +9573,7 @@ _LT_EOF
26 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $lib'
31 @@ -9669,13 +9669,13 @@ _LT_EOF
32 *Sun\ F*) # Sun Fortran 8.3
33 tmp_sharedflag='-G' ;;
35 - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
36 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags -o $lib'
38 if test yes = "$supports_anon_versioning"; then
39 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
40 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
41 echo "local: *; };" >> $output_objdir/$libname.ver~
42 - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
43 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
47 @@ -9705,8 +9705,8 @@ _LT_EOF
48 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
51 - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
52 - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
53 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags -o $lib'
54 + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-retain-symbols-file $wl$export_symbols -o $lib'
58 @@ -9724,8 +9724,8 @@ _LT_EOF
61 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
62 - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
63 - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
64 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags -o $lib'
65 + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-retain-symbols-file $wl$export_symbols -o $lib'
69 @@ -9753,8 +9753,8 @@ _LT_EOF
70 # requires that you compile everything twice, which is a pain.
71 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
72 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
73 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
74 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
75 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $lib'
76 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-retain-symbols-file $wl$export_symbols -o $lib'
80 @@ -9771,8 +9771,8 @@ _LT_EOF
83 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
84 - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
85 - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
86 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags -o $lib'
87 + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-retain-symbols-file $wl$export_symbols -o $lib'
91 @@ -10075,7 +10075,7 @@ fi
94 # see comment about AmigaOS4 .so support
95 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
96 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $lib'
97 archive_expsym_cmds=''
100 @@ -10345,7 +10345,7 @@ fi
102 irix5* | irix6* | nonstopux*)
103 if test yes = "$GCC"; then
104 - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
105 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
106 # Try to use the -exported_symbol ld option, if it does not
107 # work, assume that -exports_file does not work either and
108 # implicitly export all symbols.
109 @@ -10375,7 +10375,7 @@ fi
110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
111 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
112 if test yes = "$lt_cv_irix_exported_symbol"; then
113 - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
114 + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
118 @@ -10471,7 +10471,7 @@ printf "%s\n" "$lt_cv_irix_exported_symb
120 if test yes = "$GCC"; then
121 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
122 - archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
123 + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
125 allow_undefined_flag=' -expect_unresolved \*'
126 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
127 @@ -10484,7 +10484,7 @@ printf "%s\n" "$lt_cv_irix_exported_symb
128 osf4* | osf5*) # as osf3* with the addition of -msym flag
129 if test yes = "$GCC"; then
130 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
131 - archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
132 + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
133 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
135 allow_undefined_flag=' -expect_unresolved \*'
136 @@ -13755,10 +13755,10 @@ if test "x$GCC" = xyes; then
140 - XX_ANSIFLAGS="-pedantic"
144 - XX_ANSIFLAGS="-pedantic"
149 @@ -13796,7 +13796,7 @@ if ac_fn_c_try_compile "$LINENO"
151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok, adding to XX_ANSIFLAGS" >&5
152 printf "%s\n" "ok, adding to XX_ANSIFLAGS" >&6; }
153 - XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}"
154 + XX_ANSIFLAGS="${XX_ANSIFLAGS}"
157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5