Lines 629-634
Link Here
|
629 |
fi |
629 |
fi |
630 |
fi |
630 |
fi |
631 |
|
631 |
|
|
|
632 |
AC_DEFUN(AC_FIND_SYSTEM_SHOBJ,[ |
633 |
AC_MSG_CHECKING(for $1 shared object) |
634 |
shobj_name=$1 |
635 |
shobj_path= |
636 |
case "$host" in |
637 |
*-hpux*) |
638 |
SOEXT=sl |
639 |
;; |
640 |
*) |
641 |
SOEXT=so |
642 |
;; |
643 |
esac |
644 |
for shobj_libdir in /lib /usr/lib; do |
645 |
if test -f $shobj_libdir/$shobj_name.$SOEXT; then |
646 |
shobj_path=$shobj_libdir/$shobj_name.$SOEXT |
647 |
else |
648 |
shobj_path=`ls -r $shobj_libdir/$shobj_name.$SOEXT* 2>/dev/null | head -1` |
649 |
if test "$shobj_path" != "" -a -f "$shobj_path"; then |
650 |
: |
651 |
else |
652 |
shobj_path= |
653 |
fi |
654 |
fi |
655 |
if test "$shobj_path" != ""; then |
656 |
AC_MSG_RESULT($shobj_path) |
657 |
shobj_pathsymbol=SOPATH_`echo $shobj_name | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
658 |
AC_DEFINE_UNQUOTED($shobj_pathsymbol, "$shobj_path") |
659 |
break |
660 |
fi |
661 |
done |
662 |
if test "$shobj_path" = ""; then |
663 |
AC_MSG_RESULT(no) |
664 |
fi |
665 |
])dnl |
666 |
|
632 |
dnl Find system shared object paths. |
667 |
dnl Find system shared object paths. |
633 |
AC_FIND_SYSTEM_SHOBJ(libc) |
668 |
AC_FIND_SYSTEM_SHOBJ(libc) |
634 |
if test "$install_runidn" = yes ; then |
669 |
if test "$install_runidn" = yes ; then |