1
/***************************************************************************
2
* Copyright (C) 2001-2002 by Bernd Gehrmann *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
20
* Very small helper class. It has just static methods.
27
* Loads the compiler options plugin for the given compiler, executes the dialog
28
* with some initial flags, and returns the new flags.
30
static QString execFlagsDialog( const QString &compiler, const QString &flags, QWidget *parent );
33
* Returns the canonicalized version of a file name, i.e.
34
* the file name with special characters replaced by underscores
36
static QString canonicalize( const QString &str );
39
* Parses a Makefile.am and stores its variable assignments
42
static void parseMakefileam( const QString &filename, QMap<QString, QString> *variables );
43
static void modifyMakefileam( const QString &filename, QMap<QString, QString> variables );
44
static void removeFromMakefileam( const QString &filename, QMap<QString, QString> variables );
47
* Parses configure.in and splits AC_OUTPUT into a QStringList
49
static QStringList configureinLoadMakefiles( QString configureinpath );
52
* Receives a QStringList and puts it into
53
* configure.in as arguments to AC_OUTPUT
55
static void configureinSaveMakefiles( QString configureinpath, QStringList makefiles );
60
// kate: indent-mode csands; tab-width 4;