source: ThirdParty/mpqc_open/m4/ac_define_dir.m4@ fc5d2d

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since fc5d2d was fc5d2d, checked in by Frederik Heber <heber@…>, 8 years ago

Removed *.in, *.swp, and *.m4 from gitignore which caused many forgotten files.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
2dnl
3dnl This macro sets VARNAME to the expansion of the DIR variable,
4dnl taking care of fixing up ${prefix} and such.
5dnl
6dnl VARNAME is then offered as both an output variable and a C
7dnl preprocessor symbol.
8dnl
9dnl Example:
10dnl
11dnl AC_DEFINE_DIR([DATADIR], [datadir], [Where data are placed to.])
12dnl
13dnl @category Misc
14dnl @author Stepan Kasal <kasal@ucw.cz>
15dnl @author Andreas Schwab <schwab@suse.de>
16dnl @author Guido U. Draheim <guidod@gmx.de>
17dnl @author Alexandre Oliva
18dnl @version 2006-10-13
19dnl @license AllPermissive
20
21AC_DEFUN([AC_DEFINE_DIR], [
22 prefix_NONE=
23 exec_prefix_NONE=
24 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
25 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
26dnl In Autoconf 2.60, ${datadir} refers to ${datarootdir}, which in turn
27dnl refers to ${prefix}. Thus we have to use `eval' twice.
28 eval ac_define_dir="\"[$]$2\""
29 eval ac_define_dir="\"$ac_define_dir\""
30 AC_SUBST($1, "$ac_define_dir")
31 AC_DEFINE_UNQUOTED($1, "$ac_define_dir", [$3])
32 test "$prefix_NONE" && prefix=NONE
33 test "$exec_prefix_NONE" && exec_prefix=NONE
34])
Note: See TracBrowser for help on using the repository browser.