X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargz.c;h=ff1a4f644d9837c81226cf7845aecb0596f107eb;hb=4a6f6ccf4f28947ff868115b73434a9c5af32727;hp=4fce2f5a022d5eb4f76a96378febca4978cd6925;hpb=211660469fddf64a8b0f9de2ade2aa2cdfb639fa;p=gnulib.git diff --git a/lib/argz.c b/lib/argz.c index 4fce2f5a0..ff1a4f644 100644 --- a/lib/argz.c +++ b/lib/argz.c @@ -1,40 +1,28 @@ /* argz.c -- argz implementation for non-glibc systems - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006 Free Software Foundation, Inc. Originally by Gary V. Vaughan NOTE: The canonical source of this file is maintained with the GNU Libtool package. Report bugs to bug-libtool@gnu.org. -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser 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 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. -As a special exception to the GNU Lesser General Public License, -if you distribute this file as part of a program or library that -is built using GNU libtool, you may include it under the same -distribution terms that you use for the rest of that program. + 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. -This library 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 -Lesser 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA - -*/ - -/* Provide our wierdo HAVE_CONFIG_H rvalue for other clients. */ -#if !defined(LTDL) && defined(HAVE_CONFIG_H) -# undef HAVE_CONFIG_H -# define HAVE_CONFIG_H -#endif - -#if defined(HAVE_CONFIG_H) -# include HAVE_CONFIG_H +#if defined(LTDL) && defined LT_CONFIG_H +# include LT_CONFIG_H +#else +# include #endif #include