/* -*- c++ -*- */
/*
 * Copyright 2013, 2014 Free Software Foundation, Inc.
 *
 * This file is part of VOLK
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#if HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>
#include <volk/constants.h>

const char*
volk_prefix()
{
  const char *prefix = getenv("VOLK_PREFIX");
  if (prefix != NULL) return prefix;
  return "@prefix@";
}

const char*
volk_version()
{
  return "@VERSION@";
}

const char*
volk_c_compiler()
{
  return "@cmake_c_compiler_version@";
}

const char*
volk_compiler_flags()
{
  return "@COMPILER_INFO@";
}

const char*
volk_available_machines()
{
  return "@available_machines@";
}
