aboutsummaryrefslogtreecommitdiff
path: root/scripts/genconfig.sh
AgeCommit message (Collapse)Author
2014-11-19Fixups for the android/bionic build probes patch.Rob Landley
The CFG_* symbols are always defined so if() can use them as compile-time constants, so don't if defined() them. Doing USE_BLAH() around variable definitions opens up the same potential for config-dependent build breaks as #ifdefs do, just make the whole command depend on the symbol for now, factor out the utmpx infrastructure later. The PTY probe was always failing because it used NULL without #including the header that defines it. Substitute 0 instead.
2014-11-19probe for getspnam(), forkpty(), utmpx, replace sethostname()Isaac Dunham
Android is missing all of these; we need to probe for some so we have a config symbol to depend on. sethostname() is easily replaced. We got termios.h via pty.h; now it's not included in configure-step tools, so we need termios.h to generate globals.
2014-06-28Add fallocate probe for uClibc.Rob Landley
2014-04-23Add example directory, move hello.c into it, add skeleton.c to demonstrate ↵Rob Landley
more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig.
2014-04-23As long as uClibc's still around and requires you to jump through hoops to ↵Rob Landley
get iconv(), probe and build defconfig without it if it's not there.
2014-04-16Probe for the existence of FIFREEZE and make fsfreeze depend on it.Rob Landley
2014-04-15Probes for O_NOFOLLOW that compile and run something aren't compatible with ↵Rob Landley
cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says.
2013-04-16Make genconfig use CFLAGS because building against a libc that isn't ↵Rob Landley
installed on the host may need --static to run the results.
2013-03-11Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl ↵0.4.4Rob Landley
doesn't conform to posix-2008.
2012-12-10Add stat submission to new "pending" directory, along with infrastructure to ↵Rob Landley
support pending.
2012-12-08Add README file to each toys/ directory, teach build infrastructure to get ↵Rob Landley
fancy name from that. This means adding new directories shouldn't require touching build scripts.
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley
2012-03-19Have probe for unshare test for actual unshare() function in libc.Rob Landley
2012-03-04Fix build on slackware-current.Georgi Chorbadzhiyski
2012-03-03Fix from Georgi Chorbadzhiyski to make cross compiling more robust.0.2.1Rob Landley
2012-02-23Don't mix the the probed symbols with the command symbols.Rob Landley
2012-02-13The unshare test needs $CC defined, source configure to get it.Rob Landley
2012-02-03Add autodetect for container support.Rob Landley
2008-01-20Fluff out hello.c to supply more example code as a skeleton for new commands,Rob Landley
and update a chunk of code.html (much more to do there).
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)