Error Buddy

Do you have an error message from your application? Then find the answer with Error Buddy. You can search over 40000 source code files and troubleshooting documents using our beta lucene/nutch search interface or if you prefer, search as normal using google. With LXR technology you can drill right down into the line of source code where it came from with full cross-referencing.

If after searching you didn't get your ideal answer, or you are still unclear what the error means, you can choose to post that question to the community forums following the link included in the search results.

corestack/ readline-5.0/ configure.in [1.6]
001 dnl
002 dnl Configure script for readline library
003 dnl
004 dnl report bugs to chet@po.cwru.edu
005 dnl
006 dnl Process this file with autoconf to produce a configure script.
007 AC_REVISION([for Readline 5.0, version 2.52, from autoconf version] AC_ACVERSION)
008 
009 AC_INIT(readline, 5.0-rc1, bug-readline@gnu.org)
010 
011 dnl make sure we are using a recent autoconf version
012 AC_PREREQ(2.50)
013 
014 AC_CONFIG_SRCDIR(readline.h)
015 AC_CONFIG_AUX_DIR(./support)
016 AC_CONFIG_HEADERS(config.h)
017 
018 dnl update the value of RL_READLINE_VERSION in readline.h when this changes
019 LIBVERSION=5.0
020 
021 AC_CANONICAL_HOST
022 
023 dnl configure defaults
024 opt_curses=no
025 
026 dnl arguments to configure
027 AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval)
028 
029 if test "$opt_curses" = "yes"; then
030         prefer_curses=yes
031 fi
032 
033 dnl option parsing for optional features
034 opt_multibyte=yes
035 opt_static_libs=yes
036 opt_shared_libs=yes
037 
038 AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable multibyte characters if OS supports them]), opt_multibyte=$enableval)
039 AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
040 AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static libraries [[default=YES]]]), opt_static_libs=$enableval)
041 
042 if test $opt_multibyte = no; then
043 AC_DEFINE(NO_MULTIBYTE_SUPPORT)
044 fi
045 
046 echo ""
047 echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_vendor}-${host_os}"
048 echo ""
049 
050 # We want these before the checks, so the checks can modify their values.
051 test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
052 
053 AC_PROG_MAKE_SET
054 AC_PROG_CC
055 dnl AC_AIX
056 AC_MINIX
057 
058 # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
059 test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
060 
061 AC_PROG_GCC_TRADITIONAL
062 AC_PROG_INSTALL
063 AC_CHECK_PROG(AR, ar, , ar)
064 dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
065 dnl This allows people to set it when running configure or make
066 test -n "$ARFLAGS" || ARFLAGS="cr"
067 AC_PROG_RANLIB
068 
069 MAKE_SHELL=/bin/sh
070 AC_SUBST(MAKE_SHELL)
071 
072 AC_C_CONST
073 AC_C_PROTOTYPES
074 AC_C_CHAR_UNSIGNED
075 
076 AC_TYPE_SIGNAL
077 
078 AC_TYPE_SIZE_T
079 AC_CHECK_TYPE(ssize_t, int)
080 
081 AC_HEADER_STDC
082 
083 AC_HEADER_STAT
084 AC_HEADER_DIRENT
085 
086 AC_CHECK_FUNCS(lstat memmove putenv select setenv setlocale \
087                 strcasecmp strpbrk tcgetattr vsnprintf isascii isxdigit)
088 
089 AC_FUNC_STRCOLL
090 
091 AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
092                 limits.h sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
093                 termcap.h termios.h termio.h sys/file.h locale.h memory.h )
094 
095 BASH_SYS_SIGNAL_VINTAGE
096 BASH_SYS_REINSTALL_SIGHANDLERS
097 
098 BASH_FUNC_POSIX_SETJMP
099 BASH_FUNC_LSTAT
100 BASH_FUNC_STRCOLL
101 BASH_FUNC_CTYPE_NONASCII
102 
103 BASH_CHECK_GETPW_FUNCS
104 
105 AC_HEADER_TIOCGWINSZ
106 
107 BASH_TYPE_SIGHANDLER
108 BASH_HAVE_TIOCSTAT
109 BASH_HAVE_FIONREAD
110 BASH_CHECK_SPEED_T
111 BASH_STRUCT_WINSIZE
112 BASH_STRUCT_DIRENT_D_INO
113 BASH_STRUCT_DIRENT_D_FILENO
114 
115 dnl yuck
116 case "$host_os" in
117 aix*)   prefer_curses=yes ;;
118 esac
119 BASH_CHECK_LIB_TERMCAP
120 if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
121         if test "$prefer_curses" = yes; then
122                 TERMCAP_LIB=-lcurses
123         else
124                 TERMCAP_LIB=-ltermcap   #default
125         fi
126 fi
127 
128 BASH_CHECK_MULTIBYTE
129 
130 case "$host_cpu" in
131 *cray*) LOCAL_CFLAGS=-DCRAY ;;
132 *s390*) LOCAL_CFLAGS=-fsigned-char ;;
133 esac
134 
135 case "$host_os" in
136 isc*)   LOCAL_CFLAGS=-Disc386 ;;
137 esac
138 
139 # shared library configuration section
140 #
141 # Shared object configuration section.  These values are generated by
142 # ${srcdir}/support/shobj-conf
143 #
144 if test -f ${srcdir}/support/shobj-conf; then
145         AC_MSG_CHECKING(configuration for building shared libraries)
146         eval `${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
147         AC_SUBST(SHOBJ_CC)
148         AC_SUBST(SHOBJ_CFLAGS)
149         AC_SUBST(SHOBJ_LD)
150         AC_SUBST(SHOBJ_LDFLAGS)
151         AC_SUBST(SHOBJ_XLDFLAGS)
152         AC_SUBST(SHOBJ_LIBS)
153         AC_SUBST(SHOBJ_STATUS)
154         AC_SUBST(SHLIB_STATUS)
155         AC_SUBST(SHLIB_XLDFLAGS)
156         AC_SUBST(SHLIB_LIBSUFF)
157         AC_SUBST(SHLIB_LIBVERSION)
158         AC_SUBST(SHLIB_LIBS)
159         AC_MSG_RESULT($SHLIB_STATUS)
160 
161         # SHLIB_STATUS is either `supported' or `unsupported'.  If it's
162         # `unsupported', turn off any default shared library building
163         if test "$SHLIB_STATUS" = 'unsupported'; then
164                 opt_shared_libs=no
165         fi
166 
167         # shared library versioning
168         # quoted for m4 so I can use character classes
169         SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
170         SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
171         AC_SUBST(SHLIB_MAJOR)
172         AC_SUBST(SHLIB_MINOR)
173 fi
174 
175 if test "$opt_static_libs" = "yes"; then
176         STATIC_TARGET=static
177         STATIC_INSTALL_TARGET=install-static
178 fi
179 if test "$opt_shared_libs" = "yes"; then
180         SHARED_TARGET=shared
181         SHARED_INSTALL_TARGET=install-shared
182 fi
183 
184 AC_SUBST(STATIC_TARGET)
185 AC_SUBST(SHARED_TARGET)
186 AC_SUBST(STATIC_INSTALL_TARGET)
187 AC_SUBST(SHARED_INSTALL_TARGET)
188 
189 case "$host_os" in
190 msdosdjgpp*)    BUILD_DIR=`pwd.exe` ;;  # to prevent //d/path/file
191 *)              BUILD_DIR=`pwd` ;;
192 esac
193 
194 AC_SUBST(BUILD_DIR)
195 
196 AC_SUBST(CFLAGS)
197 AC_SUBST(LOCAL_CFLAGS)
198 AC_SUBST(LOCAL_LDFLAGS)
199 AC_SUBST(LOCAL_DEFS)
200 
201 AC_SUBST(AR)
202 AC_SUBST(ARFLAGS)
203 
204 AC_SUBST(host_cpu)
205 AC_SUBST(host_os)
206 
207 AC_SUBST(LIBVERSION)
208 
209 AC_SUBST(TERMCAP_LIB)
210 
211 AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
212 [
213 # Makefile uses this timestamp file to record whether config.h is up to date.
214 echo > stamp-h
215 ])

Powered by Lucene and the LXR engine.