dnl PARTICULAR PURPOSE.
dnl
-dnl Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
+dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
dnl All rights reserved.
dnl
dnl Redistribution and use in source and binary forms, with or without
set dummy $CC
compiler="[$]2"
-## FIXME: this should be a separate macro
-##
AC_MSG_CHECKING([for objdir])
rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
fi
rmdir .libs 2>/dev/null
AC_MSG_RESULT($objdir)
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
AC_ARG_WITH(pic,
[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
pic_mode="$withval", pic_mode=default)
AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
fi
-##
-## END FIXME
# Check for any special shared library compilation flags.
if test -n "$lt_cv_prog_cc_shlib"; then
fi
fi
-## FIXME: this should be a separate macro
-##
AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
lt_cv_prog_cc_static_works=no
link_static_flag="$lt_cv_prog_cc_static"
no_builtin_flag="$lt_cv_prog_cc_no_builtin"
can_build_shared="$lt_cv_prog_cc_can_build_shared"
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# Check to see if options -o and -c are simultaneously supported by compiler
AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
AC_CACHE_VAL([lt_cv_compiler_c_o], [
else
compiler_o_lo=no
fi
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# Check to see if we can do hard links to lock some files if needed
hard_links="nottested"
if test "$compiler_c_o" = no && test "$need_locks" != no; then
else
need_locks=no
fi
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler
AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
no_builtin_flag=' -fno-builtin'
fi
fi
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# See if the linker supports building shared libraries.
AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
fi
AC_MSG_RESULT([$ld_shlibs])
test "$ld_shlibs" = no && can_build_shared=no
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# Check hardcoding attributes.
AC_MSG_CHECKING([how to hardcode library paths into programs])
hardcode_action=
hardcode_action=unsupported
fi
AC_MSG_RESULT([$hardcode_action])
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
striplib=
old_striplib=
AC_MSG_CHECKING([whether stripping libraries is possible])
else
AC_MSG_RESULT([no])
fi
-##
-## END FIXME
reload_cmds='$LD$reload_flag -o $output$reload_objs'
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-## FIXME: this should be a separate macro
-##
# PORTME Fill in your ld.so characteristics
AC_MSG_CHECKING([dynamic linker characteristics])
library_names_spec=
esac
AC_MSG_RESULT([$dynamic_linker])
test "$dynamic_linker" = no && can_build_shared=no
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# Report the final consequences.
AC_MSG_CHECKING([if libtool supports shared libraries])
AC_MSG_RESULT([$can_build_shared])
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
AC_MSG_CHECKING([whether to build shared libraries])
test "$can_build_shared" = "no" && enable_shared=no
;;
esac
AC_MSG_RESULT([$enable_shared])
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
AC_MSG_CHECKING([whether to build static libraries])
# Make sure either enable_shared or enable_static is yes.
test "$enable_shared" = yes || enable_static=yes
AC_MSG_RESULT([$enable_static])
-##
-## END FIXME
if test "$hardcode_action" = relink; then
# Fast installation is not supported
AC_LIBTOOL_DLOPEN_SELF
-## FIXME: this should be a separate macro
-##
if test "$enable_shared" = yes && test "$GCC" = yes; then
case $archive_cmds in
*'~'*)
esac
fi
need_lc=${lt_cv_archive_cmds_need_lc-yes}
-##
-## END FIXME
-## FIXME: this should be a separate macro
-##
# The second clause should only fire when bootstrapping the
# libtool distribution, otherwise you forgot to ship ltmain.sh
# with your package, and you will get complaints that there are
(rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
chmod +x "$ofile"
fi
-##
-## END FIXME
])# _LT_AC_LTCONFIG_HACK
# This is just to silence aclocal about the macro not being used
ifelse([AC_DISABLE_FAST_INSTALL])
-############################################################
# NOTE: This macro has been submitted for inclusion into #
# GNU Autoconf as AC_PROG_SED. When it is available in #
# a released version of Autoconf we should remove this #
# macro and use it instead. #
-############################################################
# LT_AC_PROG_SED
# --------------
# Check for a fully-functional sed program, that truncates
AC_MSG_RESULT([$SED])
])
+
# serial 1
# @defmac AC_PROG_CC_STDC