mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
bc583add45
commit
ff199787ff
@ -1,6 +1,6 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT(ppremake.cxx)
|
AC_INIT(ppremake.cxx)
|
||||||
AM_INIT_AUTOMAKE(ppremake, 0.57)
|
AM_INIT_AUTOMAKE(ppremake, 0.58)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
AC_PREFIX_DEFAULT(/usr/local/panda)
|
AC_PREFIX_DEFAULT(/usr/local/panda)
|
||||||
|
@ -2703,10 +2703,13 @@ expand_dependencies(const string ¶ms) {
|
|||||||
vector<string> filenames;
|
vector<string> filenames;
|
||||||
tokenize_whitespace(expand_string(params), filenames);
|
tokenize_whitespace(expand_string(params), filenames);
|
||||||
|
|
||||||
|
PPDirectory *directory = get_directory();
|
||||||
|
assert(directory != (PPDirectory *)NULL);
|
||||||
|
|
||||||
vector<string> results;
|
vector<string> results;
|
||||||
vector<string>::const_iterator fi;
|
vector<string>::const_iterator fi;
|
||||||
for (fi = filenames.begin(); fi != filenames.end(); ++fi) {
|
for (fi = filenames.begin(); fi != filenames.end(); ++fi) {
|
||||||
PPDependableFile *file = _directory->get_dependable_file(*fi, false);
|
PPDependableFile *file = directory->get_dependable_file(*fi, false);
|
||||||
assert(file != (PPDependableFile *)NULL);
|
assert(file != (PPDependableFile *)NULL);
|
||||||
|
|
||||||
vector<PPDependableFile *> files;
|
vector<PPDependableFile *> files;
|
||||||
@ -2722,6 +2725,9 @@ expand_dependencies(const string ¶ms) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sort(results.begin(), results.end());
|
||||||
|
results.erase(unique(results.begin(), results.end()), results.end());
|
||||||
|
|
||||||
string result = repaste(results, " ");
|
string result = repaste(results, " ");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user