* libc/sys/linux/argp: New directory.
* libc/sys/linux/getopt.c: New file. * libc/sys/linux/getopt1.c: New file. * libc/sys/linux/getoptlong.c: Remove file. * libc/sys/linux/include/argp.h: New file. * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB, based on ELIX level. (SUBDIRS): Add argp_dir. (SUBLIBS): Add ARGP_LIB. (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove getopt_long.$(oext). * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
This commit is contained in:
4
newlib/libc/sys/linux/configure
vendored
4
newlib/libc/sys/linux/configure
vendored
@ -3134,7 +3134,7 @@ done
|
||||
ac_given_srcdir=$srcdir
|
||||
ac_given_INSTALL="$INSTALL"
|
||||
|
||||
trap 'rm -fr `echo "Makefile cmath/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
trap 'rm -fr `echo "Makefile cmath/Makefile argp/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
||||
@ -3269,7 +3269,7 @@ EOF
|
||||
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile cmath/Makefile"}
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile cmath/Makefile argp/Makefile"}
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<\EOF
|
||||
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||
|
Reference in New Issue
Block a user