Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit747c615

Browse files
committed
Autoconf run for readline/libedit patch.
1 parentadc3b34 commit747c615

File tree

1 file changed

+306
-0
lines changed

1 file changed

+306
-0
lines changed

‎configure

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7283,6 +7283,117 @@ _ACEOF
72837283
72847284
else
72857285
7286+
forac_headerin editline/readline.h
7287+
do
7288+
as_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`
7289+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7290+
echo"$as_me:$LINENO: checking for$ac_header">&5
7291+
echo$ECHO_N"checking for$ac_header...$ECHO_C">&6
7292+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7293+
echo$ECHO_N"(cached)$ECHO_C">&6
7294+
fi
7295+
echo"$as_me:$LINENO: result:`evalecho'${'$as_ac_Header'}'`">&5
7296+
echo"${ECHO_T}`evalecho'${'$as_ac_Header'}'`">&6
7297+
else
7298+
# Is the header compilable?
7299+
echo"$as_me:$LINENO: checking$ac_header usability">&5
7300+
echo$ECHO_N"checking$ac_header usability...$ECHO_C">&6
7301+
cat>conftest.$ac_ext<<_ACEOF
7302+
#line$LINENO "configure"
7303+
#include "confdefs.h"
7304+
$ac_includes_default
7305+
#include <$ac_header>
7306+
_ACEOF
7307+
rm -f conftest.$ac_objext
7308+
if { (evalecho"$as_me:$LINENO:\"$ac_compile\"")>&5
7309+
(eval$ac_compile)2>&5
7310+
ac_status=$?
7311+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7312+
(exit$ac_status); }&&
7313+
{ ac_try='test -s conftest.$ac_objext'
7314+
{ (evalecho"$as_me:$LINENO:\"$ac_try\"")>&5
7315+
(eval$ac_try)2>&5
7316+
ac_status=$?
7317+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7318+
(exit$ac_status); }; };then
7319+
ac_header_compiler=yes
7320+
else
7321+
echo"$as_me: failed program was:">&5
7322+
cat conftest.$ac_ext>&5
7323+
ac_header_compiler=no
7324+
fi
7325+
rm -f conftest.$ac_objext conftest.$ac_ext
7326+
echo"$as_me:$LINENO: result:$ac_header_compiler">&5
7327+
echo"${ECHO_T}$ac_header_compiler">&6
7328+
7329+
# Is the header present?
7330+
echo"$as_me:$LINENO: checking$ac_header presence">&5
7331+
echo$ECHO_N"checking$ac_header presence...$ECHO_C">&6
7332+
cat>conftest.$ac_ext<<_ACEOF
7333+
#line$LINENO "configure"
7334+
#include "confdefs.h"
7335+
#include <$ac_header>
7336+
_ACEOF
7337+
if { (evalecho"$as_me:$LINENO:\"$ac_cpp conftest.$ac_ext\"")>&5
7338+
(eval$ac_cpp conftest.$ac_ext)2>conftest.er1
7339+
ac_status=$?
7340+
egrep -v'^ *\+' conftest.er1>conftest.err
7341+
rm -f conftest.er1
7342+
cat conftest.err>&5
7343+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7344+
(exit$ac_status); }>/dev/null;then
7345+
iftest -s conftest.err;then
7346+
ac_cpp_err=$ac_c_preproc_warn_flag
7347+
else
7348+
ac_cpp_err=
7349+
fi
7350+
else
7351+
ac_cpp_err=yes
7352+
fi
7353+
iftest -z"$ac_cpp_err";then
7354+
ac_header_preproc=yes
7355+
else
7356+
echo"$as_me: failed program was:">&5
7357+
cat conftest.$ac_ext>&5
7358+
ac_header_preproc=no
7359+
fi
7360+
rm -f conftest.err conftest.$ac_ext
7361+
echo"$as_me:$LINENO: result:$ac_header_preproc">&5
7362+
echo"${ECHO_T}$ac_header_preproc">&6
7363+
7364+
# So? What about this header?
7365+
case$ac_header_compiler:$ac_header_preprocin
7366+
yes:no )
7367+
{echo"$as_me:$LINENO: WARNING:$ac_header: accepted by the compiler, rejected by the preprocessor!">&5
7368+
echo"$as_me: WARNING:$ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}
7369+
{echo"$as_me:$LINENO: WARNING:$ac_header: proceeding with the preprocessor's result">&5
7370+
echo"$as_me: WARNING:$ac_header: proceeding with the preprocessor's result">&2;};;
7371+
no:yes )
7372+
{echo"$as_me:$LINENO: WARNING:$ac_header: present but cannot be compiled">&5
7373+
echo"$as_me: WARNING:$ac_header: present but cannot be compiled">&2;}
7374+
{echo"$as_me:$LINENO: WARNING:$ac_header: check for missing prerequisite headers?">&5
7375+
echo"$as_me: WARNING:$ac_header: check for missing prerequisite headers?">&2;}
7376+
{echo"$as_me:$LINENO: WARNING:$ac_header: proceeding with the preprocessor's result">&5
7377+
echo"$as_me: WARNING:$ac_header: proceeding with the preprocessor's result">&2;};;
7378+
esac
7379+
echo"$as_me:$LINENO: checking for$ac_header">&5
7380+
echo$ECHO_N"checking for$ac_header...$ECHO_C">&6
7381+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7382+
echo$ECHO_N"(cached)$ECHO_C">&6
7383+
else
7384+
eval"$as_ac_Header=$ac_header_preproc"
7385+
fi
7386+
echo"$as_me:$LINENO: result:`evalecho'${'$as_ac_Header'}'`">&5
7387+
echo"${ECHO_T}`evalecho'${'$as_ac_Header'}'`">&6
7388+
7389+
fi
7390+
iftest`evalecho'${'$as_ac_Header'}'` = yes;then
7391+
cat>>confdefs.h<<_ACEOF
7392+
#define`echo"HAVE_$ac_header"|$as_tr_cpp` 1
7393+
_ACEOF
7394+
7395+
else
7396+
72867397
forac_headerin readline.h
72877398
do
72887399
as_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`
@@ -7410,6 +7521,10 @@ fi
74107521
74117522
done
74127523
7524+
fi
7525+
7526+
done
7527+
74137528
74147529
forac_headerin readline/history.h
74157530
do
@@ -7522,6 +7637,117 @@ _ACEOF
75227637
75237638
else
75247639
7640+
forac_headerin editline/history.h
7641+
do
7642+
as_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`
7643+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7644+
echo"$as_me:$LINENO: checking for$ac_header">&5
7645+
echo$ECHO_N"checking for$ac_header...$ECHO_C">&6
7646+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7647+
echo$ECHO_N"(cached)$ECHO_C">&6
7648+
fi
7649+
echo"$as_me:$LINENO: result:`evalecho'${'$as_ac_Header'}'`">&5
7650+
echo"${ECHO_T}`evalecho'${'$as_ac_Header'}'`">&6
7651+
else
7652+
# Is the header compilable?
7653+
echo"$as_me:$LINENO: checking$ac_header usability">&5
7654+
echo$ECHO_N"checking$ac_header usability...$ECHO_C">&6
7655+
cat>conftest.$ac_ext<<_ACEOF
7656+
#line$LINENO "configure"
7657+
#include "confdefs.h"
7658+
$ac_includes_default
7659+
#include <$ac_header>
7660+
_ACEOF
7661+
rm -f conftest.$ac_objext
7662+
if { (evalecho"$as_me:$LINENO:\"$ac_compile\"")>&5
7663+
(eval$ac_compile)2>&5
7664+
ac_status=$?
7665+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7666+
(exit$ac_status); }&&
7667+
{ ac_try='test -s conftest.$ac_objext'
7668+
{ (evalecho"$as_me:$LINENO:\"$ac_try\"")>&5
7669+
(eval$ac_try)2>&5
7670+
ac_status=$?
7671+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7672+
(exit$ac_status); }; };then
7673+
ac_header_compiler=yes
7674+
else
7675+
echo"$as_me: failed program was:">&5
7676+
cat conftest.$ac_ext>&5
7677+
ac_header_compiler=no
7678+
fi
7679+
rm -f conftest.$ac_objext conftest.$ac_ext
7680+
echo"$as_me:$LINENO: result:$ac_header_compiler">&5
7681+
echo"${ECHO_T}$ac_header_compiler">&6
7682+
7683+
# Is the header present?
7684+
echo"$as_me:$LINENO: checking$ac_header presence">&5
7685+
echo$ECHO_N"checking$ac_header presence...$ECHO_C">&6
7686+
cat>conftest.$ac_ext<<_ACEOF
7687+
#line$LINENO "configure"
7688+
#include "confdefs.h"
7689+
#include <$ac_header>
7690+
_ACEOF
7691+
if { (evalecho"$as_me:$LINENO:\"$ac_cpp conftest.$ac_ext\"")>&5
7692+
(eval$ac_cpp conftest.$ac_ext)2>conftest.er1
7693+
ac_status=$?
7694+
egrep -v'^ *\+' conftest.er1>conftest.err
7695+
rm -f conftest.er1
7696+
cat conftest.err>&5
7697+
echo"$as_me:$LINENO:\$? =$ac_status">&5
7698+
(exit$ac_status); }>/dev/null;then
7699+
iftest -s conftest.err;then
7700+
ac_cpp_err=$ac_c_preproc_warn_flag
7701+
else
7702+
ac_cpp_err=
7703+
fi
7704+
else
7705+
ac_cpp_err=yes
7706+
fi
7707+
iftest -z"$ac_cpp_err";then
7708+
ac_header_preproc=yes
7709+
else
7710+
echo"$as_me: failed program was:">&5
7711+
cat conftest.$ac_ext>&5
7712+
ac_header_preproc=no
7713+
fi
7714+
rm -f conftest.err conftest.$ac_ext
7715+
echo"$as_me:$LINENO: result:$ac_header_preproc">&5
7716+
echo"${ECHO_T}$ac_header_preproc">&6
7717+
7718+
# So? What about this header?
7719+
case$ac_header_compiler:$ac_header_preprocin
7720+
yes:no )
7721+
{echo"$as_me:$LINENO: WARNING:$ac_header: accepted by the compiler, rejected by the preprocessor!">&5
7722+
echo"$as_me: WARNING:$ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}
7723+
{echo"$as_me:$LINENO: WARNING:$ac_header: proceeding with the preprocessor's result">&5
7724+
echo"$as_me: WARNING:$ac_header: proceeding with the preprocessor's result">&2;};;
7725+
no:yes )
7726+
{echo"$as_me:$LINENO: WARNING:$ac_header: present but cannot be compiled">&5
7727+
echo"$as_me: WARNING:$ac_header: present but cannot be compiled">&2;}
7728+
{echo"$as_me:$LINENO: WARNING:$ac_header: check for missing prerequisite headers?">&5
7729+
echo"$as_me: WARNING:$ac_header: check for missing prerequisite headers?">&2;}
7730+
{echo"$as_me:$LINENO: WARNING:$ac_header: proceeding with the preprocessor's result">&5
7731+
echo"$as_me: WARNING:$ac_header: proceeding with the preprocessor's result">&2;};;
7732+
esac
7733+
echo"$as_me:$LINENO: checking for$ac_header">&5
7734+
echo$ECHO_N"checking for$ac_header...$ECHO_C">&6
7735+
ifeval"test\"\${$as_ac_Header+set}\" = set";then
7736+
echo$ECHO_N"(cached)$ECHO_C">&6
7737+
else
7738+
eval"$as_ac_Header=$ac_header_preproc"
7739+
fi
7740+
echo"$as_me:$LINENO: result:`evalecho'${'$as_ac_Header'}'`">&5
7741+
echo"${ECHO_T}`evalecho'${'$as_ac_Header'}'`">&6
7742+
7743+
fi
7744+
iftest`evalecho'${'$as_ac_Header'}'` = yes;then
7745+
cat>>confdefs.h<<_ACEOF
7746+
#define`echo"HAVE_$ac_header"|$as_tr_cpp` 1
7747+
_ACEOF
7748+
7749+
else
7750+
75257751
forac_headerin history.h
75267752
do
75277753
as_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`
@@ -7651,6 +7877,10 @@ done
76517877
76527878
fi
76537879
7880+
done
7881+
7882+
fi
7883+
76547884
iftest"$with_zlib" = yes;then
76557885
iftest"${ac_cv_header_zlib_h+set}" =set;then
76567886
echo"$as_me:$LINENO: checking for zlib.h">&5
@@ -11091,6 +11321,82 @@ _ACEOF
1109111321
fi
1109211322
done
1109311323
11324+
11325+
forac_funcin replace_history_entry
11326+
do
11327+
as_ac_var=`echo"ac_cv_func_$ac_func"|$as_tr_sh`
11328+
echo"$as_me:$LINENO: checking for$ac_func">&5
11329+
echo$ECHO_N"checking for$ac_func...$ECHO_C">&6
11330+
ifeval"test\"\${$as_ac_var+set}\" = set";then
11331+
echo$ECHO_N"(cached)$ECHO_C">&6
11332+
else
11333+
cat>conftest.$ac_ext<<_ACEOF
11334+
#line$LINENO "configure"
11335+
#include "confdefs.h"
11336+
/* System header to define __stub macros and hopefully few prototypes,
11337+
which can conflict with char$ac_func (); below. */
11338+
#include <assert.h>
11339+
/* Override any gcc2 internal prototype to avoid an error. */
11340+
#ifdef __cplusplus
11341+
extern "C"
11342+
#endif
11343+
/* We use char because int might match the return type of a gcc2
11344+
builtin and then its argument prototype would still apply. */
11345+
char$ac_func ();
11346+
char (*f) ();
11347+
11348+
#ifdef F77_DUMMY_MAIN
11349+
# ifdef __cplusplus
11350+
extern "C"
11351+
# endif
11352+
int F77_DUMMY_MAIN() { return 1; }
11353+
#endif
11354+
int
11355+
main ()
11356+
{
11357+
/* The GNU C library defines this for functions which it implements
11358+
to always fail with ENOSYS. Some functions are actually named
11359+
something starting with __ and the normal name is an alias. */
11360+
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11361+
choke me
11362+
#else
11363+
f =$ac_func;
11364+
#endif
11365+
11366+
;
11367+
return 0;
11368+
}
11369+
_ACEOF
11370+
rm -f conftest.$ac_objext conftest$ac_exeext
11371+
if { (evalecho"$as_me:$LINENO:\"$ac_link\"")>&5
11372+
(eval$ac_link)2>&5
11373+
ac_status=$?
11374+
echo"$as_me:$LINENO:\$? =$ac_status">&5
11375+
(exit$ac_status); }&&
11376+
{ ac_try='test -s conftest$ac_exeext'
11377+
{ (evalecho"$as_me:$LINENO:\"$ac_try\"")>&5
11378+
(eval$ac_try)2>&5
11379+
ac_status=$?
11380+
echo"$as_me:$LINENO:\$? =$ac_status">&5
11381+
(exit$ac_status); }; };then
11382+
eval"$as_ac_var=yes"
11383+
else
11384+
echo"$as_me: failed program was:">&5
11385+
cat conftest.$ac_ext>&5
11386+
eval"$as_ac_var=no"
11387+
fi
11388+
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11389+
fi
11390+
echo"$as_me:$LINENO: result:`evalecho'${'$as_ac_var'}'`">&5
11391+
echo"${ECHO_T}`evalecho'${'$as_ac_var'}'`">&6
11392+
iftest`evalecho'${'$as_ac_var'}'` = yes;then
11393+
cat>>confdefs.h<<_ACEOF
11394+
#define`echo"HAVE_$ac_func"|$as_tr_cpp` 1
11395+
_ACEOF
11396+
11397+
fi
11398+
done
11399+
1109411400
fi
1109511401
1109611402

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp