Changeset ba5e9e in git


Ignore:
Timestamp:
Sep 3, 2013, 7:51:09 AM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
20e3062f8cd8d69f35dd291d47f4283409f11663
Parents:
246bbba7f51d8c867efe9455dd4f01c8773e3daf
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-09-03 07:51:09+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-09-03 07:58:50+02:00
Message:
Changed configure-scripts to generate individual public config files for each package: resources, libpolys, singular (main)

fix: sources should include correct corresponding config headers.
Files:
204 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r246bbb rba5e9e  
    115115.tarball-git-version
    116116.DS_Store
     117singularconfig.h
  • IntegerProgramming/globals.h

    r246bbb rba5e9e  
    1515// the following is not good! TODO: move to all including sources...
    1616#ifdef HAVE_CONFIG_H
    17 #include "config.h"
     17#include "singularconfig.h"
    1818#endif /* HAVE_CONFIG_H */
    1919
  • Makefile.am

    r246bbb rba5e9e  
    1919dist-hook:
    2020        $(srcdir)/git-version-gen $(srcdir)/.tarball-git-version > $(distdir)/.tarball-git-version
     21
     22
     23configheaderdir = ${includedir}/singular/
     24nodist_configheader_HEADERS = singularconfig.h
     25
  • Singular/Minor.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/MinorInterface.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/MinorProcessor.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/attrib.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/blackbox.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/calcSVD.cc

    r246bbb rba5e9e  
    11#include <stdio.h>
    22#ifdef HAVE_CONFIG_H
    3 #include "config.h"
     3#include "singularconfig.h"
    44#endif /* HAVE_CONFIG_H */
    55#include <kernel/mod2.h>
  • Singular/claptmpl.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/cntrlc.cc

    r246bbb rba5e9e  
    1919
    2020#ifdef HAVE_CONFIG_H
    21 #include "config.h"
     21#include "singularconfig.h"
    2222#endif /* HAVE_CONFIG_H */
    2323
  • Singular/countedref.cc

    r246bbb rba5e9e  
    1717
    1818#ifdef HAVE_CONFIG_H
    19 #include "config.h"
     19#include "singularconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    2121
  • Singular/denom_list.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/eigenval_ip.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/emacs.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/extra.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • Singular/feOpt.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/feOptGen.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • Singular/fegetopt.c

    r246bbb rba5e9e  
    3333
    3434#ifdef HAVE_CONFIG_H
    35 #include "config.h"
     35#include "singularconfig.h"
    3636#endif /* HAVE_CONFIG_H */
    3737#include <kernel/mod2.h>
  • Singular/fehelp.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/fereadl.c

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/fevoices.cc

    r246bbb rba5e9e  
    99#ifndef STANDALONE_PARSER
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • Singular/fglm.cc

    r246bbb rba5e9e  
    1717
    1818#ifdef HAVE_CONFIG_H
    19 #include "config.h"
     19#include "singularconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    2121#include <kernel/mod2.h>
  • Singular/gentable.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/gms.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/grammar.cc

    r246bbb rba5e9e  
    7878
    7979#ifdef HAVE_CONFIG_H
    80 #include "config.h"
     80#include "singularconfig.h"
    8181#endif /* HAVE_CONFIG_H */
    8282#include <misc/auxiliary.h>
  • Singular/grammar.y

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <misc/auxiliary.h>
  • Singular/interpolation.cc

    r246bbb rba5e9e  
    44
    55#ifdef HAVE_CONFIG_H
    6 #include "config.h"
     6#include "singularconfig.h"
    77#endif /* HAVE_CONFIG_H */
    88#include <kernel/mod2.h>
  • Singular/iparith.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212
  • Singular/ipassign.cc

    r246bbb rba5e9e  
    1212
    1313#ifdef HAVE_CONFIG_H
    14 #include "config.h"
     14#include "singularconfig.h"
    1515#endif /* HAVE_CONFIG_H */
    1616#include <misc/auxiliary.h>
  • Singular/ipconv.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/ipid.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212
  • Singular/iplib.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • Singular/ipprint.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/ipshell.cc

    r246bbb rba5e9e  
    66*/
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "singularconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <kernel/mod2.h>
  • Singular/janet.cc

    r246bbb rba5e9e  
    55
    66#ifdef HAVE_CONFIG_H
    7 #include "config.h"
     7#include "singularconfig.h"
    88#endif /* HAVE_CONFIG_H */
    99#include <kernel/mod2.h>
  • Singular/libparse.cc

    r246bbb rba5e9e  
    10571057#include <ctype.h>
    10581058#ifdef HAVE_CONFIG_H
    1059 #include "config.h"
     1059#include "singularconfig.h"
    10601060#endif /* HAVE_CONFIG_H */
    10611061#include <kernel/mod2.h>
  • Singular/linearAlgebra_ip.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • Singular/links/asciiLink.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/links/ndbm.cc

    r246bbb rba5e9e  
    1515
    1616#ifdef HAVE_CONFIG_H
    17 #include "config.h"
     17#include "singularconfig.h"
    1818#endif /* HAVE_CONFIG_H */
    1919#include <Singular/si_signals.h>
  • Singular/links/pipeLink.cc

    r246bbb rba5e9e  
    1818
    1919#ifdef HAVE_CONFIG_H
    20 #include "config.h"
     20#include "singularconfig.h"
    2121#endif /* HAVE_CONFIG_H */
    2222#include <kernel/mod2.h>
  • Singular/links/semaphore.c

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • Singular/links/silink.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/links/sing_dbm.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • Singular/links/slInit_Dynamic.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • Singular/links/slInit_Static.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • Singular/lists.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • Singular/maps_ip.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/minpoly.cc

    r246bbb rba5e9e  
    99#include <cstdlib>
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include<kernel/mod2.h>
  • Singular/misc_ip.cc

    r246bbb rba5e9e  
    1313// include header files
    1414#ifdef HAVE_CONFIG_H
    15 #include "config.h"
     15#include "singularconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717
  • Singular/mmalloc.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/mmstd.c

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/mod_lib.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • Singular/mod_lib.h

    r246bbb rba5e9e  
    22#define MOD_LIB_H
    33
    4 // #include <config.h>         /* for EMBED_PYTHON, HAVE_MATHICGB */
     4// #include config.h     
     5#include <kernel/mod2.h> /* for EMBED_PYTHON, HAVE_MATHICGB */
    56
    67#include <polys/mod_raw.h>  /* for lib_types */
  • Singular/newstruct.cc

    r246bbb rba5e9e  
    22
    33#ifdef HAVE_CONFIG_H
    4 #include "config.h"
     4#include "singularconfig.h"
    55#endif /* HAVE_CONFIG_H */
    66#include <kernel/mod2.h>
  • Singular/pcv.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • Singular/pyobject.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818
  • Singular/pyobject_setup.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818
  • Singular/scanner.cc

    r246bbb rba5e9e  
    562562
    563563#ifdef HAVE_CONFIG_H
    564 #include "config.h"
     564#include "singularconfig.h"
    565565#endif /* HAVE_CONFIG_H */
    566566#include <kernel/mod2.h>
  • Singular/sdb.cc

    r246bbb rba5e9e  
    99#include <sys/wait.h> // for wait
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • Singular/sing_win.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/singmathic.cc

    r246bbb rba5e9e  
    11// include header files
    22#ifdef HAVE_CONFIG_H
    3 #include "config.h"
     3#include "singularconfig.h"
    44#endif /* HAVE_CONFIG_H */
    55
  • Singular/subexpr.cc

    r246bbb rba5e9e  
    1313
    1414#ifdef HAVE_CONFIG_H
    15 #include "config.h"
     15#include "singularconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717#include <kernel/mod2.h>
  • Singular/test.cc

    r246bbb rba5e9e  
    6161
    6262#ifdef HAVE_CONFIG_H
    63 #include "config.h"
     63#include "singularconfig.h"
    6464#endif /* HAVE_CONFIG_H */
    6565#include <kernel/mod2.h>
  • Singular/tesths.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • Singular/utils.cc

    r246bbb rba5e9e  
    11#ifdef STANDALONE_PARSER
    22#ifdef HAVE_CONFIG_H
    3 #include "config.h"
     3#include "singularconfig.h"
    44#endif /* HAVE_CONFIG_H */
    55#include <kernel/mod2.h>
  • Singular/walk.cc

    r246bbb rba5e9e  
    4848
    4949#ifdef HAVE_CONFIG_H
    50 #include "config.h"
     50#include "singularconfig.h"
    5151#endif /* HAVE_CONFIG_H */
    5252#include <kernel/mod2.h>
  • Singular/walk_ip.cc

    r246bbb rba5e9e  
    1313
    1414#ifdef HAVE_CONFIG_H
    15 #include "config.h"
     15#include "singularconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717#include <kernel/mod2.h>
  • Singular/wrapper.cc

    r246bbb rba5e9e  
    11#include <string.h>
    22#ifdef HAVE_CONFIG_H
    3 #include "config.h"
     3#include "singularconfig.h"
    44#endif /* HAVE_CONFIG_H */
    55#include <kernel/mod2.h>
  • configure.ac

    r246bbb rba5e9e  
    99AC_CONFIG_SRCDIR([Singular/tesths.cc])
    1010
    11 AC_CONFIG_HEADER([config.h])
     11AC_CONFIG_HEADER([singularconfig.h])
    1212
    1313dnl Apparently, this is required for using an AC_CHECK_HEADER within AS_IF(...), at least on Cygwin.
     
    2121dnl Check if build env is sane
    2222AM_SANITY_CHECK
     23
     24# Add pre'prefixed config
     25AX_PREFIX_CONFIG_H([singularconfig.h],[],[singularconfig.h])
    2326
    2427SING_RESET_FLAGS()
  • dyn_modules/bigintm/bigintm.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • dyn_modules/bigintm/mod_main.cc

    r246bbb rba5e9e  
    44
    55#ifdef HAVE_CONFIG_H
    6 #include "config.h"
     6#include "singularconfig.h"
    77#endif /* HAVE_CONFIG_H */
    88
  • dyn_modules/callgfanlib/gfanlib.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • dyn_modules/syzextra/DebugPrint.cc

    r246bbb rba5e9e  
    1616
    1717#ifdef HAVE_CONFIG_H
    18 #include "config.h"
     18#include "singularconfig.h"
    1919#endif /* HAVE_CONFIG_H */
    2020
  • dyn_modules/syzextra/mod_main.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • dyn_modules/syzextra/myNF.cc

    r246bbb rba5e9e  
    1616
    1717#ifdef HAVE_CONFIG_H
    18 #include "config.h"
     18#include "singularconfig.h"
    1919#endif /* HAVE_CONFIG_H */
    2020
  • kernel/F4.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • kernel/GMPrat.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • kernel/digitech.cc

    r246bbb rba5e9e  
    33****************************************/
    44#ifdef HAVE_CONFIG_H
    5 #include "config.h"
     5#include "singularconfig.h"
    66#endif /* HAVE_CONFIG_H */
    77#include <kernel/mod2.h>
  • kernel/eigenval.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/f5c.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • kernel/f5data.cc

    r246bbb rba5e9e  
    77*/
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/f5gb.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/f5lists.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <kernel/mod2.h>
  • kernel/fast_maps.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/fast_mult.cc

    r246bbb rba5e9e  
    33****************************************/
    44#ifdef HAVE_CONFIG_H
    5 #include "config.h"
     5#include "singularconfig.h"
    66#endif /* HAVE_CONFIG_H */
    77#include "mod2.h"
  • kernel/febase.cc

    r246bbb rba5e9e  
    99#ifndef STANDALONE_PARSER
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/feread.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/fglmcomb.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/fglmgauss.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • kernel/fglmhom.cc

    r246bbb rba5e9e  
    1111
    1212#ifdef HAVE_CONFIG_H
    13 #include "config.h"
     13#include "singularconfig.h"
    1414#endif /* HAVE_CONFIG_H */
    1515#include <kernel/mod2.h>
  • kernel/fglmvec.cc

    r246bbb rba5e9e  
    1313
    1414#ifdef HAVE_CONFIG_H
    15 #include "config.h"
     15#include "singularconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717#include <kernel/mod2.h>
  • kernel/fglmzero.cc

    r246bbb rba5e9e  
    1919
    2020#ifdef HAVE_CONFIG_H
    21 #include "config.h"
     21#include "singularconfig.h"
    2222#endif /* HAVE_CONFIG_H */
    2323#include <kernel/mod2.h>
  • kernel/gr_kstd2.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include "mod2.h"
  • kernel/hdegree.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/hilb.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/hutil.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/ideals.cc

    r246bbb rba5e9e  
    88/* includes */
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include "mod2.h"
  • kernel/khstd.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • kernel/kpolys.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include "mod2.h"
  • kernel/kspoly.cc

    r246bbb rba5e9e  
    88// #define PDEBUG 2
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • kernel/kstd1.cc

    r246bbb rba5e9e  
    2525
    2626#ifdef HAVE_CONFIG_H
    27 #include "config.h"
     27#include "singularconfig.h"
    2828#endif /* HAVE_CONFIG_H */
    2929#include "mod2.h"
  • kernel/kstd2.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "singularconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <kernel/mod2.h>
  • kernel/kstdfac.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/kutil.cc

    r246bbb rba5e9e  
    1212#include <string.h>
    1313#ifdef HAVE_CONFIG_H
    14 #include "config.h"
     14#include "singularconfig.h"
    1515#endif /* HAVE_CONFIG_H */
    1616#include "mod2.h"
  • kernel/linearAlgebra.cc

    r246bbb rba5e9e  
    1717// include header files
    1818#ifdef HAVE_CONFIG_H
    19 #include "config.h"
     19#include "singularconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    2121#include "mod2.h"
  • kernel/misc.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/mod2.h

    r246bbb rba5e9e  
    1313#ifdef HAVE_CONFIG_H
    1414/* config.h is a private header that will not be installed and thus cannot be unconditionally included */
    15 # include "config.h"
     15# include "singularconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717
  • kernel/multicnt.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/nc.cc

    r246bbb rba5e9e  
    22   
    33#ifdef HAVE_CONFIG_H
    4 #include "config.h"
     4#include "singularconfig.h"
    55#endif /* HAVE_CONFIG_H */
    66#include "mod2.h"
  • kernel/npolygon.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/old.lplist.cc

    r246bbb rba5e9e  
    66*/
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "singularconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <kernel/mod2.h>
  • kernel/polys.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include "mod2.h"
  • kernel/preimage.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include "mod2.h"
  • kernel/ratgring.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/ringgb.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/sca.cc

    r246bbb rba5e9e  
    22
    33#ifdef HAVE_CONFIG_H
    4 #include "config.h"
     4#include "singularconfig.h"
    55#endif /* HAVE_CONFIG_H */
    66#include "mod2.h"
  • kernel/semic.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include "mod2.h"
  • kernel/shiftgb.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/spectrum.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/splist.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/syz.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • kernel/syz0.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • kernel/syz1.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/syz2.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • kernel/syz3.cc

    r246bbb rba5e9e  
    77 
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/test.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "singularconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include "mod2.h"
  • kernel/tgb.cc

    r246bbb rba5e9e  
    1818#include <queue>
    1919#ifdef HAVE_CONFIG_H
    20 #include "config.h"
     20#include "singularconfig.h"
    2121#endif /* HAVE_CONFIG_H */
    2222#include <kernel/mod2.h>
  • kernel/tgbgauss.cc

    r246bbb rba5e9e  
    66*/
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "singularconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <kernel/mod2.h>
  • kernel/timer.cc

    r246bbb rba5e9e  
    77*/
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • kernel/tmult.cc

    r246bbb rba5e9e  
    66 *******************************************************************/
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "singularconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <kernel/mod2.h>
  • kernel/units.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "singularconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <kernel/mod2.h>
  • kernel/walkMain.cc

    r246bbb rba5e9e  
    88#include <string.h>
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "singularconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <kernel/mod2.h>
  • kernel/walkProc.cc

    r246bbb rba5e9e  
    44
    55#ifdef HAVE_CONFIG_H
    6 #include "config.h"
     6#include "singularconfig.h"
    77#endif /* HAVE_CONFIG_H */
    88#include <kernel/mod2.h>
  • kernel/walkSupport.cc

    r246bbb rba5e9e  
    11#include <string.h>
    22#ifdef HAVE_CONFIG_H
    3 #include "config.h"
     3#include "singularconfig.h"
    44#endif /* HAVE_CONFIG_H */
    55#include <kernel/mod2.h>
  • libpolys/Makefile.am

    r246bbb rba5e9e  
    88TESTDIRS=coeffs tests
    99
     10configheaderdir = ${includedir}/singular/
     11nodist_configheader_HEADERS = libpolysconfig.h
  • libpolys/coeffs/OPAE.cc

    r246bbb rba5e9e  
    66*/
    77//Schauen was hier ÃŒberhaupt sinn macht
    8 #include "config.h"
     8#include "libpolysconfig.h"
    99#include <misc/auxiliary.h>
    1010
  • libpolys/coeffs/OPAEQ.cc

    r246bbb rba5e9e  
    66*/
    77//Schauen was hier ÃŒberhaupt sinn macht
    8 #include "config.h"
     8#include "libpolysconfig.h"
    99#include <misc/auxiliary.h>
    1010
  • libpolys/coeffs/OPAEp.cc

    r246bbb rba5e9e  
    66*/
    77//Schauen was hier ÃŒberhaupt sinn macht
    8 #include "config.h"
     8#include "libpolysconfig.h"
    99#include <misc/auxiliary.h>
    1010
  • libpolys/coeffs/bigintmat.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • libpolys/coeffs/ffields.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • libpolys/coeffs/gnumpc.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313
  • libpolys/coeffs/gnumpfl.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <coeffs/coeffs.h>
  • libpolys/coeffs/longrat.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <misc/auxiliary.h>
  • libpolys/coeffs/longrat0.cc

    r246bbb rba5e9e  
    1111
    1212#ifdef HAVE_CONFIG_H
    13 #include "config.h"
     13#include "libpolysconfig.h"
    1414#endif /* HAVE_CONFIG_H */
    1515#include <misc/auxiliary.h>
  • libpolys/coeffs/modulop.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <misc/auxiliary.h>
  • libpolys/coeffs/mpr_complex.cc

    r246bbb rba5e9e  
    1212
    1313#ifdef HAVE_CONFIG_H
    14 #include "config.h"
     14#include "libpolysconfig.h"
    1515#endif /* HAVE_CONFIG_H */
    1616//#ifdef HAVE_MPR
  • libpolys/coeffs/numbers.cc

    r246bbb rba5e9e  
    1111
    1212#ifdef HAVE_CONFIG_H
    13 #include "config.h"
     13#include "libpolysconfig.h"
    1414#endif /* HAVE_CONFIG_H */
    1515#include <misc/auxiliary.h>
  • libpolys/coeffs/rintegers.cc

    r246bbb rba5e9e  
    66*/
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "libpolysconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <misc/auxiliary.h>
  • libpolys/coeffs/rmodulo2m.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <misc/auxiliary.h>
  • libpolys/coeffs/rmodulon.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <misc/auxiliary.h>
  • libpolys/coeffs/shortfl.cc

    r246bbb rba5e9e  
    77*/
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <misc/auxiliary.h>
  • libpolys/coeffs/test.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "libpolysconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <misc/auxiliary.h>
  • libpolys/configure.ac

    r246bbb rba5e9e  
    44AC_CONFIG_AUX_DIR([.])
    55AC_CONFIG_SRCDIR([reporter/reporter.h])
    6 AC_CONFIG_HEADER([config.h misc/auxiliary.h])
     6AC_CONFIG_HEADER([libpolysconfig.h misc/auxiliary.h])
    77
    88AM_MAINTAINER_MODE
     
    1313dnl Check if build env is sane
    1414AM_SANITY_CHECK
     15
     16# Add pre'prefixed config
     17AX_PREFIX_CONFIG_H([libpolysconfig.h],[],[libpolysconfig.h])
    1518
    1619# - Check for CC and CXX but be careful about CFLAGS.
  • libpolys/misc/auxiliary.h.in

    r246bbb rba5e9e  
    1616#ifndef MISC_AUXILIARY_H
    1717#define MISC_AUXILIARY_H
     18
     19#ifdef HAVE_CONFIG_H
     20#include "libpolysconfig.h"
     21#endif /* HAVE_CONFIG_H */
     22
    1823
    1924// ----------------- which parts/extensions of Singular to build
  • libpolys/misc/int64vec.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • libpolys/misc/intvec.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "libpolysconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <misc/auxiliary.h>
  • libpolys/polys/PolyEnumerator.cc

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "libpolysconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44
  • libpolys/polys/clapconv.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/clapsing.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "libpolysconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414
  • libpolys/polys/ext_fields/algext.cc

    r246bbb rba5e9e  
    3030
    3131#ifdef HAVE_CONFIG_H
    32 #include "config.h"
     32#include "libpolysconfig.h"
    3333#endif /* HAVE_CONFIG_H */
    3434#include <misc/auxiliary.h>
  • libpolys/polys/ext_fields/transext.cc

    r246bbb rba5e9e  
    3636
    3737#ifdef HAVE_CONFIG_H
    38 #include "config.h"
     38#include "libpolysconfig.h"
    3939#endif /* HAVE_CONFIG_H */
    4040#include <misc/auxiliary.h>
  • libpolys/polys/kbuckets.cc

    r246bbb rba5e9e  
    66//#include <kernel/mod2.h>
    77#ifdef HAVE_CONFIG_H
    8 #include "config.h"
     8#include "libpolysconfig.h"
    99#endif /* HAVE_CONFIG_H */
    1010#include <misc/auxiliary.h>
  • libpolys/polys/matpol.cc

    r246bbb rba5e9e  
    1111
    1212#ifdef HAVE_CONFIG_H
    13 #include "config.h"
     13#include "libpolysconfig.h"
    1414#endif /* HAVE_CONFIG_H */
    1515#include <misc/auxiliary.h>
  • libpolys/polys/mod_raw.cc

    r246bbb rba5e9e  
    2020
    2121#ifdef HAVE_CONFIG_H
    22 #include "config.h"
     22#include "libpolysconfig.h"
    2323#endif /* HAVE_CONFIG_H */
    2424#include <misc/auxiliary.h>
  • libpolys/polys/monomials/maps.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/monomials/monomials.cc

    r246bbb rba5e9e  
    2020
    2121#ifdef HAVE_CONFIG_H
    22 #include "config.h"
     22#include "libpolysconfig.h"
    2323#endif /* HAVE_CONFIG_H */
    2424
  • libpolys/polys/monomials/p_polys.cc

    r246bbb rba5e9e  
    1111
    1212#ifdef HAVE_CONFIG_H
    13 #include "config.h"
     13#include "libpolysconfig.h"
    1414#endif /* HAVE_CONFIG_H */
    1515
  • libpolys/polys/monomials/ring.cc

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "libpolysconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414
  • libpolys/polys/nc/ncSACache.cc

    r246bbb rba5e9e  
    1919
    2020#ifdef HAVE_CONFIG_H
    21 #include "config.h"
     21#include "libpolysconfig.h"
    2222#endif /* HAVE_CONFIG_H */
    2323#include <misc/auxiliary.h>
  • libpolys/polys/nc/ncSAFormula.cc

    r246bbb rba5e9e  
    1919
    2020#ifdef HAVE_CONFIG_H
    21 #include "config.h"
     21#include "libpolysconfig.h"
    2222#endif /* HAVE_CONFIG_H */
    2323#include <misc/auxiliary.h>
  • libpolys/polys/nc/ncSAMult.cc

    r246bbb rba5e9e  
    1919
    2020#ifdef HAVE_CONFIG_H
    21 #include "config.h"
     21#include "libpolysconfig.h"
    2222#endif /* HAVE_CONFIG_H */
    2323#include <misc/auxiliary.h>
  • libpolys/polys/nc/old.gring.cc

    r246bbb rba5e9e  
    1818
    1919#ifdef HAVE_CONFIG_H
    20 #include "config.h"
     20#include "libpolysconfig.h"
    2121#endif /* HAVE_CONFIG_H */
    2222#include <misc/auxiliary.h>
  • libpolys/polys/nc/sca.cc

    r246bbb rba5e9e  
    2020// #define PDEBUG 2
    2121#ifdef HAVE_CONFIG_H
    22 #include "config.h"
     22#include "libpolysconfig.h"
    2323#endif /* HAVE_CONFIG_H */
    2424#include <misc/auxiliary.h>
  • libpolys/polys/nc/summator.cc

    r246bbb rba5e9e  
    2323
    2424#ifdef HAVE_CONFIG_H
    25 #include "config.h"
     25#include "libpolysconfig.h"
    2626#endif /* HAVE_CONFIG_H */
    2727#include <misc/auxiliary.h>
  • libpolys/polys/operations/pShallowCopyDelete.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include "pShallowCopyDelete.h"
  • libpolys/polys/operations/p_Mult_q.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/operations/p_Mult_q.h

    r246bbb rba5e9e  
    1717struct spolyrec; typedef struct spolyrec polyrec; typedef polyrec* poly;
    1818
    19 // #include "config.h"
    20 // #include <polys/structs.h>
    21 
    2219// Use buckets if min(pLength(p), pLength(q)) >= MIN_LENGTH_BUCKET
    2320// Not thoroughly tested what is best
  • libpolys/polys/pDebug.cc

    r246bbb rba5e9e  
    1717
    1818#ifdef HAVE_CONFIG_H
    19 #include "config.h"
     19#include "libpolysconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    2121#include <misc/auxiliary.h>
  • libpolys/polys/polys0.cc

    r246bbb rba5e9e  
    99/* includes */
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313// #include <polys/structs.h>
  • libpolys/polys/prCopy.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111#include <omalloc/omalloc.h>
  • libpolys/polys/sbuckets.cc

    r246bbb rba5e9e  
    1414
    1515#ifdef HAVE_CONFIG_H
    16 #include "config.h"
     16#include "libpolysconfig.h"
    1717#endif /* HAVE_CONFIG_H */
    1818#include <misc/auxiliary.h>
  • libpolys/polys/simpleideals.cc

    r246bbb rba5e9e  
    99/* includes */
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/sparsmat.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "libpolysconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212#include <misc/auxiliary.h>
  • libpolys/polys/templates/p_Procs_Dynamic.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/templates/p_Procs_Generate.cc

    r246bbb rba5e9e  
    1616
    1717#ifdef HAVE_CONFIG_H
    18 #include "config.h"
     18#include "libpolysconfig.h"
    1919#endif /* HAVE_CONFIG_H */
    2020#include <reporter/reporter.h>
  • libpolys/polys/templates/p_Procs_Lib.cc

    r246bbb rba5e9e  
    1616
    1717#ifdef HAVE_CONFIG_H
    18 #include "config.h"
     18#include "libpolysconfig.h"
    1919#endif /* HAVE_CONFIG_H */
    2020#include <misc/auxiliary.h>
  • libpolys/polys/templates/p_Procs_Static.cc

    r246bbb rba5e9e  
    99 *******************************************************************/
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "libpolysconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <misc/auxiliary.h>
  • libpolys/polys/weight.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "libpolysconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212
  • libpolys/polys/weight0.c

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "libpolysconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212
  • libpolys/reporter/dError.cc

    r246bbb rba5e9e  
    1717
    1818#ifdef HAVE_CONFIG_H
    19 #include "config.h"
     19#include "libpolysconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    2121
  • libpolys/reporter/reporter.cc

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "libpolysconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
  • libpolys/tests/coeffs_test.h

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "libpolysconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <misc/auxiliary.h>
  • libpolys/tests/common.h

    r246bbb rba5e9e  
    1010
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "libpolysconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414
  • libpolys/tests/simple_test.h

    r246bbb rba5e9e  
    11#ifdef HAVE_CONFIG_H
    2 #include "config.h"
     2#include "libpolysconfig.h"
    33#endif /* HAVE_CONFIG_H */
    44#include <misc/auxiliary.h>
  • m4/ax_prefix_config_h.m4

    r246bbb rba5e9e  
    173173    AS_ECHO(["@%:@define $_LOW""\\1\\2\\"]) >> _script
    174174    AS_ECHO(["@%:@endif/"]) >> _script
     175   
    175176    # now executing _script on _DEF input to create _OUT output file
    176177    echo "@%:@ifndef $_DEF"      >$tmp/pconfig.h
    177178    echo "@%:@def[]ine $_DEF 1" >>$tmp/pconfig.h
    178179    echo ' ' >>$tmp/pconfig.h
     180   
    179181    echo /'*' $_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
    180 
     182    echo ' ' >>$tmp/pconfig.h
     183   
     184    echo /'*' Safeguard against including without HAVE_CONFIG_H '*'/ >>$tmp/pconfig.h
     185    echo "@%:@ifndef HAVE_CONFIG_H"      >>$tmp/pconfig.h
     186    echo "@%:@error Please include this config header only if HAVE_CONFIG_H was defined!" >>$tmp/pconfig.h
     187    echo "@%:@endif"                     >>$tmp/pconfig.h
     188    echo ' ' >>$tmp/pconfig.h
     189   
    181190    sed -f _script $_INP >>$tmp/pconfig.h
    182191    echo ' ' >>$tmp/pconfig.h
  • numeric/mpr_base.cc

    r246bbb rba5e9e  
    1010//-> includes
    1111#ifdef HAVE_CONFIG_H
    12 #include "config.h"
     12#include "singularconfig.h"
    1313#endif /* HAVE_CONFIG_H */
    1414#include <kernel/mod2.h>
  • numeric/mpr_inout.cc

    r246bbb rba5e9e  
    99
    1010#ifdef HAVE_CONFIG_H
    11 #include "config.h"
     11#include "singularconfig.h"
    1212#endif /* HAVE_CONFIG_H */
    1313#include <kernel/mod2.h>
  • numeric/mpr_numeric.cc

    r246bbb rba5e9e  
    1212
    1313#ifdef HAVE_CONFIG_H
    14 #include "config.h"
     14#include "singularconfig.h"
    1515#endif /* HAVE_CONFIG_H */
    1616#include <kernel/mod2.h>
  • resources/Makefile.am

    r246bbb rba5e9e  
    3838libresources_include_HEADERS = omFindExec.h feResource.h feFopen.h
    3939
     40nodist_libresources_include_HEADERS = resourcesconfig.h
    4041
    4142
  • resources/configure.ac

    r246bbb rba5e9e  
    44AC_CONFIG_AUX_DIR([.])
    55AC_CONFIG_SRCDIR([omFindExec.h])
    6 AC_CONFIG_HEADER([config.h])
     6AC_CONFIG_HEADER([resourcesconfig.h])
    77
    88AM_MAINTAINER_MODE
     
    1313dnl Check if build env is sane
    1414AM_SANITY_CHECK
     15
     16# Add pre'prefixed config
     17AX_PREFIX_CONFIG_H([resourcesconfig.h],[],[resourcesconfig.h])
    1518
    1619SING_RESET_FLAGS()
  • resources/feFopen.cc

    r246bbb rba5e9e  
    88
    99#ifdef HAVE_CONFIG_H
    10 #include "config.h"
     10#include "resourcesconfig.h"
    1111#endif /* HAVE_CONFIG_H */
    1212
  • resources/feResource.cc

    r246bbb rba5e9e  
    1313
    1414#ifdef HAVE_CONFIG_H
    15 #include "config.h"
     15#include "resourcesconfig.h"
    1616#endif /* HAVE_CONFIG_H */
    1717
  • resources/omFindExec.c

    r246bbb rba5e9e  
    77
    88#ifdef HAVE_CONFIG_H
    9 #include "config.h"
     9#include "resourcesconfig.h"
    1010#endif /* HAVE_CONFIG_H */
    1111
Note: See TracChangeset for help on using the changeset viewer.