2037 |
|
|
2038 |
subdirs="libart" |
subdirs="libart" |
2039 |
|
|
2040 |
|
|
2041 |
trap '' 1 2 15 |
trap '' 1 2 15 |
2042 |
cat > confcache <<\EOF |
cat > confcache <<\EOF |
2043 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
2319 |
rm -f conftest.s* |
rm -f conftest.s* |
2320 |
|
|
2321 |
EOF |
EOF |
2322 |
|
|
2323 |
|
cat >> $CONFIG_STATUS <<EOF |
2324 |
|
ac_sources="libart" |
2325 |
|
ac_dests="libart_lgpl" |
2326 |
|
EOF |
2327 |
|
|
2328 |
|
cat >> $CONFIG_STATUS <<\EOF |
2329 |
|
srcdir=$ac_given_srcdir |
2330 |
|
while test -n "$ac_sources"; do |
2331 |
|
set $ac_dests; ac_dest=$1; shift; ac_dests=$* |
2332 |
|
set $ac_sources; ac_source=$1; shift; ac_sources=$* |
2333 |
|
|
2334 |
|
echo "linking $srcdir/$ac_source to $ac_dest" |
2335 |
|
|
2336 |
|
if test ! -r $srcdir/$ac_source; then |
2337 |
|
{ echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } |
2338 |
|
fi |
2339 |
|
rm -f $ac_dest |
2340 |
|
|
2341 |
|
# Make relative symlinks. |
2342 |
|
# Remove last slash and all that follows it. Not all systems have dirname. |
2343 |
|
ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` |
2344 |
|
if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then |
2345 |
|
# The dest file is in a subdirectory. |
2346 |
|
test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" |
2347 |
|
ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" |
2348 |
|
# A "../" for each directory in $ac_dest_dir_suffix. |
2349 |
|
ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` |
2350 |
|
else |
2351 |
|
ac_dest_dir_suffix= ac_dots= |
2352 |
|
fi |
2353 |
|
|
2354 |
|
case "$srcdir" in |
2355 |
|
[/$]*) ac_rel_source="$srcdir/$ac_source" ;; |
2356 |
|
*) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; |
2357 |
|
esac |
2358 |
|
|
2359 |
|
# Make a symlink if possible; otherwise try a hard link. |
2360 |
|
if ln -s $ac_rel_source $ac_dest 2>/dev/null || |
2361 |
|
ln $srcdir/$ac_source $ac_dest; then : |
2362 |
|
else |
2363 |
|
{ echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } |
2364 |
|
fi |
2365 |
|
done |
2366 |
|
EOF |
2367 |
cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
2368 |
|
|
2369 |
EOF |
EOF |
2370 |
cat >> $CONFIG_STATUS <<\EOF |
cat >> $CONFIG_STATUS <<\EOF |
2371 |
ln -s ${srcdir}/libart libart_lgpl |
|
2372 |
exit 0 |
exit 0 |
2373 |
EOF |
EOF |
2374 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |