2006-06-04 Yoshinori K. Okuji <okuji@enbug.org>
* DISTLIST: Added include/grub/i386/linux.h. Removed include/grub/i386/pc/linux.h * configure.ac (AC_INIT): Bumped to 1.94. * config.guess: Updated from gnulib. * config.sub: Likewise. * install-sh: Likewise. * mkinstalldirs: Likewise.
This commit is contained in:
parent
b4c1940a25
commit
53af98ad17
13 changed files with 2813 additions and 3195 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
||||||
|
2006-06-04 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
|
* DISTLIST: Added include/grub/i386/linux.h. Removed
|
||||||
|
include/grub/i386/pc/linux.h
|
||||||
|
|
||||||
|
* configure.ac (AC_INIT): Bumped to 1.94.
|
||||||
|
|
||||||
|
* config.guess: Updated from gnulib.
|
||||||
|
* config.sub: Likewise.
|
||||||
|
* install-sh: Likewise.
|
||||||
|
* mkinstalldirs: Likewise.
|
||||||
|
|
||||||
2006-06-02 Yoshinori K. Okuji <okuji@enbug.org>
|
2006-06-02 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* conf/common.rmk (grub_modules_init.lst): Depended on
|
* conf/common.rmk (grub_modules_init.lst): Depended on
|
||||||
|
|
2
DISTLIST
2
DISTLIST
|
@ -120,6 +120,7 @@ include/grub/efi/disk.h
|
||||||
include/grub/efi/efi.h
|
include/grub/efi/efi.h
|
||||||
include/grub/efi/pe32.h
|
include/grub/efi/pe32.h
|
||||||
include/grub/efi/time.h
|
include/grub/efi/time.h
|
||||||
|
include/grub/i386/linux.h
|
||||||
include/grub/i386/setjmp.h
|
include/grub/i386/setjmp.h
|
||||||
include/grub/i386/types.h
|
include/grub/i386/types.h
|
||||||
include/grub/i386/efi/kernel.h
|
include/grub/i386/efi/kernel.h
|
||||||
|
@ -131,7 +132,6 @@ include/grub/i386/pc/chainloader.h
|
||||||
include/grub/i386/pc/console.h
|
include/grub/i386/pc/console.h
|
||||||
include/grub/i386/pc/init.h
|
include/grub/i386/pc/init.h
|
||||||
include/grub/i386/pc/kernel.h
|
include/grub/i386/pc/kernel.h
|
||||||
include/grub/i386/pc/linux.h
|
|
||||||
include/grub/i386/pc/loader.h
|
include/grub/i386/pc/loader.h
|
||||||
include/grub/i386/pc/memory.h
|
include/grub/i386/pc/memory.h
|
||||||
include/grub/i386/pc/multiboot.h
|
include/grub/i386/pc/multiboot.h
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -1,4 +1,4 @@
|
||||||
New in 1.94:
|
New in 1.94 - 2006-06-04:
|
||||||
|
|
||||||
* Fix several serious bugs in HFS+.
|
* Fix several serious bugs in HFS+.
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,6 @@ CLEANFILES += kernel.mod mod-kernel.o mod-kernel.c pre-kernel.o kernel_mod-kern_
|
||||||
ifneq ($(kernel_mod_EXPORTS),no)
|
ifneq ($(kernel_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-kernel.lst
|
CLEANFILES += def-kernel.lst
|
||||||
DEFSYMFILES += def-kernel.lst
|
DEFSYMFILES += def-kernel.lst
|
||||||
MODSRCFILES += kern/i386/efi/startup.S kern/main.c kern/device.c kern/disk.c kern/dl.c kern/file.c kern/fs.c kern/err.c kern/misc.c kern/mm.c kern/loader.c kern/rescue.c kern/term.c kern/i386/dl.c kern/i386/efi/init.c kern/parser.c kern/partition.c kern/env.c symlist.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c disk/efi/efidisk.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += kernel_mod-kern_i386_efi_startup.d kernel_mod-kern_main.d kernel_mod-kern_device.d kernel_mod-kern_disk.d kernel_mod-kern_dl.d kernel_mod-kern_file.d kernel_mod-kern_fs.d kernel_mod-kern_err.d kernel_mod-kern_misc.d kernel_mod-kern_mm.d kernel_mod-kern_loader.d kernel_mod-kern_rescue.d kernel_mod-kern_term.d kernel_mod-kern_i386_dl.d kernel_mod-kern_i386_efi_init.d kernel_mod-kern_parser.d kernel_mod-kern_partition.d kernel_mod-kern_env.d kernel_mod-symlist.d kernel_mod-kern_efi_efi.d kernel_mod-kern_efi_init.d kernel_mod-kern_efi_mm.d kernel_mod-term_efi_console.d kernel_mod-disk_efi_efidisk.d
|
MOSTLYCLEANFILES += kernel_mod-kern_i386_efi_startup.d kernel_mod-kern_main.d kernel_mod-kern_device.d kernel_mod-kern_disk.d kernel_mod-kern_dl.d kernel_mod-kern_file.d kernel_mod-kern_fs.d kernel_mod-kern_err.d kernel_mod-kern_misc.d kernel_mod-kern_mm.d kernel_mod-kern_loader.d kernel_mod-kern_rescue.d kernel_mod-kern_term.d kernel_mod-kern_i386_dl.d kernel_mod-kern_i386_efi_init.d kernel_mod-kern_parser.d kernel_mod-kern_partition.d kernel_mod-kern_env.d kernel_mod-symlist.d kernel_mod-kern_efi_efi.d kernel_mod-kern_efi_init.d kernel_mod-kern_efi_mm.d kernel_mod-term_efi_console.d kernel_mod-disk_efi_efidisk.d
|
||||||
UNDSYMFILES += und-kernel.lst
|
UNDSYMFILES += und-kernel.lst
|
||||||
|
@ -621,7 +620,6 @@ CLEANFILES += normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-norma
|
||||||
ifneq ($(normal_mod_EXPORTS),no)
|
ifneq ($(normal_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-normal.lst
|
CLEANFILES += def-normal.lst
|
||||||
DEFSYMFILES += def-normal.lst
|
DEFSYMFILES += def-normal.lst
|
||||||
MODSRCFILES += normal/arg.c normal/cmdline.c normal/command.c normal/completion.c normal/execute.c normal/function.c normal/lexer.c normal/main.c normal/menu.c normal/menu_entry.c normal/misc.c grub_script.tab.c normal/script.c normal/i386/setjmp.S
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_i386_setjmp.d
|
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_i386_setjmp.d
|
||||||
UNDSYMFILES += und-normal.lst
|
UNDSYMFILES += und-normal.lst
|
||||||
|
@ -926,7 +924,6 @@ CLEANFILES += _chain.mod mod-_chain.o mod-_chain.c pre-_chain.o _chain_mod-loade
|
||||||
ifneq ($(_chain_mod_EXPORTS),no)
|
ifneq ($(_chain_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-_chain.lst
|
CLEANFILES += def-_chain.lst
|
||||||
DEFSYMFILES += def-_chain.lst
|
DEFSYMFILES += def-_chain.lst
|
||||||
MODSRCFILES += loader/efi/chainloader.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += _chain_mod-loader_efi_chainloader.d
|
MOSTLYCLEANFILES += _chain_mod-loader_efi_chainloader.d
|
||||||
UNDSYMFILES += und-_chain.lst
|
UNDSYMFILES += und-_chain.lst
|
||||||
|
@ -983,7 +980,6 @@ CLEANFILES += chain.mod mod-chain.o mod-chain.c pre-chain.o chain_mod-loader_efi
|
||||||
ifneq ($(chain_mod_EXPORTS),no)
|
ifneq ($(chain_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-chain.lst
|
CLEANFILES += def-chain.lst
|
||||||
DEFSYMFILES += def-chain.lst
|
DEFSYMFILES += def-chain.lst
|
||||||
MODSRCFILES += loader/efi/chainloader_normal.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += chain_mod-loader_efi_chainloader_normal.d
|
MOSTLYCLEANFILES += chain_mod-loader_efi_chainloader_normal.d
|
||||||
UNDSYMFILES += und-chain.lst
|
UNDSYMFILES += und-chain.lst
|
||||||
|
@ -1040,7 +1036,6 @@ CLEANFILES += _linux.mod mod-_linux.o mod-_linux.c pre-_linux.o _linux_mod-loade
|
||||||
ifneq ($(_linux_mod_EXPORTS),no)
|
ifneq ($(_linux_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-_linux.lst
|
CLEANFILES += def-_linux.lst
|
||||||
DEFSYMFILES += def-_linux.lst
|
DEFSYMFILES += def-_linux.lst
|
||||||
MODSRCFILES += loader/i386/efi/linux.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += _linux_mod-loader_i386_efi_linux.d
|
MOSTLYCLEANFILES += _linux_mod-loader_i386_efi_linux.d
|
||||||
UNDSYMFILES += und-_linux.lst
|
UNDSYMFILES += und-_linux.lst
|
||||||
|
@ -1097,7 +1092,6 @@ CLEANFILES += linux.mod mod-linux.o mod-linux.c pre-linux.o linux_mod-loader_i38
|
||||||
ifneq ($(linux_mod_EXPORTS),no)
|
ifneq ($(linux_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-linux.lst
|
CLEANFILES += def-linux.lst
|
||||||
DEFSYMFILES += def-linux.lst
|
DEFSYMFILES += def-linux.lst
|
||||||
MODSRCFILES += loader/i386/efi/linux_normal.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += linux_mod-loader_i386_efi_linux_normal.d
|
MOSTLYCLEANFILES += linux_mod-loader_i386_efi_linux_normal.d
|
||||||
UNDSYMFILES += und-linux.lst
|
UNDSYMFILES += und-linux.lst
|
||||||
|
|
|
@ -860,7 +860,6 @@ CLEANFILES += _linux.mod mod-_linux.o mod-_linux.c pre-_linux.o _linux_mod-loade
|
||||||
ifneq ($(_linux_mod_EXPORTS),no)
|
ifneq ($(_linux_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-_linux.lst
|
CLEANFILES += def-_linux.lst
|
||||||
DEFSYMFILES += def-_linux.lst
|
DEFSYMFILES += def-_linux.lst
|
||||||
MODSRCFILES += loader/powerpc/ieee1275/linux.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += _linux_mod-loader_powerpc_ieee1275_linux.d
|
MOSTLYCLEANFILES += _linux_mod-loader_powerpc_ieee1275_linux.d
|
||||||
UNDSYMFILES += und-_linux.lst
|
UNDSYMFILES += und-_linux.lst
|
||||||
|
@ -917,7 +916,6 @@ CLEANFILES += linux.mod mod-linux.o mod-linux.c pre-linux.o linux_mod-loader_pow
|
||||||
ifneq ($(linux_mod_EXPORTS),no)
|
ifneq ($(linux_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-linux.lst
|
CLEANFILES += def-linux.lst
|
||||||
DEFSYMFILES += def-linux.lst
|
DEFSYMFILES += def-linux.lst
|
||||||
MODSRCFILES += loader/powerpc/ieee1275/linux_normal.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += linux_mod-loader_powerpc_ieee1275_linux_normal.d
|
MOSTLYCLEANFILES += linux_mod-loader_powerpc_ieee1275_linux_normal.d
|
||||||
UNDSYMFILES += und-linux.lst
|
UNDSYMFILES += und-linux.lst
|
||||||
|
@ -978,7 +976,6 @@ CLEANFILES += normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-norma
|
||||||
ifneq ($(normal_mod_EXPORTS),no)
|
ifneq ($(normal_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-normal.lst
|
CLEANFILES += def-normal.lst
|
||||||
DEFSYMFILES += def-normal.lst
|
DEFSYMFILES += def-normal.lst
|
||||||
MODSRCFILES += normal/arg.c normal/cmdline.c normal/command.c normal/completion.c normal/execute.c normal/function.c normal/lexer.c normal/main.c normal/menu.c normal/menu_entry.c normal/misc.c grub_script.tab.c normal/script.c normal/powerpc/setjmp.S
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_powerpc_setjmp.d
|
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_powerpc_setjmp.d
|
||||||
UNDSYMFILES += und-normal.lst
|
UNDSYMFILES += und-normal.lst
|
||||||
|
@ -1283,7 +1280,6 @@ CLEANFILES += suspend.mod mod-suspend.o mod-suspend.c pre-suspend.o suspend_mod-
|
||||||
ifneq ($(suspend_mod_EXPORTS),no)
|
ifneq ($(suspend_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-suspend.lst
|
CLEANFILES += def-suspend.lst
|
||||||
DEFSYMFILES += def-suspend.lst
|
DEFSYMFILES += def-suspend.lst
|
||||||
MODSRCFILES += commands/ieee1275/suspend.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += suspend_mod-commands_ieee1275_suspend.d
|
MOSTLYCLEANFILES += suspend_mod-commands_ieee1275_suspend.d
|
||||||
UNDSYMFILES += und-suspend.lst
|
UNDSYMFILES += und-suspend.lst
|
||||||
|
@ -1340,7 +1336,6 @@ CLEANFILES += reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-comma
|
||||||
ifneq ($(reboot_mod_EXPORTS),no)
|
ifneq ($(reboot_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-reboot.lst
|
CLEANFILES += def-reboot.lst
|
||||||
DEFSYMFILES += def-reboot.lst
|
DEFSYMFILES += def-reboot.lst
|
||||||
MODSRCFILES += commands/ieee1275/reboot.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += reboot_mod-commands_ieee1275_reboot.d
|
MOSTLYCLEANFILES += reboot_mod-commands_ieee1275_reboot.d
|
||||||
UNDSYMFILES += und-reboot.lst
|
UNDSYMFILES += und-reboot.lst
|
||||||
|
@ -1397,7 +1392,6 @@ CLEANFILES += halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_ieee12
|
||||||
ifneq ($(halt_mod_EXPORTS),no)
|
ifneq ($(halt_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-halt.lst
|
CLEANFILES += def-halt.lst
|
||||||
DEFSYMFILES += def-halt.lst
|
DEFSYMFILES += def-halt.lst
|
||||||
MODSRCFILES += commands/ieee1275/halt.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += halt_mod-commands_ieee1275_halt.d
|
MOSTLYCLEANFILES += halt_mod-commands_ieee1275_halt.d
|
||||||
UNDSYMFILES += und-halt.lst
|
UNDSYMFILES += und-halt.lst
|
||||||
|
|
|
@ -279,7 +279,6 @@ CLEANFILES += fshelp.mod mod-fshelp.o mod-fshelp.c pre-fshelp.o fshelp_mod-fs_fs
|
||||||
ifneq ($(fshelp_mod_EXPORTS),no)
|
ifneq ($(fshelp_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-fshelp.lst
|
CLEANFILES += def-fshelp.lst
|
||||||
DEFSYMFILES += def-fshelp.lst
|
DEFSYMFILES += def-fshelp.lst
|
||||||
MODSRCFILES += fs/fshelp.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += fshelp_mod-fs_fshelp.d
|
MOSTLYCLEANFILES += fshelp_mod-fs_fshelp.d
|
||||||
UNDSYMFILES += und-fshelp.lst
|
UNDSYMFILES += und-fshelp.lst
|
||||||
|
@ -336,7 +335,6 @@ CLEANFILES += fat.mod mod-fat.o mod-fat.c pre-fat.o fat_mod-fs_fat.o und-fat.lst
|
||||||
ifneq ($(fat_mod_EXPORTS),no)
|
ifneq ($(fat_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-fat.lst
|
CLEANFILES += def-fat.lst
|
||||||
DEFSYMFILES += def-fat.lst
|
DEFSYMFILES += def-fat.lst
|
||||||
MODSRCFILES += fs/fat.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += fat_mod-fs_fat.d
|
MOSTLYCLEANFILES += fat_mod-fs_fat.d
|
||||||
UNDSYMFILES += und-fat.lst
|
UNDSYMFILES += und-fat.lst
|
||||||
|
@ -393,7 +391,6 @@ CLEANFILES += ext2.mod mod-ext2.o mod-ext2.c pre-ext2.o ext2_mod-fs_ext2.o und-e
|
||||||
ifneq ($(ext2_mod_EXPORTS),no)
|
ifneq ($(ext2_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-ext2.lst
|
CLEANFILES += def-ext2.lst
|
||||||
DEFSYMFILES += def-ext2.lst
|
DEFSYMFILES += def-ext2.lst
|
||||||
MODSRCFILES += fs/ext2.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += ext2_mod-fs_ext2.d
|
MOSTLYCLEANFILES += ext2_mod-fs_ext2.d
|
||||||
UNDSYMFILES += und-ext2.lst
|
UNDSYMFILES += und-ext2.lst
|
||||||
|
@ -450,7 +447,6 @@ CLEANFILES += ufs.mod mod-ufs.o mod-ufs.c pre-ufs.o ufs_mod-fs_ufs.o und-ufs.lst
|
||||||
ifneq ($(ufs_mod_EXPORTS),no)
|
ifneq ($(ufs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-ufs.lst
|
CLEANFILES += def-ufs.lst
|
||||||
DEFSYMFILES += def-ufs.lst
|
DEFSYMFILES += def-ufs.lst
|
||||||
MODSRCFILES += fs/ufs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += ufs_mod-fs_ufs.d
|
MOSTLYCLEANFILES += ufs_mod-fs_ufs.d
|
||||||
UNDSYMFILES += und-ufs.lst
|
UNDSYMFILES += und-ufs.lst
|
||||||
|
@ -507,7 +503,6 @@ CLEANFILES += minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o
|
||||||
ifneq ($(minix_mod_EXPORTS),no)
|
ifneq ($(minix_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-minix.lst
|
CLEANFILES += def-minix.lst
|
||||||
DEFSYMFILES += def-minix.lst
|
DEFSYMFILES += def-minix.lst
|
||||||
MODSRCFILES += fs/minix.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += minix_mod-fs_minix.d
|
MOSTLYCLEANFILES += minix_mod-fs_minix.d
|
||||||
UNDSYMFILES += und-minix.lst
|
UNDSYMFILES += und-minix.lst
|
||||||
|
@ -564,7 +559,6 @@ CLEANFILES += hfs.mod mod-hfs.o mod-hfs.c pre-hfs.o hfs_mod-fs_hfs.o und-hfs.lst
|
||||||
ifneq ($(hfs_mod_EXPORTS),no)
|
ifneq ($(hfs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-hfs.lst
|
CLEANFILES += def-hfs.lst
|
||||||
DEFSYMFILES += def-hfs.lst
|
DEFSYMFILES += def-hfs.lst
|
||||||
MODSRCFILES += fs/hfs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += hfs_mod-fs_hfs.d
|
MOSTLYCLEANFILES += hfs_mod-fs_hfs.d
|
||||||
UNDSYMFILES += und-hfs.lst
|
UNDSYMFILES += und-hfs.lst
|
||||||
|
@ -621,7 +615,6 @@ CLEANFILES += jfs.mod mod-jfs.o mod-jfs.c pre-jfs.o jfs_mod-fs_jfs.o und-jfs.lst
|
||||||
ifneq ($(jfs_mod_EXPORTS),no)
|
ifneq ($(jfs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-jfs.lst
|
CLEANFILES += def-jfs.lst
|
||||||
DEFSYMFILES += def-jfs.lst
|
DEFSYMFILES += def-jfs.lst
|
||||||
MODSRCFILES += fs/jfs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += jfs_mod-fs_jfs.d
|
MOSTLYCLEANFILES += jfs_mod-fs_jfs.d
|
||||||
UNDSYMFILES += und-jfs.lst
|
UNDSYMFILES += und-jfs.lst
|
||||||
|
@ -683,7 +676,6 @@ CLEANFILES += xfs.mod mod-xfs.o mod-xfs.c pre-xfs.o xfs_mod-fs_xfs.o und-xfs.lst
|
||||||
ifneq ($(xfs_mod_EXPORTS),no)
|
ifneq ($(xfs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-xfs.lst
|
CLEANFILES += def-xfs.lst
|
||||||
DEFSYMFILES += def-xfs.lst
|
DEFSYMFILES += def-xfs.lst
|
||||||
MODSRCFILES += fs/xfs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += xfs_mod-fs_xfs.d
|
MOSTLYCLEANFILES += xfs_mod-fs_xfs.d
|
||||||
UNDSYMFILES += und-xfs.lst
|
UNDSYMFILES += und-xfs.lst
|
||||||
|
@ -740,7 +732,6 @@ CLEANFILES += affs.mod mod-affs.o mod-affs.c pre-affs.o affs_mod-fs_affs.o und-a
|
||||||
ifneq ($(affs_mod_EXPORTS),no)
|
ifneq ($(affs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-affs.lst
|
CLEANFILES += def-affs.lst
|
||||||
DEFSYMFILES += def-affs.lst
|
DEFSYMFILES += def-affs.lst
|
||||||
MODSRCFILES += fs/affs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += affs_mod-fs_affs.d
|
MOSTLYCLEANFILES += affs_mod-fs_affs.d
|
||||||
UNDSYMFILES += und-affs.lst
|
UNDSYMFILES += und-affs.lst
|
||||||
|
@ -797,7 +788,6 @@ CLEANFILES += sfs.mod mod-sfs.o mod-sfs.c pre-sfs.o sfs_mod-fs_sfs.o und-sfs.lst
|
||||||
ifneq ($(sfs_mod_EXPORTS),no)
|
ifneq ($(sfs_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-sfs.lst
|
CLEANFILES += def-sfs.lst
|
||||||
DEFSYMFILES += def-sfs.lst
|
DEFSYMFILES += def-sfs.lst
|
||||||
MODSRCFILES += fs/sfs.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += sfs_mod-fs_sfs.d
|
MOSTLYCLEANFILES += sfs_mod-fs_sfs.d
|
||||||
UNDSYMFILES += und-sfs.lst
|
UNDSYMFILES += und-sfs.lst
|
||||||
|
@ -869,7 +859,6 @@ CLEANFILES += normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-norma
|
||||||
ifneq ($(normal_mod_EXPORTS),no)
|
ifneq ($(normal_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-normal.lst
|
CLEANFILES += def-normal.lst
|
||||||
DEFSYMFILES += def-normal.lst
|
DEFSYMFILES += def-normal.lst
|
||||||
MODSRCFILES += normal/arg.c normal/cmdline.c normal/command.c normal/completion.c normal/execute.c normal/function.c normal/lexer.c normal/main.c normal/menu.c normal/menu_entry.c normal/misc.c normal/script.c normal/sparc64/setjmp.S grub_script.tab.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-normal_script.d normal_mod-normal_sparc64_setjmp.d normal_mod-grub_script_tab.d
|
MOSTLYCLEANFILES += normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-normal_script.d normal_mod-normal_sparc64_setjmp.d normal_mod-grub_script_tab.d
|
||||||
UNDSYMFILES += und-normal.lst
|
UNDSYMFILES += und-normal.lst
|
||||||
|
@ -1174,7 +1163,6 @@ CLEANFILES += hello.mod mod-hello.o mod-hello.c pre-hello.o hello_mod-hello_hell
|
||||||
ifneq ($(hello_mod_EXPORTS),no)
|
ifneq ($(hello_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-hello.lst
|
CLEANFILES += def-hello.lst
|
||||||
DEFSYMFILES += def-hello.lst
|
DEFSYMFILES += def-hello.lst
|
||||||
MODSRCFILES += hello/hello.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += hello_mod-hello_hello.d
|
MOSTLYCLEANFILES += hello_mod-hello_hello.d
|
||||||
UNDSYMFILES += und-hello.lst
|
UNDSYMFILES += und-hello.lst
|
||||||
|
@ -1231,7 +1219,6 @@ CLEANFILES += boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o
|
||||||
ifneq ($(boot_mod_EXPORTS),no)
|
ifneq ($(boot_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-boot.lst
|
CLEANFILES += def-boot.lst
|
||||||
DEFSYMFILES += def-boot.lst
|
DEFSYMFILES += def-boot.lst
|
||||||
MODSRCFILES += commands/boot.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += boot_mod-commands_boot.d
|
MOSTLYCLEANFILES += boot_mod-commands_boot.d
|
||||||
UNDSYMFILES += und-boot.lst
|
UNDSYMFILES += und-boot.lst
|
||||||
|
@ -1288,7 +1275,6 @@ CLEANFILES += terminal.mod mod-terminal.o mod-terminal.c pre-terminal.o terminal
|
||||||
ifneq ($(terminal_mod_EXPORTS),no)
|
ifneq ($(terminal_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-terminal.lst
|
CLEANFILES += def-terminal.lst
|
||||||
DEFSYMFILES += def-terminal.lst
|
DEFSYMFILES += def-terminal.lst
|
||||||
MODSRCFILES += commands/terminal.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += terminal_mod-commands_terminal.d
|
MOSTLYCLEANFILES += terminal_mod-commands_terminal.d
|
||||||
UNDSYMFILES += und-terminal.lst
|
UNDSYMFILES += und-terminal.lst
|
||||||
|
@ -1345,7 +1331,6 @@ CLEANFILES += ls.mod mod-ls.o mod-ls.c pre-ls.o ls_mod-commands_ls.o und-ls.lst
|
||||||
ifneq ($(ls_mod_EXPORTS),no)
|
ifneq ($(ls_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-ls.lst
|
CLEANFILES += def-ls.lst
|
||||||
DEFSYMFILES += def-ls.lst
|
DEFSYMFILES += def-ls.lst
|
||||||
MODSRCFILES += commands/ls.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += ls_mod-commands_ls.d
|
MOSTLYCLEANFILES += ls_mod-commands_ls.d
|
||||||
UNDSYMFILES += und-ls.lst
|
UNDSYMFILES += und-ls.lst
|
||||||
|
@ -1402,7 +1387,6 @@ CLEANFILES += cmp.mod mod-cmp.o mod-cmp.c pre-cmp.o cmp_mod-commands_cmp.o und-c
|
||||||
ifneq ($(cmp_mod_EXPORTS),no)
|
ifneq ($(cmp_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-cmp.lst
|
CLEANFILES += def-cmp.lst
|
||||||
DEFSYMFILES += def-cmp.lst
|
DEFSYMFILES += def-cmp.lst
|
||||||
MODSRCFILES += commands/cmp.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += cmp_mod-commands_cmp.d
|
MOSTLYCLEANFILES += cmp_mod-commands_cmp.d
|
||||||
UNDSYMFILES += und-cmp.lst
|
UNDSYMFILES += und-cmp.lst
|
||||||
|
@ -1459,7 +1443,6 @@ CLEANFILES += cat.mod mod-cat.o mod-cat.c pre-cat.o cat_mod-commands_cat.o und-c
|
||||||
ifneq ($(cat_mod_EXPORTS),no)
|
ifneq ($(cat_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-cat.lst
|
CLEANFILES += def-cat.lst
|
||||||
DEFSYMFILES += def-cat.lst
|
DEFSYMFILES += def-cat.lst
|
||||||
MODSRCFILES += commands/cat.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += cat_mod-commands_cat.d
|
MOSTLYCLEANFILES += cat_mod-commands_cat.d
|
||||||
UNDSYMFILES += und-cat.lst
|
UNDSYMFILES += und-cat.lst
|
||||||
|
@ -1516,7 +1499,6 @@ CLEANFILES += font.mod mod-font.o mod-font.c pre-font.o font_mod-font_manager.o
|
||||||
ifneq ($(font_mod_EXPORTS),no)
|
ifneq ($(font_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-font.lst
|
CLEANFILES += def-font.lst
|
||||||
DEFSYMFILES += def-font.lst
|
DEFSYMFILES += def-font.lst
|
||||||
MODSRCFILES += font/manager.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += font_mod-font_manager.d
|
MOSTLYCLEANFILES += font_mod-font_manager.d
|
||||||
UNDSYMFILES += und-font.lst
|
UNDSYMFILES += und-font.lst
|
||||||
|
@ -1573,7 +1555,6 @@ CLEANFILES += amiga.mod mod-amiga.o mod-amiga.c pre-amiga.o amiga_mod-partmap_am
|
||||||
ifneq ($(amiga_mod_EXPORTS),no)
|
ifneq ($(amiga_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-amiga.lst
|
CLEANFILES += def-amiga.lst
|
||||||
DEFSYMFILES += def-amiga.lst
|
DEFSYMFILES += def-amiga.lst
|
||||||
MODSRCFILES += partmap/amiga.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += amiga_mod-partmap_amiga.d
|
MOSTLYCLEANFILES += amiga_mod-partmap_amiga.d
|
||||||
UNDSYMFILES += und-amiga.lst
|
UNDSYMFILES += und-amiga.lst
|
||||||
|
@ -1630,7 +1611,6 @@ CLEANFILES += apple.mod mod-apple.o mod-apple.c pre-apple.o apple_mod-partmap_ap
|
||||||
ifneq ($(apple_mod_EXPORTS),no)
|
ifneq ($(apple_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-apple.lst
|
CLEANFILES += def-apple.lst
|
||||||
DEFSYMFILES += def-apple.lst
|
DEFSYMFILES += def-apple.lst
|
||||||
MODSRCFILES += partmap/apple.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += apple_mod-partmap_apple.d
|
MOSTLYCLEANFILES += apple_mod-partmap_apple.d
|
||||||
UNDSYMFILES += und-apple.lst
|
UNDSYMFILES += und-apple.lst
|
||||||
|
@ -1687,7 +1667,6 @@ CLEANFILES += pc.mod mod-pc.o mod-pc.c pre-pc.o pc_mod-partmap_pc.o und-pc.lst
|
||||||
ifneq ($(pc_mod_EXPORTS),no)
|
ifneq ($(pc_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-pc.lst
|
CLEANFILES += def-pc.lst
|
||||||
DEFSYMFILES += def-pc.lst
|
DEFSYMFILES += def-pc.lst
|
||||||
MODSRCFILES += partmap/pc.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += pc_mod-partmap_pc.d
|
MOSTLYCLEANFILES += pc_mod-partmap_pc.d
|
||||||
UNDSYMFILES += und-pc.lst
|
UNDSYMFILES += und-pc.lst
|
||||||
|
@ -1744,7 +1723,6 @@ CLEANFILES += sun.mod mod-sun.o mod-sun.c pre-sun.o sun_mod-partmap_sun.o und-su
|
||||||
ifneq ($(sun_mod_EXPORTS),no)
|
ifneq ($(sun_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-sun.lst
|
CLEANFILES += def-sun.lst
|
||||||
DEFSYMFILES += def-sun.lst
|
DEFSYMFILES += def-sun.lst
|
||||||
MODSRCFILES += partmap/sun.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += sun_mod-partmap_sun.d
|
MOSTLYCLEANFILES += sun_mod-partmap_sun.d
|
||||||
UNDSYMFILES += und-sun.lst
|
UNDSYMFILES += und-sun.lst
|
||||||
|
@ -1801,7 +1779,6 @@ CLEANFILES += acorn.mod mod-acorn.o mod-acorn.c pre-acorn.o acorn_mod-partmap_ac
|
||||||
ifneq ($(acorn_mod_EXPORTS),no)
|
ifneq ($(acorn_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-acorn.lst
|
CLEANFILES += def-acorn.lst
|
||||||
DEFSYMFILES += def-acorn.lst
|
DEFSYMFILES += def-acorn.lst
|
||||||
MODSRCFILES += partmap/acorn.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += acorn_mod-partmap_acorn.d
|
MOSTLYCLEANFILES += acorn_mod-partmap_acorn.d
|
||||||
UNDSYMFILES += und-acorn.lst
|
UNDSYMFILES += und-acorn.lst
|
||||||
|
@ -1857,7 +1834,6 @@ CLEANFILES += loopback.mod mod-loopback.o mod-loopback.c pre-loopback.o loopback
|
||||||
ifneq ($(loopback_mod_EXPORTS),no)
|
ifneq ($(loopback_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-loopback.lst
|
CLEANFILES += def-loopback.lst
|
||||||
DEFSYMFILES += def-loopback.lst
|
DEFSYMFILES += def-loopback.lst
|
||||||
MODSRCFILES += disk/loopback.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += loopback_mod-disk_loopback.d
|
MOSTLYCLEANFILES += loopback_mod-disk_loopback.d
|
||||||
UNDSYMFILES += und-loopback.lst
|
UNDSYMFILES += und-loopback.lst
|
||||||
|
@ -1914,7 +1890,6 @@ CLEANFILES += suspend.mod mod-suspend.o mod-suspend.c pre-suspend.o suspend_mod-
|
||||||
ifneq ($(suspend_mod_EXPORTS),no)
|
ifneq ($(suspend_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-suspend.lst
|
CLEANFILES += def-suspend.lst
|
||||||
DEFSYMFILES += def-suspend.lst
|
DEFSYMFILES += def-suspend.lst
|
||||||
MODSRCFILES += commands/ieee1275/suspend.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += suspend_mod-commands_ieee1275_suspend.d
|
MOSTLYCLEANFILES += suspend_mod-commands_ieee1275_suspend.d
|
||||||
UNDSYMFILES += und-suspend.lst
|
UNDSYMFILES += und-suspend.lst
|
||||||
|
@ -1971,7 +1946,6 @@ CLEANFILES += reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-comma
|
||||||
ifneq ($(reboot_mod_EXPORTS),no)
|
ifneq ($(reboot_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-reboot.lst
|
CLEANFILES += def-reboot.lst
|
||||||
DEFSYMFILES += def-reboot.lst
|
DEFSYMFILES += def-reboot.lst
|
||||||
MODSRCFILES += commands/ieee1275/reboot.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += reboot_mod-commands_ieee1275_reboot.d
|
MOSTLYCLEANFILES += reboot_mod-commands_ieee1275_reboot.d
|
||||||
UNDSYMFILES += und-reboot.lst
|
UNDSYMFILES += und-reboot.lst
|
||||||
|
@ -2028,7 +2002,6 @@ CLEANFILES += halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_ieee12
|
||||||
ifneq ($(halt_mod_EXPORTS),no)
|
ifneq ($(halt_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-halt.lst
|
CLEANFILES += def-halt.lst
|
||||||
DEFSYMFILES += def-halt.lst
|
DEFSYMFILES += def-halt.lst
|
||||||
MODSRCFILES += commands/ieee1275/halt.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += halt_mod-commands_ieee1275_halt.d
|
MOSTLYCLEANFILES += halt_mod-commands_ieee1275_halt.d
|
||||||
UNDSYMFILES += und-halt.lst
|
UNDSYMFILES += und-halt.lst
|
||||||
|
@ -2085,7 +2058,6 @@ CLEANFILES += help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o
|
||||||
ifneq ($(help_mod_EXPORTS),no)
|
ifneq ($(help_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-help.lst
|
CLEANFILES += def-help.lst
|
||||||
DEFSYMFILES += def-help.lst
|
DEFSYMFILES += def-help.lst
|
||||||
MODSRCFILES += commands/help.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += help_mod-commands_help.d
|
MOSTLYCLEANFILES += help_mod-commands_help.d
|
||||||
UNDSYMFILES += und-help.lst
|
UNDSYMFILES += und-help.lst
|
||||||
|
@ -2152,7 +2124,6 @@ CLEANFILES += configfile.mod mod-configfile.o mod-configfile.c pre-configfile.o
|
||||||
ifneq ($(configfile_mod_EXPORTS),no)
|
ifneq ($(configfile_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-configfile.lst
|
CLEANFILES += def-configfile.lst
|
||||||
DEFSYMFILES += def-configfile.lst
|
DEFSYMFILES += def-configfile.lst
|
||||||
MODSRCFILES += commands/configfile.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += configfile_mod-commands_configfile.d
|
MOSTLYCLEANFILES += configfile_mod-commands_configfile.d
|
||||||
UNDSYMFILES += und-configfile.lst
|
UNDSYMFILES += und-configfile.lst
|
||||||
|
@ -2209,7 +2180,6 @@ CLEANFILES += search.mod mod-search.o mod-search.c pre-search.o search_mod-comma
|
||||||
ifneq ($(search_mod_EXPORTS),no)
|
ifneq ($(search_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-search.lst
|
CLEANFILES += def-search.lst
|
||||||
DEFSYMFILES += def-search.lst
|
DEFSYMFILES += def-search.lst
|
||||||
MODSRCFILES += commands/search.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += search_mod-commands_search.d
|
MOSTLYCLEANFILES += search_mod-commands_search.d
|
||||||
UNDSYMFILES += und-search.lst
|
UNDSYMFILES += und-search.lst
|
||||||
|
@ -2266,7 +2236,6 @@ CLEANFILES += gzio.mod mod-gzio.o mod-gzio.c pre-gzio.o gzio_mod-io_gzio.o und-g
|
||||||
ifneq ($(gzio_mod_EXPORTS),no)
|
ifneq ($(gzio_mod_EXPORTS),no)
|
||||||
CLEANFILES += def-gzio.lst
|
CLEANFILES += def-gzio.lst
|
||||||
DEFSYMFILES += def-gzio.lst
|
DEFSYMFILES += def-gzio.lst
|
||||||
MODSRCFILES += io/gzio.c
|
|
||||||
endif
|
endif
|
||||||
MOSTLYCLEANFILES += gzio_mod-io_gzio.d
|
MOSTLYCLEANFILES += gzio_mod-io_gzio.d
|
||||||
UNDSYMFILES += und-gzio.lst
|
UNDSYMFILES += und-gzio.lst
|
||||||
|
|
53
config.guess
vendored
53
config.guess
vendored
|
@ -1,9 +1,10 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||||
|
# Inc.
|
||||||
|
|
||||||
timestamp='2005-08-03'
|
timestamp='2006-05-13'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -106,7 +107,7 @@ set_cc_for_build='
|
||||||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
||||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||||
: ${TMPDIR=/tmp} ;
|
: ${TMPDIR=/tmp} ;
|
||||||
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
||||||
|
@ -206,6 +207,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
*:ekkoBSD:*:*)
|
*:ekkoBSD:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
*:SolidBSD:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
macppc:MirBSD:*:*)
|
macppc:MirBSD:*:*)
|
||||||
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
|
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
@ -764,7 +768,14 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
case ${UNAME_MACHINE} in
|
||||||
|
pc98)
|
||||||
|
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||||
|
amd64)
|
||||||
|
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||||
|
*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||||
|
esac
|
||||||
exit ;;
|
exit ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-cygwin
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
@ -779,8 +790,11 @@ EOF
|
||||||
i*:PW*:*)
|
i*:PW*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-pw32
|
echo ${UNAME_MACHINE}-pc-pw32
|
||||||
exit ;;
|
exit ;;
|
||||||
x86:Interix*:[34]*)
|
x86:Interix*:[345]*)
|
||||||
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
|
echo i586-pc-interix${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
EM64T:Interix*:[345]*)
|
||||||
|
echo x86_64-unknown-interix${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||||
echo i${UNAME_MACHINE}-pc-mks
|
echo i${UNAME_MACHINE}-pc-mks
|
||||||
|
@ -851,7 +865,11 @@ EOF
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||||
|
/^CPU/{
|
||||||
|
s: ::g
|
||||||
|
p
|
||||||
|
}'`"
|
||||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
;;
|
;;
|
||||||
mips64:Linux:*:*)
|
mips64:Linux:*:*)
|
||||||
|
@ -870,7 +888,11 @@ EOF
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||||
|
/^CPU/{
|
||||||
|
s: ::g
|
||||||
|
p
|
||||||
|
}'`"
|
||||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
;;
|
;;
|
||||||
or32:Linux:*:*)
|
or32:Linux:*:*)
|
||||||
|
@ -919,6 +941,9 @@ EOF
|
||||||
sparc:Linux:*:* | sparc64:Linux:*:*)
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
|
vax:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||||
|
exit ;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
echo x86_64-unknown-linux-gnu
|
echo x86_64-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
|
@ -964,7 +989,7 @@ EOF
|
||||||
LIBC=gnulibc1
|
LIBC=gnulibc1
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
#ifdef __INTEL_COMPILER
|
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||||
LIBC=gnu
|
LIBC=gnu
|
||||||
#else
|
#else
|
||||||
LIBC=gnuaout
|
LIBC=gnuaout
|
||||||
|
@ -974,7 +999,11 @@ EOF
|
||||||
LIBC=dietlibc
|
LIBC=dietlibc
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||||
|
/^LIBC/{
|
||||||
|
s: ::g
|
||||||
|
p
|
||||||
|
}'`"
|
||||||
test x"${LIBC}" != x && {
|
test x"${LIBC}" != x && {
|
||||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||||
exit
|
exit
|
||||||
|
@ -1185,7 +1214,6 @@ EOF
|
||||||
*:Darwin:*:*)
|
*:Darwin:*:*)
|
||||||
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||||
case $UNAME_PROCESSOR in
|
case $UNAME_PROCESSOR in
|
||||||
*86) UNAME_PROCESSOR=i686 ;;
|
|
||||||
unknown) UNAME_PROCESSOR=powerpc ;;
|
unknown) UNAME_PROCESSOR=powerpc ;;
|
||||||
esac
|
esac
|
||||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||||
|
@ -1264,6 +1292,9 @@ EOF
|
||||||
i*86:skyos:*:*)
|
i*86:skyos:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
|
echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
|
||||||
exit ;;
|
exit ;;
|
||||||
|
i*86:rdos:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-rdos
|
||||||
|
exit ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
|
|
@ -82,10 +82,10 @@
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* The size of `long', as computed by sizeof. */
|
/* The size of a `long', as computed by sizeof. */
|
||||||
#undef SIZEOF_LONG
|
#undef SIZEOF_LONG
|
||||||
|
|
||||||
/* The size of `void *', as computed by sizeof. */
|
/* The size of a `void *', as computed by sizeof. */
|
||||||
#undef SIZEOF_VOID_P
|
#undef SIZEOF_VOID_P
|
||||||
|
|
||||||
/* Define it to either start or _start */
|
/* Define it to either start or _start */
|
||||||
|
|
77
config.sub
vendored
77
config.sub
vendored
|
@ -1,9 +1,10 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||||
|
# Inc.
|
||||||
|
|
||||||
timestamp='2005-07-08'
|
timestamp='2006-05-13'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
@ -119,8 +120,9 @@ esac
|
||||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
case $maybe_os in
|
case $maybe_os in
|
||||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
|
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||||
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
os=-$maybe_os
|
os=-$maybe_os
|
||||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||||
;;
|
;;
|
||||||
|
@ -171,6 +173,10 @@ case $os in
|
||||||
-hiux*)
|
-hiux*)
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
;;
|
;;
|
||||||
|
-sco6)
|
||||||
|
os=-sco5v6
|
||||||
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
;;
|
||||||
-sco5)
|
-sco5)
|
||||||
os=-sco3.2v5
|
os=-sco3.2v5
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
@ -187,6 +193,10 @@ case $os in
|
||||||
# Don't forget version if it is 3.2v4 or newer.
|
# Don't forget version if it is 3.2v4 or newer.
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
;;
|
;;
|
||||||
|
-sco5v6*)
|
||||||
|
# Don't forget version if it is 3.2v4 or newer.
|
||||||
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
;;
|
||||||
-sco*)
|
-sco*)
|
||||||
os=-sco3.2v2
|
os=-sco3.2v2
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
@ -239,7 +249,8 @@ case $basic_machine in
|
||||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
| maxq | mb | microblaze | mcore \
|
||||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
| mips16 \
|
| mips16 \
|
||||||
| mips64 | mips64el \
|
| mips64 | mips64el \
|
||||||
|
@ -257,18 +268,19 @@ case $basic_machine in
|
||||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
| mipstx39 | mipstx39el \
|
| mipstx39 | mipstx39el \
|
||||||
| mn10200 | mn10300 \
|
| mn10200 | mn10300 \
|
||||||
| ms1 \
|
| mt \
|
||||||
| msp430 \
|
| msp430 \
|
||||||
|
| nios | nios2 \
|
||||||
| ns16k | ns32k \
|
| ns16k | ns32k \
|
||||||
| or32 \
|
| or32 \
|
||||||
| pdp10 | pdp11 | pj | pjl \
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||||
| pyramid \
|
| pyramid \
|
||||||
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||||
| sh64 | sh64le \
|
| sh64 | sh64le \
|
||||||
| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||||
| sparcv8 | sparcv9 | sparcv9b \
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||||
| strongarm \
|
| spu | strongarm \
|
||||||
| tahoe | thumb | tic4x | tic80 | tron \
|
| tahoe | thumb | tic4x | tic80 | tron \
|
||||||
| v850 | v850e \
|
| v850 | v850e \
|
||||||
| we32k \
|
| we32k \
|
||||||
|
@ -276,9 +288,6 @@ case $basic_machine in
|
||||||
| z8k)
|
| z8k)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m32c)
|
|
||||||
basic_machine=$basic_machine-unknown
|
|
||||||
;;
|
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
# Motorola 68HC11/12.
|
# Motorola 68HC11/12.
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
|
@ -286,6 +295,9 @@ case $basic_machine in
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
||||||
;;
|
;;
|
||||||
|
ms1)
|
||||||
|
basic_machine=mt-unknown
|
||||||
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
|
@ -316,7 +328,7 @@ case $basic_machine in
|
||||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||||
| i*86-* | i860-* | i960-* | ia64-* \
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
| m32r-* | m32rle-* \
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
| m88110-* | m88k-* | maxq-* | mcore-* \
|
| m88110-* | m88k-* | maxq-* | mcore-* \
|
||||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
|
@ -336,19 +348,20 @@ case $basic_machine in
|
||||||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
| mipstx39-* | mipstx39el-* \
|
| mipstx39-* | mipstx39el-* \
|
||||||
| mmix-* \
|
| mmix-* \
|
||||||
| ms1-* \
|
| mt-* \
|
||||||
| msp430-* \
|
| msp430-* \
|
||||||
|
| nios-* | nios2-* \
|
||||||
| none-* | np1-* | ns16k-* | ns32k-* \
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
| orion-* \
|
| orion-* \
|
||||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||||
| pyramid-* \
|
| pyramid-* \
|
||||||
| romp-* | rs6000-* \
|
| romp-* | rs6000-* \
|
||||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||||
| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||||
| sparclite-* \
|
| sparclite-* \
|
||||||
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
||||||
| tahoe-* | thumb-* \
|
| tahoe-* | thumb-* \
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||||
| tron-* \
|
| tron-* \
|
||||||
|
@ -359,8 +372,6 @@ case $basic_machine in
|
||||||
| ymp-* \
|
| ymp-* \
|
||||||
| z8k-*)
|
| z8k-*)
|
||||||
;;
|
;;
|
||||||
m32c-*)
|
|
||||||
;;
|
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
386bsd)
|
386bsd)
|
||||||
|
@ -696,6 +707,9 @@ case $basic_machine in
|
||||||
basic_machine=i386-pc
|
basic_machine=i386-pc
|
||||||
os=-msdos
|
os=-msdos
|
||||||
;;
|
;;
|
||||||
|
ms1-*)
|
||||||
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
|
;;
|
||||||
mvs)
|
mvs)
|
||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
os=-mvs
|
os=-mvs
|
||||||
|
@ -803,6 +817,12 @@ case $basic_machine in
|
||||||
pc532 | pc532-*)
|
pc532 | pc532-*)
|
||||||
basic_machine=ns32k-pc532
|
basic_machine=ns32k-pc532
|
||||||
;;
|
;;
|
||||||
|
pc98)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
;;
|
||||||
|
pc98-*)
|
||||||
|
basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
pentium | p5 | k5 | k6 | nexgen | viac3)
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
;;
|
;;
|
||||||
|
@ -859,6 +879,10 @@ case $basic_machine in
|
||||||
basic_machine=i586-unknown
|
basic_machine=i586-unknown
|
||||||
os=-pw32
|
os=-pw32
|
||||||
;;
|
;;
|
||||||
|
rdos)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-rdos
|
||||||
|
;;
|
||||||
rom68k)
|
rom68k)
|
||||||
basic_machine=m68k-rom68k
|
basic_machine=m68k-rom68k
|
||||||
os=-coff
|
os=-coff
|
||||||
|
@ -1101,7 +1125,7 @@ case $basic_machine in
|
||||||
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
sparc | sparcv8 | sparcv9 | sparcv9b)
|
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
cydra)
|
cydra)
|
||||||
|
@ -1174,21 +1198,23 @@ case $os in
|
||||||
| -aos* \
|
| -aos* \
|
||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
|
| -openbsd* | -solidbsd* \
|
||||||
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -chorusos* | -chorusrdb* \
|
| -chorusos* | -chorusrdb* \
|
||||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
|
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||||
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||||
| -skyos* | -haiku*)
|
| -skyos* | -haiku* | -rdos*)
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
-qnx*)
|
-qnx*)
|
||||||
|
@ -1340,6 +1366,9 @@ else
|
||||||
# system, and we'll never get to this point.
|
# system, and we'll never get to this point.
|
||||||
|
|
||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
|
spu-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
*-acorn)
|
*-acorn)
|
||||||
os=-riscix1.2
|
os=-riscix1.2
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -31,7 +31,7 @@ dnl (such as TARGET_CC, TARGET_CFLAGS, etc.) are used for the target
|
||||||
dnl type.
|
dnl type.
|
||||||
|
|
||||||
|
|
||||||
AC_INIT(GRUB, 1.93, [bug-grub@gnu.org])
|
AC_INIT(GRUB, 1.94, [bug-grub@gnu.org])
|
||||||
AC_PREREQ(2.53)
|
AC_PREREQ(2.53)
|
||||||
AC_CONFIG_SRCDIR([include/grub/dl.h])
|
AC_CONFIG_SRCDIR([include/grub/dl.h])
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
|
|
241
install-sh
241
install-sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
scriptversion=2005-07-09.12
|
scriptversion=2006-05-11.20
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
@ -42,12 +42,17 @@ scriptversion=2005-07-09.12
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
# from scratch. It can only install one file at a time, a restriction
|
||||||
# shared with many OS's install programs.
|
# shared with many OS's install programs.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
IFS=" "" $nl"
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
# set DOITPROG to echo to test this script
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||||
doit="${DOITPROG-}"
|
doit="${DOITPROG-}"
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
# Put in absolute file names if you don't have them in your path;
|
||||||
|
# or use environment vars.
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
mvprog="${MVPROG-mv}"
|
||||||
cpprog="${CPPROG-cp}"
|
cpprog="${CPPROG-cp}"
|
||||||
|
@ -58,7 +63,21 @@ stripprog="${STRIPPROG-strip}"
|
||||||
rmprog="${RMPROG-rm}"
|
rmprog="${RMPROG-rm}"
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
mkdirprog="${MKDIRPROG-mkdir}"
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
posix_glob=
|
||||||
|
posix_mkdir=
|
||||||
|
|
||||||
|
# Symbolic mode for testing mkdir with directories.
|
||||||
|
# It is the same as 755, but also tests that "u+" works.
|
||||||
|
test_mode=u=rwx,g=rx,o=rx,u+wx
|
||||||
|
|
||||||
|
# Desired mode of installed file.
|
||||||
|
mode=0755
|
||||||
|
|
||||||
|
# Desired mode of newly created intermediate directories.
|
||||||
|
# It is empty if not known yet.
|
||||||
|
intermediate_mode=
|
||||||
|
|
||||||
|
chmodcmd=$chmodprog
|
||||||
chowncmd=
|
chowncmd=
|
||||||
chgrpcmd=
|
chgrpcmd=
|
||||||
stripcmd=
|
stripcmd=
|
||||||
|
@ -95,7 +114,7 @@ Environment variables override the default commands:
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
||||||
"
|
"
|
||||||
|
|
||||||
while test -n "$1"; do
|
while test $# -ne 0; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-c) shift
|
-c) shift
|
||||||
continue;;
|
continue;;
|
||||||
|
@ -111,7 +130,7 @@ while test -n "$1"; do
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
--help) echo "$usage"; exit $?;;
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
-m) mode=$2
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
continue;;
|
continue;;
|
||||||
|
@ -136,9 +155,19 @@ while test -n "$1"; do
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
--version) echo "$0 $scriptversion"; exit $?;;
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
--) shift
|
||||||
|
break;;
|
||||||
|
|
||||||
|
-*) echo "$0: invalid option: $1" >&2
|
||||||
|
exit 1;;
|
||||||
|
|
||||||
|
*) break;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
|
||||||
|
# When -d is used, all remaining arguments are directories to create.
|
||||||
# When -t is used, the destination is already specified.
|
# When -t is used, the destination is already specified.
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||||
for arg
|
for arg
|
||||||
do
|
do
|
||||||
|
@ -150,11 +179,9 @@ while test -n "$1"; do
|
||||||
shift # arg
|
shift # arg
|
||||||
dstarg=$arg
|
dstarg=$arg
|
||||||
done
|
done
|
||||||
break;;
|
fi
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
if test $# -eq 0; then
|
||||||
if test -z "$dir_arg"; then
|
if test -z "$dir_arg"; then
|
||||||
echo "$0: no input file specified." >&2
|
echo "$0: no input file specified." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -164,6 +191,8 @@ if test -z "$1"; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
test -n "$dir_arg" || trap '(exit $?); exit' 1 2 13 15
|
||||||
|
|
||||||
for src
|
for src
|
||||||
do
|
do
|
||||||
# Protect names starting with `-'.
|
# Protect names starting with `-'.
|
||||||
|
@ -173,15 +202,11 @@ do
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
if test -n "$dir_arg"; then
|
||||||
dst=$src
|
dst=$src
|
||||||
src=
|
dstdir=$dst
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
else
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
# might cause directories to be created, which would be especially bad
|
# might cause directories to be created, which would be especially bad
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
@ -208,53 +233,150 @@ do
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
echo "$0: $dstarg: Is a directory" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
dst=$dst/`basename "$src"`
|
dstdir=$dst
|
||||||
|
dst=$dstdir/`basename "$src"`
|
||||||
|
dstdir_status=0
|
||||||
|
else
|
||||||
|
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||||
|
dstdir=`
|
||||||
|
(dirname "$dst") 2>/dev/null ||
|
||||||
|
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$dst" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$dst" : 'X\(//\)$' \| \
|
||||||
|
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
echo X"$dst" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'
|
||||||
|
`
|
||||||
|
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
obsolete_mkdir_used=false
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
if test $dstdir_status != 0; then
|
||||||
|
case $posix_mkdir in
|
||||||
# Skip lots of stat calls in the usual case.
|
'')
|
||||||
if test ! -d "$dstdir"; then
|
posix_mkdir=false
|
||||||
case $dstdir in
|
if $mkdirprog -m $test_mode -p -- / >/dev/null 2>&1; then
|
||||||
/*) pathcomp=/ ;;
|
posix_mkdir=true
|
||||||
-*) pathcomp=./ ;;
|
else
|
||||||
*) pathcomp= ;;
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
|
rmdir ./-m "$test_mode" ./-p ./-- 2>/dev/null
|
||||||
|
fi ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if
|
||||||
|
$posix_mkdir && {
|
||||||
|
|
||||||
|
# With -d, create the new directory with the user-specified mode.
|
||||||
|
# Otherwise, create it using the same intermediate mode that
|
||||||
|
# mkdir -p would use when creating intermediate directories.
|
||||||
|
# POSIX says that this mode is "$(umask -S),u+wx", so use that
|
||||||
|
# if umask -S works.
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
mkdir_mode=$mode
|
||||||
|
else
|
||||||
|
case $intermediate_mode in
|
||||||
|
'')
|
||||||
|
if umask_S=`(umask -S) 2>/dev/null`; then
|
||||||
|
intermediate_mode=$umask_S,u+wx
|
||||||
|
else
|
||||||
|
intermediate_mode=$test_mode
|
||||||
|
fi ;;
|
||||||
|
esac
|
||||||
|
mkdir_mode=$intermediate_mode
|
||||||
|
fi
|
||||||
|
|
||||||
|
$mkdirprog -m "$mkdir_mode" -p -- "$dstdir"
|
||||||
|
}
|
||||||
|
then :
|
||||||
|
else
|
||||||
|
|
||||||
|
# mkdir does not conform to POSIX, or it failed possibly due to
|
||||||
|
# a race condition. Create the directory the slow way, step by
|
||||||
|
# step, checking for races as we go.
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
/*) prefix=/ ;;
|
||||||
|
-*) prefix=./ ;;
|
||||||
|
*) prefix= ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $posix_glob in
|
||||||
|
'')
|
||||||
|
if (set -f) 2>/dev/null; then
|
||||||
|
posix_glob=true
|
||||||
|
else
|
||||||
|
posix_glob=false
|
||||||
|
fi ;;
|
||||||
|
esac
|
||||||
|
|
||||||
oIFS=$IFS
|
oIFS=$IFS
|
||||||
IFS=/
|
IFS=/
|
||||||
|
$posix_glob && set -f
|
||||||
set fnord $dstdir
|
set fnord $dstdir
|
||||||
shift
|
shift
|
||||||
|
$posix_glob && set +f
|
||||||
IFS=$oIFS
|
IFS=$oIFS
|
||||||
|
|
||||||
|
prefixes=
|
||||||
|
|
||||||
for d
|
for d
|
||||||
do
|
do
|
||||||
test "x$d" = x && continue
|
test -z "$d" && continue
|
||||||
|
|
||||||
pathcomp=$pathcomp$d
|
prefix=$prefix$d
|
||||||
if test ! -d "$pathcomp"; then
|
if test -d "$prefix"; then
|
||||||
$mkdirprog "$pathcomp"
|
prefixes=
|
||||||
# mkdir can fail with a `File exist' error in case several
|
else
|
||||||
# install-sh are creating the directory concurrently. This
|
if $posix_mkdir; then
|
||||||
# is OK.
|
$mkdirprog -m "$mkdir_mode" -p -- "$dstdir" && break
|
||||||
test -d "$pathcomp" || exit 1
|
# Don't fail if two instances are running concurrently.
|
||||||
|
test -d "$prefix" || exit 1
|
||||||
|
else
|
||||||
|
case $prefix in
|
||||||
|
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||||
|
*) qprefix=$prefix;;
|
||||||
|
esac
|
||||||
|
prefixes="$prefixes '$qprefix'"
|
||||||
fi
|
fi
|
||||||
pathcomp=$pathcomp/
|
fi
|
||||||
|
prefix=$prefix/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if test -n "$prefixes"; then
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
eval "\$mkdirprog $prefixes" || test -d "$dstdir" || exit 1
|
||||||
|
obsolete_mkdir_used=true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
if test -n "$dir_arg"; then
|
||||||
$doit $mkdircmd "$dst" \
|
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dst"; } || exit 1
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
else
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
# Make a couple of temp file names in the proper directory.
|
||||||
dsttmp=$dstdir/_inst.$$_
|
dsttmp=$dstdir/_inst.$$_
|
||||||
|
@ -262,7 +384,6 @@ do
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
# Trap to clean up those temp files at exit.
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
# Copy the file name to the temp name.
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
$doit $cpprog "$src" "$dsttmp" &&
|
||||||
|
@ -276,10 +397,10 @@ do
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
&& { test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dsttmp"; } &&
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
# Now rename the file to the real destination.
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
{ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
|
||||||
|| {
|
|| {
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
# The rename failed, perhaps because mv can't rename something else
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
# to itself, or perhaps because mv is so ancient that it does not
|
||||||
|
@ -291,11 +412,12 @@ do
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
# reasons. In this case, the final cleanup might fail but the new
|
||||||
# file should still install successfully.
|
# file should still install successfully.
|
||||||
{
|
{
|
||||||
if test -f "$dstdir/$dstfile"; then
|
if test -f "$dst"; then
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
$doit $rmcmd -f "$dst" 2>/dev/null \
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|| { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
|
||||||
|
&& { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
|
||||||
|| {
|
|| {
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
echo "$0: cannot unlink or rename $dst" >&2
|
||||||
(exit 1); exit 1
|
(exit 1); exit 1
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -304,16 +426,13 @@ do
|
||||||
} &&
|
} &&
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
# Now rename the file to the real destination.
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
$doit $mvcmd "$dsttmp" "$dst"
|
||||||
}
|
}
|
||||||
}
|
} || exit 1
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
trap '' 0
|
||||||
{
|
fi
|
||||||
(exit 0); exit 0
|
done
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# mkinstalldirs --- make directory hierarchy
|
# mkinstalldirs --- make directory hierarchy
|
||||||
|
|
||||||
scriptversion=2005-06-29.22
|
scriptversion=2006-05-11.19
|
||||||
|
|
||||||
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
|
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||||
# Created: 1993-05-16
|
# Created: 1993-05-16
|
||||||
|
@ -11,6 +11,9 @@ scriptversion=2005-06-29.22
|
||||||
# bugs to <bug-automake@gnu.org> or send patches to
|
# bugs to <bug-automake@gnu.org> or send patches to
|
||||||
# <automake-patches@gnu.org>.
|
# <automake-patches@gnu.org>.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
IFS=" "" $nl"
|
||||||
errstatus=0
|
errstatus=0
|
||||||
dirmode=
|
dirmode=
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue