10 "#include 10 "$0: 10 "$1" 10 "$FLAG_readline"; 10 "$FLAG_readline/include" 10 "$FLAG_readline/lib" 10 "$FLAG_with_readline" 10 "$FLAG_without_readline"; 10 "$FLAG_without_systemtap_sdt"; 10 "$_OIL_CONFIGURE_TEST"; 10 "$actual_bytes" 10 "$min_bytes" 10 "$min_bytes"; 10 "$pp_var" 10 "--datarootdir 10 "--prefix 10 "--readline 10 "Couldn't 10 "DATAROOTDIR=$FLAG_datarootdir" 10 "Error 10 "Fatal 10 "Invalid 10 "PREFIX=$FLAG_prefix" 10 "READLINE_DIR=$readline_dir" 10 "sizeof($c_type) 10 "sizeof($c_type)" 10 #!/bin/sh 10 #fi 10 #if 10 #then 10 $@':" 10 $TMP/cc.log 10 $TMP/cc_statement.c; 10 $TMP/detect_va_list.c; 10 $TMP/print_expr.c 10 $TMP/print_expr.out 10 $TMP/print_expr.out) 10 $TMPDIR 10 $_OIL_DEV 10 $c_expr); 10 $c_out 10 $c_out" 10 $cpp_out 10 $cpp_out" 10 $have_readline 10 $includes 10 $min_bytes; 10 $prog 10 $readline_dir 10 $sh_out 10 $sh_out" 10 '$1'" 10 '') 10 'HAVE_READLINE=' 10 'HAVE_READLINE=1' 10 'HAVE_SYSTEMTAP_SDT=' 10 'HAVE_SYSTEMTAP_SDT=1' 10 'READLINE_DIR=' 10 'STRIP_FLAGS=--gc-sections' 10 'STRIP_FLAGS=-dead_strip' 10 'Turned 10 '_Bool 10 '_Bool' 10 'cc 10 'double' 10 'float' 10 'fpos_t' 10 'int' 10 'libutil.h' 10 'long' 10 'off_t' 10 'pid_t' 10 'pty.h' 10 'readline 10 'readonly' 10 'return 10 'short' 10 'size_t' 10 'source 10 'time_t' 10 'util.h' 10 'void 10 'wchar_t 10 'wchar_t' 10 (--with-readline 10 (-D, 10 (Android) 10 (_Bool)0;' 10 (cc 10 (wchar_t)0;' 10 *' 10 *) 10 --arg=value 10 --build=*|--host=*) 10 --datadir=*|--infodir=*|--localedir=*|--mandir=*|--docdir=*) 10 --datarootdir) 10 --datarootdir=*) 10 --datarootdir=DATAROOTDIR 10 --exec-prefix=*|--bindir=*|--sbindir=*|--libexecdir=*|--sysconfdir=*) 10 --help) 10 --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*) 10 --libdir=*|--includedir=*|--oldincludedir=*) 10 --mandir 10 --prefix 10 --prefix) 10 --prefix. 10 --prefix=*) 10 --prefix=PREFIX 10 --readline) 10 --readline=*) 10 --readline=DIR 10 --sharedstatedir=*|--localstatedir=*|--runstatedir=*) 10 --with-*|--enable-*) 10 --with-readline 10 --with-readline) 10 --with-systemtap-sdt 10 --with-systemtap_sdt) 10 --without-readline 10 --without-readline) 10 --without-systemtap-sdt 10 --without-systemtap_sdt) 10 -D 10 -I 10 -L 10 -Wl,--gc-sections; 10 -Wl,-dead_strip; 10 -l, 10 -lt 10 -p 10 -z 10 /dev/null 10 /tmp 10 /usr/local/bin/oil, 10 1" 10 2 10 2>&1 10 2>&1; 10 4' 10 4) 10 <$c_lib>" 10 <<'EOF' 10 10 10 10 >$TMP/cc.log 10 >$TMP/cc_statement.c 10 >$TMP/detect_va_list.c 10 >$TMP/print_expr.c 10 >/dev/null 10 ? 10 AC_CHECK_SIZEOF(int, 10 AC_COMPUTE_INT 10 An 10 Another 10 Assume 10 C89 10 C99 10 Consider 10 Default 10 Dev 10 Distributed 10 E.g. 10 ERROR: 10 Echo 10 External 10 FLAG* 10 FLAG_* 10 FLAG_datarootdir="${1#*=}" 10 FLAG_datarootdir=$1 10 FLAG_datarootdir=${FLAG_datarootdir:-$FLAG_prefix/share} 10 FLAG_datarootdir='' 10 FLAG_prefix="${1#*=}" 10 FLAG_prefix=$1 10 FLAG_prefix='/usr/local' 10 FLAG_readline="${1#*=}" 10 FLAG_readline=$1 10 FLAG_readline='' 10 FLAG_with_readline='' 10 FLAG_with_readline=1 10 FLAG_with_systemtap_sdt='' 10 FLAG_with_systemtap_sdt=1 10 FLAG_without_readline='' 10 FLAG_without_readline=1 10 FLAG_without_systemtap_sdt='' 10 FLAG_without_systemtap_sdt=1 10 Fast 10 Following 10 For 10 Generate 10 HAVE_LIBUTIL_H 10 HAVE_LONG_DOUBLE 10 HAVE_LONG_LONG 10 HAVE_PTY_H 10 HAVE_STAT_TV_NSEC 10 HAVE_STAT_TV_NSEC2 10 HAVE_UTIL_H 10 HAVE_WCHAR_H 10 Hm, 10 I'm 10 INFO: 10 If 10 Installation 10 Just 10 Legacy 10 No 10 OVM 10 Oils. 10 Other 10 PGO 10 PGO? 10 POSIX, 10 Present 10 Python 10 QEMU 10 Return 10 SIZEOF_DOUBLE 10 SIZEOF_FLOAT 10 SIZEOF_FPOS_T 10 SIZEOF_INT 10 SIZEOF_LONG 10 SIZEOF_LONG_DOUBLE 10 SIZEOF_LONG_LONG 10 SIZEOF_OFF_T 10 SIZEOF_PID_T 10 SIZEOF_SHORT 10 SIZEOF_SIZE_T 10 SIZEOF_TIME_T 10 SIZEOF_VOID_P 10 SIZEOF__BOOL 10 Sets 10 Shell 10 Should 10 Standards 10 TMP 10 TMP=${TMPDIR:-/tmp} 10 The 10 These 10 Usage: 10 VA_LIST_IS_ARRAY 10 We 10 While 10 [/usr/local] 10 [PREFIX/share] 10 _build 10 _build/detected-config.sh'. 10 able 10 above 10 ac_fn_compute_int 10 accepts 10 actions 10 actual_bytes 10 actual_bytes=$(cat 10 adjust 10 after 10 against 10 aka 10 also 10 alternative 10 another 10 anything. 10 argument 10 arguments 10 array 10 at 10 autoconf's 10 automated 10 basic 10 because 10 bin/ 10 binary 10 bionic 10 bother 10 break 10 build-systems 10 build/detect-cc.c; 10 build/detect-pwent.c; 10 build/detect-systemtap-sdt.c; 10 build/ninja-rules-cpp.sh 10 build: 10 building 10 builds 10 c.m4 10 c_expr="$1" 10 c_lib="$2" 10 c_out=_build/detected-config.h 10 c_type="$2" 10 callable. 10 cc_header_file() 10 cc_or_die 10 cc_or_die() 10 cc_print_expr 10 cc_print_expr() 10 cc_quiet() 10 cc_statement() 10 certain 10 changed 10 check_sizeof() 10 clock_gettime() 10 code 10 code? 10 compilation 10 compiles 10 compiling 10 compiling. 10 config.log? 10 configuration 10 conftest.val! 10 consistent 10 cpp_out=_build/detected-cpp-config.h 10 cross-compiling 10 ctypes.h, 10 data 10 dependency: 10 detect 10 detect_c_language 10 detect_c_language() 10 detect_readline() 10 detect_systemtap_sdt 10 detect_systemtap_sdt() 10 detected 10 detected-config.mk 10 detected_deps='' 10 die() 10 different 10 directories: 10 directory. 10 disabled 10 documents, 10 done 10 double 10 double' 10 double)0;' 10 echo_cpp() 10 echo_shell_vars() 10 elif 10 entirely? 10 equivalent 10 error 10 esac 10 etc.) 10 etc.? 10 exists 10 fallback 10 false 10 features. 10 features: 10 file 10 file, 10 files, 10 follows 10 form 10 found 10 from 10 generates 10 globals 10 got 10 greater 10 handful 10 have. 10 have_readline 10 have_readline='' 10 have_systemtap_sdt='' 10 have_systemtap_sdt=1 10 header 10 helps 10 https://www.gnu.org/prep/standards/html_node/Configuration.html 10 https://www.gnu.org/prep/standards/html_node/Directory-Variables.html 10 includes="$3" 10 including 10 info() 10 initialized 10 installed 10 installed?)" 10 integer. 10 interactive 10 interface 10 isn't 10 it. 10 it? 10 just 10 large 10 least 10 libc 10 library 10 link 10 list1 10 list1, 10 listed 10 log() 10 logging, 10 long 10 long' 10 long)0;' 10 m4). 10 main 10 mainly 10 man 10 min_bytes="$3" 10 mkdir 10 mode 10 moving 10 necessary, 10 necessary? 10 need 10 need. 10 needs 10 non-portable 10 noops. 10 now. 10 oil-native 10 oil. 10 oil_lto, 10 oil_no_readline, 10 oil_pgo, 10 oil_readline, 10 oils-for-unix. 10 one 10 other 10 out 10 output 10 outputs 10 page 10 parse_flags 10 parse_flags() 10 part 10 passed).' 10 passing 10 pid_t 10 posixmodule.c 10 preconfigured 10 prefix 10 prefix, 10 printf("%lu", 10 processing 10 prog="$2" 10 properties 10 pwent 10 readline, 10 readline_dir="$FLAG_readline" 10 readline_dir='' 10 readonly 10 relevant 10 remains 10 required 10 roughly 10 run 10 run: 10 search? 10 send 10 set' 10 set, 10 settings 10 settings: 10 sh 10 sh) 10 sh_out=_build/detected-config.sh 10 shells 10 should 10 show_help 10 show_help() 10 size 10 size. 10 size_t, 10 source 10 specific 10 spelling 10 st.st_mtim.tv_nsec 10 st.st_mtimespec.tv_nsec 10 standard 10 stderr. 10 stdout! 10 stdout/stderr 10 step? 10 steps. 10 strip 10 support, 10 supports 10 sure 10 systemtap-sdt 10 systemtap-sdt, 10 tarball. 10 target 10 test" 10 than 10 them 10 there. 10 time.h, 10 true; 10 type 10 uintptr_t. 10 usage, 10 used. 10 used: 10 utilities 10 va_list 10 via 10 was 10 way 10 well 10 when 10 while 10 why 10 will 10 won't 10 working: 20 ! 20 "#define 20 "$0 20 "$_OIL_DEV"; 20 "$detected_deps" 20 "$have_systemtap_sdt" 20 $TMP/print_expr 20 $actual_bytes" 20 $pp_var 20 && 20 '#include 20 'called 20 'struct 20 (in 20 (long 20 */ 20 --help 20 -l 20 -o 20 /* 20 0 20 ' 20 AC_LANG_INT_SAVE 20 And 20 GC_TIMING 20 GNU 20 HAVE_C99_BOOL 20 HAVE_PWENT 20 HAVE_READLINE 20 HAVE_SYSTEMTAP_SDT 20 LTO, 20 Maybe 20 Optional 20 POSIX 20 Prefix 20 SIZEOF_WCHAR_T 20 as 20 assertions 20 assume 20 autoconf 20 available 20 build/detect-cc.c 20 build/detect-readline.c 20 case 20 compiler 20 cross 20 detect_readline 20 detected_deps=1 20 detecting 20 directory 20 do 20 does 20 doesn't 20 flags 20 given 20 has 20 have_readline=1 20 install 20 installation 20 list2; 20 location 20 might 20 most 20 no 20 note: 20 or 20 readline.' 20 readline; 20 really 20 requested 20 running 20 sets 20 st; 20 stat 20 tests 20 unless 20 use 20 variables 20 which 30 != 30 "$have_readline" 30 "Wrote 30 #include 30 #undef 30 $# 30 $@" 30 '' 30 '/* 30 */' 30 -eq 30 ./configure 30 0;' 30 1>&2 30 8 30 < 40 Check 40 Don't 40 EOF 40 Fail 40 This 40 an 40 check 40 compile 40 even 40 exit 40 main() 40 readline 40 set 40 shift 40 system 40 x 40 x; 50 cat 50 echo_cpp 50 echo_shell_vars 50 have 50 it 50 log 50 with 60 -n 60 1' 60 TODO: 60 available. 60 be 60 in 60 we 70 "Argument 70 '#define 70 '$1' 70 \ 70 and 70 cc_statement 70 else 70 info 70 it's 70 script" 80 4 90 cc_quiet 90 configure 90 for 90 used 100 - 100 a 100 by 100 die 100 is 100 return 110 of 110 this 120 1; 120 = 120 the 120 to 140 local 150 check_sizeof 170 not 190 test 200 ;; 200 { 200 } 260 echo 290 fi 310 then 410 if 920 #