/usr/include/qes_config.h is in libqes-dev 0.2.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | /*
* Copyright 2015 Kevin Murray <spam@kdmurray.id.au>
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
/*
* ============================================================================
*
* Filename: qes_config.h.in
*
* Description: Define various things from CMake.
*
* Created: 15/08/14 12:09:59
* License: GPLv3+
* Compiler: gcc, clang
*
* Author: Kevin Murray, spam@kdmurray.id.au
*
* ============================================================================
*/
#ifndef QES_CONFIG_H
#define QES_CONFIG_H
#define LIBQES_VERSION ""
#define GETLINE_FOUND
#define STRNDUP_FOUND
#define ZLIB_FOUND
#define GZBUFFER_FOUND
#define OPENMP_FOUND
#define ASPRINTF_FOUND
#define VASPRINTF_FOUND
/* Definitions to make changing fp type easy */
#ifdef ZLIB_FOUND
# include <zlib.h>
# define QES_ZTYPE gzFile
# define QES_ZOPEN gzopen
# define QES_ZDOPEN gzdopen
# define QES_ZCLOSE gzclose
# define QES_ZREAD gzread
# define QES_ZWRITE gzwrite
# define QES_ZFLUSH(fp) gzflush(fp, Z_SYNC_FLUSH)
# define QES_ZFPRINTF gzprintf
# define QES_ZFPUTS gzputs
# define QES_ZFPUTC gzputc
# define QES_ZFGETS gzgets
# define QES_ZFGETC gzgetc
# define QES_ZFUNGETC gzungetc
# define QES_ZERR gzerror
# define QES_ZEOF gzeof
#ifdef GZBUFFER_FOUND
# define QES_ZBUFFER gzbuffer
#endif
# define QES_ZSEEK gzseek
# define QES_ZTELL gztell
# define QES_ZREWIND gzrewind
#else
# define QES_ZTYPE FILE*
# define QES_ZOPEN fopen
# define QES_ZCLOSE fclose
# define QES_ZDOPEN fdopen
# define QES_ZCLOSE fclose
# define QES_ZREAD(fp, buf, ln) fread(buf, 1, ln, fp)
# define QES_ZWRITE(fp, buf, ln) fwrite(buf, 1, ln, fp)
# define QES_ZFLUSH fflush
# define QES_ZFPRINTF fprintf
# define QES_ZFPUTS(fp, s) fputs(s, fp)
# define QES_ZFPUTC(fp, c) fputc(c, fp)
# define QES_ZFGETS(fp, s, l) fgets(s, l, fp)
# define QES_ZFGETC fgetc
# define QES_ZFUNGETC fungetc
# define QES_ZERR ferror
# define QES_ZEOF feof
# define QES_ZBUFFER(fp, sz) setvbuf(fp, NULL, _IOFBF, sz)
# define QES_ZSEEK fseek
# define QES_ZTELL ftell
# define QES_ZREWIND rewind
#endif
#endif /* QES_CONFIG_H */
|