Config.in 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # -*- Perl -*-
  2. # Copyright (C) 2003-2017 Free Software Foundation, Inc.
  3. # @configure_input@
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. package Automake::Config;
  15. use strict;
  16. use 5.006;
  17. require Exporter;
  18. our @ISA = qw (Exporter);
  19. our @EXPORT = qw ($APIVERSION $PACKAGE $PACKAGE_BUGREPORT $VERSION
  20. $RELEASE_YEAR $libdir $perl_threads);
  21. # Parameters set by configure. Not to be changed. NOTE: assign
  22. # VERSION as string so that e.g. version 0.30 will print correctly.
  23. our $APIVERSION = '@APIVERSION@';
  24. our $PACKAGE = '@PACKAGE@';
  25. our $PACKAGE_BUGREPORT = '@PACKAGE_BUGREPORT@';
  26. our $VERSION = '@VERSION@';
  27. our $RELEASE_YEAR = '@RELEASE_YEAR@';
  28. our $libdir = '@datadir@/@PACKAGE@-@APIVERSION@';
  29. our $perl_threads = 0;
  30. # We need at least this version for CLONE support.
  31. if (eval { require 5.007_002; })
  32. {
  33. use Config;
  34. $perl_threads = $Config{useithreads};
  35. }
  36. 1;
  37. ### Setup "GNU" style for perl-mode and cperl-mode.
  38. ## Local Variables:
  39. ## perl-indent-level: 2
  40. ## perl-continued-statement-offset: 2
  41. ## perl-continued-brace-offset: 0
  42. ## perl-brace-offset: 0
  43. ## perl-brace-imaginary-offset: 0
  44. ## perl-label-offset: -2
  45. ## cperl-indent-level: 2
  46. ## cperl-brace-offset: 0
  47. ## cperl-continued-brace-offset: 0
  48. ## cperl-label-offset: -2
  49. ## cperl-extra-newline-before-brace: t
  50. ## cperl-merge-trailing-else: nil
  51. ## cperl-continued-statement-offset: 2
  52. ## End: