eject-2.1.5+deb1+cvs20081104/0000755000175000017500000000000011104147004013773 5ustar djpigdjpigeject-2.1.5+deb1+cvs20081104/TODO0000644000175000017500000000051211037512425014471 0ustar djpigdjpigGenerate Makefile in po directory using automake. Make source code check for configure-generated portability features like HAVE_UNISTD_H. Add better support for devfs devices. Add string localization files for more languages. Make a (limited) version for SunOS and Solaris. Add ZIP drive read/write functions (from ziptool). eject-2.1.5+deb1+cvs20081104/Makefile.in0000644000175000017500000003557311037512425016065 0ustar djpigdjpig# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ CC = @CC@ DEFAULTDEVICE = @DEFAULTDEVICE@ HAVE_LIB = @HAVE_LIB@ LIB = @LIB@ LTLIB = @LTLIB@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ bin_PROGRAMS = eject volname eject_SOURCES = eject.c volname_SOURCES = volname.c @USE_NLS_TRUE@SUBDIRS = po AM_CPPFLAGS = -DDEFAULTDEVICE=\"$(DEFAULTDEVICE)\" -DGETOPTLONG AM_CFLAGS = -Wall $(RPM_OPT_FLAGS) man_MANS = eject.1 volname.1 EXTRA_DIST = $(man_MANS) PORTING PROBLEMS bootstrap eject-$(VERSION).lsm eject-$(VERSION).spec debian/changelog debian/control debian/copyright debian/dirs debian/files debian/rules debian/substvars po/*.pot po/*.po po/Makefile i18n.h ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ eject_OBJECTS = eject.o eject_LDADD = $(LDADD) eject_DEPENDENCIES = eject_LDFLAGS = volname_OBJECTS = volname.o volname_LDADD = $(LDADD) volname_DEPENDENCIES = volname_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ man1dir = $(mandir)/man1 MANS = $(man_MANS) NROFF = nroff DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ Makefile.in NEWS TODO aclocal.m4 config.guess config.sub configure \ configure.in install-sh missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DIST_SUBDIRS = po DEP_FILES = .deps/eject.P .deps/volname.P SOURCES = $(eject_SOURCES) $(volname_SOURCES) OBJECTS = $(eject_OBJECTS) $(volname_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: eject: $(eject_OBJECTS) $(eject_DEPENDENCIES) @rm -f eject $(LINK) $(eject_LDFLAGS) $(eject_OBJECTS) $(eject_LDADD) $(LIBS) volname: $(volname_OBJECTS) $(volname_DEPENDENCIES) @rm -f volname $(LINK) $(volname_LDFLAGS) $(volname_OBJECTS) $(volname_LDADD) $(LIBS) install-man1: $(mkinstalldirs) $(DESTDIR)$(man1dir) @list='$(man1_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ done uninstall-man1: @list='$(man1_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ rm -f $(DESTDIR)$(man1dir)/$$inst; \ done install-man: $(MANS) @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-man1 uninstall-man: @$(NORMAL_UNINSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile $(mkinstalldirs) $(distdir)/debian $(distdir)/po @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(DIST_SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive install-exec-am: install-binPROGRAMS install-exec: install-exec-recursive install-data-am: install-man install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall: uninstall-recursive all-am: Makefile $(PROGRAMS) $(MANS) all-redirect: all-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile install-man1 uninstall-man1 install-man \ uninstall-man install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ uninstalldirs-recursive all-recursive check-recursive \ installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir \ mostlyclean-depend distclean-depend clean-depend \ maintainer-clean-depend info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: eject-2.1.5+deb1+cvs20081104/configure0000755000175000017500000042432011037512425015717 0ustar djpigdjpig#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="eject.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEFAULTDEVICE USE_NLS_TRUE USE_NLS_FALSE CPP EGREP LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-default-device set default CD-ROM device [default=cdrom] --disable-nls disable support for nls [default=enable] Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.4" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftestfile ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest* echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=eject VERSION=2.1.5 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF missing_dir=`cd $ac_aux_dir && pwd` echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working autoconf" >&5 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOCONF="$missing_dir/missing autoconf" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working autoheader" >&5 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOHEADER="$missing_dir/missing autoheader" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working makeinfo" >&5 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Check whether --enable-default-device or --disable-default-device was given. if test "${enable_default_device+set}" = set; then enableval="$enable_default_device" DEFAULTDEVICE=$enableval else DEFAULTDEVICE=cdrom fi; # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" use_nls=$enableval else use_nls=yes fi; if test "x$use_nls" != "xno" ; then CFLAGS="$CFLAGS -DUSE_NLS=1" fi if test "x$use_nls" != "xno"; then USE_NLS_TRUE= USE_NLS_FALSE='#' else USE_NLS_TRUE='#' USE_NLS_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 if test "${ac_cv_header_sys_wait_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_sys_wait_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_sys_wait_h=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 if test $ac_cv_header_sys_wait_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_SYS_WAIT_H 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in fcntl.h sys/ioctl.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi for ac_func in regcomp strdup strerror do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "${ac_cv_header_linux_version_h+set}" = set; then echo "$as_me:$LINENO: checking for linux/version.h" >&5 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 if test "${ac_cv_header_linux_version_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking linux/version.h usability" >&5 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking linux/version.h presence" >&5 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for linux/version.h" >&5 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 if test "${ac_cv_header_linux_version_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_linux_version_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 fi if test $ac_cv_header_linux_version_h = yes; then : else unset ac_cv_header_linux_version_h CPPFLAGS="$CPPFLAGS -I/usr/src/linux/include" if test "${ac_cv_header_linux_version_h+set}" = set; then echo "$as_me:$LINENO: checking for linux/version.h" >&5 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 if test "${ac_cv_header_linux_version_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking linux/version.h usability" >&5 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking linux/version.h presence" >&5 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for linux/version.h" >&5 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 if test "${ac_cv_header_linux_version_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_linux_version_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 fi if test $ac_cv_header_linux_version_h = yes; then : else CPPFLAGS="$CPPFLAGS -I/usr/src/linux" fi fi ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then we branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. cat >confdef2opt.sed <<\_ACEOF t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g t quote s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g t quote d : quote s,[ `~#$^&*(){}\\|;'"<>?],\\&,g s,\[,\\&,g s,\],\\&,g s,\$,$$,g p _ACEOF # We use echo to avoid assuming a particular line-breaking character. # The extra dot is to prevent the shell from consuming trailing # line-breaks from the sub-command output. A line-break within # single-quotes doesn't work because, if this script is created in a # platform that uses two characters for line-breaks (e.g., DOS), tr # would break. ac_LF_and_DOT=`echo; echo .` DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` rm -f confdef2opt.sed ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEFAULTDEVICE@,$DEFAULTDEVICE,;t t s,@USE_NLS_TRUE@,$USE_NLS_TRUE,;t t s,@USE_NLS_FALSE@,$USE_NLS_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_srcdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@builddir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi eject-2.1.5+deb1+cvs20081104/configure.in0000644000175000017500000000230611104140325016304 0ustar djpigdjpigdnl Process this file with autoconf to produce a configure script. AC_INIT(eject.c) AM_INIT_AUTOMAKE(eject, 2.1.5) dnl Checks for programs AC_PROG_CC dnl Checks for options AC_ARG_ENABLE(default-device, [ --enable-default-device set default CD-ROM device @<:@default=cdrom@:>@], DEFAULTDEVICE=$enableval, DEFAULTDEVICE=cdrom) AC_SUBST(DEFAULTDEVICE) AC_ARG_ENABLE(nls, [ --disable-nls disable support for nls @<:@default=enable@:>@], use_nls=$enableval, use_nls=yes) if test "x$use_nls" != "xno" ; then CFLAGS="$CFLAGS -DUSE_NLS=1" fi AM_CONDITIONAL(USE_NLS, test "x$use_nls" != "xno") dnl Checks for header files. AC_CONFIG_HEADERS(config.h) AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST dnl Checks for library functions. AC_CHECK_FUNCS(regcomp strdup strerror) dnl only try standard kernel paths if the toolchain dnl is unable to locate linux includes by itself AC_CHECK_HEADER([linux/version.h],,[ unset ac_cv_header_linux_version_h CPPFLAGS="$CPPFLAGS -I/usr/src/linux/include" AC_CHECK_HEADER([linux/version.h],,[CPPFLAGS="$CPPFLAGS -I/usr/src/linux"]) ]) AC_OUTPUT(Makefile) eject-2.1.5+deb1+cvs20081104/volname.10000644000175000017500000000163411037512425015532 0ustar djpigdjpig.\" This file Copyright (C) 2001-2005 Jeff Tranter .\" (tranter@pobox.com) .\" It may be distributed under the GNU Public License, version 2, or .\" any higher version. See section COPYING of the GNU Public license .\" for conditions under which this file may be redistributed. .TH VOLNAME 1 "13 Nov 2004" "Linux" "User Commands" .SH NAME volname \- return volume name .SH SYNOPSIS volname [] .SH DESCRIPTION .B Volname returns the volume name for a device formatted with an ISO-9660 file system, typically a CD-ROM. It also works with normal files that contain a ISO-9660 file system. The file name can be specified on the command line. If omitted, it defaults to /dev/cdrom. .SH AUTHOR .B Volname was written by Jeff Tranter (tranter@pobox.com) and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details. .SH SEE ALSO eject(1) eject-2.1.5+deb1+cvs20081104/NEWS0000644000175000017500000000130211037512425014476 0ustar djpigdjpigVersion 2.1.5 fixes a bug in the -T option and adds some new translations Version 2.1.4 incorporates Debian patches from Frank Lichtenheld. Version 2.1.3 incorporates several Gentoo patches from Mike Frysinger. Version 2.1.2 incorporates several Red Hat patches from Than Ngo. Version 2.1.1 incorporates Debian patch for the deprecated SCSO ioctl error. Version 2.1.0 incorporates Debian patches including a new -m option. Version 2.0.11 adds localized strings with support for Japanese. Version 2.0.10 adds localized strings with support for Taiwanese and French. Version 2.0.9 adds the --proc/-p option. Version 2.0.8 adds the --cdspeed/-x option. Version 2.0.6 now uses GNU automake/autoconf. eject-2.1.5+deb1+cvs20081104/install-sh0000755000175000017500000001440611037512425016014 0ustar djpigdjpig#!/bin/sh # # install - install a program, script, or datafile # # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 eject-2.1.5+deb1+cvs20081104/PORTING0000644000175000017500000000055411037512425015054 0ustar djpigdjpigThe methods used to eject are mostly Linux specific. A version for SunOS or Solaris could likely be done by stripping out much of the code. It should compile as is on all Linux platforms. Support for long option names requires the GNU getopt_long functions. It also needs the POSIX regex functions, which I would think are included in most Linux distributions. eject-2.1.5+deb1+cvs20081104/eject-2.1.5.lsm0000644000175000017500000000126211037512425016254 0ustar djpigdjpigBegin4 Title: Eject - Eject CD-ROM under software control Version: 2.1.5 Entered-date: 2005-10-01 Description: Program for ejecting removable media under software control. Can also control the auto-eject feature of some drives and can be used to switch CDs on an IDE/ATAPI CD changer. Keywords: CD-ROM, eject, changer, multiplatter Author: tranter@pobox.com (Jeff Tranter) Maintained-by: tranter@pobox.com (Jeff Tranter) Primary-site: http://www.ibiblio.org/pub/Linux/utils/disk-management/ 48K eject-2.1.5.tar.gz Alternate-site: http://www.pobox.com/~tranter/eject.html Platforms: Linux Copying-policy: GPL End eject-2.1.5+deb1+cvs20081104/eject.10000644000175000017500000002174111104140325015153 0ustar djpigdjpig.\" This file Copyright (C) 1994-2005 Jeff Tranter .\" (tranter@pobox.com) .\" It may be distributed under the GNU Public License, version 2, or .\" any higher version. See section COPYING of the GNU Public license .\" for conditions under which this file may be redistributed. .TH EJECT 1 "12 May 2005" "Linux" "User Commands" .SH NAME eject \- eject removable media .SH SYNOPSIS eject \-h .br eject [\-vnrsfmqp] [] .br eject [\-vn] \-d .br eject [\-vn] \-a on|off|1|0 [] .br eject [\-vn] \-c slot [] .br eject [\-vn] \-i on|off|1|0 [] .br eject [\-vn] \-t [] .br eject [\-vn] \-T [] .br eject [\-vn] \-x [] .br eject [\-vn] \-X [] .br eject \-V .SH DESCRIPTION .B Eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control. The command can also control some multi-disc CD-ROM changers, the auto-eject feature supported by some devices, and close the disc tray of some CD-ROM drives. The device corresponding to is ejected. The name can be a device file or mount point, either a full path or with the leading "/dev", "/media" or "/mnt" omitted. If no name is specified, the default name "cdrom" is used. There are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default eject tries all four methods in order until it succeeds. If the device is currently mounted, it is unmounted before ejecting. .PP .SH "COMMAND\-LINE OPTIONS" .TP 0.5i .B \-h This option causes .B eject to display a brief description of the command options. .TP 0.5i .B \-v This makes .B eject run in verbose mode; more information is displayed about what the command is doing. .TP 0.5i .B \-d If invoked with this option, .B eject lists the default device name. .TP 0.5i .B \-a on|1|off|0 This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed. .TP 0.5i .B \-c With this option a CD slot can be selected from an ATAPI/IDE CD-ROM changer. Linux 2.0 or higher is required to use this feature. The CD-ROM drive can not be in use (mounted data CD or playing a music CD) for a change request to work. Please also note that the first slot of the changer is referred to as 0, not 1. .TP 0.5i .B \-i on|1|off|0 This option controls locking of the hardware eject button. When enabled, the drive will not be ejected when the button is pressed. This is useful when you are carrying a laptop in a bag or case and don't want it to eject if the button is inadvertently pressed. .TP 0.5i .B \-t With this option the drive is given a CD-ROM tray close command. Not all devices support this command. .TP 0.5i .B \-T With this option the drive is given a CD-ROM tray close command if it's opened, and a CD-ROM tray eject command if it's closed. Not all devices support this command, because it uses the above CD-ROM tray close command. .TP 0.5i .B \-x With this option the drive is given a CD-ROM select speed command. The speed argument is a number indicating the desired speed (e.g. 8 for 8X speed), or 0 for maximum data rate. Not all devices support this command and you can only specify speeds that the drive is capable of. Every time the media is changed this option is cleared. This option can be used alone, or with the \-t and \-c options. .TP 0.5i .B \-X With this option the CD-ROM drive will be probed to detect the available speeds. The output is a list of speeds which can be used as an argument of the \-x option. This only works with Linux 2.6.13 or higher, on previous versions solely the maximum speed will be reported. Also note that some drive may not correctly report the speed and therefore this option does not work with them. .TP 0.5i .B \-n With this option the selected device is displayed but no action is performed. .TP 0.5i .B \-r This option specifies that the drive should be ejected using a CDROM eject command. .TP 0.5i .B \-s This option specifies that the drive should be ejected using SCSI commands. .TP 0.5i .B \-f This option specifies that the drive should be ejected using a removable floppy disk eject command. .TP 0.5i .B \-q This option specifies that the drive should be ejected using a tape drive offline command. .TP 0.5i .B \-p This option allow you to use /proc/mounts instead /etc/mtab. It also passes the \-n option to umount(1). .TP 0.5i .B \-m This option allows eject to work with device drivers which automatically mount removable media and therefore must be always mount(1)ed. The option tells eject to not try to unmount the given device, even if it is mounted according to /etc/mtab or /proc/mounts. .TP 0.5i .B \-V This option causes .B eject to display the program version and exit. .SH LONG OPTIONS All options have corresponding long names, as listed below. The long names can be abbreviated as long as they are unique. .br \-h \-\-help .br \-v \-\-verbose .br \-d \-\-default .br \-a \-\-auto .br \-c \-\-changerslot .br \-t \-\-trayclose .br \-T \-\-traytoggle .br \-x \-\-cdspeed .br \-X \-\-listspeed .br \-n \-\-noop .br \-r \-\-cdrom .br \-s \-\-scsi .br \-f \-\-floppy .br \-q \-\-tape .br \-V \-\-version .br \-p \-\-proc .br \-m \-\-no-unmount .br .SH EXAMPLES .PP Eject the default device: .IP eject .PP Eject a device or mount point named cdrom: .IP eject cdrom .PP Eject using device name: .IP eject /dev/cdrom .PP Eject using mount point: .IP eject /mnt/cdrom/ .PP Eject 4th IDE device: .IP eject hdd .PP Eject first SCSI device: .IP eject sda .PP Eject using SCSI partition name (e.g. a ZIP drive): .IP eject sda4 .PP Select 5th disc on multi-disc changer: .IP eject \-v \-c4 /dev/cdrom .PP Turn on auto-eject on a SoundBlaster CD-ROM drive: .IP eject \-a on /dev/sbpcd .SH EXIT STATUS .PP Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid. .SH NOTES .PP .B Eject only works with devices that support one or more of the four methods of ejecting. This includes most CD-ROM drives (IDE, SCSI, and proprietary), some SCSI tape drives, JAZ drives, ZIP drives (parallel port, SCSI, and IDE versions), and LS120 removable floppies. Users have also reported success with floppy drives on Sun SPARC and Apple Macintosh systems. If .B eject does not work, it is most likely a limitation of the kernel driver for the device and not the .B eject program itself. The \-r, \-s, \-f, and \-q options allow controlling which methods are used to eject. More than one method can be specified. If none of these options are specified, it tries all four (this works fine in most cases). .B Eject may not always be able to determine if the device is mounted (e.g. if it has several names). If the device name is a symbolic link, .B eject will follow the link and use the device that it points to. If .B eject determines that the device can have multiple partitions, it will attempt to unmount all mounted partitions of the device before ejecting. If an unmount fails, the program will not attempt to eject the media. You can eject an audio CD. Some CD-ROM drives will refuse to open the tray if the drive is empty. Some devices do not support the tray close command. If the auto-eject feature is enabled, then the drive will always be ejected after running this command. Not all Linux kernel CD-ROM drivers support the auto-eject mode. There is no way to find out the state of the auto-eject mode. You need appropriate privileges to access the device files. Running as root or setuid root is required to eject some devices (e.g. SCSI devices). The heuristic used to find a device, given a name, is as follows. If the name ends in a trailing slash, it is removed (this is to support filenames generated using shell file name completion). If the name starts with '.' or '/', it tries to open it as a device file or mount point. If that fails, it tries prepending '/dev/', '/media/' ,'/mnt/', \&'/dev/cdroms', '/dev/rdsk/', '/dev/dsk/', and finally './' to the name, until a device file or mount point is found that can be opened. The program checks /etc/mtab for mounted devices. If that fails, it also checks /etc/fstab for mount points of currently unmounted devices. Creating symbolic links such as /dev/cdrom or /dev/zip is recommended so that .B eject can determine the appropriate devices using easily remembered names. To save typing you can create a shell alias for the eject options that work for your particular setup. .SH AUTHOR .B Eject was written by Jeff Tranter (tranter@pobox.com) and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details. The \-x option was added by Nobuyuki Tsuchimura (tutimura@nn.iij4u.or.jp), with thanks to Roland Krivanek (krivanek@fmph.uniba.sk) and his cdrom_speed command. The \-T option was added by Sybren Stuvel (sybren@thirdtower.com), with big thanks to Benjamin Schwenk (benjaminschwenk@yahoo.de). The \-X option was added by Eric Piel (Eric.Piel@tremplin-utc.net). .SH SEE ALSO mount(2), umount(2), mount(8), umount(8) .br /usr/src/linux/Documentation/cdrom/ eject-2.1.5+deb1+cvs20081104/volname.c0000644000175000017500000000373511037512425015620 0ustar djpigdjpig/* * Reads and displays CD-ROM volume name * * Several people have asked how to read CD volume names so I wrote this * small program to do it. * * usage: volname [] * ******************************************************************** * * Copyright (C) 2000-2005 Jeff Tranter (tranter@pobox.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ******************************************************************** * */ #include "i18n.h" #ifndef DEFAULTDEVICE #error DEFAULTDEVICE not set, check Makefile #endif #include #include #include #include #include #include #include #include int main(int argc, char *argv[]) { int fd; int status; char *device; char buffer[33]; I18NCODE if (argc == 2) { device = argv[1]; } else if (argc == 1) { device = "/dev/" DEFAULTDEVICE; } else { fprintf(stderr, _("usage: volname []\n")); exit(1); } fd = open(device, O_RDONLY); if (fd == -1) { perror(_("volname")); exit(1); } status = lseek(fd, 32808, SEEK_SET); if (status == -1) { perror(_("volname")); exit(1); } status = read(fd, buffer, 32); if (status == -1) { perror(_("volname")); exit(1); } printf("%32.32s\n", buffer); return 0; } eject-2.1.5+deb1+cvs20081104/Makefile.am0000644000175000017500000000073511037512425016044 0ustar djpigdjpigbin_PROGRAMS = eject volname eject_SOURCES = eject.c volname_SOURCES = volname.c if USE_NLS SUBDIRS = po endif AM_CPPFLAGS = -DDEFAULTDEVICE=\"$(DEFAULTDEVICE)\" -DGETOPTLONG AM_CFLAGS = -Wall $(RPM_OPT_FLAGS) man_MANS = eject.1 volname.1 EXTRA_DIST = $(man_MANS) PORTING PROBLEMS bootstrap eject-$(VERSION).lsm eject-$(VERSION).spec debian/changelog debian/control debian/copyright debian/dirs debian/files debian/rules debian/substvars po/*.pot po/*.po po/Makefile i18n.h eject-2.1.5+deb1+cvs20081104/config.guess0000755000175000017500000012546611037512425016341 0ustar djpigdjpig#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-04-22' # 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 # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' 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 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$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 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; amd64:OpenBSD:*:*) echo x86_64-unknown-openbsd${UNAME_RELEASE} exit 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; cats:OpenBSD:*:*) echo arm-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; luna88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; macppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sgi:OpenBSD:*:*) echo mips64-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit 0 ;; macppc:MirBSD:*:*) echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit 0 ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit 0 ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit 0 ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit 0 ;; *:OS400:*:*) echo powerpc-ibm-os400 exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit 0 ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit 0 ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit 0 ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit 0 ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit 0 ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit 0 ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit 0 ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit 0 ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit 0 ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit 0 ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit 0 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit 0 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit 0 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit 0 ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit 0 ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit 0 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit 0 ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit 0 ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit 0 ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit 0 ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit 0 ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then # avoid double evaluation of $set_cc_for_build test -n "$CC_FOR_BUILD" || eval $set_cc_for_build if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit 0 ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit 0 ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit 0 ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit 0 ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:[34]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; amd64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit 0 ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit 0 ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit 0 ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit 0 ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit 0 ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit 0 ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit 0 ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit 0 ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit 0 ;; i*86:*:5:[78]*) case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit 0 ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit 0 ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit 0 ;; paragon:*:*:*) echo i860-intel-osf1 exit 0 ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit 0 ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit 0 ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4.3${OS_REL} && exit 0 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit 0 ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit 0 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit 0 ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit 0 ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit 0 ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit 0 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit 0 ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit 0 ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit 0 ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit 0 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit 0 ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit 0 ;; *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit 0 ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms && exit 0 ;; I*) echo ia64-dec-vms && exit 0 ;; V*) echo vax-dec-vms && exit 0 ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit 0 ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; c34*) echo c34-convex-bsd exit 0 ;; c38*) echo c38-convex-bsd exit 0 ;; c4*) echo c4-convex-bsd exit 0 ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: eject-2.1.5+deb1+cvs20081104/COPYING0000644000175000017500000004307611037512425015050 0ustar djpigdjpig GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. eject-2.1.5+deb1+cvs20081104/eject.c0000644000175000017500000011043211104140530015227 0ustar djpigdjpig/******************************************************************** * * L I N U X E J E C T C O M M A N D * * by Jeff Tranter (tranter@pobox.com) * ******************************************************************** * * Copyright (C) 1994-2001 Jeff Tranter (tranter@pobox.com) * Copyright (C) 2004, 2005 Frank Lichtenheld (djpig@debian.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ******************************************************************** * * See the man page for a description of what this program does and what * the requirements to run it are. * */ #include "config.h" #include "i18n.h" #ifndef DEFAULTDEVICE #error DEFAULTDEVICE not set, check Makefile #endif #include #include #include #include #include #include #ifdef GETOPTLONG #include #endif /* GETOPTLONG */ #include #include #include #include #include #include #include #include #if defined(__linux__) #include /* handy macro found in 2.1 kernels, but not in older ones */ #ifndef KERNEL_VERSION #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #endif #include #include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) #include #endif #include #include #include #include #include /* Used by the ToggleTray() function. If ejecting the tray takes this * time or less, the tray was probably already ejected, so we close it * again. */ #define TRAY_WAS_ALREADY_OPEN_USECS 200000 /* about 0.2 seconds */ #define CLOSE(fd) if (close(fd)==-1) { \ perror(programName); \ exit(1); \ } #define FCLOSE(fd) if (fclose(fd)==-1) { \ perror(programName); \ exit(1); \ } #define HAVE_EJECT_SCSI #define HAVE_EJECT_FLOPPY #define HAVE_EJECT_TAPE #elif defined(__FreeBSD_kernel__) #include #endif /* if defined(__linux__) */ #define CLOSE(fd) if (close(fd)==-1) { \ perror(programName); \ exit(1); \ } #define FCLOSE(fd) if (fclose(fd)==-1) { \ perror(programName); \ exit(1); \ } /* Global Variables */ static const char *version = VERSION; /* program version */ int a_option = 0; /* command flags and arguments */ int c_option = 0; int d_option = 0; int f_option = 0; int h_option = 0; int n_option = 0; int i_option = 0; int q_option = 0; int r_option = 0; int s_option = 0; int t_option = 0; int T_option = 0; int X_option = 0; int v_option = 0; int x_option = 0; int p_option = 0; int m_option = 0; int a_arg = 0; int c_arg = 0; int x_arg = 0; int i_arg = 0; static char *programName; /* used in error messages */ /* * These are the basenames of devices which can have multiple * partitions per device. */ static const char *partitionDevice[] = { "hd", "sd", "xd", "dos_hd", "mfm", "ad", "ed", "ftl", "pd", 0}; /* Display command usage on standard error and exit. */ static void usage() { fprintf(stderr,_( "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h -- display command usage and exit\n" " eject -V -- display program version and exit\n" " eject [-vnrsfqpm] [] -- eject device\n" " eject [-vn] -d -- display default device\n" " eject [-vn] -a on|off|1|0 [] -- turn auto-eject feature on or off\n" " eject [-vn] -c [] -- switch discs on a CD-ROM changer\n" " eject [-vn] -t [] -- close tray\n" " eject [-vn] -T [] -- toggle tray\n" " eject [-vn] -i on|off|1|0 [] -- toggle manual eject protection on/off\n" " eject [-vn] -x [] -- set CD-ROM max speed\n" " eject [-vn] -X [] -- list CD-ROM available speeds\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" #ifdef HAVE_EJECT_SCSI " -s\t-- eject SCSI device\n" #endif #ifdef HAVE_EJECT_FLOPPY " -f\t-- eject floppy\n" #endif #ifdef HAVE_EJECT_TAPE " -q\t-- eject tape\n" #endif " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" ) , version); #ifdef GETOPTLONG fprintf(stderr,_( "Long options:\n" " -h --help -v --verbose -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom" #ifdef HAVE_EJECT_SCSI " -s --scsi" #endif #ifdef HAVE_EJECT_FLOPPY " -f --floppy" #endif " -X --listspeed" #ifdef HAVE_EJECT_TAPE " -q --tape" #endif "\n" " -n --noop -V --version\n" " -p --proc -m --no-unmount -T --traytoggle\n")); #endif /* GETOPTLONG */ fprintf(stderr,_( "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n"), DEFAULTDEVICE); exit(1); } /* Handle command line options. */ static void parse_args(int argc, char **argv, char **device) { const char *flags = "a:c:x:i:dfhnqrstTXvVpm"; #ifdef GETOPTLONG static struct option long_options[] = { {"help", no_argument, NULL, 'h'}, {"verbose", no_argument, NULL, 'v'}, {"default", no_argument, NULL, 'd'}, {"auto", required_argument, NULL, 'a'}, {"changerslot", required_argument, NULL, 'c'}, {"manualeject", required_argument, NULL, 'i'}, {"trayclose", no_argument, NULL, 't'}, {"traytoggle", no_argument, NULL, 'T'}, {"cdspeed", required_argument, NULL, 'x'}, {"listspeed", no_argument, NULL, 'X'}, {"noop", no_argument, NULL, 'n'}, {"cdrom", no_argument, NULL, 'r'}, {"scsi", no_argument, NULL, 's'}, {"floppy", no_argument, NULL, 'f'}, {"tape", no_argument, NULL, 'q'}, {"version", no_argument, NULL, 'V'}, {"proc", no_argument, NULL, 'p'}, {"no-unmount", no_argument, NULL, 'm'}, {0, 0, 0, 0} }; int option_index; #endif /* GETOPTLONG */ int c; #ifdef GETOPTLONG while ((c = getopt_long(argc, argv, flags, long_options, &option_index)) != EOF) { #else while ((c = getopt(argc, argv, flags)) != EOF) { #endif /* GETOPTLONG */ switch (c) { case 'a': a_option = 1; if (!strcmp(optarg, "0")) a_arg = 0; else if (!strcmp(optarg, "off")) a_arg = 0; else if (!strcmp(optarg, "1")) a_arg = 1; else if (!strcmp(optarg, "on")) a_arg = 1; else { fprintf(stderr, _("%s: invalid argument to --auto/-a option\n"), programName); exit(1); } break; case 'c': c_option = 1; /* atoi() returns 0 on error, so "0" must be parsed separately */ if (!strcmp(optarg, "0")) c_arg = 0; else { c_arg = atoi(optarg); if (c_arg <= 0) { fprintf(stderr, _("%s: invalid argument to --changerslot/-c option\n"), programName); exit(1); } } break; case 'x': x_option = 1; if (!strcmp(optarg, "0")) x_arg = 0; else { x_arg = atoi(optarg); if (x_arg <= 0) { fprintf(stderr, _("%s: invalid argument to --cdspeed/-x option\n"), programName); exit(1); } } break; case 'd': d_option = 1; break; case 'f': f_option = 1; break; case 'h': usage(); exit(0); break; case 'i': i_option = 1; if (!strcmp(optarg, "0")) i_arg = 0; else if (!strcmp(optarg, "off")) i_arg = 0; else if (!strcmp(optarg, "1")) i_arg = 1; else if (!strcmp(optarg, "on")) i_arg = 1; else { fprintf(stderr, _("%s: invalid argument to -i option\n"), programName); exit(1); } break; case 'm': m_option = 1; break; case 'n': n_option = 1; break; case 'p': p_option = 1; break; case 'q': q_option = 1; break; case 'r': r_option = 1; break; case 's': s_option = 1; break; case 't': t_option = 1; break; case 'X': X_option = 1; break; case 'T': T_option = 1; break; case 'v': v_option = 1; break; case 'V': printf(_("eject version %s by Jeff Tranter (tranter@pobox.com)\n"), version); exit(0); break; case '?': exit(1); break; } } /* check for a single additional argument */ if ((argc - optind) > 1) { fprintf(stderr, _("%s: too many arguments\n"), programName); exit(1); } if ((argc - optind) == 1) { /* one argument */ *device = strdup(argv[optind]); } } /* Return 1 if file/device exists, 0 otherwise. */ static int FileExists(const char *name, const int try, int *found) { if (!found) return -1; /* * access() uses the UID, not the EUID. This way a normal user * cannot find out if a file (say, /root/fubar) exists or not, even * if eject is SUID root */ if (access (name, F_OK) == 0) { (*found)++; if (try <= (*found)) return 1; else return 0; } else { return 0; } } /* * Linux mangles spaces in mount points by changing them to an octal string * of '\040'. So lets scan the mount point and fix it up by replacing all * occurrences of '\0##' with the ASCII value of 0##. Requires a writable * string as input as we mangle in place. Some of this was taken from the * util-linux package. */ #define octalify(a) ((a) & 7) #define tooctal(s) (64*octalify(s[1]) + 8*octalify(s[2]) + octalify(s[3])) #define isoctal(a) (((a) & ~7) == '0') static char *DeMangleMount(char *s) { char *tmp = s; while ((tmp = strchr(tmp, '\\')) != NULL) { if (isoctal(tmp[1]) && isoctal(tmp[2]) && isoctal(tmp[3])) { tmp[0] = tooctal(tmp); memmove(tmp+1, tmp+4, strlen(tmp)-3); } ++tmp; } return s; } /* * Given name, such as foo, see if any of the following exist: * * foo (if foo starts with '.' or '/') * /dev/foo * /media/foo * /mnt/foo * /dev/cdroms/foo * /dev/cdroms/foo0 * /dev/dsk/foo * /dev/rdsk/foo * ./foo * * If found, return the full path. If not found, return 0. * Returns pointer to dynamically allocated string. */ static char *FindDevice(const char *name) { char *buf; static int try = 0; int found = 0; buf = (char *) malloc(strlen(name)+14); /* to allow for "/dev/cdroms/ + "0" + null */ if (buf==NULL) { fprintf(stderr, _("%s: could not allocate memory\n"), programName); exit(1); } if (try == INT_MAX) { fprintf(stderr, _("%s: FindDevice called too often\n"), programName );; exit(1); } else try++; if ((name[0] == '.') || (name[0] == '/')) { strcpy(buf, name); if (FileExists(buf, try, &found)) return buf; } strcpy(buf, "/dev/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; strcpy(buf, "/media/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; strcpy(buf, "/mnt/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; /* for devfs under Linux */ strcpy(buf, "/dev/cdroms/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; strcpy(buf, "/dev/cdroms/"); strcat(buf, name); strcat(buf, "0"); if (FileExists(buf, try, &found)) return buf; /* for devfs under Solaris */ strcpy(buf, "/dev/rdsk/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; strcpy(buf, "/dev/dsk/"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; strcpy(buf, "./"); strcat(buf, name); if (FileExists(buf, try, &found)) return buf; free(buf); buf = 0; return 0; } /* * Stops CDROM from opening on manual eject pressing the button. * This can be useful when you carry your laptop * in your bag while it's on and no CD inserted in it's drive. * Implemented as found in Documentation/ioctl/cdrom.txt * * TODO: Maybe we should check this also: * EDRIVE_CANT_DO_THIS Door lock function not supported. * EBUSY Attempt to unlock when multiple users * have the drive open and not CAP_SYS_ADMIN */ static void ManualEject(int fd, int onOff) { if (ioctl(fd, CDROM_LOCKDOOR, onOff) < 0) { perror("ioctl on CDROM_LOCKDOOR"); } else { if (onOff) printf("CD-Drive may NOT be ejected with device button\n"); else printf("CD-Drive may be ejected with device button\n"); } } /* Set or clear auto-eject mode. */ static void AutoEject(int fd, int onOff) { int status = -1; #if defined(CDROM_SET_OPTIONS) && defined(CDROM_CLEAR_OPTIONS) if (onOff) status = ioctl(fd, CDROM_SET_OPTIONS, CDO_AUTO_EJECT); else status = ioctl(fd, CDROM_CLEAR_OPTIONS, CDO_AUTO_EJECT); #else errno = ENOSYS; #endif if (status < 0) { fprintf(stderr, _("%s: CD-ROM auto-eject command failed: %s\n"), programName, strerror(errno)); exit(1); } } /* * Changer select. CDROM_SELECT_DISC is preferred, older kernels used * CDROMLOADFROMSLOT. */ static void ChangerSelect(int fd, int slot) { int status; #ifdef CDROM_SELECT_DISC status = ioctl(fd, CDROM_SELECT_DISC, slot); if (status < 0) { fprintf(stderr, _("%s: CD-ROM select disc command failed: %s\n"), programName, strerror(errno)); exit(1); } #elif defined CDROMLOADFROMSLOT status = ioctl(fd, CDROMLOADFROMSLOT, slot); if (status != 0) { fprintf(stderr, _("%s: CD-ROM load from slot command failed: %s\n"), programName, strerror(errno)); exit(1); } #else fprintf(stderr, _("%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n"), programName); #endif } /* * Close tray. Not supported by older kernels. */ static void CloseTray(int fd) { int status; #if defined(CDROMCLOSETRAY) || defined(CDIOCCLOSE) #if defined(CDROMCLOSETRAY) status = ioctl(fd, CDROMCLOSETRAY); #elif defined(CDIOCCLOSE) status = ioctl(fd, CDIOCCLOSE); #endif if (status != 0) { fprintf(stderr, _("%s: CD-ROM tray close command failed: %s\n"), programName, strerror(errno)); exit(1); } #else fprintf(stderr, _("%s: CD-ROM tray close command not supported by this kernel\n"), programName); #endif } /* * Toggle tray. * * Written by Benjamin Schwenk and * Sybren Stuvel * * Not supported by older kernels because it might use * CloseTray(). * */ static void ToggleTray(int fd) { struct timeval time_start, time_stop; int time_elapsed; #ifdef CDROMCLOSETRAY /* Try to open the CDROM tray and measure the time needed. * In my experience the function needs less than 0.05 * seconds if the tray was already open, and at least 1.5 seconds * if it was closed. */ gettimeofday(&time_start, NULL); /* Send the CDROMEJECT command to the device. */ if (ioctl(fd, CDROMEJECT, 0) < 0) { perror("ioctl"); exit(1); } /* Get the second timestamp, to measure the time needed to open * the tray. */ gettimeofday(&time_stop, NULL); time_elapsed = (time_stop.tv_sec * 1000000 + time_stop.tv_usec) - (time_start.tv_sec * 1000000 + time_start.tv_usec); /* If the tray "opened" too fast, we can be nearly sure, that it * was already open. In this case, close it now. Else the tray was * closed before. This would mean that we are done. */ if (time_elapsed < TRAY_WAS_ALREADY_OPEN_USECS) CloseTray(fd); #else fprintf(stderr, _("%s: CD-ROM tray toggle command not supported by this kernel\n"), programName); #endif } /* * Select Speed of CD-ROM drive. * Thanks to Roland Krivanek (krivanek@fmph.uniba.sk) * http://dmpc.dbp.fmph.uniba.sk/~krivanek/cdrom_speed/ */ static void SelectSpeedCdrom(int fd, int speed) { unsigned long rw_size; unsigned char buffer[28]; struct cdrom_generic_command cgc; struct request_sense sense; #ifdef CDROM_SELECT_SPEED memset(&cgc, 0, sizeof(cgc)); memset(&sense, 0, sizeof(sense)); memset(&buffer, 0, sizeof(buffer)); /* SET STREAMING command */ cgc.cmd[0] = 0xB6; /* parameter list length: 28 bytes */ cgc.cmd[10] = 28; cgc.sense = &sense; cgc.buffer = buffer; cgc.buflen = sizeof(buffer); cgc.data_direction = CGC_DATA_WRITE; cgc.quiet = 1; if(speed == 0) { /* set Restore Drive Defaults */ buffer[0] = 4; } buffer[8] = 0xFF; buffer[9] = 0xFF; buffer[10] = 0xFF; buffer[11] = 0xFF; rw_size = 177 * speed; /* read size */ buffer[12] = (rw_size >> 24) & 0xFF; buffer[13] = (rw_size >> 16) & 0xFF; buffer[14] = (rw_size >> 8) & 0xFF; buffer[15] = rw_size & 0xFF; /* read time: 1 second */ buffer[18] = 0x03; buffer[19] = 0xE8; /* write size */ buffer[20] = (rw_size >> 24) & 0xFF; buffer[21] = (rw_size >> 16) & 0xFF; buffer[22] = (rw_size >> 8) & 0xFF; buffer[23] = rw_size & 0xFF; /* write time: 1 second */ buffer[26] = 0x03; buffer[27] = 0xE8; if(ioctl(fd, CDROM_SEND_PACKET, &cgc) != 0) { if(ioctl(fd, CDROM_SELECT_SPEED, speed) != 0) { fprintf(stderr, _("%s: CD-ROM select speed command failed: %s\n"), programName, strerror(errno)); exit(1); } } #else fprintf(stderr, _("%s: CD-ROM select speed command not supported by this kernel\n"), programName); #endif } /* * Read Speed of CD-ROM drive. From Linux 2.6.13, the current speed is correctly reported */ static int ReadSpeedCdrom(const char *shortName) { char line[512]; char *str_speed, *str_name; int drive_number = -1, i; FILE *f = fopen("/proc/sys/dev/cdrom/info", "r"); if (f == NULL) { fprintf(stderr, _("%s: unable to read the speed from /proc/sys/dev/cdrom/info\n"), programName); exit(1); } while (!feof(f)) { fgets(line, sizeof(line), f); /* find drive number from shortName in line "drive name" */ if (drive_number == -1) { if (strncmp(line, "drive name:", 11) == 0) { str_name = strtok(&line[11], "\t "); drive_number = 0; while (strncmp(shortName, str_name, strlen(shortName)) != 0) { drive_number++; str_name = strtok(NULL, "\t "); if (str_name == NULL) { fprintf(stderr, _("%s: error while finding CD-ROM name\n"), programName); exit(1); } } } /* find line "drive speed" and read the correct speed */ } else { if (strncmp(line, "drive speed:", 12) == 0) { str_speed = strtok(&line[12], "\t "); for (i = 1; i < drive_number; i++) str_speed = strtok(NULL, "\t "); if (str_speed == NULL) { fprintf(stderr, _("%s: error while reading speed\n"), programName); exit(1); } return atoi(str_speed); } } } fprintf(stderr, _("%s: error while reading speed\n"), programName); exit(1); return -1; } /* * List Speed of CD-ROM drive. */ static void ListSpeedCdrom(const char *fullName, int fd) { #ifdef CDROM_SELECT_SPEED int max_speed, curr_speed = 0, prev_speed; char *shortName = rindex(fullName, '/') + 1; SelectSpeedCdrom(fd, 0); max_speed = ReadSpeedCdrom(shortName); while (curr_speed < max_speed) { prev_speed = curr_speed; SelectSpeedCdrom(fd, prev_speed + 1); curr_speed = ReadSpeedCdrom(shortName); if (curr_speed > prev_speed) printf("%d ", curr_speed); else curr_speed = prev_speed + 1; } printf("\n"); #else fprintf(stderr, _("%s: CD-ROM select speed command not supported by this kernel\n"), programName); #endif } /* * Eject using CDROMEJECT ioctl. Return 1 if successful, 0 otherwise. */ static int EjectCdrom(int fd) { int status = -1; #if defined(CDROMEJECT) status = ioctl(fd, CDROMEJECT); #elif defined(CDIOCEJECT) status = ioctl(fd, CDIOCEJECT); #else /* Some kernels implement cdrom-eject only, but I don't think any kernel in the world would implement eject only for non-cdrom drives. Let's die. */ # error #endif return (status == 0); } #ifdef HAVE_EJECT_SCSI /* * Eject using SCSI SG_IO commands. Return 1 if successful, 0 otherwise. */ static int EjectScsi(int fd) { int status, k; sg_io_hdr_t io_hdr; unsigned char allowRmBlk[6] = {ALLOW_MEDIUM_REMOVAL, 0, 0, 0, 0, 0}; unsigned char startStop1Blk[6] = {START_STOP, 0, 0, 0, 1, 0}; unsigned char startStop2Blk[6] = {START_STOP, 0, 0, 0, 2, 0}; unsigned char inqBuff[2]; unsigned char sense_buffer[32]; if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) { printf("not an sg device, or old sg driver\n"); return 0; } memset(&io_hdr, 0, sizeof(sg_io_hdr_t)); io_hdr.interface_id = 'S'; io_hdr.cmd_len = 6; io_hdr.mx_sb_len = sizeof(sense_buffer); io_hdr.dxfer_direction = SG_DXFER_NONE; io_hdr.dxfer_len = 0; io_hdr.dxferp = inqBuff; io_hdr.sbp = sense_buffer; io_hdr.timeout = 10000; io_hdr.cmdp = allowRmBlk; status = ioctl(fd, SG_IO, (void *)&io_hdr); if (status < 0) return 0; io_hdr.cmdp = startStop1Blk; status = ioctl(fd, SG_IO, (void *)&io_hdr); if (status < 0) return 0; io_hdr.cmdp = startStop2Blk; status = ioctl(fd, SG_IO, (void *)&io_hdr); if (status < 0) return 0; /* force kernel to reread partition table when new disc inserted */ status = ioctl(fd, BLKRRPART); return 1; } #endif #ifdef HAVE_EJECT_FLOPPY /* * Eject using FDEJECT ioctl. Return 1 if successful, 0 otherwise. */ static int EjectFloppy(int fd) { int status; status = ioctl(fd, FDEJECT); return (status >= 0); } #endif #ifdef HAVE_EJECT_TAPE /* * Eject using tape ioctl. Return 1 if successful, 0 otherwise. */ static int EjectTape(int fd) { int status; struct mtop op; op.mt_op = MTOFFL; /* rewind and eject */ op.mt_count = 0; /* not used */ status = ioctl(fd, MTIOCTOP, &op); return (status >= 0); } #endif /* Unmount a device. */ static void Unmount(const char *fullName) { int status; switch (fork()) { case 0: /* child */ setuid(getuid()); /* reduce likelyhood of security holes when running setuid */ if(p_option) { execlp("pumount", "pumount", fullName, "-n", NULL); execlp("umount", "umount", fullName, "-n", NULL); } else { execlp("pumount", "pumount", fullName, NULL); execlp("umount", "umount", fullName, NULL); } fprintf(stderr, _("%s: unable to exec umount of `%s': %s\n"), programName, fullName, strerror(errno)); exit(1); break; case -1: fprintf(stderr, _("%s: unable to fork: %s\n"), programName, strerror(errno)); break; default: /* parent */ wait(&status); if (WIFEXITED(status) == 0) { fprintf(stderr, _("%s: unmount of `%s' did not exit normally\n"), programName, fullName); exit(1); } if (WEXITSTATUS(status) != 0) { fprintf(stderr, _("%s: unmount of `%s' failed\n"), programName, fullName); exit(1); } break; } } /* Open a device file. Try opening first read/write, and if that fails then read only. */ static int OpenDevice(const char *fullName) { int fd; fd = open(fullName, O_RDWR|O_NONBLOCK); if (fd != -1) { return fd; } fd = open(fullName, O_RDONLY|O_NONBLOCK); if (fd == -1) { fprintf(stderr, _("%s: unable to open `%s'\n"), programName, fullName); exit(1); } return fd; } /* * Get major and minor device numbers for a device file name, so we * can check for duplicate devices. */ static int GetMajorMinor(const char *name, int *maj, int *min) { struct stat sstat; if (maj) *maj = -1; if (min) *min = -1; if (stat(name, &sstat) == -1) return -1; if (! S_ISBLK(sstat.st_mode) && ! S_ISCHR(sstat.st_mode)) return -1; if (maj) *maj = major(sstat.st_rdev); if (min) *min = minor(sstat.st_rdev); return 0; } /* * See if device has been mounted by looking in mount table. If so, set * device name and mount point name, and return 1, otherwise return 0. */ static int MountedDevice(const char *name, char **mountName, char **deviceName) { FILE *fp; char line[1024]; char s1[1024]; char s2[1024]; int rc; int maj; int min; GetMajorMinor(name, &maj, &min); fp = fopen((p_option ? "/proc/mounts" : "/etc/mtab"), "r"); if (fp == NULL) { fprintf(stderr, _("unable to open %s: %s\n"), (p_option ? "/proc/mounts" : "/etc/mtab"), strerror(errno)); exit(1); } while (fgets(line, sizeof(line), fp) != 0) { rc = sscanf(line, "%1023s %1023s", s1, s2); if (rc >= 2) { int mtabmaj, mtabmin; GetMajorMinor(s1, &mtabmaj, &mtabmin); if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) || ((maj != -1) && (maj == mtabmaj) && (min == mtabmin))) { FCLOSE(fp); *deviceName = DeMangleMount(strdup(s1)); *mountName = DeMangleMount(strdup(s2)); return 1; } } } *deviceName = 0; *mountName = 0; FCLOSE(fp); return 0; } /* * See if device can be mounted by looking in /etc/fstab. * If so, set device name and mount point name, and return 1, * otherwise return 0. */ static int MountableDevice(const char *name, char **mountName, char **deviceName) { FILE *fp; char line[1024]; char s1[1024]; char s2[1024]; int rc; fp = fopen("/etc/fstab", "r"); /* /etc/fstab may be unreadable in some situations due to passwords in the file. */ if (fp == NULL) { if (v_option) { printf( _("%s: unable to open /etc/fstab: %s\n"), programName, strerror(errno)); } return -1; } while (fgets(line, sizeof(line), fp) != 0) { rc = sscanf(line, "%1023s %1023s", s1, s2); if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) { if (strncasecmp(s1, "UUID=", 5) == 0) { char *realDeviceName = malloc(strlen(s1) + 32); sprintf(realDeviceName, "/dev/disk/by-uuid/%s", s1 + 5); strncpy(s1, realDeviceName, sizeof(s2)-1); } FCLOSE(fp); *deviceName = DeMangleMount(strdup(s1)); *mountName = DeMangleMount(strdup(s2)); return 1; } } FCLOSE(fp); return 0; } /* * Step through mount table and unmount all devices that match a regular * expression. */ static void UnmountDevices(const char *pattern) { regex_t preg; FILE *fp; char s1[1024]; char s2[1024]; char line[1024]; int status; if (regcomp(&preg, pattern, REG_EXTENDED)!=0) { perror(programName); exit(1); } fp = fopen((p_option ? "/proc/mounts" : "/etc/mtab"), "r"); if (fp == NULL) { fprintf(stderr, _("unable to open %s: %s\n"),(p_option ? "/proc/mounts" : "/etc/mtab"), strerror(errno)); exit(1); } while (fgets(line, sizeof(line), fp) != 0) { status = sscanf(line, "%1023s %1023s", s1, s2); if (status >= 2) { status = regexec(&preg, s1, 0, 0, 0); if (status == 0) { if (v_option) printf(_("%s: unmounting `%s'\n"), programName, s2); Unmount(s2); } } } regfree(&preg); FCLOSE(fp); } /* Check if name is a symbolic link. If so, return what it points to. */ static char *SymLink(const char *name) { int status; char s1[PATH_MAX]; char s2[PATH_MAX]; char s4[PATH_MAX]; char result[PATH_MAX]; char *s3; memset(s1, 0, sizeof(s1)); memset(s2, 0, sizeof(s2)); memset(s4, 0, sizeof(s4)); memset(result, 0, sizeof(result)); status = readlink(name, s1, sizeof(s1) - 1); if (status == -1) return 0; s1[status] = 0; if (s1[0] == '/') { /* absolute link */ return strdup(s1); } else { /* relative link, add base name */ strncpy(s2, name, sizeof(s2)-1); s3 = strrchr(s2, '/'); if (s3 != 0) { s3[1] = 0; snprintf(result, sizeof(result)-1, "%s%s", s2, s1); } } realpath(result, s4); return strdup(s4); } /* * Given a name, see if it matches a pattern for a device that can have * multiple partitions. If so, return a regular expression that matches * partitions for that device, otherwise return 0. */ static char *MultiplePartitions(const char *name) { int i = 0; int status; regex_t preg; char pattern[256]; char *result = 0; for (i = 0; partitionDevice[i] != 0; i++) { /* look for ^/dev/foo[a-z]([0-9]?[0-9])?$, e.g. /dev/hda1 */ strcpy(pattern, "^/dev/"); strcat(pattern, partitionDevice[i]); strcat(pattern, "[a-z]([0-9]?[0-9])?$"); if (regcomp(&preg, pattern, REG_EXTENDED|REG_NOSUB) != 0) { perror(programName); exit(1); } status = regexec(&preg, name, 1, 0, 0); regfree(&preg); if (status == 0) { result = (char *) malloc(strlen(name) + 25); if (result == NULL) { fprintf(stderr, _("%s: could not allocate memory\n"), programName); exit(1); } strcpy(result, name); result[strlen(partitionDevice[i]) + 6] = 0; strcat(result, "([0-9]?[0-9])?$"); if (v_option) printf(_("%s: `%s' is a multipartition device\n"), programName, name); return result; } } if (v_option) printf(_("%s: `%s' is not a multipartition device\n"), programName, name); return 0; } /* handle -x option */ static void HandleXOption(char *deviceName) { int fd; /* file descriptor for device */ if (x_option) { if (v_option) { if (x_arg == 0) printf(_("%s: setting CD-ROM speed to auto\n"), programName); else printf(_("%s: setting CD-ROM speed to %dX\n"), programName, x_arg); } fd = OpenDevice(deviceName); SelectSpeedCdrom(fd, x_arg); exit(0); } } /* main program */ int main(int argc, char **argv) { const char *defaultDevice = DEFAULTDEVICE; /* default if no name passed by user */ int worked = 0; /* set to 1 when successfully ejected */ char *device = 0; /* name passed from user */ char *fullName; /* expanded name */ char *fullNameOrig;/* expanded name (links not resolved) */ char *deviceName; /* name of device */ char *linkName; /* name of device's symbolic link */ char *mountName; /* name of device's mount point */ int fd; /* file descriptor for device */ int mounted = 0; /* true if device is mounted */ int mountable = 0; /* true if device is in /etc/fstab */ int result = 0; /* store the result of a operation */ char *pattern; /* regex for device if multiple partitions */ int ld = 6; /* symbolic link max depth */ I18NCODE /* program name is global variable used by other procedures */ programName = strdup(argv[0]); /* parse the command line arguments */ parse_args(argc, argv, &device); /* handle -d option */ if (d_option) { printf(_("%s: default device: `%s'\n"), programName, defaultDevice); exit(0); } /* if no device, use default */ if (device == 0) { device = strdup(defaultDevice); if (v_option) printf(_("%s: using default device `%s'\n"), programName, device); } /* Strip any trailing slash from name in case user used bash/tcsh style filename completion (e.g. /mnt/cdrom/) */ if (device[strlen(device)-1] == '/') device[strlen(device)-1] = 0; if (v_option) printf(_("%s: device name is `%s'\n"), programName, device); do { /* figure out full device or mount point name */ fullName = FindDevice(device); if (fullName == 0) { fprintf(stderr, _("%s: unable to find or open device for: `%s'\n"), programName, device); exit(1); } if (v_option) printf(_("%s: expanded name is `%s'\n"), programName, fullName); /* check for a symbolic link */ /* /proc/mounts doesn't resolve symbolic links */ fullNameOrig = strdup(fullName); linkName = strdup(fullName); /* ensure linkName is initialized */ if (!p_option) { while ((linkName = SymLink(fullName)) && (ld > 0)) { if (v_option) printf(_("%s: `%s' is a link to `%s'\n"), programName, fullName, linkName); free(fullName); fullName = strdup(linkName); free(linkName); linkName = 0; ld--; } } /* handle max depth exceeded option */ if (ld <= 0) { printf(_("%s: maximum symbolic link depth exceeded: `%s'\n"), programName, fullName); exit(1); } /* if mount point, get device name */ mounted = MountedDevice(fullName, &mountName, &deviceName); if (v_option) { if (mounted) printf(_("%s: `%s' is mounted at `%s'\n"), programName, deviceName, mountName); else printf(_("%s: `%s' is not mounted\n"), programName, fullName); } if (!mounted) { deviceName = strdup(fullName); } /* if not currently mounted, see if it is a possible mount point */ if (!mounted) { mountable = MountableDevice(fullName, &mountName, &deviceName); /* if return value -1 then fstab could not be read */ if (v_option && mountable >= 0) { if (mountable) printf(_("%s: `%s' can be mounted at `%s'\n"), programName, deviceName, mountName); else printf(_("%s: `%s' is not a mount point\n"), programName, fullName); } } result = GetMajorMinor(deviceName, NULL, NULL); if (result == -1) { fprintf(stderr, _("%s: tried to use `%s' as device name but it is no block device\n"), programName, deviceName); } } while (result == -1); /* handle -n option */ if (n_option) { printf(_("%s: device is `%s'\n"), programName, deviceName); if (v_option) printf(_("%s: exiting due to -n/--noop option\n"), programName); exit(0); } /* handle -i option */ if (i_option) { fd = OpenDevice(deviceName); ManualEject(fd, i_arg); exit(0); } /* handle -a option */ if (a_option) { if (v_option) { if (a_arg) printf(_("%s: enabling auto-eject mode for `%s'\n"), programName, deviceName); else printf(_("%s: disabling auto-eject mode for `%s'\n"), programName, deviceName); } fd = OpenDevice(deviceName); AutoEject(fd, a_arg); exit(0); } /* handle -t option */ if (t_option) { if (v_option) printf(_("%s: closing tray\n"), programName); fd = OpenDevice(deviceName); CloseTray(fd); HandleXOption(deviceName); exit(0); } /* handle -X option */ if (X_option) { if (v_option) printf(_("%s: listing CD-ROM speed\n"), programName); fd = OpenDevice(deviceName); ListSpeedCdrom(deviceName, fd); exit(0); } /* handle -x option only */ if (!c_option) HandleXOption(deviceName); /* unmount device if mounted */ if ((m_option != 1) && mounted) { if (v_option) printf(_("%s: unmounting device `%s' from `%s'\n"), programName, deviceName, mountName); Unmount(mountName); } /* if it is a multipartition device, unmount any other partitions on the device */ pattern = MultiplePartitions(deviceName); if ((m_option != 1) && (pattern != 0)) UnmountDevices(pattern); /* handle -T option */ if (T_option) { if (v_option) printf(_("%s: toggling tray\n"), programName); fd = OpenDevice(deviceName); ToggleTray(fd); HandleXOption(deviceName); exit(0); } /* handle -c option */ if (c_option) { if (v_option) printf(_("%s: selecting CD-ROM disc #%d\n"), programName, c_arg); fd = OpenDevice(deviceName); ChangerSelect(fd, c_arg); HandleXOption(deviceName); exit(0); } /* if user did not specify type of eject, try all four methods */ if ((r_option + s_option + f_option + q_option) == 0) { r_option = s_option = f_option = q_option = 1; } /* open device */ fd = OpenDevice(deviceName); /* try various methods of ejecting until it works */ if (r_option) { if (v_option) printf(_("%s: trying to eject `%s' using CD-ROM eject command\n"), programName, deviceName); worked = EjectCdrom(fd); if (v_option) { if (worked) printf(_("%s: CD-ROM eject command succeeded\n"), programName); else printf(_("%s: CD-ROM eject command failed\n"), programName); } } #ifdef HAVE_EJECT_SCSI if (s_option && !worked) { if (v_option) printf(_("%s: trying to eject `%s' using SCSI commands\n"), programName, deviceName); worked = EjectScsi(fd); if (v_option) { if (worked) printf(_("%s: SCSI eject succeeded\n"), programName); else printf(_("%s: SCSI eject failed\n"), programName); } } #endif #ifdef HAVE_EJECT_FLOPPY if (f_option && !worked) { if (v_option) printf(_("%s: trying to eject `%s' using floppy eject command\n"), programName, deviceName); worked = EjectFloppy(fd); if (v_option) { if (worked) printf(_("%s: floppy eject command succeeded\n"), programName); else printf(_("%s: floppy eject command failed\n"), programName); } } #endif #ifdef HAVE_EJECT_TAPE if (q_option && !worked) { if (v_option) printf(_("%s: trying to eject `%s' using tape offline command\n"), programName, deviceName); worked = EjectTape(fd); if (v_option) { if (worked) printf(_("%s: tape offline command succeeded\n"), programName); else printf(_("%s: tape offline command failed\n"), programName); } } #endif if (!worked) { fprintf(stderr, _("%s: unable to eject, last error: %s\n"), programName, strerror(errno)); exit(1); } /* cleanup */ CLOSE(fd); free(device); free(deviceName); free(fullName); free(fullNameOrig); free(linkName); free(mountName); free(pattern); exit(0); } eject-2.1.5+deb1+cvs20081104/INSTALL0000644000175000017500000001646311037512425015046 0ustar djpigdjpigBasic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/kde/bin', `/usr/local/kde/lib', etc. You can specify an installation prefix other than `/usr/local/kde' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. eject-2.1.5+deb1+cvs20081104/aclocal.m40000644000175000017500000011031511037512425015644 0ustar djpigdjpigdnl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # lib-prefix.m4 serial 4 (gettext-0.14.2) dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) # lib-link.m4 serial 6 (gettext-0.14.3) dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ(2.50) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib$1-prefix], [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib$1-prefix don't search for lib$1 in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) # lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # Copyright 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.4-p6])]) # # Check to make sure that the build environment is sane. # AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "[$]2" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_SUBST($1_TRUE) AC_SUBST($1_FALSE) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi]) eject-2.1.5+deb1+cvs20081104/i18n.h0000644000175000017500000000110511037512425014730 0ustar djpigdjpig/* i18nized by: KUN-CHUNG, HSIEH Taiwan Homepage: http://www.geocities.com/linux4tw/ 祘Α瓣悔て砞璸: 谅盭い */ #include #ifndef __i18n__ # ifdef USE_NLS #define PKG "eject" #define __i18n__ #define LOCALEDIR "/usr/share/locale" #include #include #define _(str) gettext (str) #define N_(str) (str) #define I18NCODE setlocale(LC_ALL,""); textdomain(PKG); bindtextdomain(PKG,LOCALEDIR); # else #define _(str) (str) #define N_(str) (str) #define I18NCODE # endif #endif eject-2.1.5+deb1+cvs20081104/README0000644000175000017500000000340211037512425014662 0ustar djpigdjpigEject allows removable media (typically a CD-ROM, floppy disk, tape drive, or JAZ or ZIP disk) to be ejected under software control. The command can also control some multi-disc CD-ROM changers, the auto-eject feature supported by some devices, and close the disc tray of some CD-ROM drives. See the file INSTALL for instructions on how to compile and install the program. The following devices and configurations are known to work with eject: Devices: - 1GB and 2GB SCSI IOMEGA JAZ drives - Apple PowerMac floppy drive - HP1534 SCSI DAT tape drive - IDE/ATAPI CD-ROM - IDE/ATAPI IOMEGA 100MB ZIP drive - IDE/ATAPI LS120 120MB floppy drive - Parallel port IOMEGA 100MB ZIP drive - SCSI CD-R drive - SCSI CD-ROM - SCSI MO Drive - Sun SPARC floppy drive - Fujitsu M2512A magneto-optical disk drive (SCSI) Kernels: - 2.0.36 (and earlier 2.0.x) - 2.1.132 (and earlier 2.1.x) - 2.2.16 (and earlier 2.2.x) - 2.4.4 (and earlier 2.4.x) - 2.6.11 (and earlier 2.6.x) - with both the IDE, SCSI, and IDE SCSI emulation kernel drivers Platforms: - Intel (Red Hat) - SPARC - PowerPC - DEC Alpha It is loosely based on the SunOS eject command. If you have any problems or suggestions, drop me a line. I'm particularly interested in hearing if it does or doesn't work with media other than CD-ROM or when running Linux on non-Intel machines. Version 2.0 is mostly a rewrite of version 1.5 to clean up the source and add a number of new features (and take out some useless ones). Many thanks to the beta testers for version 2.0: Andrea Borgia Darius Davis David Wheeler Jochen Stein Marko Makela Mike Warnecke Steve Linn Tobias Richter Richard Simpson You may also find some of the following commands useful for managing removable media: gtkzip jazip mt mzip ziptool Jeff Tranter tranter@pobox.com eject-2.1.5+deb1+cvs20081104/AUTHORS0000644000175000017500000000004111037512425015046 0ustar djpigdjpigJeff Tranter eject-2.1.5+deb1+cvs20081104/config.sub0000755000175000017500000007547011037512425016003 0ustar djpigdjpig#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-04-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # 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 # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit 0;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | msp430-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16c) basic_machine=cr16c-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sh64) basic_machine=sh64-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: eject-2.1.5+deb1+cvs20081104/bootstrap0000755000175000017500000000020511037512425015743 0ustar djpigdjpig#!/bin/sh # This script creates the autotools generated files (e.g. configure). aclocal && autoheader && automake -a -c && autoconf eject-2.1.5+deb1+cvs20081104/PROBLEMS0000644000175000017500000000421211037512425015150 0ustar djpigdjpigPossible Problems ----------------- Problem: Unable to find when compiling. You need the kernel source installed (at least the include files from the kernel source). Problem: Unable to find an include file when compiling (e.g. ). You are either running a very old kernel, and/or a Linux distribution which either installs some files in a non-standard location or is missing some files. I have only tested eject under Red Hat Linux for Intel. Problem: Option -c produces "eject: IDE/ATAPI CD-ROM changer not supported by this kernel". You are running a very old kernel. If you want multi-disc changer support upgrade to the 2.0 kernel or later. Problem: Option -t produces "eject: CD-ROM tray close command not supported by this kernel". You are running a very old kernel. If you want multi-disc changer support upgrade to the 2.0 kernel or later. Problem: You get an error such as "eject: unable to find or open device for: `foo'" 1. You did not specify a valid device or file, even after checking /dev and /mnt. 2. The device is not readable by you. Change the permissions or install eject setuid root. 3. Some devices (e.g. SCSI) can only be ejected by root. Run as root or install eject setuid root. Problem: eject doesn't work and the above solutions are no help. Send me a description of the problem including the symptoms, what Linux kernel and distribution you are running, the version of eject, and the output of eject when the problem occurs, with the -v option. Notes ----- What I find is a convenient setup for accessing removable devices is to use the auto-mounter built in to the kernel to automatically mount the devices whenever the mount point is referenced. I have this set up for /mnt/cdrom (IDE CD-ROM), /mnt/zip (IDE ZIP drive), /mnt/floppy (VFAT-formatted floppy), and /mnt/dos (Windows 95 partition on hard drive). The automounter also automatically unmounts the devices when they are idle for a period of time. I set up /etc/fstab so that non-root users can also unmount the devices at any time. I do not need to install eject setuid root. References ---------- See the man pages autofs(8), automount(8), mount(8) eject-2.1.5+deb1+cvs20081104/eject-2.1.5.spec0000644000175000017500000000226111037512425016413 0ustar djpigdjpig%define prefix /usr Summary: ejects removable media and controls auto ejection Name: eject Version: 2.1.5 %define src %{name}-%{version} Release: 2XL Copyright: GPL Group: Utilities/System Source: www.ibiblio.org:/pub/Linux/utils/disk-management/%{src}.tar.gz patch: %{src}.patch.gz BuildRoot: /var/tmp/eject-root %description This program allows the user to eject removable like CD-ROMs, Jaz and Zip drives, and floppy drives on SPARC machines. %prep set |grep RPM if [ -z $RPM_BUILD_ROOT ]; then echo -e "\7ROOT is blank !"; sleep 1; break ;fi %setup %patch -p1 %build ./configure --prefix=%{prefix} chown root.root . -R make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install if [ -d $RPM_BUILD_ROOT ];then rm -rf $RPM_BUILD_ROOT fi #make prefix=$RPM_BUILD_ROOT/%{prefix} install make ROOTDIR=$RPM_BUILD_ROOT install cd $RPM_BUILD_ROOT/ find . -type f -links 1|grep \/man\/man |xargs gzip %files %doc README COPYING ChangeLog INSTALL PORTING TODO /usr/bin/* /usr/man/man1/* /usr/share/locale/*/*/eject.mo %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/%{src} rm -f /var/tmp/rpm-tmp.* %changelog * Thu Jun 07 2001 Kun-Chung Hsieh - adopt/update/i18nized 09:42:33 eject-2.1.5+deb1+cvs20081104/missing0000755000175000017500000001452011037512425015404 0ustar djpigdjpig#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.in; then configure_ac=configure.ac else configure_ac=configure.in fi case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 eject-2.1.5+deb1+cvs20081104/mkinstalldirs0000755000175000017500000000132211037512425016607 0ustar djpigdjpig#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here eject-2.1.5+deb1+cvs20081104/ChangeLog0000644000175000017500000002147211037512425015563 0ustar djpigdjpig2006-06-03 Jeff Tranter * Version 2.1.5 * bug fix to -T option * added Czech translation * added Brazilian Portuguese translation * updated Turkish Translation 2005-12-10 Jeff Tranter * Version 2.1.4 * Incorporates Debian patches from Frank Lichtenheld. 2005-10-01 Jeff Tranter * Version 2.1.3 * Incorporates several Gentoo patches from Mike Frysinger 2005-08-24 Jeff Tranter * Version 2.1.2 * Incorporates several Red Hat patches from Than Ngo 2005-08-23 Jeff Tranter * Version 2.1.1 * Incorporates Debian patch for deprecated SCSO ioctl error bug 2005-05-01 Jeff Tranter * Version 2.1.0 * Incorporates Debian patches including a new -m option 2002-12-09 Jeff Tranter * Version 2.0.13 released * Fixed a symlink security vulnerability reported by SuSE * Fixed security issue in error message * Fix to PREFIX in po/Makefile from Pawel Golaszewski * Better French translations from Yoni Girard * Better German translations from Nordi * Updated with Debian maintainers patches 2001-10-01 Jeff Tranter * Version 2.0.12 released * modify Makefile.am so po files are included in package 2001-09-17 Jeff Tranter * Version 2.0.11 released * add .po file for Japanese, thanks to TAKEDA Hirofumi * updated .po file for French, thanks to Warly and Christophe Combelles 2001-07-01 Jeff Tranter * Version 2.0.10 released * updated .spec file (thanks to Volker Moell ) * localization support with Taiwanese translation (thanks to Kun-Chung Hsieh) * French po file by me (in broken French) 2001-05-22 Jeff Tranter * Version 2.0.9 released * add new --proc/-p option to use /proc/mounts instead of /etc/mstab (thanks to Stanislav Ievlev ) 2001-05-18 Jeff Tranter * Version 2.0.8 released * --cdspeed/-x option added to set CD-ROM speed (thanks to Nobuyuki Tsuchimura ) 2001-05-15 Jeff Tranter * Version 2.0.7 released * checks for mounted devices with same device numbers (patch from Vladimir Nadvornik ) * cleanup of some comments * use indent level of 4 rather than 2 * volname now uses DEFAULTDEVICE rather than being hardcoded to use /dev/cdrom 2001-05-05 Jeff Tranter * Version 2.0.6 released * now uses GNU automake/autoconf 2001-05-02 Jeff Tranter * Version 2.0.5 released * fixed possible buffer overrun (thanks to Nico Schottelius for noticing this) 2001-04-25 Jeff Tranter * Version 2.0.4 released * fixed man page formatting error (Debian bug #90283) * added limit when following symlinks (Debian bug #80596) * add --version/-V option to display version * updated debian directory from Debian maintainer * added note on why volname is not installed * updated Makefile for package building * install is now more FHS compliant 2001-04-19 Jeff Tranter * Version 2.0.3 released * incorporated Debian packager's patches * added volname program * ignore comments in /etc/fstab * partial support for devfs (/dev/cdroms) * force kernel to re-read partition table when new media inserted * handle symlinks that are not canonical * #include changes for recent (2.4.x) kernels * former sunsite archive site is now ibiblio.org 1999-02-14 Jeff Tranter * Version 2.0.2 released * eject.c: under 2.1/2.2 kernels CDROM_SELECT_DISC returns the slot number, so the check for error should be for a return value less than 0; added parenthesis to suppress an egcs compile warning; these changes thanks to Richard Simpson * Makefile: add rule for 'ci' (RCS checkin) 1999-02-08 Jeff Tranter * Version 2.0.1 released * -c option did not allow value of 0, fix submitted by Dariusz Kowalewski 1999-01-21 Jeff Tranter * Version 2.0 released * Changelog: changed to use standard GNU changelog format * Makefile: added RPM_OPT_FLAGS to Makefile * README: mentioned related tools * TODO: possibly add ziptool functionality in future * eject.1: show -n option in synopsis * eject.c: show -n option in usage * eject.c: -n option should not say "device to be *ejected*", because another option, such as tray close, may have been selected * eject.1: added description of what examples do * eject.1: documented return codes 1999-01-10 Jeff Tranter * Version 2.0beta4 released * Makefile: uses variables to make it easier to modify * Makefile: separate CFLAGS and CPPFLAGS * Makefile: added -I/usr/src/linux for systems that do not have /usr/include/scsi linked to /usr/src/linux/include/scsi * Makefile: can set default device in Makefile * eject.1: clarified some statements * eject.c: now checks for devices in /dev/rdsk and /dev/dsk for systems that use devfs such as Solaris and probably Linux in future * eject.c: moved up processing of -d option to earlier in main() * eject.c: added -n option * eject.c: use of getopt_long is now conditional * eject.c: if device is not mounted according to /proc/mounts, now also checks /etc/fstab to see if it is a potential mount point * eject.c: only check /etc/mtab because /proc/mounts shows names of devices without following symlinks (too bad, because /proc/mounts is faster) * provided RPM spec file for building a Red Hat package (thanks to Jochen A. Stein) 1999-01-05 Jeff Tranter * Version 2.0beta3 released * eject.c: now tries to unmount all partitions of a multi-partition device * eject.c: a couple of internal functions were made static * eject.c: -q option was omitted from usage dsplay * eject.1: added examples to man page * INSTALL: added list of possible problems 1999-01-03 Jeff Tranter * Version 2.0beta2 released * eject.c: strip any trailing slash from name in case user used bash/tcsh style filename completion (suggested by Tobias Richter) * eject.c: new -q option for ejecting using magnetic tape ioctl * eject.c: made status messages less technical (use English rather than ioctl names) * eject.c: set effective user ID to user ID before execl * eject.c: quit if umount fails 1999-01-01 Jeff Tranter * Version 2.0beta1 released * eject.c: almost completely an entire rewrite * eject.c: no longer uses old nickname scheme, uses heuristics to find device instead * eject.c: no longer uses CDROM environment variable (could be added, but did anyone actually use it?) * eject.c: supports naming mount points * eject.c: does not attempt to check for specific SCSI devices * eject.c: support for tray close command added * eject.c: always tries to unmount mounted devices * eject.c: alternate long option names 1997-01-05 Jeff Tranter * Version 1.5 released * changes submitted by Donnie Barnes (djb@redhat.com): * supports Zip and Jaz drives * can now unmount multiple partitions * no longer need -f option in order for -u option to work * uses new CDROM_SELECT_DISC ioctl in favour of CDROMLOADFROMSLOT 1996-09-08 Jeff Tranter * Version 1.4 released * changes submitted by Donnie Barnes (djb@redhat.com): * support for ejecting floppy drives under Linux on the Sun/SPARC platform * minor formatting and code changes * new author's e-mail address * added a few more nicknames 199?-??-?? Jeff Tranter * Version 1.3 released * changes submitted by Ben Galliart (bgallia@luc.edu): * added support for IDE/ATAPI CD-ROM changers using CDROMLOADFROMSLOT ioctl call * additional changes made at the suggestion of Markus Pilzecker (markus.pilzecker@rhein-neckar.netsurf.de) 199?-??-?? Jeff Tranter * Version 1.2 released * changes submitted by Doug L. Hoffman (hoffman@cs.unc.edu): * fixes non null-terminated string bug * uses system() to call umount(8) instead of umount system call 199?-??-?? Jeff Tranter * Version 1.1 released * now handles case where device is a relative symbolic link * looks at $CDROM environment variable for default device * updated man page to reflect $CDROM environment variable * added more device nicknames * install using "install" instead of "cp" in Makefile * handles old kernels without CDROMEJECT_SW support * now includes file COPYING in distribution * thanks to Dick Streefland and Mark Lord for suggestions/patches 199?-??-?? Jeff Tranter * Version 1.0 released * first release eject-2.1.5+deb1+cvs20081104/po/0000755000175000017500000000000011104140504014407 5ustar djpigdjpigeject-2.1.5+deb1+cvs20081104/po/eject.pot0000644000175000017500000001541211104140325016231 0ustar djpigdjpig# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: eject 2.0.13deb-4\n" "POT-Creation-Date: 2004-05-07 01:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=us-ascii\n" "Content-Transfer-Encoding: 8bit\n" #: ../eject.c:125 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" #: ../eject.c:148 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" msgstr "" #: ../eject.c:156 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" #: ../eject.c:209 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "" #: ../eject.c:221 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "" #: ../eject.c:233 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "" #: ../eject.c:273 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "" #: ../eject.c:283 #, c-format msgid "%s: too many arguments\n" msgstr "" #: ../eject.c:331 #, c-format msgid "%s: could not allocate memory\n" msgstr "" #: ../eject.c:404 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "" #: ../eject.c:421 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "" #: ../eject.c:427 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "" #: ../eject.c:431 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "" #: ../eject.c:446 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "" #: ../eject.c:450 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "" #: ../eject.c:467 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "" #: ../eject.c:471 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "" #: ../eject.c:581 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "" #: ../eject.c:586 #, c-format msgid "%s: unable to fork: %s\n" msgstr "" #: ../eject.c:591 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "" #: ../eject.c:595 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "" #: ../eject.c:608 #, c-format msgid "%s: unable to open `%s'\n" msgstr "" #: ../eject.c:653 ../eject.c:740 #, c-format msgid "unable to open %s: %s\n" msgstr "" #: ../eject.c:700 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "" #: ../eject.c:750 ../eject.c:984 #, c-format msgid "%s: unmounting `%s'\n" msgstr "" #: ../eject.c:823 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "" #: ../eject.c:828 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "" #: ../eject.c:841 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "" #: ../eject.c:843 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "" #: ../eject.c:879 #, c-format msgid "%s: default device: `%s'\n" msgstr "" #: ../eject.c:887 #, c-format msgid "%s: using default device `%s'\n" msgstr "" #: ../eject.c:896 #, c-format msgid "%s: device name is `%s'\n" msgstr "" #: ../eject.c:901 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "" #: ../eject.c:905 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "" #: ../eject.c:910 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "" #: ../eject.c:919 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "" #: ../eject.c:927 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "" #: ../eject.c:929 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "" #: ../eject.c:941 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "" #: ../eject.c:943 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "" #: ../eject.c:949 #, c-format msgid "%s: device is `%s'\n" msgstr "" #: ../eject.c:951 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "" #: ../eject.c:959 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "" #: ../eject.c:961 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "" #: ../eject.c:971 #, c-format msgid "%s: closing tray\n" msgstr "" #: ../eject.c:997 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "" #: ../eject.c:1015 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "" #: ../eject.c:1019 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "" #: ../eject.c:1021 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "" #: ../eject.c:1027 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "" #: ../eject.c:1031 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "" #: ../eject.c:1033 #, c-format msgid "%s: SCSI eject failed\n" msgstr "" #: ../eject.c:1039 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "" #: ../eject.c:1043 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "" #: ../eject.c:1045 #, c-format msgid "%s: floppy eject command failed\n" msgstr "" #: ../eject.c:1051 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "" #: ../eject.c:1055 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "" #: ../eject.c:1057 #, c-format msgid "%s: tape offline command failed\n" msgstr "" #: ../eject.c:1062 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "" #: ../volname.c:58 msgid "usage: volname []\n" msgstr "" #: ../volname.c:64 ../volname.c:70 ../volname.c:76 msgid "volname" msgstr "" eject-2.1.5+deb1+cvs20081104/po/pt_BR.po0000644000175000017500000002520211104140325015757 0ustar djpigdjpig# Portugu阺/Brasil translation of eject. # Copyright (C) 2006 Free Software Foundation, Inc. # Anderson Goulart , 2006. # # msgid "" msgstr "" "Project-Id-Version: eject 2.0.13deb-4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-05-07 01:11+0200\n" "PO-Revision-Date: 2006-04-27 12:51-0300\n" "Last-Translator: Anderson Goulart \n" "Language-Team: Portugu阺/Brasil\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit" #: ../eject.c:125 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Vers鉶 %s por Jeff Tranter (tranter@pobox.com)\n" "Uso:\n" " eject -h\t\t\t\t-- exibe o uso do comando e sai\n" " eject -V\t\t\t\t-- exibe a vers鉶 do programa e sai\n" " eject [-vnrsfq] []\t\t-- ejeta o dispositivo\n" " eject [-vn] -d\t\t\t-- exibe o dispositivo padr鉶\n" " eject [-vn] -a on|off|1|0 []\t-- habilita[on] ou desabilita[off] o ejetor autom醫ico\n" " eject [-vn] -c []\t-- troca os discos em uma bandeja de cds\n" " eject [-vn] -t []\t\t-- fecha a bandeja\n" " eject [-vn] -x []\t-- estabelece a velocidade m醲ima do CD-ROM\n" "Op珲es:\n" " -v\t-- habilita a sa韉a detalhada\n" " -n\t-- n鉶 ejeta, somente exibe o dispositivo encontrado\n" " -r\t-- ejeta CD-ROM\n" " -s\t-- ejeta dispositivo SCSI\n" " -f\t-- ejeta diquete\n" " -q\t-- ejeta fita\n" " -p\t-- usa /proc/mounts ao inv閟 do /etc/mtab\n" " -m\t-- n鉶 desmonta o dispositivo mesmo que ele esteja montado\n" #: ../eject.c:148 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" msgstr "" "Op珲es longas:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" #: ../eject.c:156 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "Par鈓etro pode ser um dispositivo ou um ponto de montagem.\n" "Se omitido, o nome padr鉶 `%s'.\n" "Por padr鉶 tenta -r, -s, -f e -q, nessa ordem, at obter sucesso.\n" #: ../eject.c:209 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: argumento inv醠ido para op玢o --auto/-a\n" #: ../eject.c:221 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: argumento inv醠ido para op玢o --changerslot/-c\n" #: ../eject.c:233 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: argumento inv醠ido para a op玢o --cdspeed/-x\n" "" #: ../eject.c:273 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "vers鉶 %s por Jeff Tranter (tranter@pobox.com)\n" #: ../eject.c:283 #, c-format msgid "%s: too many arguments\n" msgstr "%s: muitos par鈓etros\n" #: ../eject.c:331 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: n鉶 p鬱e alocar mem髍ia\n" #: ../eject.c:404 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: comando auto-ejetor de CD-ROM falhou: %s\n" #: ../eject.c:421 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: comando seletor de disco do CD-ROM falhou: %s\n" #: ../eject.c:427 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: comando carregador de CD-ROM da bandeja falhou: %s\n" #: ../eject.c:431 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: bandeja do IDE/ATAPI CD-ROM n鉶 suportada por este kernel\n" #: ../eject.c:446 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: comando para fechar a bandeja do CD-ROM falhou: %s\n" #: ../eject.c:450 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: comando para fechar a bandeja do CD-ROM n鉶 suportada por este kernel\n" #: ../eject.c:467 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: comando para selecionar velocidade do CD-ROM falhou: %s\n" #: ../eject.c:471 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: comando para selecionar velocidade do CD-ROM n鉶 suportada por este kernel\n" #: ../eject.c:581 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: n鉶 p鬱e executar /bin/umount de `%s': %s\n" #: ../eject.c:586 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: n鉶 p鬱e criar a c髉ia: %s\n" #: ../eject.c:591 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: unmount do `%s' n鉶 terminou normalmente\n" #: ../eject.c:595 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: unmount do `%s' falhou\n" #: ../eject.c:608 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: n鉶 p鬱e abrir `%s'\n" #: ../eject.c:653 ../eject.c:740 #, c-format msgid "unable to open %s: %s\n" msgstr "n鉶 pode abrir %s: %s\n" #: ../eject.c:700 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: n鉶 pode abrir /etc/fstab: %s\n" #: ../eject.c:750 ../eject.c:984 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: desmontando `%s'\n" #: ../eject.c:823 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' um dispositivo multi-particionado\n" #: ../eject.c:828 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' n鉶 um dispositivo multi-particionado\n" #: ../eject.c:841 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: estabelecendo velocidade autom醫ica para o CD-ROM\n" #: ../eject.c:843 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: estabelecendo a velocidade do CD-ROM para %dX\n" #: ../eject.c:879 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: dispositivo padr鉶: `%s'\n" #: ../eject.c:887 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: utilizando dispositivo padr鉶 `%s'\n" #: ../eject.c:896 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: o nome do dispositivo `%s'\n" #: ../eject.c:901 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: n鉶 p鬱e encontrar ou abrir o dispositivo para `%s'\n" #: ../eject.c:905 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: o nome expandido `%s'\n" #: ../eject.c:910 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' um link para `%s'\n" #: ../eject.c:919 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: profundidade m醲ima do link simb髄ico excedida: `%s'\n" #: ../eject.c:927 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' est montado em `%s'\n" #: ../eject.c:929 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' n鉶 est montado\n" #: ../eject.c:941 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' pode ser montado em `%s'\n" #: ../eject.c:943 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' n鉶 um ponto de montagem\n" #: ../eject.c:949 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: o dispositivo `%s'\n" #: ../eject.c:951 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: saindo devido a op玢o -n/--noop\n" #: ../eject.c:959 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: habilitando o modo auto-ejetor para `%s'\n" #: ../eject.c:961 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: desabilitando o modo auto-ejetor para `%s'\n" #: ../eject.c:971 #, c-format msgid "%s: closing tray\n" msgstr "%s: fechando a bandeja\n" #: ../eject.c:997 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: selecionando o disco do CD-ROM #%d\n" #: ../eject.c:1015 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: tentando ejetar `%s' utilizando o comando eject do CD-ROM\n" #: ../eject.c:1019 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: Comando eject do CD-ROM foi realizado com sucesso\n" #: ../eject.c:1021 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: Comando eject do CD-ROM falhou\n" #: ../eject.c:1027 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: tentando ejetar `%s' utilizando comandos SCSI\n" #: ../eject.c:1031 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: SCSI eject foi realizado com sucesso\n" #: ../eject.c:1033 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: SCSI eject falhou\n" #: ../eject.c:1039 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: tentando ejetar `%s' utilizando o comando eject do disquete\n" #: ../eject.c:1043 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: comando eject do disquete foi realizado com sucesso\n" #: ../eject.c:1045 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: comando eject do disquete falhou\n" #: ../eject.c:1051 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: tentando ejetar `%s' utilizando o comando de desconex鉶 da fita\n" #: ../eject.c:1055 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: comando de desconex鉶 da fita foi realizado com sucesso\n" #: ../eject.c:1057 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: comando de desconex鉶 da fita falhou\n" #: ../eject.c:1062 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: n鉶 p鬱e ejetar, 鷏timo erro: %s\n" #: ../volname.c:58 msgid "usage: volname []\n" msgstr "uso: volname []\n" #: ../volname.c:64 ../volname.c:70 ../volname.c:76 msgid "volname" msgstr "volname" eject-2.1.5+deb1+cvs20081104/po/fr.po0000644000175000017500000002511611104140325015364 0ustar djpigdjpig# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Free Software Foundation, Inc. # FIRST AUTHOR Jeff Tranter , 2001. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2001-06-07 12:23+0800\n" "PO-Revision-Date: 2002-01-04 18:57GMT\n" "Last-Translator: mathic \n" "Language-Team: Fran鏰is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.9.5\n" #: ../eject.c:110 ../eject.c:893 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: le p閞iph閞ique est `%s'\n" #: ../eject.c:112 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" msgstr "" "Eject version %s par Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- afficher usage de commande et sortir\n" " eject -V\t\t\t\t-- afficher version de commande et sortir\n" " eject [-vnrsfq] []\t\t-- 閖ecter le disque \n" " eject [-vn] -d\t\t\t-- afficher le p閞iph閞ique par d閒aut\n" " eject [-vn] -a on|off|1|0 []\t-- contr鬺er l'auto-閖ection\n" " eject [-vn] -c []\t-- changer disques de CD-ROM changer\n" " eject [-vn] -t []\t\t-- fermer le plateau\n" " eject [-vn] -x []\t-- mettre le CD-ROM la vitesse maximum\n" "Options:\n" " -v\t-- afficher verbeux\n" " -n\t-- n'閖ecte pas, afficher device seulement\n" " -r\t-- 閖ecter le CD-ROM\n" " -s\t-- 閖ecter p閞iph閞ique SCSI\n" " -f\t-- 閖ecter la disquette\n" " -q\t-- 閖ecter la cassette (tape)\n" " -p\t-- utiliser /proc/mounts au lieu de /etc/mtab\n" #: ../eject.c:133 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" msgstr "" "Options long:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" #: ../eject.c:141 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "Param鑤re ce peut-阾re un fichier de p閞iph閞ique ou un point de montage.\n" "Si omettre, nom defaut de `%s'.\n" "Par d閒aut utiliser -r, -s, -f, et -q en ordre jusqu'au succes.\n" #: ../eject.c:193 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: argument invalide pour l'option --auto/-a\n" #: ../eject.c:205 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: argument invalide pour l'option --changerslot/-c\n" #: ../eject.c:217 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: argument invalide pour l'option --cdspeed/-x\n" #: ../eject.c:254 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject version %s par Jeff Tranter (tranter@pobox.com)\n" #: ../eject.c:264 #, c-format msgid "%s: too many arguments\n" msgstr "%s: trop d'options\n" #: ../eject.c:366 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: l'auto-ejection du CD-ROM ne peut pas s'accomplir: %s\n" #: ../eject.c:383 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: la s閘ection du lecteur de CD-ROM ne peut pas s'accomplir: %s\n" #: ../eject.c:389 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: le chargement du CD-ROM ne peut pas s'accomplir: %s\n" #: ../eject.c:393 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: le changeur IDE/ATAPI CD-ROM n'est pas support par ce noyau\n" #: ../eject.c:408 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: le plateau du CD-ROM ne peut pas se fermer: %s\n" #: ../eject.c:412 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: la commande de fermeture du plateau du CD-ROM n'est pas support閑 par ce noyau\n" #: ../eject.c:429 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: la s閘ection de la vitesse du CD-ROM ne peut pas s'accomplir: %s\n" #: ../eject.c:433 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: la commande de s閘ection du CD-ROM n'est pas support閑 par ce noyau\n" #: ../eject.c:543 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: incapable de faire exec /bin/umount de `%s': %s\n" #: ../eject.c:548 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: incapable to faire fork: %s\n" #: ../eject.c:553 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: le d閙ontage de `%s' n'a pas pu sortir normalement\n" #: ../eject.c:557 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: le d閙ontage de `%s' a 閏hou閈n" #: ../eject.c:570 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: impossible d'ouvrir le fichier `%s'\n" #: ../eject.c:615 ../eject.c:691 #, c-format msgid "unable to open %s: %s\n" msgstr "impossible d'ouvrir le fichier %s: %s\n" #: ../eject.c:655 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: impossible d'ouvrir le fichier /etc/fstab: %s\n" #: ../eject.c:701 ../eject.c:928 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: d閙ontage de `%s'\n" #: ../eject.c:768 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' est un p閞iph閞ique plusieurs partitions\n" #: ../eject.c:773 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' n'est pas un p閞iph閞ique partitionn閈n" #: ../eject.c:786 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: mettre la vitesse du CD-ROM en position automatique\n" #: ../eject.c:788 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: mettre la vitesse du CD-ROM %dX\n" #: ../eject.c:824 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: p閞iph閞ique par d閒aut: `%s'\n" #: ../eject.c:832 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: utiliser le p閞iph閞ique par d閒aut `%s'\n" #: ../eject.c:841 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: le nom du p閞iph閞ique est `%s'\n" #: ../eject.c:846 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: impossible de trouver ou d'ouvrir le p閞iph閞ique pour: `%s'\n" #: ../eject.c:850 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: le nom 閠endu est `%s'\n" #: ../eject.c:855 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' est un lien de `%s'\n" #: ../eject.c:864 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: hauteur de lien symbolique maximum d閜ass: `%s'\n" #: ../eject.c:872 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' est mont `%s'\n" #: ../eject.c:874 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' n'est pas mont閈n" #: ../eject.c:885 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' ne peut pas 阾re montr `%s'\n" #: ../eject.c:887 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' n'est pas un point de montage\n" #: ../eject.c:895 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: sorti cause de l'option -n/--noop\n" #: ../eject.c:903 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: activation du mode d'auto-閖ection pour `%s'\n" #: ../eject.c:905 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: d閟activation du mode d'auto-閖ection pour `%s'\n" #: ../eject.c:915 #, c-format msgid "%s: closing tray\n" msgstr "%s: ferme le plateau\n" #: ../eject.c:941 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: selection du disque CD-ROM #%d\n" #: ../eject.c:959 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: tentative d'閖ection `%s' avec la commande d'閖ection du CD-ROM\n" #: ../eject.c:963 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: la commande d'閖ection du CD-ROM a r閡ssi\n" #: ../eject.c:965 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: la commande d'閖ection du CD-ROM n'a pas r閡ssi\n" #: ../eject.c:971 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: tentative d'閖ection `%s' avec la commande SCSI\n" #: ../eject.c:975 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: la commande d'閖ection SCSI a r閡ssi\n" #: ../eject.c:977 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: la commande SCSI d'閖ection n'a pas r閡ssi\n" #: ../eject.c:983 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: tentative d'閖ection `%s' avec la commande de la disquette\n" #: ../eject.c:987 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: la commande de la disquette r閡ssi\n" #: ../eject.c:989 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: la commande de la disquette n'a pas r閡ssi\n" #: ../eject.c:995 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: la tentative d'閖ection `%s' avec la commande de la cassette (tape) hors ligne\n" #: ../eject.c:999 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: la commande de la cassette (tape) hors ligne a r閡ssi\n" #: ../eject.c:1001 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: la command de la cassette (tape) hors lignen'a pas r閡ssi\n" #: ../eject.c:1006 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: incapable d'閖ecter, derni鑢e erreur: %s\n" #: ../volname.c:57 msgid "usage: volname []\n" msgstr "usage: volname []\n" #: ../volname.c:63 ../volname.c:69 ../volname.c:75 msgid "volname" msgstr "volname" eject-2.1.5+deb1+cvs20081104/po/cs.po0000644000175000017500000002540211104140325015360 0ustar djpigdjpig# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # Jeff Tranter , 2005. # msgid "" msgstr "" "Project-Id-Version: eject 2.0.13deb-4\n" "POT-Creation-Date: 2004-05-07 01:11+0200\n" "PO-Revision-Date: 2006-05-29 13:50+0200\n" "Last-Translator: Marek 膶ernock媒 \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../eject.c:125 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Eject verze %s od Jeffa Trantera (tranter@pobox.com), 膷esk媒 p艡eklad Marv\n" "Pou啪it铆:\n" " eject -h\t\t\t\t-- zobraz铆 tuto n谩pov臎du a skon膷铆\n" " eject -V\t\t\t\t-- zobraz铆 verzi programu a skon膷铆\n" " eject [-vnrsfq] []\t\t-- vysune za艡铆zen铆\n" " eject [-vn] -d\t\t\t-- zobraz铆 v媒choz铆 za艡铆zen铆\n" " eject [-vn] -a on|off|1|0 []\t-- zapne (on)/vypne (off) automatick茅 vysouv谩n铆\n" " eject [-vn] -c []\t-- vym臎n铆 disk v CD-ROM m臎ni膷i\n" " eject [-vn] -t []\t\t-- zav艡e dv铆艡ka\n" " eject [-vn] -x []\t-- nastav铆 rychlost CD-ROM\n" "Volby:\n" " -v\t-- povol铆 v媒pis koment谩艡暖\n" " -n\t-- nevysouvat, jen uk谩zat, jestli za艡铆zen铆 existuje\n" " -r\t-- vysunout CD-ROM\n" " -s\t-- vysunout SCSI za艡铆zen铆\n" " -f\t-- vysunout disketu\n" " -q\t-- vysunout p谩sku\n" " -p\t-- pou啪铆t /proc/mounts m铆sto /etc/mtab\n" " -m\t-- neodpojovat za艡铆zen铆 ikdy啪 je p艡ipojeno\n" #: ../eject.c:148 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" msgstr "" "Dlouh茅 volby:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" #: ../eject.c:156 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "Parametr m暖啪e b媒t soubor za艡铆zen铆 nebo p艡铆pojn媒 bod.\n" "Pokud jej vynech谩te, jako v媒choz铆 se zvol铆 \"%s\".\n" "Jako v媒choz铆 se zkou拧铆 -r, -s, -f, a -q v tomto po艡ad铆, dokud se nezada艡铆.\n" #: ../eject.c:209 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: neplatn媒 argument pro volbu --auto/-a\n" #: ../eject.c:221 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: neplatn媒 argument pro volbu --changerslot/-c\n" #: ../eject.c:233 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: neplatn媒 argument pro volbu --cdspeed/-x\n" #: ../eject.c:273 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject verze %s od Jeffa Trantera (tranter@pobox.com), 膷esk媒 p艡eklad Marv\n" #: ../eject.c:283 #, c-format msgid "%s: too many arguments\n" msgstr "%s: p艡铆li拧 mnoho argument暖\n" #: ../eject.c:331 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: nelze p艡id臎lit pam臎钮\n" #: ../eject.c:404 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: p艡铆kaz pro automatick茅 vysunut铆 CD-ROM selhal: %s\n" #: ../eject.c:421 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: p艡铆kaz pro volbu disku CD-ROM selhal: %s\n" #: ../eject.c:427 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: p艡铆kaz pro na膷ten铆 CD-ROM ze z谩sobn铆ku m臎ni膷e selhal: %s\n" #: ../eject.c:431 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: toto j谩dro nepodporuje IDE/ATAPI CD-ROM m臎ni膷\n" #: ../eject.c:446 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: p艡铆kaz pro zav艡en铆 dv铆艡ek CD-ROM selhal: %s\n" #: ../eject.c:450 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: toto j谩dro nepodporuje p艡铆kaz pro zav艡en铆 dv铆艡ek CD-ROM\n" #: ../eject.c:467 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: p艡铆kaz pro volbu rychlosti CD-ROM selhal: %s\n" #: ../eject.c:471 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: toto j谩dro nepodporuje p艡铆kaz pro volbu rychlosti CD-ROM\n" #: ../eject.c:581 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: nelze spustit /bin/umount pro \"%s\": %s\n" #: ../eject.c:586 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: nelze rozv臎tvit proces: %s\n" #: ../eject.c:591 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: odopojen铆 \"%s\" neskon膷ilo norm谩ln臎\n" #: ../eject.c:595 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: odpojen铆 \"%s\" selhalo\n" #: ../eject.c:608 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: nelze otev艡铆t \"%s\"\n" #: ../eject.c:653 ../eject.c:740 #, c-format msgid "unable to open %s: %s\n" msgstr "nelze otev艡铆t %s: %s\n" #: ../eject.c:700 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: nelze otev艡铆t /etc/fstab: %s\n" #: ../eject.c:750 ../eject.c:984 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: odpojuje se \"%s\"\n" #: ../eject.c:823 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: \"%s\" je za艡铆zen铆 s v铆ce odd铆ly\n" #: ../eject.c:828 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: \"%s\" nen铆 za艡铆zen铆 s v铆ce odd铆ly\n" #: ../eject.c:841 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: nastavuje se rychlost CD-ROM na auto\n" #: ../eject.c:843 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: nastavuje se rychlost CD-ROM na %dX\n" #: ../eject.c:879 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: v媒choz铆 za艡铆zen铆: \"%s\"\n" #: ../eject.c:887 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: pou啪iv谩 se v媒choz铆ho za艡铆zen铆 \"%s\"\n" #: ../eject.c:896 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: n谩zev za艡铆zen铆 je \"%s\"\n" #: ../eject.c:901 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: nelze nal茅zt nebo otev艡铆t za艡铆zen铆 pro: \"%s\"\n" #: ../eject.c:905 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: roz拧铆艡en媒 n谩zev je \"%s\"\n" #: ../eject.c:910 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: \"%s\" je odkaz na \"%s\"\n" #: ../eject.c:919 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: p艡ekro膷ena maxim谩ln铆 hloubka symbolick茅ho odkazu: \"%s\"\n" #: ../eject.c:927 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: \"%s\" je p艡ipojen媒 v \"%s\"\n" #: ../eject.c:929 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: \"%s\" nen铆 p艡ipojen媒\n" #: ../eject.c:941 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: \"%s\" m暖啪e b媒t p艡ipojen媒 v \"%s\"\n" #: ../eject.c:943 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: \"%s\" nen铆 p艡铆pojn媒 bod\n" #: ../eject.c:949 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: za艡铆zen铆 je \"%s\"\n" #: ../eject.c:951 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: ukon膷uje se na z谩klad臎 volby -n/--noop\n" #: ../eject.c:959 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: povoluje re啪im automatick茅ho vysunut铆 pro \"%s\"\n" #: ../eject.c:961 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: zakazuje se re啪im automatick茅ho vysunut铆 pro \"%s\"\n" #: ../eject.c:971 #, c-format msgid "%s: closing tray\n" msgstr "%s: zav铆raj铆 se dv铆艡ka\n" #: ../eject.c:997 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: vol铆 se CD-ROM disk #%d\n" #: ../eject.c:1015 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: zkou拧铆 se vysunout \"%s\" s pou啪it铆m p艡铆kazu pro vysunut铆 CD-ROM\n" #: ../eject.c:1019 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: p艡铆kaz pro vysunut铆 CD-ROM usp臎l\n" #: ../eject.c:1021 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: p艡铆kaz pro vysunut铆 CD-ROM selhal\n" #: ../eject.c:1027 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: zkou拧铆 se vysunout \"%s\" s pou啪it铆m p艡铆kazu SCSI pro vysunut铆\n" #: ../eject.c:1031 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: p艡铆kaz SCSI pro vysunut铆 usp臎l\n" #: ../eject.c:1033 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: p艡铆kaz SCSI pro vysunut铆 selhal\n" #: ../eject.c:1039 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: zkou拧铆 se vysunout \"%s\" s pou啪it铆m p艡铆kazu pro vysunut铆 diskety\n" #: ../eject.c:1043 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: p艡铆kaz pro vysunut铆 diskety usp臎l\n" #: ../eject.c:1045 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: p艡铆kaz pro vysunut铆 diskety selhal\n" #: ../eject.c:1051 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: zkou拧铆 se vysunout \"%s\" s pou啪it铆m p艡铆kazu pro odpojen铆 p谩sky\n" #: ../eject.c:1055 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: p艡铆kaz pro odpojen铆 p谩sky usp臎l\n" #: ../eject.c:1057 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: p艡铆kaz pro odpojen铆 p谩sky selhal\n" #: ../eject.c:1062 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: nen铆 mo啪n茅 vysunout, posledn铆 chyba: %s\n" #: ../volname.c:58 msgid "usage: volname []\n" msgstr "pou啪it铆: volname []\n" #: ../volname.c:64 ../volname.c:70 ../volname.c:76 msgid "volname" msgstr "n谩zev svazku" eject-2.1.5+deb1+cvs20081104/po/ru.po0000644000175000017500000003532011104140504015400 0ustar djpigdjpig# Translation of eject.po to Russian # Copyright (C) 2001, 2006 Free Software Foundation, Inc. # # Jeff Tranter , 2001. # Victor Ananjevsky , 2006. # Pavel Maryanov , 2006. msgid "" msgstr "" "Project-Id-Version: eject\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-11-18 18:36+0200\n" "PO-Revision-Date: 2006-11-18 20:27+0200\n" "Last-Translator: Pavel Maryanov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../eject.c:156 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfqpm] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -T []\t\t-- toggle tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" " eject [-vn] -X []\t\t-- list CD-ROM available speeds\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Eject 胁械褉褋懈褟 %s, Jeff Tranter (tranter@pobox.com)\n" "袠褋锌芯谢褜蟹芯胁邪薪懈械:\n" " eject -h\t\t\t\t-- 锌芯泻邪蟹邪褌褜 褋锌褉邪胁泻褍 锌芯 懈褋锌芯谢褜蟹芯胁邪薪懈褞 懈 胁褘泄褌懈\n" " eject -V\t\t\t\t-- 锌芯泻邪蟹邪褌褜 胁械褉褋懈褞 锌褉芯谐褉邪屑屑褘 懈 胁褘泄褌懈\n" " eject [-vnrsfq] [<懈屑褟>]\t\t-- 懈蟹胁谢械褔褜 褍褋褌褉芯泄褋褌胁芯\n" " eject [-vn] -d\t\t\t-- 锌芯泻邪蟹邪褌褜 褍褋褌褉芯泄褋褌胁芯 锌芯 褍屑芯谢褔邪薪懈褞\n" " eject [-vn] -a on|off|1|0 [<懈屑褟>]\t-- 胁泻谢褞褔懈褌褜/胁褘泻谢褞褔懈褌褜 邪胁褌芯懈蟹胁谢械褔械薪懈械\n" " eject [-vn] -c <褋谢芯褌> [<懈屑褟>]\t-- 褋屑械薪懈褌褜 写懈褋泻 胁 CD-褔械泄薪写卸械褉械\n" " eject [-vn] -t [<懈屑褟>]\t\t-- 蟹邪泻褉褘褌褜 谢芯褌芯泻\n" " eject [-vn] -T [<懈屑褟>]\t\t-- 锌械褉械泻谢褞褔懈褌褜 锌芯谢芯卸械薪懈械 谢芯褌泻邪\n" " eject [-vn] -x <褋泻芯褉芯褋褌褜> [<懈屑褟>]\t-- 褍褋褌邪薪芯胁懈褌褜 屑邪泻褋懈屑邪谢褜薪褍褞 褋泻芯褉芯褋褌褜 锌褉懈胁芯写邪\n" " eject [-vn] -X [<懈屑褟>]\t\t-- 胁褘胁械褋褌懈 褋锌懈褋芯泻 写芯褋褌褍锌薪褘褏 褋泻芯褉芯褋褌械泄 锌褉懈胁芯写邪\n" "袨锌褑懈懈:\n" " -v\t-- 锌芯写褉芯斜薪褘泄 胁褘胁芯写 写邪薪薪褘褏\n" " -n\t-- 薪械 懈蟹胁谢械泻邪褌褜, 锌褉芯褋褌芯 锌芯泻邪蟹邪褌褜 薪邪泄写械薪薪芯械 褍褋褌褉芯泄褋褌胁芯\n" " -r\t-- 懈蟹胁谢械褔褜 CD-ROM\n" " -s\t-- 懈蟹胁谢械褔褜 褍褋褌褉芯泄褋褌胁芯 SCSI\n" " -f\t-- 懈蟹胁谢械褔褜 写懈褋泻械褌褍\n" " -q\t-- 懈蟹胁谢械褔褜 谢械薪褌褍\n" " -p\t-- 懈褋锌芯谢褜蟹芯胁邪褌褜 /proc/mounts 胁屑械褋褌芯 /etc/mtab\n" " -m\t-- 薪械 芯褌屑芯薪褌懈褉芯胁邪褌褜 褍褋褌褉芯泄褋褌胁芯\n" #: ../eject.c:187 #, c-format msgid "" "Long options:\n" " -h --help -v --verbose -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi -f --floppy -X --listspeed -q --" "tape\n" " -n --noop -V --version\n" " -p --proc -m --no-unmount -T --traytoggle\n" msgstr "" "袛谢懈薪薪褘械 芯锌褑懈懈:\n" " -h --help -v --verbose -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi -f --floppy -X --listspeed -q --tape\n" " -n --noop -V --version\n" " -p --proc -m --no-unmount -T --traytoggle\n" #: ../eject.c:206 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "袩邪褉邪屑械褌褉 <懈屑褟> 屑芯卸械褌 锌褉械写褋褌邪胁谢褟褌褜 褎邪泄谢 褍褋褌褉芯泄褋褌胁邪 懈谢懈 褌芯褔泻褍 屑芯薪褌懈褉芯胁邪薪懈褟.\n" "袝褋谢懈 芯薪 薪械 褍泻邪蟹邪薪, 斜褍写械褌 懈褋锌芯谢褜蟹芯胁邪褌褜褋褟 `%s'.\n" "袩芯 褍屑芯谢褔邪薪懈褞 懈褋锌芯谢褜蟹褍褞褌褋褟 芯锌褑懈懈 -r, -s, -f 懈 -q (写芯 锌械褉胁芯谐芯 褍褋锌械褕薪芯谐芯 胁褘锌芯谢薪械薪懈褟).\n" #: ../eject.c:261 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: 薪械写芯锌褍褋褌懈屑褘泄 邪褉谐褍屑械薪褌 写谢褟 芯锌褑懈懈 --auto/-a\n" #: ../eject.c:273 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: 薪械写芯锌褍褋褌懈屑褘泄 邪褉谐褍屑械薪褌 写谢褟 芯锌褑懈懈 --changerslot/-c\n" #: ../eject.c:285 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: 薪械写芯锌褍褋褌懈屑褘泄 邪褉谐褍屑械薪褌 写谢褟 芯锌褑懈懈 --cdspeed/-x\n" #: ../eject.c:331 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject 胁械褉褋懈懈 %s, Jeff Tranter (tranter@pobox.com)\n" #: ../eject.c:341 #, c-format msgid "%s: too many arguments\n" msgstr "%s: 褋谢懈褕泻芯屑 屑薪芯谐芯 邪褉谐褍屑械薪褌芯胁\n" #: ../eject.c:396 ../eject.c:1037 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 胁褘写械谢懈褌褜 锌邪屑褟褌褜\n" #: ../eject.c:401 #, c-format msgid "%s: FindDevice called too often\n" msgstr "%s: 褋谢懈褕泻芯屑 屑薪芯谐芯 胁褘蟹芯胁芯胁 褎褍薪泻褑懈懈 FindDevice\n" #: ../eject.c:475 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: 褋斜芯泄 泻芯屑邪薪写褘 邪胁褌芯懈蟹胁谢械褔械薪懈褟 谢芯褌泻邪: %s\n" #: ../eject.c:492 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: 褋斜芯泄 泻芯屑邪薪写褘 胁褘斜芯褉邪 写懈褋泻邪: %s\n" #: ../eject.c:498 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: 褋斜芯泄 泻芯屑邪薪写褘 蟹邪谐褉褍蟹泻懈 写懈褋泻邪 懈蟹 褋谢芯褌邪: %s\n" #: ../eject.c:502 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: IDE/ATAPI-褔械泄薪写卸械褉 CD 薪械 锌芯写写械褉卸懈胁邪械褌褋褟 褟写褉芯屑\n" #: ../eject.c:521 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: 褋斜芯泄 泻芯屑邪薪写褘 蟹邪泻褉褘褌懈褟 谢芯褌泻邪 锌褉懈胁芯写邪: %s\n" #: ../eject.c:525 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: 蟹邪泻褉褘褌懈械 谢芯褌泻邪 锌褉懈胁芯写邪 薪械 锌芯写写械褉卸懈胁邪械褌褋褟 褟写褉芯屑\n" #: ../eject.c:572 #, c-format msgid "%s: CD-ROM tray toggle command not supported by this kernel\n" msgstr "%s: 蟹邪泻褉褘褌懈械 谢芯褌泻邪 锌褉懈胁芯写邪 薪械 锌芯写写械褉卸懈胁邪械褌褋褟 褟写褉芯屑\n" #: ../eject.c:589 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: 褋斜芯泄 泻芯屑邪薪写褘 胁褘斜芯褉邪 褋泻芯褉芯褋褌懈 锌褉懈胁芯写邪: %s\n" #: ../eject.c:593 ../eject.c:674 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: 胁褘斜芯褉 褋泻芯褉芯褋褌懈 锌褉懈胁芯写邪 薪械 锌芯写写械褉卸懈胁邪械褌褋褟 褟写褉芯屑\n" #: ../eject.c:608 #, c-format msgid "%s: unable to read the speed from /proc/sys/dev/cdrom/info\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 锌褉芯褔懈褌邪褌褜 蟹薪邪褔械薪懈械 褋泻芯褉芯褋褌懈 懈蟹 /proc/sys/dev/cdrom/info\n" #: ../eject.c:624 #, c-format msgid "%s: error while finding CD-ROM name\n" msgstr "%s: 薪械 褍写邪谢芯褋褜 薪邪泄褌懈 懈屑褟 锌褉懈胁芯写邪\n" #: ../eject.c:637 ../eject.c:645 #, c-format msgid "%s: error while reading speed\n" msgstr "%s: 褋斜芯泄 褔褌械薪懈褟 蟹薪邪褔械薪懈褟 褋泻芯褉芯褋褌懈\n" #: ../eject.c:794 #, c-format msgid "%s: unable to exec umount of `%s': %s\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 胁褘锌芯谢薪懈褌褜 umount 写谢褟 `%s': %s\n" #: ../eject.c:799 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 褋芯蟹写邪褌褜 写芯褔械褉薪懈泄 锌褉芯褑械褋褋: %s\n" #: ../eject.c:804 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: 薪械泻芯褉褉械泻褌薪芯械 芯褌屑芯薪褌懈褉芯胁邪薪懈械 `%s'\n" #: ../eject.c:808 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: 褋斜芯泄 锌褉懈 芯褌屑芯薪褌懈褉芯胁邪薪懈懈 `%s'\n" #: ../eject.c:821 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 芯褌泻褉褘褌褜`%s'\n" #: ../eject.c:867 ../eject.c:954 #, c-format msgid "unable to open %s: %s\n" msgstr "薪械 褍写邪褢褌褋褟 芯褌泻褉褘褌褜%s: %s\n" #: ../eject.c:914 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 芯褌泻褉褘褌褜 /etc/fstab: %s\n" #: ../eject.c:964 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: 芯褌屑芯薪褌懈褉芯胁邪薪懈械 `%s'\n" #: ../eject.c:1044 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' 褟胁谢褟械褌褋褟 褍褋褌褉芯泄褋褌胁芯屑 褋 薪械褋泻芯谢褜泻懈屑懈 褉邪蟹写械谢邪屑懈\n" #: ../eject.c:1049 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' 薪械 褟胁谢褟械褌褋褟 褍褋褌褉芯泄褋褌胁芯屑 褋 薪械褋泻芯谢褜泻懈屑懈 褉邪蟹写械谢邪屑懈\n" #: ../eject.c:1062 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: 褍褋褌邪薪芯胁泻邪 邪胁褌芯屑邪褌懈褔械褋泻芯谐芯 胁褘斜芯褉邪 褋泻芯褉芯褋褌懈 锌褉懈胁芯写邪\n" #: ../eject.c:1064 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: 褍褋褌邪薪芯胁泻邪 褋泻芯褉芯褋褌懈 锌褉懈胁芯写邪 胁 %dX\n" #: ../eject.c:1102 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: 褍褋褌褉芯泄褋褌胁芯 锌芯 褍屑芯谢褔邪薪懈褞: `%s'\n" #: ../eject.c:1110 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: 懈褋锌芯谢褜蟹褍械褌褋褟 褍褋褌褉芯泄褋褌胁芯 锌芯 褍屑芯谢褔邪薪懈褞 `%s'\n" #: ../eject.c:1119 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: 懈屑褟 褍褋褌褉芯泄褋褌胁邪 - `%s'\n" #: ../eject.c:1125 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 薪邪泄褌懈 懈谢懈 芯褌泻褉褘褌褜 褍褋褌褉芯泄褋褌胁芯 写谢褟 `%s'\n" #: ../eject.c:1130 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: 锌芯谢薪芯械 懈屑褟 - `%s'\n" #: ../eject.c:1139 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' 褟胁谢褟械褌褋褟 褋褋褘谢泻芯泄 薪邪 `%s'\n" #: ../eject.c:1150 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: 锌褉械胁褘褕械薪邪 屑邪泻褋懈屑邪谢褜薪邪褟 谐谢褍斜懈薪邪 褋懈屑胁芯谢褜薪褘褏 褋褋褘谢芯泻: `%s'\n" #: ../eject.c:1158 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' 锌褉懈屑芯薪褌懈褉芯胁邪薪 胁 `%s'\n" #: ../eject.c:1161 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' 薪械 锌褉懈屑芯薪褌懈褉芯胁邪薪\n" #: ../eject.c:1173 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' 屑芯卸械褌 斜褘褌褜 锌褉懈屑芯薪褌懈褉芯胁邪薪 胁 `%s'\n" #: ../eject.c:1175 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' 薪械 褟胁谢褟械褌褋褟 褌芯褔泻芯泄 屑芯薪褌懈褉芯胁邪薪懈褟\n" #: ../eject.c:1182 #, c-format msgid "%s: tried to use `%s' as device name but it is no block device\n" msgstr "%s: 锌芯锌褘褌泻邪 懈褋锌芯谢褜蟹芯胁邪薪懈褟 `%s' 胁 泻邪褔械褋褌胁械 懈屑械薪懈 褍褋褌褉芯泄褋褌胁邪, 泻芯褌芯褉芯械 薪械 褟胁谢褟械褌褋褟 斜谢芯褔薪褘屑 褍褋褌褉芯泄褋褌胁芯屑\n" #: ../eject.c:1190 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: 褍褋褌褉芯泄褋褌胁芯 - `%s'\n" #: ../eject.c:1192 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: 胁褘褏芯写 懈蟹-蟹邪 芯锌褑懈懈 -n/--noop\n" #: ../eject.c:1200 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: 胁泻谢褞褔邪械褌褋褟 褉械卸懈屑邪 邪胁褌芯懈蟹胁谢械褔械薪懈褟 写谢褟 `%s'\n" #: ../eject.c:1202 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: 芯褌泻谢褞褔邪械褌褋褟 褉械卸懈屑 邪胁褌芯懈蟹胁谢械褔械薪懈褟 写谢褟 `%s'\n" #: ../eject.c:1212 #, c-format msgid "%s: closing tray\n" msgstr "%s: 谢芯褌芯泻 蟹邪泻褉褘胁邪械褌褋褟\n" #: ../eject.c:1222 #, c-format msgid "%s: listing CD-ROM speed\n" msgstr "%s: 胁褘胁芯写懈褌褋褟 褋锌懈褋芯泻 褋泻芯褉芯褋褌械泄 锌褉懈胁芯写邪\n" #: ../eject.c:1234 #, c-format msgid "%s: unmounting device `%s' from `%s'\n" msgstr "%s: 褍褋褌褉芯泄褋褌胁芯 `%s' 芯褌屑芯薪褌懈褉褍械褌褋褟 芯褌 `%s'\n" #: ../eject.c:1247 #, c-format msgid "%s: toggling tray\n" msgstr "%s: 锌械褉械泻谢褞褔邪械褌褋褟 褋芯褋褌芯褟薪懈械 谢芯褌泻邪\n" #: ../eject.c:1257 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: 胁褘斜懈褉邪械褌褋褟 写懈褋泻 #%d\n" #: ../eject.c:1275 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: 锌芯锌褘褌泻邪 懈蟹胁谢械褔褜 `%s' 褋 锌芯屑芯褖褜褞 泻芯屑邪薪写褘 懈蟹胁谢械褔械薪懈褟 谢芯褌泻邪\n" #: ../eject.c:1279 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: 懈蟹胁谢械褔械薪懈械 谢芯褌泻邪 锌褉芯褕谢芯 褍褋锌械褕薪芯\n" #: ../eject.c:1281 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: 褋斜芯泄 锌褉懈 懈蟹胁谢械褔械薪懈懈 谢芯褌泻邪\n" #: ../eject.c:1288 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: 锌芯锌褘褌泻邪 懈蟹胁谢械褔褜 `%s' 褋 锌芯屑芯褖褜褞 泻芯屑邪薪写 SCSI\n" #: ../eject.c:1292 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: 懈蟹胁谢械褔械薪懈械 SCSI 锌褉芯褕谢芯 褍褋锌械褕薪芯\n" #: ../eject.c:1294 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: 褋斜芯泄 锌褉懈 懈蟹胁谢械褔械薪懈懈 SCSI\n" #: ../eject.c:1302 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: 锌芯锌褘褌泻邪 懈蟹胁谢械褔褜 `%s' 褋 锌芯屑芯褖褜褞 泻芯屑邪薪写褘 懈蟹胁谢械褔械薪懈褟 写懈褋泻械褌褘\n" #: ../eject.c:1306 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: 懈蟹胁谢械褔械薪懈械 写懈褋泻械褌褘 锌褉芯褕谢芯 褍褋锌械褕薪芯\n" #: ../eject.c:1308 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: 褋斜芯泄 锌褉懈 懈蟹胁谢械褔械薪懈懈 写懈褋泻械褌褘\n" #: ../eject.c:1316 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: 锌芯锌褘褌泻邪 懈蟹胁谢械褔褜 `%s' 褋 锌芯屑芯褖褜褞 泻芯屑邪薪写褘 芯褋褌邪薪芯胁泻懈 谢械薪褌褘\n" #: ../eject.c:1320 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: 芯褋褌邪薪芯胁泻邪 谢械薪褌褘 锌褉芯褕谢邪 褍褋锌械褕薪芯\n" #: ../eject.c:1322 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: 褋斜芯泄 锌褉懈 芯褋褌邪薪芯胁泻械 谢械薪褌褘\n" #: ../eject.c:1328 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: 薪械 褍写邪褢褌褋褟 懈蟹胁谢械褔褜, 锌芯褋谢械写薪褟褟 芯褕懈斜泻邪: %s\n" #: ../volname.c:59 #, c-format msgid "usage: volname []\n" msgstr "袠褋锌芯谢褜蟹芯胁邪薪懈械: 屑械褌泻邪_褌芯屑邪 [<褎邪泄谢_褍褋褌褉芯泄褋褌胁邪>]\n" #: ../volname.c:65 ../volname.c:71 ../volname.c:77 msgid "volname" msgstr "屑械褌泻邪_褌芯屑邪" eject-2.1.5+deb1+cvs20081104/po/de.po0000644000175000017500000002456111104140325015350 0ustar djpigdjpig# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Free Software Foundation, Inc. # Jeff Tranter , 2001. # msgid "" msgstr "" "Project-Id-Version: eject 2.0.13deb-4\n" "POT-Creation-Date: 2004-05-07 01:11+0200\n" "PO-Revision-Date: 2004-05-07 01:35+0200\n" "Last-Translator: nordi \n" "Language-Team:\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: ../eject.c:125 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Eject version %s von Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- gibt die Hilfe aus und beendet das Programm\n" " eject -V\t\t\t\t-- gibt Versioninformation aus und beendet das Programm\n" " eject [-vnrsfq] []\t\t-- Laufwerk 鰂fnen\n" " eject [-vn] -d\t\t\t-- zeige Standardlaufwerk an\n" " eject [-vn] -a on|off|1|0 []\t-- auto-eject an-/ausschalten\n" " eject [-vn] -c []\t-- wechselt CD im CD-Wechsler\n" " eject [-vn] -t []\t\t-- Laufwerk schlie遝n\n" " eject [-vn] -x []\t-- maximale CD-ROM Geschwindigkeit " "setzen\n" "Options:\n" " -v\t-- zeige Details an\n" " -n\t-- Laufwerk nicht 鰂fnen, nur gefundenes Ger鋞 anzeigen\n" " -r\t-- CD-ROM auswerfen\n" " -s\t-- Disk im SCSI Ger鋞 auswerfen\n" " -f\t-- Floppy auswerfen\n" " -q\t-- Band auswerfen\n" " -p\t-- benutze/proc/mounts statt /etc/mtab\n" " -m\t-- Ger鋞 nicht unmounten, selbst wenn es gemounted ist\n" #: ../eject.c:148 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" msgstr "" "Lange Optionen:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" #: ../eject.c:156 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "Parameter kann eine Ger鋞edatei oder ein Mount Punkt sein.\n" "Wenn ausgelassen wird `%s' gew鋒lt.\n" "Versucht standardm溥ig -r, -s, -f und -q in dieser Reihenfolge bis es funktioniert.\n" #: ../eject.c:209 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: ung黮tiges Argument f黵 die --auto/-a Option\n" #: ../eject.c:221 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: ung黮tiges Argument f黵 die --changerslot/-c Option\n" #: ../eject.c:233 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: ung黮tiges Argument f黵 die --cdspeed/-x Option\n" #: ../eject.c:273 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject Version %s von Jeff Tranter (tranter@pobox.com)\n" #: ../eject.c:283 #, c-format msgid "%s: too many arguments\n" msgstr "%s: zu viele Optionen angegeben\n" #: ../eject.c:331 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: Konnte keinen Speicher allozieren\n" #: ../eject.c:404 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: CD-ROM auto-eject fehlgeschlagen: %s\n" #: ../eject.c:421 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: CD-ROM select disc fehlgeschlagen: %s\n" #: ../eject.c:427 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: CD-ROM load from slot fehlgeschlagen: %s\n" #: ../eject.c:431 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: IDE/ATAPI CD-ROM Wechsler von diesem Kernel nicht unterst黷zt\n" #: ../eject.c:446 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: CD-ROM Schlie遝n fehlgeschlagen: %s\n" #: ../eject.c:450 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: CD-ROM Schlie遝n von diesem Kernel nicht unterst黷zt\n" #: ../eject.c:467 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: CD-ROM selecter vitesse pas s'accomplir: %s\n" #: ../eject.c:471 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "" "%s: CD-ROM Geschwindigkeit setzen von diesem Kernel nicht unterst黷zt\n" #: ../eject.c:581 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: kann /bin/umount f黵 `%s' nicht ausf黨ren: %s\n" #: ../eject.c:586 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: kann nicht forken: %s\n" #: ../eject.c:591 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: Unmounten von `%s' nicht normal beendet\n" #: ../eject.c:595 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: Unmounten von `%s' fehlgeschlagen\n" #: ../eject.c:608 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: kann `%s' nicht 鰂fnen\n" #: ../eject.c:653 ../eject.c:740 #, c-format msgid "unable to open %s: %s\n" msgstr "kann %s nicht 鰂fnen: %s\n" #: ../eject.c:700 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: kann /etc/fstab nicht 鰂fnen: %s\n" #: ../eject.c:750 ../eject.c:984 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: Unmounte `%s'\n" #: ../eject.c:823 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' ist ein Ger鋞 mit mehreren Partitionen\n" #: ../eject.c:828 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' ist kein Ger鋞 mit mehreren Partitionen\n" #: ../eject.c:841 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: setze CD-ROM Geschwindigkeit auf auto\n" #: ../eject.c:843 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: setze CD-ROM Geschwindigkeit auf %dX\n" #: ../eject.c:879 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: Standardger鋞: `%s'\n" #: ../eject.c:887 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: benutze Standardger鋞 `%s'\n" #: ../eject.c:896 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: Ger鋞ename ist `%s'\n" #: ../eject.c:901 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: kann Ger鋞 `%s' nicht finden/鰂fnen\n" #: ../eject.c:905 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: erweiterter Name ist `%s'\n" #: ../eject.c:910 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' ist ein Link auf `%s'\n" #: ../eject.c:919 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: maximale symbolische Link Tiefe 黚erschritten: `%s'\n" #: ../eject.c:927 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' ist nach `%s' gemountet\n" #: ../eject.c:929 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' ist nicht gemountet\n" #: ../eject.c:941 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' kann nach`%s' gemountet werden\n" #: ../eject.c:943 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' ist kein mount point\n" #: ../eject.c:949 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: Ger鋞 ist `%s'\n" #: ../eject.c:951 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: beende wegen -n/--noop Option\n" #: ../eject.c:959 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: aktiviere Auto-Auswurf f黵 `%s'\n" #: ../eject.c:961 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: deaktiviere Auto-Auswurf f黵 `%s'\n" #: ../eject.c:971 #, c-format msgid "%s: closing tray\n" msgstr "%s: schlie遝 jetzt\n" #: ../eject.c:997 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: w鋒le CD #%d\n" #: ../eject.c:1015 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: Versuche `%s' mit dem CD eject Befehl auszuwerfen\n" #: ../eject.c:1019 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: CD eject war erfolgreich\n" #: ../eject.c:1021 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: CD eject war nicht erfolgreich\n" #: ../eject.c:1027 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: versuche `%s' mit SCSI Befehlen auszuwerfen\n" #: ../eject.c:1031 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: SCSI eject war erfolgreich\n" #: ../eject.c:1033 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: SCSI eject war nicht erfolgreich\n" #: ../eject.c:1039 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: versuche `%s' mit Floppy Befehlen auszuwerfen\n" #: ../eject.c:1043 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: Floppy eject war erfolgreich\n" #: ../eject.c:1045 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: Floppy eject war nicht erfolgreich\n" #: ../eject.c:1051 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: versuche `%s' mit dem Band offline Befehl auszuwerfen\n" #: ../eject.c:1055 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: Band offline war erfolgreich\n" #: ../eject.c:1057 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: Band offline war nicht erfolgreich\n" #: ../eject.c:1062 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: Kann nicht auswerfen! Letzter Fehler: %s\n" #: ../volname.c:58 msgid "usage: volname []\n" msgstr "Benutzung: volname []\n" #: ../volname.c:64 ../volname.c:70 ../volname.c:76 msgid "volname" msgstr "Volname" eject-2.1.5+deb1+cvs20081104/po/Makefile0000644000175000017500000000247311104140325016056 0ustar djpigdjpigPKGNAME=eject PREFIX=$(DESTDIR)/usr INSTALL = install MODIR = $(PREFIX)/share/locale POTFILES = ../*.c ../*.h POFILES= de.po es.po fr.po ja.po ru.po tr.po zh_TW.po pt_BR.po cs_CZ.po all: fix-po-files: mv de_DE.po de.po mv es_ES.po es.po mv fr_FR.po fr.po mv ja_JP.eucJP.po ja.po mv ru_RU.po ru.po mv tr_TR.po tr.po mv zh_TW.UTF-8.po zh_TW.po restitute-po-files: mv de.po de_DE.po mv es.po es_ES.po mv fr.po fr_FR.po mv ja.po ja_JP.eucJP.po mv ru.po ru_RU.po mv tr.po tr_TR.po mv zh_TW.po zh_TW.UTF-8.po mo: files='$(POFILES)'; \ for file in $$files;do \ echo compiling $$LOCALENAME ; \ msgfmt $$file -o `echo $$file |sed 's/\.po$$/.mo/g'`; \ done install: $(MAKE) fix-po-files $(MAKE) mo files='$(POFILES)'; \ for file in $$files;do \ LOCALENAME=`echo $$file |sed 's/\.po$$//g'`; \ echo installing $$LOCALENAME ; \ MOPATH=$(MODIR)/$$LOCALENAME/LC_MESSAGES; \ if [ ! -d $$MOPATH ] ;then \ mkdir -p $$MOPATH; \ fi; \ cp $$LOCALENAME.mo $$MOPATH/$(PKGNAME).mo; \ done $(MAKE) restitute-po-files pot: xgettext --keyword=_ --keyword=N_ $(POTFILES) -o $(PKGNAME).pot merge: for i in *.po;do \ NN=`echo $$i |sed "s/\.po$$//g"` ;\ echo $$i $$NN ;\ msgmerge $$i $(PKGNAME).pot -o $$i.tmp.$$ && mv -vf $$i.tmp.$$ $$i;\ done clean: rm -fv *.mo distclean: clean distdir: eject-2.1.5+deb1+cvs20081104/po/es.po0000644000175000017500000002124511104140325015363 0ustar djpigdjpigmsgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2001-06-07 12:23+0800\n" "PO-Revision-Date: 2005-02-15 18:57GMT\n" "Last-Translator: Daniel \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: la orden de autoexpulsi贸n del CD-ROM ha fallado: %s\n" msgid "%s: CD-ROM eject command failed\n" msgstr "%s: la orden de expulsi贸n del CD-ROM ha fallado\n" msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: la orden de expulsi贸n ha sido exitosa\n" msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: la inserci贸n desde la bandeja del CD-ROM ha fallado: %s\n" msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: la selecci贸n del lector de CD-ROM ha fallado: %s\n" msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: la selecci贸n de la velocidad del CD-ROM ha fallado: %s\n" msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "" "%s: la orden de selecci贸n de velocidad del CD-ROM no esta soportada por" "茅ste kernel\n" msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: la orden de cierre de la bandeja del CD-ROM ha fallado: %s\n" msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "" "%s: la orden de cierre de la bandeja del CD-ROM no esta soportada por" "茅ste kernel\n" msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: el cambiador IDE/ATAPI CD-ROM no est谩 soportado por" "este kernel\n" msgid "%s: SCSI eject failed\n" msgstr "%s: la orden de expulsion SCSI ha fallado\n" msgid "%s: SCSI eject succeeded\n" msgstr "%s: la orden de expusi贸n SCSI ha sido exitosa\n" msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' no puede ser montado en `%s'\n" msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' es un enlace a `%s'\n" msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' es un dispositivo con m煤ltiples particiones\n" msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' esta montado en `%s'\n" msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' no es un punto de montaje\n" msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' no es un dispositivo con m煤ltiples particiones\n" msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' no est谩 montado\n" msgid "%s: closing tray\n" msgstr "%s: cerrando la bandeja\n" msgid "%s: default device: `%s'\n" msgstr "%s: dispositivo por defecto: `%s'\n" msgid "%s: device is `%s'\n" msgstr "%s: el dispositivo es `%s'\n" msgid "%s: device name is `%s'\n" msgstr "%s: el nombre del dispositivo es `%s'\n" msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: desactivando el modo de autoexpulsi贸n para `%s'\n" msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: activando el modo de autoexpulsi贸n para `%s'\n" msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: saliendo debido a la opci贸n -n/--noop\n" msgid "%s: expanded name is `%s'\n" msgstr "%s: el nombre extendido es `%s'\n" msgid "%s: floppy eject command failed\n" msgstr "%s: la orden de expulsi贸n del disquete fall贸\n" msgid "%s: floppy eject command succeeded\n" msgstr "%s: la orden de expulsi贸n del disquete ha sido exitosa\n" msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: argumento invalido para la opci贸n --auto/-a\n" msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: argumento invalido para la opci贸n --cdspeed/-x\n" msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: argumento invalido para la opci贸n --changerslot/-c\n" msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: profundidad de elace m谩xima excedida: `%s'\n" msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: seleccionando disco CD-ROM #%d\n" msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: estableciendo la velocidad del CD-ROM a %dX\n" msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: estableciendo la velocidad del CD-ROM en modo automatico\n" msgid "%s: tape offline command failed\n" msgstr "%s: la orden de desconexi贸n de la cinta fall贸\n" msgid "%s: tape offline command succeeded\n" msgstr "%s: la orden de desconexi贸n de la cinta ha sido exitosa\n" msgid "%s: too many arguments\n" msgstr "%s: demasiados argumentos\n" msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: intentando expulsar `%s' usando la orden de expulsi贸n CD-ROM\n" msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: intentando expulsar `%s' usando la orden de expulsion SCSI\n" msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: intentando expulsar `%s' usando la orden de ejecucion disquete\n" msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: intentando expulsar `%s' usando la orden de cinta desconectada\n" msgid "%s: unable to eject, last error: %s\n" msgstr "%s: incapaz de expulsar, 煤ltimo error: %s\n" msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: incapaz de ejecutar /bin/unmount of `%s': %s\n" msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: incapaz de encontrar o abrir el dispositivo para: `%s'\n" msgid "%s: unable to fork: %s\n" msgstr "%s: incapaz de hacer fork: %s\n" msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: incapaz de abrir /etc/fstab: %s\n" msgid "%s: unable to open `%s'\n" msgstr "%s: incapaz de abrir `%s'\n" msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: el desmontaje de `%s' no sali贸 normalmente\n" msgid "%s: unmount of `%s' failed\n" msgstr "%s: el desmontaje de `%s' ha fallado\n" msgid "%s: unmounting `%s'\n" msgstr "%s: desmontando `%s'\n" msgid "%s: using default device `%s'\n" msgstr "%s: usando el dispositivo por defecto `%s'\n" msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" msgstr "" "Eject versi贸n %s por Jeff Tranter (tranter@pobox.com)\n" "Uso:\n" " eject -h\t\t\t\t-- mostrar modo de uso y salir\n" " eject -V\t\t\t\t-- mostrar versi贸n del programa y salir\n" " eject [-vnrsfq] []\t\t-- expulsar el dispositivo\n" " eject [-vn] -d\t\t\t-- mostrar dispositivo por defecto\n" " eject [-vn] -a on|off|1|0 []\t-- activar o desactivar autoexplusi贸n\n" " eject [-vn] -c []\t-- cambiar discos en un cambiador de CD-ROM\n" " eject [-vn] -t []\t\t-- cerrar la bandeja\n" " eject [-vn] -x []\t-- establecer velocidad m谩xima del CD-ROM\n" "Opciones:\n" " -v\t-- activar salida prolija\n" " -n\t-- no expulsar, s贸lo mostrar dispositivo encontrado\n" " -r\t-- expulsar el CD-ROM\n" " -s\t-- expulsar el dispositivo SCSI\n" " -f\t-- expulsar el disquete\n" " -q\t-- expulsar la cinta\n" " -p\t-- usar /proc/mounts en vez de /etc/mtab\n" msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" msgstr "" "Opciones largas:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "El par谩metro puede ser un fichero de dispositivo o un punto" " de montaje.\n" "Si omitido, el nombre por defecto es`%s'.\n" "Por defecto prueba -r, -s, -f, et -q en orden hasta tener 茅xito.\n" msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject versi贸n %s por Jeff Tranter (tranter@pobox.com)\n" msgid "unable to open %s: %s\n" msgstr "incapaz de abrir %s: %s\n" msgid "usage: volname []\n" msgstr "uso: volname []\n" msgid "volname" msgstr "volname" eject-2.1.5+deb1+cvs20081104/po/zh_TW.po0000644000175000017500000002436411104140325016014 0ustar djpigdjpig# Traditional Chinese Messages for eject # Copyright (C) 2001, 05 Free Software Foundation, Inc. # Kun-Chung Hsieh , 2001 # Wei-Lun Chao , 2005 # msgid "" msgstr "" "Project-Id-Version: eject 2.1.2\n" "POT-Creation-Date: 2005-08-24 00:00+0200\n" "PO-Revision-Date: 2005-09-22 11:40+0800\n" "Last-Translator: Wei-Lun Chao \n" "Language-Team: Chinese (traditional) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../eject.c:125 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Eject 鐗堟湰 %s 浣滆 Jeff Tranter (tranter@pobox.com)\n" "鐢ㄦ硶:\n" " eject -h\t\t\t\t-- 椤ず鍛戒护鐢ㄦ硶寰岀祼鏉焅n" " eject -V\t\t\t\t-- 椤ず绋嬪紡鐗堟湰寰岀祼鏉焅n" " eject [-vnrsfq] [<鍚嶇ū>]\t\t-- 璺冲嚭瑁濈疆\n" " eject [-vn] -d\t\t\t-- 椤ず鍏у畾瑁濈疆鍚嶇ū\n" " eject [-vn] -a on|off|1|0 [<鍚嶇ū>]\t-- 鑷嫊璺冲嚭鍔熻兘闁嬮棞\n" " eject [-vn] -c <鎻掓Ы> [<鍚嶇ū>]\t-- 鍒囨彌鍏夌娅冨収鐨勫厜纰熺墖\n" " eject [-vn] -t [<鍚嶇ū>]\t\t-- 闂滈枆鎷栫洡\n" " eject [-vn] -x <閫熷害> [<鍚嶇ū>]\t-- 瑷畾鍏夌姗熸渶蹇熷害\n" "閬搁爡:\n" " -v\t-- 椤ず瑭崇窗鐙鎱媆n" " -n\t-- 涓嶈璺冲嚭锛屽彧椤ず瑁濈疆鏈夋壘鍒板嵆鍙痋n" " -r\t-- 璺冲嚭 CD-ROM\n" " -s\t-- 璺冲嚭 SCSI 瑁濈疆\n" " -f\t-- 璺冲嚭杌熺鐗嘰n" " -q\t-- 璺冲嚭纾佸付\n" " -p\t-- 浣跨敤 /proc/mounts 渚嗗彇浠 /etc/mtab\n" " -m\t-- 鍗充娇瑁濈疆宸叉帥杓変篃涓嶈鍗歌級瑁濈疆\n" #: ../eject.c:148 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" msgstr "" "闀烽伕闋:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc -m --no-unmount\n" #: ../eject.c:156 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "鍙冩暩 鍙互鏄缃獢鍚嶆垨鑰呮帥杓夐粸銆俓n" "涓嶅姞鍙冩暩鏅傦紝鍏у畾鐐 `%s'銆俓n" "绋嬪紡闋愯ō鏈冧緷搴忔脯瑭 -r, -s, -f, 鍜 -q 鐩村埌鎴愬姛銆俓n" #: ../eject.c:209 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: 灏嶆柤 --auto/-a 閬搁爡鑰岃█鏄劇鏁堝紩鏁竆n" #: ../eject.c:221 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: 灏嶆柤 --changerslot/-c 閬搁爡鑰岃█鏄劇鏁堝紩鏁竆n" #: ../eject.c:233 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: 灏嶆柤 ---cdspeed/-x 閬搁爡鑰岃█鏄劇鏁堝紩鏁竆n" #: ../eject.c:273 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject 鐗堟湰 %s 浣滆 Jeff Tranter \n" #: ../eject.c:283 #, c-format msgid "%s: too many arguments\n" msgstr "%s: 澶寮曟暩浜哱n" #: ../eject.c:331 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: 鐒℃硶鎸囨淳瑷樻喍楂擻n" #: ../eject.c:404 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: 鍏夌鑷嫊璺冲嚭鍛戒护澶辨晽: %s\n" #: ../eject.c:421 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: 閬告搰鍏夌鐨勫懡浠ゅけ鏁: %s\n" #: ../eject.c:427 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: 寰炲厜纰熸珒杓夊叆鍏夌鐨勫懡浠ゅけ鏁: %s\n" #: ../eject.c:431 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: IDE/ATAPI 浠嬮潰鐨勫厜纰熸珒涓︿笉琚湰浣滄キ绯荤当鐨勬牳蹇冩墍鏀彺\n" #: ../eject.c:446 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: 鍏夌姗熸嫋鐩ら棞闁夌殑鍛戒护澶辨晽: %s\n" #: ../eject.c:450 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: 鍏夌姗熸嫋鐩ら棞闁夌殑鍛戒护涓︿笉琚湰浣滄キ绯荤当鐨勬牳蹇冩墍鏀彺\n" #: ../eject.c:467 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: 鍏夌姗熼熷害閬告搰鐨勫懡浠ゅけ鏁: %s\n" #: ../eject.c:471 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: 鍏夌姗熼熷害閬告搰鐨勫懡浠や甫涓嶈鏈綔妤郴绲辩殑鏍稿績鎵鏀彺\n" #: ../eject.c:581 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: 鐒℃硶鍩疯 /bin/umount '%s': %s\n" #: ../eject.c:586 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: 鐒℃硶 fork: %s\n" #: ../eject.c:591 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: 鍗歌級 '%s' 鐧肩敓涓嶆甯哥祼鏉焅n" #: ../eject.c:595 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: 鍗歌級 '%s' 澶辨晽\n" #: ../eject.c:608 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: 鐒℃硶闁嬪暉 '%s'\n" #: ../eject.c:653 ../eject.c:740 #, c-format msgid "unable to open %s: %s\n" msgstr "鐒℃硶闁嬪暉 %s: %s\n" #: ../eject.c:700 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: 鐒℃硶闁嬪暉 /etc/fstab 妾: %s\n" #: ../eject.c:750 ../eject.c:984 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: 鍗歌級 '%s'\n" #: ../eject.c:823 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' 鏄閲嶅垎鍓插崁瑁濈疆\n" #: ../eject.c:828 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' 涓嶆槸澶氶噸鍒嗗壊鍗瑁濈疆\n" #: ../eject.c:841 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: 瑷畾鍏夌姗熼熷害鐐鸿嚜鍕昞n" #: ../eject.c:843 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: 瑷畾鍏夌姗熼熷害鐐 %dX\n" #: ../eject.c:879 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: 鍏у畾瑁濈疆鐐: '%s'\n" #: ../eject.c:887 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: 浣跨敤鍏у畾瑁濈疆 '%s'\n" #: ../eject.c:896 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: 瑁濈疆鍚嶇ū鐐 '%s'\n" #: ../eject.c:901 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: 鎵句笉鍒版垨鐒℃硶闁嬪暉瑁濈疆: '%s'\n" #: ../eject.c:905 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: 鎿村睍鍚嶇ū鐐 '%s'\n" #: ../eject.c:910 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: '%s' 琚g祼鍒 '%s'\n" #: ../eject.c:919 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: 瓒呴亷绗﹁櫉閫g祼鐨勬渶澶ф繁搴﹀: '%s'\n" #: ../eject.c:927 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: '%s' 琚帥杓夊埌 '%s'\n" #: ../eject.c:929 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: '%s' 涓︽湭鎺涜級\n" #: ../eject.c:941 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: '%s' 鍙帥杓夋柤 '%s'\n" #: ../eject.c:943 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: '%s' 涓︿笉鏄帥杓夐粸\n" #: ../eject.c:949 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: 瑁濈疆鏄 '%s'\n" #: ../eject.c:951 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: 鐢辨柤 -n/--noop 閬搁爡鐨勫洜绱犺岃烦鍑篭n" #: ../eject.c:959 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: 闁嬪暉 '%s' 鑷嫊璺冲嚭妯″紡\n" #: ../eject.c:961 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: 闂滈枆 '%s' 鑷嫊璺冲嚭妯″紡\n" #: ../eject.c:971 #, c-format msgid "%s: closing tray\n" msgstr "%s: 闂滈枆鎷栫洡\n" #: ../eject.c:997 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: 閬告搰鍏夌鐗囩法铏 #%d\n" #: ../eject.c:1015 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: 鍢楄│浣跨敤 CD-ROM 璺冲嚭鎸囦护灏 '%s' 璺冲嚭\n" #: ../eject.c:1019 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: 鍏夌鐗囪烦鍑烘寚浠ゆ垚鍔焅n" #: ../eject.c:1021 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: 鍏夌鐗囪烦鍑烘寚浠ゅけ鏁梊n" #: ../eject.c:1027 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: 鍢楄│浣跨敤 SCSI 璺冲嚭鎸囦护灏 '%s' 璺冲嚭\n" #: ../eject.c:1031 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: SCSI 璺冲嚭鎴愬姛\n" #: ../eject.c:1033 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: SCSI 璺冲嚭澶辨晽\n" #: ../eject.c:1039 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: 鍢楄│浣跨敤杌熺璺冲嚭鎸囦护灏 '%s' 璺冲嚭\n" #: ../eject.c:1043 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: 杌熺璺冲嚭鍛戒护鎴愬姛\n" #: ../eject.c:1045 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: 杌熺璺冲嚭鍛戒护澶辨晽\n" #: ../eject.c:1051 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: 鍢楄│浣跨敤纾佸付闆㈢窔鎸囦护灏 '%s' 璺冲嚭\n" #: ../eject.c:1055 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: 纾佸付闆㈢窔鍛戒护鎴愬姛\n" #: ../eject.c:1057 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: 纾佸付闆㈢窔鍛戒护澶辨晽\n" #: ../eject.c:1062 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: 鐒℃硶璺冲嚭锛岄尟瑾ょ⒓鐐: %s\n" #: ../volname.c:58 msgid "usage: volname []\n" msgstr "鐢ㄦ硶: volname [<瑁濈疆妾斿悕>]\n" #: ../volname.c:64 ../volname.c:70 ../volname.c:76 msgid "volname" msgstr "volname" eject-2.1.5+deb1+cvs20081104/po/tr.po0000644000175000017500000003027211104140325015401 0ustar djpigdjpig# Eject 2.1.4 . # Copyright (C) 2005 Free Software Foundation, Inc # This file is distributed under the same license as the eject package. # Jeff Tranter , 2005. # msgid "" msgstr "" "Project-Id-Version: eject 2.1.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-04-09 20:13+0300\n" "PO-Revision-Date: 2005-11-19 24:30+0000\n" "Last-Translator: Bahad谋r Kandemir \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: eject.c:156 msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfqpm] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -T []\t\t-- toggle tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" " eject [-vn] -X []\t\t-- list CD-ROM available speeds\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" " -m\t-- do not unmount device even if it is mounted\n" msgstr "" "Eject s眉r眉m %s Jeff Tranter (tranter@pobox.com)\n" "Kullan谋m:\n" " eject -h\t\t\t\t-- komut kullan谋m谋n谋 g枚ster ve 莽谋k\n" " eject -V\t\t\t\t-- program s眉r眉m眉n眉 g枚ster ve 莽谋k\n" " eject [-vnrsfqpm] []\t\t-- kayna臒谋 莽谋kar\n" " eject [-vn] -d\t\t\t-- 枚ntan谋ml谋 kayna臒谋 g枚ster\n" " eject [-vn] -a on|off|1|0 []\t-- otomatik 莽谋kar se莽ene臒ini a莽 ya da kapat\n" " eject [-vn] -c []\t-- Bir CD-ROM de臒i艧tirici 眉zerindeki diskleri se莽\n" " eject [-vn] -t []\t\t-- G枚rev 莽ubu臒unu kapat\n" " eject [-vn] -T []\t\t-- G枚rev 莽ubu臒unu durumunu de臒i艧tir\n" " eject [-vn] -x []\t-- CD-ROM en y眉ksek h谋z谋n谋 ayarla\n" " eject [-vn] -X []\t\t-- CD-ROM'un h谋z se莽eneklerini listele\n" "Se莽enekler:\n" " -v\t-- Bilgilendirici 莽谋kt谋y谋 g枚ster\n" " -n\t-- 脟谋karma sadece bulunan ayg谋t谋 g枚ster\n" " -r\t-- CD-ROM'u 莽谋kar\n" " -s\t-- SCSI ayg谋t谋 莽谋kar \n" " -f\t-- Disketi 莽谋kar\n" " -q\t-- Teyp kaseti 莽谋kar\n" " -p\t-- /etc/mtab yerine /proc/mounts kullan\n" " -m\t-- Ayg谋t谋 ba臒l谋ysa bile ay谋rma\n" #: eject.c:187 msgid "" "Long options:\n" " -h --help -v --verbose -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi -f --floppy -X --listspeed -q --" "tape\n" " -n --noop -V --version\n" " -p --proc -m --no-unmount -T --traytoggle\n" msgstr "" "Uzun Se莽enekler:\n" " -h --help -v --verbose -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi -f --floppy -X --listspeed -q --" "tape\n" " -n --noop -V --version\n" " -p --proc -m --no-unmount -T --traytoggle\n" #: eject.c:206 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" " parametresi bir ayg谋t dosyas谋 ya da ba臒lant谋 noktas谋 olabilir.\n" "Bu parametre bo艧 b谋rak谋ld谋臒谋nda 枚ntan谋ml谋 olan ayg谋t `%s' kullan谋l谋r.\n" "Ba艧ar谋l谋 olana kadar -r, -s, -f ve -q parametreleri denenir.\n" #: eject.c:261 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: --auto/-a se莽ene臒i i莽in ge莽ersiz arg眉man.\n" #: eject.c:273 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: --changerslot/-c se莽ene臒i i莽in ge莽ersiz arg眉man.\n" #: eject.c:285 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: --cdspeed/-x se莽ene臒i i莽in ge莽ersiz arg眉man.\n" #: eject.c:331 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject s眉r眉m %s Jeff Tranter (tranter@pobox.com)\n" #: eject.c:341 #, c-format msgid "%s: too many arguments\n" msgstr "%s: 莽ok fazla arg眉man\n" #: eject.c:396 eject.c:1037 #, c-format msgid "%s: could not allocate memory\n" msgstr "%s: bellek konumland谋r谋lamad谋.\n" #: eject.c:401 #, c-format msgid "%s: FindDevice called too often\n" msgstr "%s: FindDevice 莽ok fazla kullan谋ld谋\n" #: eject.c:475 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: CD-ROM otomatik 莽谋kar komutu ba艧ar谋s谋z oldu: %s\n" #: eject.c:492 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: CD-ROM disk se莽 komutu ba艧ar谋s谋z oldu: %s\n" #: eject.c:498 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: CD-ROM slottan y眉kle komutu ba艧ar谋s谋z oldu: %s\n" #: eject.c:502 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: IDE/ATAPI CD-ROM de臒i艧tirici bu 莽ekirdek (kernel) taraf谋ndan desteklenmiyor.\n" #: eject.c:521 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: CD-ROM g枚rev 莽ubu臒unu kapat komutu ba艧ar谋s谋z oldu: %s\n" #: eject.c:525 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: CD-ROM g枚rev 莽ubu臒unu kapat komutu bu 莽ekirdek (kernel) taraf谋ndan desteklenmiyor.\n" #: eject.c:572 #, c-format msgid "%s: CD-ROM tray toggle command not supported by this kernel\n" msgstr "%s: CD-ROM g枚rev 莽ubu臒u durum de臒i艧tir komutu bu 莽ekirdek (kernel) taraf谋ndan desteklenmiyor.\n" #: eject.c:589 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: CD-ROM h谋z谋 se莽 komutu ba艧ar谋s谋z oldu: %s\n" #: eject.c:593 eject.c:674 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: CD-ROM h谋zu se莽 komutu bu 莽ekirdek (kernel) taraf谋ndan desteklenmiyor.\n" #: eject.c:608 #, c-format msgid "%s: unable to read the speed from /proc/sys/dev/cdrom/info\n" msgstr "%s: h谋z, /proc/sys/dev/cdrom/info'dan okunamad谋\n" #: eject.c:624 #, c-format msgid "%s: error while finding CD-ROM name\n" msgstr "%s: CD-ROM ismi bulunamad谋\n" #: eject.c:637 eject.c:645 #, c-format msgid "%s: error while reading speed\n" msgstr "%s: h谋z okunamad谋\n" #: eject.c:794 msgid "%s: unable to exec umount of `%s': %s\n" msgstr "%s: `%s' sistemden ayr谋lamad谋: %s\n" #: eject.c:799 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: 莽atallama yap谋lamad谋: %s\n" #: eject.c:804 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: `%s' ay谋rma i艧lemi normal sonu莽lanmad谋.\n" #: eject.c:808 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: `%s' ay谋rma i艧lemi ba艧ar谋s谋z oldu.\n" #: eject.c:821 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: `%s' a莽谋lamad谋\n" #: eject.c:867 eject.c:954 #, c-format msgid "unable to open %s: %s\n" msgstr "%s a莽谋lamad谋: %s\n" #: eject.c:914 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: /etc/fstab a莽谋lamad谋: %s\n" #: eject.c:964 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: `%s' ayr谋l谋yor\n" #: eject.c:1044 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' 莽ok b枚l眉ml眉 bir ayg谋t\n" #: eject.c:1049 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' 莽ok b枚l眉ml眉 bir ayg谋t de臒il\n" #: eject.c:1062 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: CD-ROM h谋z谋 otomatik olarak ayarlan谋yor\n" #: eject.c:1064 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: CD-ROM h谋z谋 %dX olarak ayarlan谋yor\n" #: eject.c:1102 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: 枚ntan谋ml谋 ayg谋t: `%s'\n" #: eject.c:1110 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: `%s' 枚ntan谋ml谋 ayg谋t kullan谋l谋yor\n" #: eject.c:1119 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: ayg谋t ismi `%s'\n" #: eject.c:1125 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: `%s' ayg谋t谋 bulunamad谋 ya da a莽谋lamad谋'\n" #: eject.c:1130 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: ayr谋nt谋l谋 isim `%s'\n" #: eject.c:1139 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s', `%s' ayg谋t谋na ba臒l谋\n" #: eject.c:1150 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: maksimum sembolik ba臒lant谋 derinli臒i a艧谋ld谋: `%s'\n" #: eject.c:1158 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s', `%s' adresine ba臒l谋\n" #: eject.c:1161 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' ayg谋t谋 ba臒l谋 de臒il\n" #: eject.c:1173 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s', `%s' adresine ba臒lanabilir\n" #: eject.c:1175 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' bir ba臒lanma noktas谋 de臒il\n" #: eject.c:1182 #, c-format msgid "%s: tried to use `%s' as device name but it is no block device\n" msgstr "%s: ayg谋t ismi olarak `%s' kullan谋ld谋 ancak bu bir blok ayg谋t谋 de臒il\n" #: eject.c:1190 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: ayg谋t `%s'\n" #: eject.c:1192 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: -n/--noop se莽ene臒i sebebiyle 莽谋k谋l谋yor\n" #: eject.c:1200 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: `%s' i莽in otomatik 莽谋karma modu aktifle艧tiriliyor\n" #: eject.c:1202 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: `%s' i莽in otomatik 莽谋karma modu pasifle艧tiriliyor\n" #: eject.c:1212 #, c-format msgid "%s: closing tray\n" msgstr "%s: g枚rev 莽ubu臒u kapat谋l谋yor\n" #: eject.c:1222 #, c-format msgid "%s: toggling tray\n" msgstr "%s: g枚rev 莽ubu臒u durumu de臒i艧tiriliyor\n" #: eject.c:1232 #, c-format msgid "%s: listing CD-ROM speed\n" msgstr "%s: CD-ROM h谋zlar谋 listeleniyor\n" #: eject.c:1244 #, c-format msgid "%s: unmounting device `%s' from `%s'\n" msgstr "%s: `%s' ayg谋t谋 `%s' adresinden ayr谋l谋yor\n" #: eject.c:1257 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: CD-ROM diski se莽iliyor #%d\n" #: eject.c:1275 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: `%s', CD-ROM eject komutu ile 莽谋kar谋l谋yor\n" #: eject.c:1279 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: CD-ROM eject komutu ba艧ar谋l谋 oldu\n" #: eject.c:1281 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: CD-ROM eject komutu ba艧ar谋s谋z oldu\n" #: eject.c:1288 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: `%s', SCSI komutlar谋 ile 莽谋lar谋l谋yor\n" #: eject.c:1292 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: SCSI 莽谋karma i艧lemi ba艧ar谋l谋 oldu\n" #: eject.c:1294 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: SCSI 莽谋karma i艧lemi ba艧ar谋s谋z oldu\n" #: eject.c:1302 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: `%s', floppy eject komutu ile 莽谋kar谋l谋yor\n" #: eject.c:1306 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: floppy eject komutu ba艧ar谋l谋 oldu\n" #: eject.c:1308 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: floppy eject komutu ba艧ar谋s谋z oldu\n" #: eject.c:1316 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: `%s', tape offline komutu ile 莽谋kar谋l谋yor\n" #: eject.c:1320 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: tape offline komutu ba艧ar谋l谋 oldu\n" #: eject.c:1322 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: tape offline komutu ba艧ar谋s谋z oldu\n" #: eject.c:1328 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: 莽谋karma i艧lemi ba艧ar谋s谋z, son hata: %s\n" #: volname.c:59 #, c-format msgid "usage: volname []\n" msgstr "kullan谋m: volname []\n" #: volname.c:65 volname.c:71 volname.c:77 msgid "volname" msgstr "DiskAd谋" eject-2.1.5+deb1+cvs20081104/po/ja.po0000644000175000017500000002437011104140325015350 0ustar djpigdjpig# eject Japanese PO File. # Copyright (C) 2001 Free Software Foundation, Inc. # TAKEDA Hirofumi , 2001 # # msgid "" msgstr "" "Project-Id-Version: eject 2.0.10\n" "POT-Creation-Date: 2001-08-01 16:29+0900\n" "PO-Revision-Date: 2001-08-01 16:32+0900\n" "Last-Translator: TAKEDA Hirofumi \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=euc-jp\n" "Content-Transfer-Encoding: 8bit\n" #: ../eject.c:112 #, c-format msgid "" "Eject version %s by Jeff Tranter (tranter@pobox.com)\n" "Usage:\n" " eject -h\t\t\t\t-- display command usage and exit\n" " eject -V\t\t\t\t-- display program version and exit\n" " eject [-vnrsfq] []\t\t-- eject device\n" " eject [-vn] -d\t\t\t-- display default device\n" " eject [-vn] -a on|off|1|0 []\t-- turn auto-eject feature on or off\n" " eject [-vn] -c []\t-- switch discs on a CD-ROM changer\n" " eject [-vn] -t []\t\t-- close tray\n" " eject [-vn] -x []\t-- set CD-ROM max speed\n" "Options:\n" " -v\t-- enable verbose output\n" " -n\t-- don't eject, just show device found\n" " -r\t-- eject CD-ROM\n" " -s\t-- eject SCSI device\n" " -f\t-- eject floppy\n" " -q\t-- eject tape\n" " -p\t-- use /proc/mounts instead of /etc/mtab\n" msgstr "" "Eject バ〖ジョン %s by Jeff Tranter (tranter@pobox.com)\n" "蝗い数:\n" " eject -h\t\t\t\t-- コマンドの蝗い数を山绩して姜位\n" " eject -V\t\t\t\t-- プログラムのバ〖ジョンを山绩して姜位\n" " eject [-vnrsfq] [<叹涟>]\t\t-- デバイスのイジェクト\n" " eject [-vn] -d\t\t\t-- デフォルトのデバイスを山绩\n" " eject [-vn] -a on|off|1|0 [<叹涟>]\t-- 极瓢イジェクト怠墙をオン/オフ\n" " eject [-vn] -c <スロット> [<叹涟>]\t-- CD-ROM チェンジャのディスクを磊り仑え\n" " eject [-vn] -t [<叹涟>]\t\t-- トレ〖を誓じる\n" " eject [-vn] -x <庐刨> [<叹涟>]\t-- CD-ROM の呵络庐刨を肋年\n" "オプション:\n" " -v\t-- 拒嘿山绩を铜跟にする\n" " -n\t-- イジェクトを乖わず、斧つけたデバイスの山绩のみを乖う\n" " -r\t-- CD-ROM のイジェクト\n" " -s\t-- SCSI デバイスのイジェクト\n" " -f\t-- フロッピ〖のイジェクト\n" " -q\t-- テ〖プのイジェクト\n" " -p\t-- /etc/mtab の洛わりに /proc/mounts を蝗う\n" #: ../eject.c:133 msgid "" "Long options:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" msgstr "" "拒嘿山淡によるオプション:\n" " -h --help -v --verbose\t -d --default\n" " -a --auto -c --changerslot -t --trayclose -x --cdspeed\n" " -r --cdrom -s --scsi\t -f --floppy\n" " -q --tape -n --noop\t -V --version\n" " -p --proc\n" #: ../eject.c:141 #, c-format msgid "" "Parameter can be a device file or a mount point.\n" "If omitted, name defaults to `%s'.\n" "By default tries -r, -s, -f, and -q in order until success.\n" msgstr "" "パラメタの <叹涟> にはデバイスファイルまたはマウントポイントが回年できます。\n" "臼维された眷圭のデフォルトには `%s' が蝗われます。\n" "デフォルトの瓢侯は -r, -s, -f, -q の界に喇根するまで悸乖します。\n" #: ../eject.c:193 #, c-format msgid "%s: invalid argument to --auto/-a option\n" msgstr "%s: --auto/-a オプションに滦して稍碰な苞眶\n" #: ../eject.c:205 #, c-format msgid "%s: invalid argument to --changerslot/-c option\n" msgstr "%s: --changerslot/-c オプションに滦して稍碰な苞眶\n" #: ../eject.c:217 #, c-format msgid "%s: invalid argument to --cdspeed/-x option\n" msgstr "%s: --cdspeed/-x オプションに滦して稍碰な苞眶\n" #: ../eject.c:254 #, c-format msgid "eject version %s by Jeff Tranter (tranter@pobox.com)\n" msgstr "eject バ〖ジョン %s by Jeff Tranter (tranter@pobox.com)\n" #: ../eject.c:264 #, c-format msgid "%s: too many arguments\n" msgstr "%s: 苞眶が驴すぎます\n" #: ../eject.c:366 #, c-format msgid "%s: CD-ROM auto-eject command failed: %s\n" msgstr "%s: CD-ROM 极瓢イジェクトコマンド己窃: %s\n" #: ../eject.c:383 #, c-format msgid "%s: CD-ROM select disc command failed: %s\n" msgstr "%s: CD-ROM ディスク联买コマンド己窃: %s\n" #: ../eject.c:389 #, c-format msgid "%s: CD-ROM load from slot command failed: %s\n" msgstr "%s: スロットからの CD-ROM ロ〖ドコマンド己窃: %s\n" #: ../eject.c:393 #, c-format msgid "%s: IDE/ATAPI CD-ROM changer not supported by this kernel\n" msgstr "%s: IDE/ATAPI CD-ROM チェンジャはカ〖ネルがサポ〖トしていません\n" #: ../eject.c:408 #, c-format msgid "%s: CD-ROM tray close command failed: %s\n" msgstr "%s: CD-ROM トレ〖クロ〖ズコマンド己窃: %s\n" #: ../eject.c:412 #, c-format msgid "%s: CD-ROM tray close command not supported by this kernel\n" msgstr "%s: CD-ROM トレ〖クロ〖ズコマンドはカ〖ネルがサポ〖トしていません\n" #: ../eject.c:429 #, c-format msgid "%s: CD-ROM select speed command failed: %s\n" msgstr "%s: CD-ROM 庐刨联买コマンド己窃: %s\n" #: ../eject.c:433 #, c-format msgid "%s: CD-ROM select speed command not supported by this kernel\n" msgstr "%s: CD-ROM 庐刨联买コマンドはカ〖ネルがサポ〖トしていません\n" #: ../eject.c:543 #, c-format msgid "%s: unable to exec /bin/umount of `%s': %s\n" msgstr "%s: `%s' について /bin/umount が悸乖できません: %s\n" #: ../eject.c:548 #, c-format msgid "%s: unable to fork: %s\n" msgstr "%s: フォ〖クできません: %s\n" #: ../eject.c:553 #, c-format msgid "%s: unmount of `%s' did not exit normally\n" msgstr "%s: `%s' のアンマウントが佰撅姜位しました\n" #: ../eject.c:557 #, c-format msgid "%s: unmount of `%s' failed\n" msgstr "%s: `%s' のアンマウントに己窃\n" #: ../eject.c:570 #, c-format msgid "%s: unable to open `%s'\n" msgstr "%s: `%s' がオ〖プンできません\n" #: ../eject.c:615 ../eject.c:691 #, c-format msgid "unable to open %s: %s\n" msgstr "%s がオ〖プンできません: %s\n" #: ../eject.c:655 #, c-format msgid "%s: unable to open /etc/fstab: %s\n" msgstr "%s: /etc/fstab がオ〖プンできません: %s\n" #: ../eject.c:701 ../eject.c:928 #, c-format msgid "%s: unmounting `%s'\n" msgstr "%s: `%s' をアンマウントしています\n" #: ../eject.c:768 #, c-format msgid "%s: `%s' is a multipartition device\n" msgstr "%s: `%s' はマルチパ〖ティションデバイスです\n" #: ../eject.c:773 #, c-format msgid "%s: `%s' is not a multipartition device\n" msgstr "%s: `%s' はマルチパ〖ティションデバイスではありません\n" #: ../eject.c:786 #, c-format msgid "%s: setting CD-ROM speed to auto\n" msgstr "%s: CD-ROM 庐刨を极瓢に肋年しています\n" #: ../eject.c:788 #, c-format msgid "%s: setting CD-ROM speed to %dX\n" msgstr "%s: CD-ROM 庐刨を %d擒庐に肋年しています\n" #: ../eject.c:824 #, c-format msgid "%s: default device: `%s'\n" msgstr "%s: デフォルトのデバイス: `%s'\n" #: ../eject.c:832 #, c-format msgid "%s: using default device `%s'\n" msgstr "%s: `%s' をデフォルトのデバイスにしています\n" #: ../eject.c:841 #, c-format msgid "%s: device name is `%s'\n" msgstr "%s: デバイス叹は `%s' です\n" #: ../eject.c:846 #, c-format msgid "%s: unable to find or open device for: `%s'\n" msgstr "%s: デバイスが斧つからないかオ〖プンできません: `%s'\n" #: ../eject.c:850 #, c-format msgid "%s: expanded name is `%s'\n" msgstr "%s: 鸥倡した叹涟は `%s' です\n" #: ../eject.c:855 #, c-format msgid "%s: `%s' is a link to `%s'\n" msgstr "%s: `%s' は `%s' へのリンクです\n" #: ../eject.c:864 #, c-format msgid "%s: maximum symbolic link depth exceeded: `%s'\n" msgstr "%s: 呵络シンボリックリンク眶を臂えました: `%s'\n" #: ../eject.c:872 #, c-format msgid "%s: `%s' is mounted at `%s'\n" msgstr "%s: `%s' は `%s' にマウントされています\n" #: ../eject.c:874 #, c-format msgid "%s: `%s' is not mounted\n" msgstr "%s: `%s' はマウントされていません\n" #: ../eject.c:885 #, c-format msgid "%s: `%s' can be mounted at `%s'\n" msgstr "%s: `%s' は `%s' にマウントできます\n" #: ../eject.c:887 #, c-format msgid "%s: `%s' is not a mount point\n" msgstr "%s: `%s' はマウントポイントではありません\n" #: ../eject.c:893 #, c-format msgid "%s: device is `%s'\n" msgstr "%s: デバイスは `%s' です\n" #: ../eject.c:895 #, c-format msgid "%s: exiting due to -n/--noop option\n" msgstr "%s: -n/--noop オプションにより姜位します\n" #: ../eject.c:903 #, c-format msgid "%s: enabling auto-eject mode for `%s'\n" msgstr "%s: `%s' は极瓢イジェクトモ〖ドが铜跟です\n" #: ../eject.c:905 #, c-format msgid "%s: disabling auto-eject mode for `%s'\n" msgstr "%s: `%s' は极瓢イジェクトモ〖ドが痰跟です\n" #: ../eject.c:915 #, c-format msgid "%s: closing tray\n" msgstr "%s: トレ〖を誓じています\n" #: ../eject.c:941 #, c-format msgid "%s: selecting CD-ROM disc #%d\n" msgstr "%s: CD-ROM ディスク #%d を联买面\n" #: ../eject.c:959 #, c-format msgid "%s: trying to eject `%s' using CD-ROM eject command\n" msgstr "%s: CD-ROM イジェクトコマンドを蝗って `%s' をイジェクトしようとしています\n" #: ../eject.c:963 #, c-format msgid "%s: CD-ROM eject command succeeded\n" msgstr "%s: CD-ROM イジェクトコマンドが喇根しました\n" #: ../eject.c:965 #, c-format msgid "%s: CD-ROM eject command failed\n" msgstr "%s: CD-ROM イジェクトコマンドが己窃しました\n" #: ../eject.c:971 #, c-format msgid "%s: trying to eject `%s' using SCSI commands\n" msgstr "%s: SCSI コマンドを蝗って `%s' をイジェクトしようとしています\n" #: ../eject.c:975 #, c-format msgid "%s: SCSI eject succeeded\n" msgstr "%s: SCSI イジェクト喇根\n" #: ../eject.c:977 #, c-format msgid "%s: SCSI eject failed\n" msgstr "%s: SCSI イジェクト己窃\n" #: ../eject.c:983 #, c-format msgid "%s: trying to eject `%s' using floppy eject command\n" msgstr "%s: フロッピ〖イジェクトコマンドを蝗って `%s' をイジェクトしようとしています\n" #: ../eject.c:987 #, c-format msgid "%s: floppy eject command succeeded\n" msgstr "%s: フロッピ〖イジェクトコマンド喇根\n" #: ../eject.c:989 #, c-format msgid "%s: floppy eject command failed\n" msgstr "%s: フロッピ〖イジェクトコマンド己窃\n" #: ../eject.c:995 #, c-format msgid "%s: trying to eject `%s' using tape offline command\n" msgstr "%s: テ〖プオフラインコマンドを蝗って `%s' をイジェクトしようとしています\n" #: ../eject.c:999 #, c-format msgid "%s: tape offline command succeeded\n" msgstr "%s: テ〖プオフラインコマンド喇根\n" #: ../eject.c:1001 #, c-format msgid "%s: tape offline command failed\n" msgstr "%s: テ〖プオフラインコマンド己窃\n" #: ../eject.c:1006 #, c-format msgid "%s: unable to eject, last error: %s\n" msgstr "%s: イジェクトできません, 木夺のエラ〖: %s\n" #: ../volname.c:57 msgid "usage: volname []\n" msgstr "蝗い数: ボリュ〖ム叹 [<デバイスファイル>]\n" #: ../ "" msgid "volname" msgstr "ボリュ〖ム叹"