"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

configure.ac  (bed-3.0.3.src.tar.xz):configure.ac  (bed-3.1.0.src.tar.xz)
AC_INIT([bed],[3.0.3],[binaryeditor@gmx.com]) AC_INIT([bed],[3.1.0],[binaryeditor@gmx.com])
#AC_INIT([bed],[$VERSION],[binaryeditor@gmx.com]) #AC_INIT([bed],[$VERSION],[binaryeditor@gmx.com])
AC_CONFIG_HEADER(src/confdefines.h) AC_CONFIG_HEADERS([src/confdefines.h])
. ./settings . ./settings
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_CANONICAL_BUILD AC_CANONICAL_BUILD
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_CHECK_TOOL([STRIP],[strip]) AC_CHECK_TOOL([STRIP],[strip])
if $STRIP -V|grep GNU if $STRIP -V|grep GNU
then then
GNUSTRIP=yes GNUSTRIP=yes
skipping to change at line 26 skipping to change at line 26
fi fi
AC_PATH_PROG(MAN2HTML,man2html) AC_PATH_PROG(MAN2HTML,man2html)
if test .$MAN2HTML != . && $MAN2HTML -Hwww.test.org -M /a/path/ < man2html/man2h tml.1|grep -q '<B><A HREF="http://www.test.org/a/path/?1+man">man</A></B>(1)' if test .$MAN2HTML != . && $MAN2HTML -Hwww.test.org -M /a/path/ < man2html/man2h tml.1|grep -q '<B><A HREF="http://www.test.org/a/path/?1+man">man</A></B>(1)'
then then
echo found, use system version. echo found, use system version.
else else
MAN2HTML=../man2html/man2html MAN2HTML=../man2html/man2html
echo not found, use included version. echo not found, use included version.
fi fi
#SYSTEM=unknown
#if which uname
#then
# SYSTEM=`uname -s`
#fi
#AC_CYGWIN
CYGWIN=no CYGWIN=no
SOLARIS=no SOLARIS=no
case $host_os in case $host_os in
*android*) SYSTEM=Android;; *android*) SYSTEM=Android;;
*linux* ) SYSTEM=Linux;; *linux* ) SYSTEM=Linux;;
*freebsd* ) SYSTEM=FreeBSD;; *freebsd* ) SYSTEM=FreeBSD;;
*solaris* ) SYSTEM=SunOS;SOLARIS=yes;; *solaris* ) SYSTEM=SunOS;SOLARIS=yes;;
*cygwin* ) CYGWIN=yes;SYSTEM=CYGWIN;; *cygwin* ) CYGWIN=yes;SYSTEM=CYGWIN;;
esac esac
echo Host os for bed $host_os echo Host os for bed $host_os
skipping to change at line 56 skipping to change at line 50
CONFIG_LINKINPLUGINS=n CONFIG_LINKINPLUGINS=n
else else
CONFIG_LINKINPLUGINS=y CONFIG_LINKINPLUGINS=y
fi fi
if test .$CYGWIN = .yes if test .$CYGWIN = .yes
then then
CYGWINDLL=2000 CYGWINDLL=2000
if test .$cross_compiling = .no if test .$cross_compiling = .no
then then
AC_TRY_RUN([ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdio.h> #include <stdio.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include <cygwin/version.h> #include <cygwin/version.h>
int main(void) { int main(void) {
int get= CYGWIN_VERSION_DLL_MAJOR; int get= CYGWIN_VERSION_DLL_MAJOR;
FILE *file=fopen("conftest.printzd","w"); FILE *file=fopen("conftest.printzd","w");
if(!file) if(!file)
return(2); return(2);
fprintf(file,"%d\n",get); fprintf(file,"%d\n",get);
fclose(file); fclose(file);
return(0); return(0);
} }
],CYGWINDLL=`cat conftest.printzd` ) ]])],[CYGWINDLL=`cat conftest.printzd` ],[],[])
echo CYGWIN_VERSION_DLL_MAJOR=$CYGWINDLL echo CYGWIN_VERSION_DLL_MAJOR=$CYGWINDLL
else else
echo "cross compiling, assume CYGWIN_VERSION_DLL_MAJOR > 1007" echo "cross compiling, assume CYGWIN_VERSION_DLL_MAJOR > 1007"
fi # cross fi # cross
fi # CYGWIN fi # CYGWIN
AC_LANG(C) AC_LANG(C)
AC_LANG(C++) AC_LANG(C++)
#AC_PROG_CPP #AC_PROG_CPP
skipping to change at line 95 skipping to change at line 89
AC_CHECK_TYPES([off64_t,__off64_t]) AC_CHECK_TYPES([off64_t,__off64_t])
#OLDLIBS=$LIBS #OLDLIBS=$LIBS
#AC_CHECK_FUNC(GetWindowsDirectoryA ,WINDOWS=yes,WINDOWS=no) #AC_CHECK_FUNC(GetWindowsDirectoryA ,WINDOWS=yes,WINDOWS=no)
AC_CHECK_FUNC(GetStdHandle,WINDOWS=yes,WINDOWS=no) AC_CHECK_FUNC(GetStdHandle,WINDOWS=yes,WINDOWS=no)
if test .$WINDOWS = .no if test .$WINDOWS = .no
then then
AC_CHECK_LIB(kernel32,GetStdHandle,WINDOWS=yes,WINDOWS=no) AC_CHECK_LIB(kernel32,GetStdHandle,WINDOWS=yes,WINDOWS=no)
if test .$WINDOWS = .no if test .$WINDOWS = .no
then then
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <windows.h>
#include <windows.h> ]], [[{
,
{
GetStdHandle(STD_OUTPUT_HANDLE) ; GetStdHandle(STD_OUTPUT_HANDLE) ;
},WINDOWS=yes,WINDOWS=no) }]])],[WINDOWS=yes],[WINDOWS=no])
fi fi
fi fi
AC_CHECK_FUNCS(strchrnul setenv ftruncate64 truncate64 open64 stat64 fstat64 glo b stpcpy) AC_CHECK_FUNCS(strchrnul setenv ftruncate64 truncate64 open64 stat64 fstat64 glo b stpcpy sendfile sendfile64 bzero sigsuspend sigaddset memccpy kill tcsetattr)
AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h gnuregex.h regex.h float.h sys/errno.h errno.h sys/ioctl.h dirent.h sys/wait.h termios.h sys/mman.h re2/re 2.h) AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h gnuregex.h regex.h float.h sys/errno.h errno.h sys/ioctl.h dirent.h sys/wait.h termios.h sys/mman.h re2/re 2.h)
AC_CHECK_LIB(magic, magic_buffer, HAVE_MAGIC_H=1) AC_CHECK_LIB(magic, magic_buffer, HAVE_MAGIC_H=1)
if test .$HAVE_MAGIC_H != .1 if test .$HAVE_MAGIC_H != .1
then then
AC_CHECK_LIB(z, magic_buffer,HAVE_MAGIC_H=1; LIBS+=-lz,true,-lmagic) AC_CHECK_LIB(z, magic_buffer,HAVE_MAGIC_H=1; LIBS+=-lz,true,-lmagic)
fi fi
if test .$HAVE_MAGIC_H = .1 if test .$HAVE_MAGIC_H = .1
then then
skipping to change at line 148 skipping to change at line 140
fi fi
],) ],)
#AC_FUNC_MMAP #AC_FUNC_MMAP
OLDLIBS=$LIBS OLDLIBS=$LIBS
AC_SEARCH_LIBS(dlopen,dl, CONFIG_PLUGIN=y,CONFIG_PLUGIN=n) AC_SEARCH_LIBS(dlopen,dl, CONFIG_PLUGIN=y,CONFIG_PLUGIN=n)
LIBS="" LIBS=""
AC_CHECK_LIB(dl,dlopen) AC_CHECK_LIB(dl,dlopen)
DLLIBS=$LIBS DLLIBS=$LIBS
AC_SEARCH_LIBS(lseek64,c,CONFIG_LARGEFILES=y;AC_DEFINE(HAS_LSEEK64),CONFIG_LARGE FILES=n) AC_SEARCH_LIBS(lseek64,c,CONFIG_LARGEFILES=y;AC_DEFINE(HAS_LSEEK64),CONFIG_LARGE FILES=n)
echo -n "Checking for sigsetjmp ... " echo -n "Checking for sigsetjmp ... "
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <setjmp.h>
#include <setjmp.h> ]], [[{
,
{
sigjmp_buf jmp; sigjmp_buf jmp;
if(sigsetjmp(jmp,2)==4) { } if(sigsetjmp(jmp,2)==4) { }
},echo yes;AC_DEFINE(HAS_SIGSETJMP),echo no) }]])],[echo yes;AC_DEFINE(HAS_SIGSETJMP)],[echo no])
#AC_SEARCH_LIBS(__sigsetjmp,c gcc_s ,AC_DEFINE(HAS_SIGSETJMP)) #AC_SEARCH_LIBS(__sigsetjmp,c gcc_s ,AC_DEFINE(HAS_SIGSETJMP))
AC_CHECK_SIZEOF(off_t) AC_CHECK_SIZEOF(off_t)
if test .$CONFIG_LARGEFILES = .n if test .$CONFIG_LARGEFILES = .n
then then
EXTRAFLAGS="$EXTRAFLAGS -DSIZEOF_OFF_T=$ac_cv_sizeof_off_t" EXTRAFLAGS="$EXTRAFLAGS -DSIZEOF_OFF_T=$ac_cv_sizeof_off_t"
if test -n $ac_cv_sizeof_off_t if test -n $ac_cv_sizeof_off_t
then then
skipping to change at line 196 skipping to change at line 186
], AC_DEFINE(HAS_MAP_FAILED)) ], AC_DEFINE(HAS_MAP_FAILED))
AC_SEARCH_LIBS(mremap,c,AC_DEFINE(HAS_MREMAP)) AC_SEARCH_LIBS(mremap,c,AC_DEFINE(HAS_MREMAP))
AC_SEARCH_LIBS(mkstemp,c,AC_DEFINE(HAS_MKSTEMP)) AC_SEARCH_LIBS(mkstemp,c,AC_DEFINE(HAS_MKSTEMP))
AC_SEARCH_LIBS(strnlen,c,AC_DEFINE(HAS_STRNLEN)) AC_SEARCH_LIBS(strnlen,c,AC_DEFINE(HAS_STRNLEN))
AC_CHECK_LIB(c,getusershell,AC_DEFINE(HAS_GETUSERSHELL),) AC_CHECK_LIB(c,getusershell,AC_DEFINE(HAS_GETUSERSHELL),)
AC_CHECK_LIB(c,gmtime_r,AC_DEFINE(HAS_GMTIME_R)) AC_CHECK_LIB(c,gmtime_r,AC_DEFINE(HAS_GMTIME_R))
AC_CHECK_LIB(c,localtime_r,AC_DEFINE(HAS_LOCALTIME_R)) AC_CHECK_LIB(c,localtime_r,AC_DEFINE(HAS_LOCALTIME_R))
AC_CHECK_LIB(c,strtoll,AC_DEFINE(HAS_STRTOLL),) AC_CHECK_LIB(c,strtoll,AC_DEFINE(HAS_STRTOLL),)
AC_CHECK_LIB(c,pread,AC_DEFINE(HAS_PREAD),) AC_CHECK_LIB(c,pread,AC_DEFINE(HAS_PREAD),)
#AC_CHECK_LIB(c,copy_file_range,AC_DEFINE(HAS_COPY_FILE_RANGE),)
if test .$SYSTEM != .Android if test .$SYSTEM != .Android
then then
AC_CHECK_LIB(c,ttyname_r,AC_DEFINE(HAS_TTYNAME_R),) AC_CHECK_LIB(c,ttyname_r,AC_DEFINE(HAS_TTYNAME_R),)
fi fi
AC_CHECK_LIB(c,realpath,AC_DEFINE(HAS_REALPATH),) AC_CHECK_LIB(c,realpath,AC_DEFINE(HAS_REALPATH),)
AC_CHECK_FUNCS_ONCE(timegm) AC_CHECK_FUNCS_ONCE(timegm)
echo -n 'Checking for tm_gmtoff... ' echo -n 'Checking for tm_gmtoff... '
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
#include <stdio.h>
#include <time.h> #include <time.h>
, ]], [[{
{
struct tm tim; struct tm tim;
printf("%d",tim.tm_gmtoff); printf("%d",tim.tm_gmtoff);
} }
,echo yes,echo no;TIMEZONENEEDED=1; AC_DEFINE(TIMEZONENEEDED)) ]])],[echo yes],[echo no;TIMEZONENEEDED=1; AC_DEFINE(TIMEZONENEEDED)])
if test .$TIMEZONENEEDED = .1 if test .$TIMEZONENEEDED = .1
then then
echo -n 'Checking for int timezone... ' echo -n 'Checking for int timezone... '
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>
#include <time.h>
#include <stdio.h> #include <stdio.h>
, ]], [[{
{
time_t x; time_t x;
x+=timezone; x+=timezone;
} }
,echo yes;AC_DEFINE(NOTIMEZONE),echo no) ]])],[echo yes;AC_DEFINE(NOTIMEZONE)],[echo no])
fi fi
AC_LANG(C++) AC_LANG(C++)
AC_CHECK_LIB(c,strptime,,AC_DEFINE(OWNTRANSTIME)) AC_CHECK_LIB(c,strptime,,AC_DEFINE(OWNTRANSTIME))
#AC_COMPILE_IFELSE( #define _XOPEN_SOURCE #include <time.h> int main(void) { s truct tm uit; char formal[100]; strptime(formal,"%a %b %e %H:%M:%S " , &uit); r eturn 0; } ,,AC_DEFINE(OWNTRANSTIME)) #AC_COMPILE_IFELSE( #define _XOPEN_SOURCE #include <time.h> int main(void) { s truct tm uit; char formal[100]; strptime(formal,"%a %b %e %H:%M:%S " , &uit); r eturn 0; } ,,AC_DEFINE(OWNTRANSTIME))
AC_SEARCH_LIBS(clock_gettime,rt,AC_DEFINE(HAVE_CLOCK_GETTIME)) AC_SEARCH_LIBS(clock_gettime,rt,AC_DEFINE(HAVE_CLOCK_GETTIME))
LIBS=$OLDLIBS LIBS=$OLDLIBS
AC_SEARCH_LIBS(xre_search_2,iberty,HAS_RE_SEARCH=y,HAS_RE_SEARCH=n) AC_SEARCH_LIBS(xre_search_2,iberty,HAS_RE_SEARCH=y,HAS_RE_SEARCH=n)
skipping to change at line 258 skipping to change at line 246
#AC_CHECK_HEADER(re2/re2.h,USE_RE2=1 ) #AC_CHECK_HEADER(re2/re2.h,USE_RE2=1 )
LIBS="" LIBS=""
AC_SEARCH_LIBS(_ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi ,re2 , HAVE_RE2_RE2_H=1 ) AC_SEARCH_LIBS(_ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi ,re2 , HAVE_RE2_RE2_H=1 )
LIBRE2=$LIBS LIBRE2=$LIBS
LIBS="" LIBS=""
AC_SEARCH_LIBS(pthread_create,pthread c_r,CONFIG_THREADS=y,CONFIG_THREADS=n) AC_SEARCH_LIBS(pthread_create,pthread c_r,CONFIG_THREADS=y,CONFIG_THREADS=n)
echo CONFIG_THREADS=$CONFIG_THREADS echo CONFIG_THREADS=$CONFIG_THREADS
if test $CONFIG_THREADS = y if test $CONFIG_THREADS = y
then then
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>
#include <pthread.h> ]], [[{
, {
pthread_mutexattr_t mut; pthread_mutexattr_t mut;
pthread_mutexattr_init(&mut); pthread_mutexattr_init(&mut);
pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK); pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK);
} }
,AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK)) ]])],[AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK)],[])
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>
#include <pthread.h> ]], [[{
,
{
pthread_mutexattr_t mut; pthread_mutexattr_t mut;
pthread_mutexattr_init(&mut); pthread_mutexattr_init(&mut);
pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK_NP); pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK_NP);
} }
,AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK_NP)) ]])],[AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK_NP)],[])
AC_SEARCH_LIBS(sem_wait,pthread c_r,AC_DEFINE(HAS_SEMAPHORE)) AC_SEARCH_LIBS(sem_wait,pthread c_r,AC_DEFINE(HAS_SEMAPHORE))
AC_SEARCH_LIBS(sem_getvalue,pthread c_r,AC_DEFINE(HAS_GETVALUE)) AC_SEARCH_LIBS(sem_getvalue,pthread c_r,AC_DEFINE(HAS_GETVALUE))
fi fi
THREADSLIB=$LIBS THREADSLIB=$LIBS
LIBS=$OLDLIBS LIBS=$OLDLIBS
echo -n 'checking for sysconf(_SC_AVPHYS_PAGES)... ' echo -n 'checking for sysconf(_SC_AVPHYS_PAGES)... '
AC_TRY_COMPILE( AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
#include <unistd.h> ]], [[long psize;
,
long psize;
long av; long av;
long max; long max;
psize=sysconf(_SC_PAGESIZE); psize=sysconf(_SC_PAGESIZE);
max=sysconf(_SC_PHYS_PAGES); max=sysconf(_SC_PHYS_PAGES);
av=sysconf(_SC_AVPHYS_PAGES); av=sysconf(_SC_AVPHYS_PAGES);
return(0); return(0);
,echo yes;AC_DEFINE(SYSCONF_MEM),echo no) ]])],[echo yes;AC_DEFINE(SYSCONF_MEM)],[echo no])
AC_SEARCH_LIBS(log,m) AC_SEARCH_LIBS(log,m)
RXVTS="rxvt rxvt.bin rxvt.sh rxvt-xpm rxvt-xterm" RXVTS="rxvt rxvt.bin rxvt.sh rxvt-xpm rxvt-xterm"
RXVT="" RXVT=""
NRXVT="" NRXVT=""
CONFIG_XBED=n CONFIG_XBED=n
if test .$PDCURSES != .1 if test .$PDCURSES != .1
then then
for i in $RXVTS for i in $RXVTS
skipping to change at line 380 skipping to change at line 363
AC_SUBST(HAVE_LN_R,n) AC_SUBST(HAVE_LN_R,n)
fi fi
AC_PATH_XTRA AC_PATH_XTRA
echo nox: $no_x echo nox: $no_x
if test .$no_x = .yes if test .$no_x = .yes
then then
HAS_X=n HAS_X=n
else else
HAS_X=y HAS_X=y
fi fi
AC_LANG_CPLUSPLUS AC_LANG([C++])
AC_LANG(C++) AC_LANG(C++)
#m4_include([ax_cxx_check_lib.m4]) #m4_include([ax_cxx_check_lib.m4])
#AX_CXX_CHECK_LIB(stdc++,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER)) #AX_CXX_CHECK_LIB(stdc++,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER))
#AX_CXX_CHECK_LIB(c,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER)) #AX_CXX_CHECK_LIB(c,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER))
#AX_CXX_CHECK_LIB(gcc_s,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER)) #AX_CXX_CHECK_LIB(gcc_s,[Std::set_new_handler], AC_DEFINE(HAS_SETNEWHANDLER))
#AC_LANG(C++) #AC_LANG(C++)
#AC_SEARCH_LIBS(Std::set_new_handler, stdc++ c gcc_s, AC_DEFINE(HAS_SETNEWHANDLE R)) #AC_SEARCH_LIBS(Std::set_new_handler, stdc++ c gcc_s, AC_DEFINE(HAS_SETNEWHANDLE R))
AC_CHECK_HEADER(new,AC_DEFINE(HAVE_NEW)) AC_CHECK_HEADER(new,AC_DEFINE(HAVE_NEW))
skipping to change at line 446 skipping to change at line 429
return sizeof(buf); return sizeof(buf);
} }
! !
`" `"
then then
break break
fi fi
done done
echo take $GXXVERSION echo take $GXXVERSION
function findprogenk() {
try=g$prog
if hash $try
then
retval=$try
else
if test "$iscpp" = "+"
then
retval=clang++
else
retval=clang
fi
fi
}
function findprog() {
prog=$1
iscpp="${prog:1:1}"
if test -z "$build_alias"
then
findprogenk
else
if test "$iscpp" = "+"
then
try=$build_alias-c$prog
else
try=$build_alias-$prog
fi
if hash $try
then
retval=$try
else
try=$build_alias-g$prog
if hash $try
then
retval=$try
else
findprogenk
fi
fi
fi
echo FOR BUILD ARCH $retval
}
AC_CHECK_HEADER(features.h,,echo fea;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/uti ls") AC_CHECK_HEADER(features.h,,echo fea;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/uti ls")
AC_CHECK_HEADER(alloca.h,,echo allo;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/x11" ) AC_CHECK_HEADER(alloca.h,,echo allo;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/x11" )
HOSTCONF="conf-$host_alias.h" HOSTCONF="conf-$host_alias.h"
AC_SUBST(CROSS_COMPILING,$cross_compiling) AC_SUBST(CROSS_COMPILING,$cross_compiling)
AC_DEFINE_UNQUOTED(HOST_ALIAS,"$host_alias") AC_DEFINE_UNQUOTED(HOST_ALIAS,"$host_alias")
AC_DEFINE_UNQUOTED(BUILD_ALIAS,"$build_alias") AC_DEFINE_UNQUOTED(BUILD_ALIAS,"$build_alias")
AC_DEFINE_UNQUOTED(HOSTCONF,"$HOSTCONF") AC_DEFINE_UNQUOTED(HOSTCONF,"$HOSTCONF")
AC_SUBST(HOSTCONF) AC_SUBST(HOSTCONF)
AC_SUBST(HOST_ALIAS,$host_alias) AC_SUBST(HOST_ALIAS,$host_alias)
AC_SUBST(HOST_OS,$host_os) AC_SUBST(HOST_OS,$host_os)
AC_SUBST(GXXVERSION) AC_SUBST(GXXVERSION)
if test .$build_alias = .
then findprog cc
AC_SUBST(TOBUILDCC,gcc) AC_SUBST(TOBUILDCC,$retval)
AC_SUBST(TOBUILDCXX,g++) findprog ++
else AC_SUBST(TOBUILDCXX,$retval)
AC_SUBST(TOBUILDCC,$build_alias-cc)
AC_SUBST(TOBUILDCXX,$build_alias-c++)
fi
AC_SUBST(host_cpu) AC_SUBST(host_cpu)
AC_SUBST(SIZEOF_SSIZE_T) AC_SUBST(SIZEOF_SSIZE_T)
AC_SUBST(PRI_SIZE_T_MODIFIER) AC_SUBST(PRI_SIZE_T_MODIFIER)
AC_SUBST(HAS_APPLICATIONS) AC_SUBST(HAS_APPLICATIONS)
AC_SUBST(HAVE_OFF64_T) AC_SUBST(HAVE_OFF64_T)
AC_SUBST(HAS_X) AC_SUBST(HAS_X)
AC_SUBST(X_CFLAGS) AC_SUBST(X_CFLAGS)
AC_SUBST(X_EXTRA_LIB) AC_SUBST(X_EXTRA_LIB)
AC_SUBST(X_PRE_LIBS) AC_SUBST(X_PRE_LIBS)
AC_SUBST(X_LIBS) AC_SUBST(X_LIBS)
skipping to change at line 518 skipping to change at line 543
AC_SUBST(LIBS) AC_SUBST(LIBS)
AC_SUBST(DLLIBS) AC_SUBST(DLLIBS)
AC_SUBST(THREADSLIB) AC_SUBST(THREADSLIB)
AC_SUBST(EXTRAFLAGS) AC_SUBST(EXTRAFLAGS)
AC_SUBST(CYGWIN) AC_SUBST(CYGWIN)
AC_SUBST(GNUSTRIP) AC_SUBST(GNUSTRIP)
AC_SUBST(CYGWINDLL) AC_SUBST(CYGWINDLL)
AC_SUBST(PDCURSES) AC_SUBST(PDCURSES)
AC_SUBST(CONFIG_LINKINPLUGINS) AC_SUBST(CONFIG_LINKINPLUGINS)
AC_SUBST(MAN2HTML) AC_SUBST(MAN2HTML)
AC_OUTPUT(config pkg/Makefile man2html/Makefile) AC_CONFIG_FILES([config pkg/Makefile man2html/Makefile])
AC_OUTPUT
./buildinfo/configure ./buildinfo/configure
echo $CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc revers etime.cc -o hosttest echo $CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc revers etime.cc -o hosttest
$CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc reversetime .cc -o hosttest $CXX $PROGRAMC $CPPFLAGS $CXXFLAGS $PROGRAMLD $LDFLAGS hosttest.cc reversetime .cc -o hosttest
if test .$cross_compiling != .no if test .$cross_compiling != .no
then then
echo "****Cross Compiling: certain information about future host of bed not know n. Run ./hosttest on the host to get this information. ****" echo "****Cross Compiling: certain information about future host of bed not know n. Run ./hosttest on the host to get this information. ****"
echo "****information will be saved in $HOSTCONF ****" echo "****information will be saved in $HOSTCONF ****"
echo "****put the generated file $HOSTCONF in directory ./src ****" echo "****put the generated file $HOSTCONF in directory ./src ****"
 End of changes. 26 change blocks. 
55 lines changed or deleted 81 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)